Created attachment 43221 [details] backtrace Bug description: Software Octave crashes on dumping image from a fltk/opengl plot. System environment: -- chipset: 8086:0046 -- system architecture: 64-bit -- xf86-video-intel: 2.13.903+git20110104.a7c7a910-0ubuntu0sarvatt2~lucid -- xserver: 1.8.2 -- mesa: 7.11.0+git20110118.e4be665b -- libdrm: 2.4.23+git20110119.550fe2ca-0ubuntu0sarvatt~lucid -- kernel: 2.6.37-020637 -- Linux distribution: Ubuntu 10.04 Reproducing steps: 1. Download and compile Octave 3.4 with fltk support. 2. Start octave and run octave:1> graphics_toolkit fltk octave:2> x = 0:0.1:2*pi; plot(x,sin(x)); libGL: OpenDriver: trying /usr/lib/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so libGL: Can't open configuration file /etc/drirc: No such file or directory. ... octave:3> print('tmp.png','-dpng') octave: tnl/t_draw.c:406: _tnl_draw_prims: Assertion `ctx->NewState == 0x0' failed. panic: Aborted -- stopping myself... attempting to save variables to `octave-core'... save to `octave-core' complete Aborted Additional info: In brw_draw_prims: 1. brw_try_draw_prims fails when it hits a GL_RENDER fallback 2. _tnl_draw_prims is called and hits the assertion that causes the crash
I've failed before at getting this collection of software installed without building it myself, so this time I tried building a test that would catch the bug on its own (piglit rendermode-feedback test). It didn't, though. I wonder, could you get a trace of the failure using apitrace and attach it? Then we can have a concrete thing to test without whatever developer having to go custom build software.
Closing due to lack of feedback. If you can get a trace that reproduces the problem, feel free to attach it and reopen the bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.