GNOME Bugzilla – Bug 699712
[info] Settings closes unexpectedly when trying to access the "Details" panel
Last modified: 2014-04-29 13:21:43 UTC
Steps to reproduce: - Open the system settings. - Click on the "Details" icon. - The window closes, not ever showing the Details panel. I'm running GNOME 3.8.1 on Arch Linux, in a virtual machine (this might be related to the problem, I don't know). Here's what the terminal throws out when I click on "Details": OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table OpenGL Warning: glVertexArrayRangeNV not found in mesa table OpenGL Warning: glCombinerInputNV not found in mesa table OpenGL Warning: glCombinerOutputNV not found in mesa table OpenGL Warning: glCombinerParameterfNV not found in mesa table OpenGL Warning: glCombinerParameterfvNV not found in mesa table OpenGL Warning: glCombinerParameteriNV not found in mesa table OpenGL Warning: glCombinerParameterivNV not found in mesa table OpenGL Warning: glFinalCombinerInputNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table OpenGL Warning: glDeleteFencesNV not found in mesa table OpenGL Warning: glFinishFenceNV not found in mesa table OpenGL Warning: glGenFencesNV not found in mesa table OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning: glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not found in mesa table OpenGL Warning: glTestFenceNV not found in mesa table OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x1263240 OpenGL Warning: Retry with 0x8002 returned 0 visuals Segmentation fault (core dumped)
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Okay, Something weird happened. I've followed the instructions there to rebuild the gnome-control-center package with debugging information, in order to get a stack trace as you asked... and now it doesn't crash anymore. The package version is exactly the same I had installed, so I don't know what's going on here. It seems that the problem only appears if the package has been compiled without debugging information. Here is the output from gdb anyway. If I can provide any other info that might help, please let me know. Reading symbols from /usr/bin/gnome-control-center...done. (gdb) run Starting program: /usr/bin/gnome-control-center warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffd10f4700 (LWP 32740)] [New Thread 0x7fffd0029700 (LWP 32743)] [New Thread 0x7fffca2fc700 (LWP 32744)] [Thread 0x7fffca2fc700 (LWP 32744) exited] [Thread 0x7fffd0029700 (LWP 32743) exited] [New Thread 0x7fffca2db700 (LWP 32745)] OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table OpenGL Warning: glVertexArrayRangeNV not found in mesa table OpenGL Warning: glCombinerInputNV not found in mesa table OpenGL Warning: glCombinerOutputNV not found in mesa table OpenGL Warning: glCombinerParameterfNV not found in mesa table OpenGL Warning: glCombinerParameterfvNV not found in mesa table OpenGL Warning: glCombinerParameteriNV not found in mesa table OpenGL Warning: glCombinerParameterivNV not found in mesa table OpenGL Warning: glFinalCombinerInputNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table OpenGL Warning: glDeleteFencesNV not found in mesa table OpenGL Warning: glFinishFenceNV not found in mesa table OpenGL Warning: glGenFencesNV not found in mesa table OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning: glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not found in mesa table OpenGL Warning: glTestFenceNV not found in mesa table OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr [New Thread 0x7fffbb030700 (LWP 32746)] [New Thread 0x7fffba82f700 (LWP 32747)] [Thread 0x7fffbb030700 (LWP 32746) exited] >>> Here is when I click on the "Details" icon. [New Thread 0x7fffbb030700 (LWP 32749)] OpenGL Warning: glXChooseVisual: ignoring attribute 0x22 (gnome-control-center:32736): info-cc-panel-WARNING **: PackageKit version 0.7.6 not supported [Thread 0x7fffba82f700 (LWP 32747) exited]
Created attachment 245314 [details] [review] info: fix crash when using vboxvideo glx driver
This appears to be a bug in the virtualbox 3D driver, supposedly it was fixed about 2 years ago. Yet it still exists in the latest versions. The above patch works around the issue by calling glXQueryVersion, which seemingly forces some initialisation of the driver and avoids the crash when glXChooseFBConfig is called. This is what glxinfo does and why it doesnt crash.
Reopening and CC:'ing Giovanni, who wrote that code for bug 691613.
Attachment 245314 [details] pushed as ef10b47 - info: fix crash when using vboxvideo glx driver