[Bug 82683] New: Segfault in glBufferSubData

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 15 15:24:12 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82683

          Priority: medium
            Bug ID: 82683
          Assignee: idr at freedesktop.org
           Summary: Segfault in glBufferSubData
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: benjamin.foppa at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 10.2
         Component: Drivers/DRI/i965
           Product: Mesa

Created attachment 104697
  --> https://bugs.freedesktop.org/attachment.cgi?id=104697&action=edit
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140815/dec6e7e6/attachment.html>


More information about the intel-3d-bugs mailing list