<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Segfault in glBufferSubData"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82683">82683</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segfault in glBufferSubData
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>benjamin.foppa@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>10.2
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=104697" name="attach_104697" title="code example consistently demonstrating the segfault">attachment 104697</a> <a href="attachment.cgi?id=104697&action=edit" title="code example consistently demonstrating the segfault">[details]</a></span>
code example consistently demonstrating the segfault
(code attached) I'm getting a segfault in glBufferSubData that I can't seem to
narrow down any further. I can glGetBufferSubData from the memory location, but
I can't write to it.
I'm on x64 Arch Linux, using
00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated
Graphics Controller (rev 08)
Here's the log:
initializing..
[New Thread 0x7ffff4796700 (LWP 20204)]
[New Thread 0x7fffeb8d1700 (LWP 20205)]
[Thread 0x7fffeb8d1700 (LWP 20205) exited]
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff754c859 in __memcpy_sse2_unaligned () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff754c859 in __memcpy_sse2_unaligned () from /usr/lib/libc.so.6
#1 0x00007ffff2ea154d in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
#2 0x0000000000400ee4 in main (nargs=1, args=0x7fffffffe8d8) at
opengl-segfault.c:148</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>