Bug 75469

Summary: virtualbox 4.3.6 VBoxTestOGL segfaults when testing 2D capabilities
Product: xorg Reporter: farmboy0+freedesktop
Component: * OtherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description farmboy0+freedesktop 2014-02-24 21:23:41 UTC
Backtrace from GDB:
#0  XVisualIDFromVisual (visual=0x500000031) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/Misc.c:60
#1  0x00007ffff665e6ee in qt_x11_getX11InfoForWindow (xinfo=0x7161a0, att=...) at kernel/qwidget_x11.cpp:3116
#2  0x00007ffff665e795 in qt_x11_getX11InfoForWindow (xinfo=<optimized out>, a=...) at kernel/qwidget_x11.cpp:438
#3  0x00007ffff665f9fb in QWidgetPrivate::create_sys (this=0x715fc0, window=77594626, initializeWindow=true, 
    destroyOldWindow=true) at kernel/qwidget_x11.cpp:599
#4  0x00007ffff661698f in QWidget::create (this=0x6b9970, window=77594626, initializeWindow=true, destroyOldWindow=true)
    at kernel/qwidget.cpp:1513
#5  0x00007ffff6c41289 in QEgl::createSurface (device=0x6b9980, config=0x7b9740, properties=0x0) at egl/qegl_x11.cpp:410
#6  0x00007ffff619366a in QGLContext::chooseContext (this=0x6bc3d0, shareContext=0x0) at qgl_x11egl.cpp:244
#7  0x00007ffff61180f2 in QGLContext::create (this=0x6bc3d0, shareContext=0x0) at qgl.cpp:3348
#8  0x00007ffff6193a27 in QGLWidget::setContext (this=0x6b9970, context=0x6bc3d0, shareContext=<optimized out>, 
    deleteOldContext=true) at qgl_x11egl.cpp:322
#9  0x00007ffff61177af in QGLWidgetPrivate::initContext (this=0x715fc0, context=0x6bc3d0, shareWidget=0x0) at qgl.cpp:5603
#10 0x00007ffff6193ab7 in QGLWidgetPrivate::init (this=0x715fc0, context=<optimized out>, shareWidget=<optimized out>)
    at qgl_x11egl.cpp:339
#11 0x00007ffff6117f86 in QGLWidget::QGLWidget (this=0x6b9970, parent=<optimized out>, shareWidget=0x0, f=...) at qgl.cpp:3834
#12 0x000000000040f9a3 in VBoxGLTmpContext::VBoxGLTmpContext (this=0x7fffffffd8b0)
    at /var/tmp/portage/app-emulation/virtualbox-4.3.6/work/VirtualBox-4.3.6/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:680
#13 0x0000000000401e26 in vboxCheck2DVideoAccelerationSupported ()
    at /var/tmp/portage/app-emulation/virtualbox-4.3.6/work/VirtualBox-4.3.6/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp:87
#14 main (argc=<optimized out>, argv=0x6253a0)
    at /var/tmp/portage/app-emulation/virtualbox-4.3.6/work/VirtualBox-4.3.6/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp:346
Comment 1 Alan Coopersmith 2014-02-25 04:47:26 UTC
That stack trace shows an invalid pointer being passed to XVisualIDFromVisual,
suggesting the bug is up the stack in the Qt or VirtualBox code, not libX11.

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.