Bug 14990 - latest GIT mesa crashes with any GL application
Summary: latest GIT mesa crashes with any GL application
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 08:14 UTC by Vedran Rodic
Modified: 2009-08-24 12:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg conf file (4.89 KB, application/octet-stream)
2008-03-13 08:14 UTC, Vedran Rodic
Details
xorg log file (25.74 KB, text/x-log)
2008-03-13 08:17 UTC, Vedran Rodic
Details

Description Vedran Rodic 2008-03-13 08:14:18 UTC
Created attachment 15089 [details]
Xorg conf file

Hi, I'm using latest git DRM, Mesa, Xserver and intel drivers.

When trying to run any GL app (I've tried glxinfo and glxgears) I get a segmentation fault with this backtrace (bt and bt full output provided).

There are no special messages in dmesg or in Xorg standard output.

I'll attach xorg.conf and xorg.log

(gdb) run
Starting program: /usr/bin/glxinfo 
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New process 6463]
name of display: :0.0
[New Thread -1212221776 (LWP 6463)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212221776 (LWP 6463)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb7efed4e in driCreateScreen (psc=0x8053e28, screen=0, priv=0x8053b90)
    at dri_glx.c:613
#2  0xb7ee0dfb in __glXInitialize (dpy=0x804d008) at glxext.c:782
#3  0xb7edd5ee in GetGLXPrivScreenConfig (dpy=0x8053e30, scrn=0, 
    ppriv=0xbfff2588, ppsc=0xbfff2584) at glxcmds.c:183
#4  0xb7edec68 in glXChooseVisual (dpy=0x804d008, screen=0, 
    attribList=0x804c1e0) at glxcmds.c:1249
#5  0x0804939a in ?? ()
#6  0x0804d008 in ?? ()
#7  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb7efed4e in driCreateScreen (psc=0x8053e28, screen=0, priv=0x8053b90)
    at dri_glx.c:613
#2  0xb7ee0dfb in __glXInitialize (dpy=0x804d008) at glxext.c:782
#3  0xb7edd5ee in GetGLXPrivScreenConfig (dpy=0x8053e30, scrn=0, 
    ppriv=0xbfff2588, ppsc=0xbfff2584) at glxcmds.c:183
#4  0xb7edec68 in glXChooseVisual (dpy=0x804d008, screen=0, 
    attribList=0x804c1e0) at glxcmds.c:1249
#5  0x0804939a in ?? ()
#6  0x0804d008 in ?? ()
#7  0x00000000 in ?? ()
(gdb) bt full
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb7efed4e in driCreateScreen (psc=0x8053e28, screen=0, priv=0x8053b90)
    at dri_glx.c:613
        driver_modes = (__GLcontextModes *) 0x0
        pdp = <value optimized out>
        psp = <value optimized out>
#2  0xb7ee0dfb in __glXInitialize (dpy=0x804d008) at glxext.c:782
        info = (XExtDisplayInfo *) 0x8053b78
        privList = (XExtData **) 0x804d008
        private = (XExtData *) 0x8053b28
        found = <value optimized out>
        dpyPriv = (__GLXdisplayPrivate *) 0x8053b90
#3  0xb7edd5ee in GetGLXPrivScreenConfig (dpy=0x8053e30, scrn=0, 
    ppriv=0xbfff2588, ppsc=0xbfff2584) at glxcmds.c:183
