VirtualBox

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#4674 closed defect (fixed)

Segmentation fault in vboxstub_glXMakeCurrent with 3D acceleration -> Fixed in SVN.

Reported by: cornelius Owned by:
Component: 3D support Version: VirtualBox 3.1.0
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description

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?

The segmentation fault happens both in VB 2.2.4 and 3.0.2.

Without 3D acceleration, I can run ubigraph_server, but it's slow and uses too much CPU.

$ LIBGL_DEBUG=verbose CR_DEBUG=1 ubigraph_server 
libGL: XF86DRIGetClientDriverName: 1.0.0 vboxvideo (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/vboxvideo_dri.so
libGL: OpenDriver: trying /usr/lib/dri/vboxvideo_dri.so
[0x7f74b046e710] OpenGL Debug: In crNetConnectToServer( "vboxhgcm://host:0", port=7000, mtu=1024, broker=0 )
[0x7f74b046e710] OpenGL Debug: Connecting to host on port 0, with protocol vboxhgcm
[0x7f74b046e710] OpenGL Debug: HGCM connect was successful: client id =0xb4

[0x7f74b046e710] OpenGL Debug: Done connecting to vboxhgcm://host:0 (swapping=0)
[0x7f74b046e710] OpenGL Debug: SPU 1/3: (0) "array"
[0x7f74b046e710] OpenGL Debug: SPU 2/3: (1) "feedback"
[0x7f74b046e710] OpenGL Debug: SPU 3/3: (2) "pack"
[0x7f74b046e710] OpenGL Debug: Initializing error SPU
[0x7f74b046e710] OpenGL Debug: Initializing pack SPU
[0x7f74b046e710] OpenGL Debug: In crNetConnectToServer( "vboxhgcm://llp:7000", port=7000, mtu=5242880, broker=0 )
[0x7f74b046e710] OpenGL Debug: Connecting to llp on port 7000, with protocol vboxhgcm
[0x7f74b046e710] OpenGL Debug: HGCM connect was successful: client id =0xb5

[0x7f74b046e710] OpenGL Debug: Done connecting to vboxhgcm://llp:7000 (swapping=0)
[0x7f74b046e710] OpenGL Debug: Buffer pool 0x1368430 was empty; allocating new 5242896 byte buffer.
[0x7f74b046e710] OpenGL Debug: Using system malloc

[0x7f74b046e710] OpenGL Debug: Initializing error SPU
[0x7f74b046e710] OpenGL Debug: Initializing passthrough SPU
[0x7f74b046e710] OpenGL Debug: Initializing feedback SPU
[0x7f74b046e710] OpenGL Debug: Initializing error SPU
[0x7f74b046e710] OpenGL Debug: Initializing passthrough SPU
[0x7f74b046e710] OpenGL Debug: Initializing array SPU
[0x7f74b046e710] OpenGL Debug: trying /usr/lib64/dri/swrast_dri.so
[0x7f74b046e710] OpenGL Debug: loaded /usr/lib64/dri/swrast_dri.so
[0x7f74b046e710] OpenGL Debug: Patching mesa glx entries
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[0x7f74b046e710] OpenGL Debug: ->glXIsDirect
[0x7f74b046e710] OpenGL Debug: Buffer pool 0x1368430 was empty; allocating new 5242896 byte buffer.
[0x7f74b046e710] OpenGL Debug: Using system malloc

[0x7f74b046e710] OpenGL Debug: Dispatched: WindowShow(3, 0)
[0x7f74b046e710] OpenGL Debug: glXChooseVisual returned 21 depth=24
[0x7f74b046e710] OpenGL Debug: ->glXIsDirect
[0x7f74b046e710] OpenGL Debug: GL faker: Ignoring freeglut menu window
Segmentation fault


(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007f17e1ad1be9 in ?? () from /usr/lib/dri/vboxvideo_dri.so
#2  0x00007f17e1ae54e3 in vboxstub_glXMakeCurrent () from /usr/lib/dri/vboxvideo_dri.so
#3  0x00007f17e15ec124 in fgOpenWindow () from /usr/lib/libglut.so.3
#4  0x00007f17e15ea994 in fgCreateWindow () from /usr/lib/libglut.so.3
#5  0x00007f17e15eaa34 in fgCreateMenu () from /usr/lib/libglut.so.3
#6  0x00007f17e15e817e in glutCreateMenu () from /usr/lib/libglut.so.3
#7  0x000000000043942e in ?? ()
#8  0x00000000004287de in ?? ()
#9  0x0000000000407fc9 in ?? ()
#10 0x00007f17e084c5a6 in __libc_start_main () from /lib/libc.so.6
#11 0x00000000004072e9 in ?? ()
#12 0x00007fffe9c48238 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fffe9c48827 in ?? ()
#16 0x0000000000000000 in ?? ()

Change History (10)

comment:1 by FRob, 14 years ago

I can second that finding. Using guest Ubuntu 9.04 on Windows Vista SP1 host with VirtualBox 3.0.10. r54097 the same error occurs while using glutCreateMenu().

comment:2 by Frank Mehnert, 14 years ago

Version: VirtualBox 3.0.2VirtualBox 3.0.10

comment:3 by FRob, 14 years ago

Still in 3.1.0 using guest Ubuntu 9.04 on Windows Vista SP1 host.

comment:4 by Frank Mehnert, 14 years ago

Version: VirtualBox 3.0.10VirtualBox 3.1.0

comment:5 by FRob, 14 years ago

Still in 3.2.0 using guest Ubuntu 9.10 on Windows Vista SP2 host.

comment:6 by Frank Mehnert, 14 years ago

The last released version is VBox 3.1.2, the current beta is 3.1.4.

comment:7 by FRob, 14 years ago

Sorry, deleted one version too many :/ I'm talking about 3.1.2 where it is still segfaulting.

comment:8 by Leonid Lobachev, 14 years ago

This crash is fixed, but the app doesn't quite work yet.

comment:9 by Leonid Lobachev, 14 years ago

Summary: Segmentation fault in vboxstub_glXMakeCurrent with 3D accelerationSegmentation fault in vboxstub_glXMakeCurrent with 3D acceleration -> Fixed in SVN.

Fixed now.

comment:10 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use