[GLES] [nvidia] GLES branch crashes in PrivateVertexBuffer::render

Bug #1006211 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Critical
Sam Spilsbury

Bug Description

Running precise with nvidia-current-updates (295.49):

Segmentation fault (core dumped)

(gdb) bt
#0 0x00007fffeab65e1e in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.49
#1 0x00007fffeac09da1 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.49
#2 0x00007fffeae0ada1 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.49
#3 0x00007fffeae081f3 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.49
#4 0x00007ffff27215ea in PrivateVertexBuffer::render (this=<optimised out>, projection=<optimised out>, modelview=<optimised out>, attrib=0x738cc0)
    at /home/dan/bzr/compiz/gles2/plugins/opengl/src/vertexbuffer.cpp:499
#5 0x00007ffff2713630 in GLWindow::glDrawTexture (this=0x738bc0, texture=0x74bc00, transform=..., attrib=..., mask=<optimised out>) at /home/dan/bzr/compiz/gles2/plugins/opengl/src/paint.cpp:1169
#6 0x00007ffff2714178 in GLWindow::glDraw (this=0x738bc0, transform=..., attrib=..., region=..., mask=0) at /home/dan/bzr/compiz/gles2/plugins/opengl/src/paint.cpp:1228
#7 0x00007ffff27147db in PrivateGLScreen::paintOutputRegion (this=0x670cf0, transform=..., region=..., output=<optimised out>, mask=3) at /home/dan/bzr/compiz/gles2/plugins/opengl/src/paint.cpp:401
#8 0x00007ffff2714c90 in GLScreen::glPaintOutput (this=0x670520, sAttrib=..., transform=..., region=..., output=0x6324a0, mask=<optimised out>)
    at /home/dan/bzr/compiz/gles2/plugins/opengl/src/paint.cpp:531
#9 0x00007ffff271d07a in PrivateGLScreen::paintOutputs (this=0x670cf0, outputs=..., mask=4, region=...) at /home/dan/bzr/compiz/gles2/plugins/opengl/src/screen.cpp:1599
#10 0x00007ffff2d508b7 in CompositeScreen::handlePaintTimeout (this=0x664b30) at /home/dan/bzr/compiz/gles2/plugins/composite/src/screen.cpp:810
#11 0x00007ffff7ba040b in operator() (this=<optimised out>) at /usr/include/boost/function/function_template.hpp:1013
#12 CompTimer::triggerCallback (this=<optimised out>) at /home/dan/bzr/compiz/gles2/src/timer/src/timer.cpp:227
#13 0x00007ffff7ba050f in CompTimeoutSource::callback (this=<optimised out>) at /home/dan/bzr/compiz/gles2/src/timer/src/timer.cpp:150
#14 0x00007ffff7b9f9bd in operator() (this=<optimised out>) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440
#15 dispatch (slot=<optimised out>, this=<optimised out>) at /home/dan/bzr/compiz/gles2/src/timer/src/timer.cpp:133
#16 CompTimeoutSource::dispatch (this=<optimised out>, slot=<optimised out>) at /home/dan/bzr/compiz/gles2/src/timer/src/timer.cpp:131
#17 0x00007ffff6099f2f in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#18 0x00007ffff5ba1c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff5ba2060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff5ba245a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x0000000000402194 in main (argc=4, argv=0x7fffffffe5d8) at /home/dan/bzr/compiz/gles2/src/main.cpp:224

Tags: gles

Related branches

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

The crash and

./bin/compiz (opengl) - Error: FBO is incomplete: GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd)
./bin/compiz (opengl) - Error: framebuffer object bind failed. Postprocessing disabled

Are two different bugs (probably the same root cause ... using incorrect GLenums ...). The FBO bug is tracked in bug 1013487

description: updated
summary: - [GLES] [nvidia] GLES branch crashes on startup with the latest nvidia
- driver
+ [GLES] [nvidia] GLES branch crashes in PrivateVertexBuffer::render
Changed in compiz:
assignee: Compiz Linaro Team (compiz-linaro-team) → Sam Spilsbury (smspillaz)
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Probem was that legacy gl client states were left on with nothing bound to them when we were using vbo's anyways.

Rev 3244

Changed in compiz:
status: Triaged → Fix Committed
Changed in compiz:
milestone: 0.9.8.0 → none
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.