No locals.
#4  0xb7edec68 in glXChooseVisual (dpy=0x804d008, screen=0, 
    attribList=0x804c1e0) at glxcmds.c:1249
        visualList = <value optimized out>
        priv = (__GLXdisplayPrivate *) 0x0
        psc = <value optimized out>
        test_config = {next = 0x1, rgbMode = 0 '\0', floatMode = 0 '\0', 
  colorIndexMode = 0 '\0', doubleBufferMode = 1, stereoMode = 134513852, 
---Type <return> to continue, or q <return> to quit---
  haveAccumBuffer = 68 'D', haveDepthBuffer = 37 '%', 
  haveStencilBuffer = 255 '\ufffd', redBits = -1208690748, greenBits = 2, 
  blueBits = -1212081456, alphaBits = 1, redMask = 0, greenMask = 3221169456, 
  blueMask = 3221169520, alphaMask = 3086276200, rgbBits = 134514485, 
  indexBits = 589318469, accumRedBits = 0, accumGreenBits = 0, 
  accumBlueBits = 139253504, accumAlphaBits = -1073797808, 
  depthBits = -1073797744, stencilBits = -1208691096, 
  numAuxBuffers = 134514648, level = 359345080, pixmapMode = 0, visualID = 0, 
  visualType = 0, visualRating = 0, transparentPixel = 0, transparentRed = 0, 
  transparentGreen = 0, transparentBlue = -1073797824, transparentAlpha = 20, 
  transparentIndex = 134533128, sampleBuffers = 1, samples = 7, 
  drawableType = 20, renderType = 276, xRenderable = 276, 
  fbconfigID = 134560120, maxPbufferWidth = 33, maxPbufferHeight = 134560280, 
  maxPbufferPixels = -1209204892, optimalPbufferWidth = -1208805152, 
  optimalPbufferHeight = 0, visualSelectGroup = -1, swapMethod = -1208692748, 
  screen = 134513884, bindToTextureRgb = -1208691096, 
  bindToTextureRgba = -1073797760, bindToMipmapTexture = -1208749015, 
  bindToTextureTargets = -1208690656, yInverted = 0}
        modes = (__GLcontextModes *) 0xbfff25b8
        best_config = (const __GLcontextModes *) 0x0
#5  0x0804939a in ?? ()
No symbol table info available.
#6  0x0804d008 in ?? ()
---Type <return> to continue, or q <return> to quit---[A
No symbol table info available.
#7  0x00000000 in ?? ()
No symbol table info available.
Comment 1 Vedran Rodic 2008-03-13 08:17:22 UTC
Created attachment 15090 [details]
xorg log file
Comment 2 Kristian Høgsberg 2008-03-13 16:39:51 UTC
This should be fixed, please try the latest git.  In the future, when posting bug reports against builds from git, include the exact git revision that you've built, thanks.
Comment 3 Vedran Rodic 2008-03-14 07:12:53 UTC
Okay, I'll state the commit name, thanks

I can't test this currently because of the bug 15010, but I'll test and close as soon as the 15010 is fixed.
Comment 4 Vedran Rodic 2008-03-15 08:30:51 UTC
the bug is still there, commit e80a2888bb8930b19f278700d29bc7a2d6cab5f5 :



0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb7f1afec in driCreateScreen (psc=0x8053e28, screen=0, priv=0x8053b90)
    at dri_glx.c:615
#2  0xb7efcfa1 in __glXInitialize (dpy=0x804d008) at glxext.c:782
#3  0xb7ef9785 in GetGLXPrivScreenConfig (dpy=0x8053e30, scrn=0,
    ppriv=0xbf8656f8, ppsc=0xbf8656f4) at glxcmds.c:183
#4  0xb7efae35 in glXChooseVisual (dpy=0x804d008, screen=0,
    attribList=0x804c440) at glxcmds.c:1249
#5  0x08049448 in ?? ()
#6  0x0804d008 in ?? ()
#7  0x00000000 in ?? ()
Comment 5 Kristian Høgsberg 2008-03-15 11:12:10 UTC
Ah, I see the problem, I was testing the wrong pointer for NULL.  Try out commit 98e13fecd...  The crash triggers because libGL is trying to load an incompatible version of the dri driver, so you should recompile and reinstall the drivers too.
Comment 6 Vedran Rodic 2008-03-15 16:25:37 UTC
fixed, thanks!
Comment 7 Adam Jackson 2009-08-24 12:29:36 UTC
Mass version move, cvs -> git


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.