[Bug 90177] New: Segmentation fault when running OpenFrameworks Application

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 25 12:15:37 PDT 2015


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

            Bug ID: 90177
           Summary: Segmentation fault when running OpenFrameworks
                    Application
           Product: Mesa
           Version: 10.5
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: felix at argali.volans.uberspace.de
        QA Contact: intel-3d-bugs at lists.freedesktop.org

When running an OpenGL extensive Application from OpenFrameworks the Driver
crashes with a SEGV. This occurs on a MacBook Pro late 2013 with Intel Iris
running Archlinux with mesa-10.5.3 and 10.5.4. I used the areaLightExample to
produce a backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4129355 in __memcpy_avx_unaligned () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff4129355 in __memcpy_avx_unaligned () from /usr/lib/libc.so.6
#1  0x00007fffedf354f6 in memcpy (__len=72, __src=0x0, __dest=<optimized out>)
at /usr/include/bits/string3.h:53
#2  copy_array_to_vbo_array (brw=brw at entry=0x7ffff7f7d040, min=min at entry=0,
max=max at entry=5, buffer=buffer at entry=0x7ffff7fa0ea0, 
    dst_stride=12, element=0x7ffff7fa0da0) at brw_draw_upload.c:377
#3  0x00007fffedf36277 in brw_prepare_vertices (brw=0x7ffff7f7d040) at
brw_draw_upload.c:572
#4  0x00007fffedf36586 in brw_emit_vertices (brw=0x7ffff7f7d040) at
brw_draw_upload.c:652
#5  0x00007fffedfb4e13 in brw_upload_state (brw=0x7ffff7f7d040) at
brw_state_upload.c:648
#6  0x00007fffedf345f4 in brw_try_draw_prims (indirect=<optimized out>,
max_index=<optimized out>, min_index=<optimized out>, 
    ib=<optimized out>, nr_prims=<optimized out>, prims=<optimized out>,
arrays=<optimized out>, ctx=<optimized out>) at brw_draw.c:514
#7  brw_draw_prims (ctx=0x7ffff7f7d040, prims=0x7fffffffdf00, nr_prims=72,
ib=0x0, index_bounds_valid=168 '\250', min_index=0, 
    max_index=5, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:607
#8  0x00007fffedd878d3 in vbo_draw_arrays (ctx=0x7ffff7f7d040, mode=1, start=0,
count=6, numInstances=1, baseInstance=0)
    at vbo/vbo_exec_array.c:645
#9  0x000000000046b91f in ofGLProgrammableRenderer::draw (this=0x11ad700,
vbo=..., drawMode=1, first=0, total=6)
    at ../../../libs/openFrameworks/gl/ofGLProgrammableRenderer.cpp:426
#10 0x000000000046a4bf in ofGLProgrammableRenderer::drawInstanced
(this=0x11ad700, mesh=..., renderType=OF_MESH_FILL, primCount=1)
    at ../../../libs/openFrameworks/gl/ofGLProgrammableRenderer.cpp:244
#11 0x000000000046a35b in ofGLProgrammableRenderer::draw (this=0x11ad700,
mesh=..., renderType=OF_MESH_FILL)
    at ../../../libs/openFrameworks/gl/ofGLProgrammableRenderer.cpp:227
#12 0x000000000046a5e4 in ofGLProgrammableRenderer::draw (this=0x11ad700,
model=..., renderType=OF_MESH_FILL)
    at ../../../libs/openFrameworks/gl/ofGLProgrammableRenderer.cpp:281
#13 0x00000000004242ab in of3dGraphics::renderCached3dPrimitive
(this=0x11ae0e0, model=...)
    at ../../../libs/openFrameworks/graphics/of3dGraphics.cpp:97
#14 0x0000000000425798 in of3dGraphics::drawAxis (this=0x11ae0e0, size=20) at
../../../libs/openFrameworks/graphics/of3dGraphics.cpp:394
#15 0x00000000004832aa in ofBaseRenderer::drawAxis (this=0x11ad700, size=20) at
../../../libs/openFrameworks/types/ofBaseTypes.cpp:306
#16 0x00000000004e1f04 in ofDrawAxis (size=20) at
../../../libs/openFrameworks/3d/of3dUtils.cpp:6
#17 0x00000000004674bc in ofLight::customDraw (this=0x15db318,
renderer=0x11ad700) at ../../../libs/openFrameworks/gl/ofLight.cpp:313
#18 0x000000000046a6d5 in ofGLProgrammableRenderer::draw (this=0x11ad700,
node=...)
    at ../../../libs/openFrameworks/gl/ofGLProgrammableRenderer.cpp:292
#19 0x00000000004e3c57 in ofNode::draw (this=0x15db318) at
../../../libs/openFrameworks/3d/ofNode.cpp:361
#20 0x0000000000416d00 in ofApp::draw (this=0x15db300) at src/ofApp.cpp:45
#21 0x0000000000417373 in ofBaseApp::draw (this=0x15db300, args=...) at
../../../libs/openFrameworks/app/ofBaseApp.h:47
#22 0x000000000058e048 in Poco::PriorityDelegate<ofBaseApp, ofEventArgs,
false>::notify (this=0x15d7220, sender=0x0, arguments=...)
    at ../../../libs/poco/include/Poco/PriorityDelegate.h:168
#23 0x00000000004e805d in Poco::PriorityStrategy<ofEventArgs,
Poco::AbstractPriorityDelegate<ofEventArgs> >::notify (this=0x7fffffffe3c0, 
    sender=0x0, arguments=...) at
../../../libs/poco/include/Poco/PriorityStrategy.h:81

Some additional Info can be found on the OpenFrameworks issue on github:
https://github.com/openframeworks/openFrameworks/issues/3779

-- 
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/20150425/db49ce2c/attachment.html>


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