id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	guest	host
4674	Segmentation fault in vboxstub_glXMakeCurrent with 3D acceleration -> Fixed in SVN.	cornelius		When I try to run ubigraph_server (which can be found here: http://www.ubietylab.net/ubigraph/index.html ), I get a segmentation fault. The debugging output is below, as well as a backtrace (without symbols). It seems like the problem is in vboxstub_glXMakeCurrent. Is this some unimplemented functionality in the hardware accelerated driver?\r\n\r\nThe segmentation fault happens both in VB 2.2.4 and 3.0.2.\r\n\r\nWithout 3D acceleration, I can run ubigraph_server, but it's slow and uses too much CPU.\r\n\r\n\r\n{{{\r\n$ LIBGL_DEBUG=verbose CR_DEBUG=1 ubigraph_server \r\nlibGL: XF86DRIGetClientDriverName: 1.0.0 vboxvideo (screen 0)\r\nlibGL: OpenDriver: trying /usr/lib/dri/tls/vboxvideo_dri.so\r\nlibGL: OpenDriver: trying /usr/lib/dri/vboxvideo_dri.so\r\n[0x7f74b046e710] OpenGL Debug: In crNetConnectToServer( "vboxhgcm://host:0", port=7000, mtu=1024, broker=0 )\r\n[0x7f74b046e710] OpenGL Debug: Connecting to host on port 0, with protocol vboxhgcm\r\n[0x7f74b046e710] OpenGL Debug: HGCM connect was successful: client id =0xb4\r\n\r\n[0x7f74b046e710] OpenGL Debug: Done connecting to vboxhgcm://host:0 (swapping=0)\r\n[0x7f74b046e710] OpenGL Debug: SPU 1/3: (0) "array"\r\n[0x7f74b046e710] OpenGL Debug: SPU 2/3: (1) "feedback"\r\n[0x7f74b046e710] OpenGL Debug: SPU 3/3: (2) "pack"\r\n[0x7f74b046e710] OpenGL Debug: Initializing error SPU\r\n[0x7f74b046e710] OpenGL Debug: Initializing pack SPU\r\n[0x7f74b046e710] OpenGL Debug: In crNetConnectToServer( "vboxhgcm://llp:7000", port=7000, mtu=5242880, broker=0 )\r\n[0x7f74b046e710] OpenGL Debug: Connecting to llp on port 7000, with protocol vboxhgcm\r\n[0x7f74b046e710] OpenGL Debug: HGCM connect was successful: client id =0xb5\r\n\r\n[0x7f74b046e710] OpenGL Debug: Done connecting to vboxhgcm://llp:7000 (swapping=0)\r\n[0x7f74b046e710] OpenGL Debug: Buffer pool 0x1368430 was empty; allocating new 5242896 byte buffer.\r\n[0x7f74b046e710] OpenGL Debug: Using system malloc\r\n\r\n[0x7f74b046e710] OpenGL Debug: Initializing error SPU\r\n[0x7f74b046e710] OpenGL Debug: Initializing passthrough SPU\r\n[0x7f74b046e710] OpenGL Debug: Initializing feedback SPU\r\n[0x7f74b046e710] OpenGL Debug: Initializing error SPU\r\n[0x7f74b046e710] OpenGL Debug: Initializing passthrough SPU\r\n[0x7f74b046e710] OpenGL Debug: Initializing array SPU\r\n[0x7f74b046e710] OpenGL Debug: trying /usr/lib64/dri/swrast_dri.so\r\n[0x7f74b046e710] OpenGL Debug: loaded /usr/lib64/dri/swrast_dri.so\r\n[0x7f74b046e710] OpenGL Debug: Patching mesa glx entries\r\ndrmOpenDevice: node name is /dev/dri/card0\r\ndrmOpenDevice: open result is 5, (OK)\r\ndrmOpenByBusid: Searching for BusID pci:0000:00:02.0\r\ndrmOpenDevice: node name is /dev/dri/card0\r\ndrmOpenDevice: open result is 5, (OK)\r\ndrmOpenByBusid: drmOpenMinor returns 5\r\ndrmOpenByBusid: drmGetBusid reports pci:0000:00:02.0\r\n[0x7f74b046e710] OpenGL Debug: ->glXIsDirect\r\n[0x7f74b046e710] OpenGL Debug: Buffer pool 0x1368430 was empty; allocating new 5242896 byte buffer.\r\n[0x7f74b046e710] OpenGL Debug: Using system malloc\r\n\r\n[0x7f74b046e710] OpenGL Debug: Dispatched: WindowShow(3, 0)\r\n[0x7f74b046e710] OpenGL Debug: glXChooseVisual returned 21 depth=24\r\n[0x7f74b046e710] OpenGL Debug: ->glXIsDirect\r\n[0x7f74b046e710] OpenGL Debug: GL faker: Ignoring freeglut menu window\r\nSegmentation fault\r\n\r\n\r\n(gdb) bt\r\n#0  0x0000000000000000 in ?? ()\r\n#1  0x00007f17e1ad1be9 in ?? () from /usr/lib/dri/vboxvideo_dri.so\r\n#2  0x00007f17e1ae54e3 in vboxstub_glXMakeCurrent () from /usr/lib/dri/vboxvideo_dri.so\r\n#3  0x00007f17e15ec124 in fgOpenWindow () from /usr/lib/libglut.so.3\r\n#4  0x00007f17e15ea994 in fgCreateWindow () from /usr/lib/libglut.so.3\r\n#5  0x00007f17e15eaa34 in fgCreateMenu () from /usr/lib/libglut.so.3\r\n#6  0x00007f17e15e817e in glutCreateMenu () from /usr/lib/libglut.so.3\r\n#7  0x000000000043942e in ?? ()\r\n#8  0x00000000004287de in ?? ()\r\n#9  0x0000000000407fc9 in ?? ()\r\n#10 0x00007f17e084c5a6 in __libc_start_main () from /lib/libc.so.6\r\n#11 0x00000000004072e9 in ?? ()\r\n#12 0x00007fffe9c48238 in ?? ()\r\n#13 0x000000000000001c in ?? ()\r\n#14 0x0000000000000001 in ?? ()\r\n#15 0x00007fffe9c48827 in ?? ()\r\n#16 0x0000000000000000 in ?? ()\r\n\r\n}}}\r\n	defect	closed	major	3D support	VirtualBox 3.1.0	fixed			Linux	Mac OS X
