Hi,
I built my libs / mesa, server and video driver ( ATi ) for radeon and tried
a GL Application again.
Any application still segfaults immediately in the terminal
here is a complete trace of that happening:
bash-3.1# gdb /usr/src/xorg/mesa/progs/xdemos/glxinfo
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/src/xorg/mesa/progs/xdemos/glxinfo
[Thread debugging using libthread_db enabled]
[New Thread -1211177280 (LWP 3505)]
name of display: :0.0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211177280 (LWP 3505)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb7faf266 in driCreateScreen (psc=0x8054e10, screen=0, priv=0x8054b78)
at dri_glx.c:615
#2 0xb7f93073 in __glXInitialize (dpy=0x804e008) at glxext.c:782
#3 0xb7f8fb2b in GetGLXPrivScreenConfig (dpy=0x8054e18, scrn=0,
ppriv=0xbf8ef118, ppsc=0xbf8ef114) at glxcmds.c:183
#4 0xb7f9108f in glXChooseVisual (dpy=0x804e008, screen=0,
attribList=0x804d5e0) at glxcmds.c:1249
#5 0x08049829 in mesa_hack (dpy=0x8054e18, scrnum=-1208783308)
at glxinfo.c:1017
#6 0x0804a319 in main (argc=1, argv=0xbf8ef434) at glxinfo.c:1152
(gdb) bt f
#0 0x00000000 in ?? ()
No symbol table info available.
#1 0xb7faf266 in driCreateScreen (psc=0x8054e10, screen=0, priv=0x8054b78)
at dri_glx.c:615
pdp = <value optimized out>
psp = <value optimized out>
#2 0xb7f93073 in __glXInitialize (dpy=0x804e008) at glxext.c:782
info = (XExtDisplayInfo *) 0x8054b60
privList = (XExtData **) 0x804e008
private = (XExtData *) 0x8054b10
found = <value optimized out>
dpyPriv = (__GLXdisplayPrivate *) 0x8054b78
#3 0xb7f8fb2b in GetGLXPrivScreenConfig (dpy=0x8054e18, scrn=0,
ppriv=0xbf8ef118, ppsc=0xbf8ef114) at glxcmds.c:183
No locals.
#4 0xb7f9108f in glXChooseVisual (dpy=0x804e008, screen=0,
attribList=0x804d5e0) at glxcmds.c:1249
visualList = <value optimized out>
priv = (__GLXdisplayPrivate *) 0x0
psc = <value optimized out>
test_config = {next = 0x804884f, rgbMode = 69 'E', floatMode = 73
'I',
colorIndexMode = 32 ' ', doubleBufferMode = 0, stereoMode = 0,
haveAccumBuffer = 8 '\b', haveDepthBuffer = 224 'à',
haveStencilBuffer = 4 '\004', redBits = 359345080, greenBits = 0,
blueBits = 134537224, alphaBits = 0, redMask = 0, greenMask = 134539252,
blueMask = 128686770, alphaMask = 3213816000, rgbBits = 20,
indexBits = 134537224, accumRedBits = 1, accumGreenBits = 7,
accumBlueBits = 20, accumAlphaBits = 276, depthBits = 276,
stencilBits = 134564192, numAuxBuffers = 33, level = -1209628576,
pixmapMode = -1208675136, visualID = 0, visualType = 0, visualRating = 1,
transparentPixel = 7, transparentRed = 52, transparentGreen = -1208478864,
transparentBlue = -1208139776, transparentAlpha = 262145,
transparentIndex = 107996156, sampleBuffers = -1207975948,
samples = -1207974184, drawableType = 1, renderType = -1081151216,
xRenderable = -1208032679, fbconfigID = -1207973744, maxPbufferWidth = 0,
maxPbufferHeight = 1, maxPbufferPixels = 1, optimalPbufferWidth = 0,
optimalPbufferHeight = 134514512, visualSelectGroup = 37, swapMethod = 0,
screen = 134534516, bindToTextureRgb = -1208478864,
bindToTextureRgba = 134534376, bindToMipmapTexture = -1207976736,
bindToTextureTargets = 0, yInverted = -1081151160}
modes = (__GLcontextModes *) 0xb7ffc6d8
best_config = (const __GLcontextModes *) 0x0
#5 0x08049829 in mesa_hack (dpy=0x8054e18, scrnum=-1208783308)
at glxinfo.c:1017
visinfo = <value optimized out>
attribs = {4, 8, 1, 9, 1, 10, 1, 12, 1, 13, 1, 14, 1, 15, 1, 16, 1,
17, 1, 5, 0}
#6 0x0804a319 in main (argc=1, argv=0xbf8ef434) at glxinfo.c:1152
displayName = 0x0
---Type <return> to continue, or q <return> to quit---
dpy = (Display *) 0x804e008
numScreens = 1
scrnum = 0
mode = Normal
findBest = 0 '\0'
limits = 0 '\0'
allowDirect = 1
i = <value optimized out>
--
I am also still getting a segfault when exiting from xorg as shown:
Backtrace:
0: X(xf86SigHandler+0x6f) [0x80c4a9f]
1: [0xb7fe0420]
2: X(GetKeyboardEvents+0x2e) [0x8094a1e]
3: X(xf86PostKeyboardEvent+0x76) [0x80b0216]
4: /usr/X11R6/lib/xorg/modules/input//evdev_drv.so [0xb7a525a2]
5: X [0x80c4c25]
6: X [0x80a6c21]
7: [0xb7fe0420]
8:
/usr/X11R6/lib/xorg/modules/drivers//radeon_drv.so(RADEONRestoreTVRegisters+0xf9)
[0xb7ada6e9]
9: /usr/X11R6/lib/xorg/modules/drivers//radeon_drv.so(RADEONRestore+0x3ce)
[0xb7abb6fe]
10: /usr/X11R6/lib/xorg/modules/drivers//radeon_drv.so [0xb7abb9b9]
11: X [0x815e7b0]
12: X [0x80aa0fc]
13: X [0x80b9807]
14: X [0x813d901]
15: X [0x815c8c3]
16: X [0x8135f2d]
17: /usr/X11R6/lib/xorg/modules/extensions//libglx.so [0xb7b3102b]
18: X(main+0x4f0) [0x806bc60]
19: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7bbfdf8]
20: X(FontFileCompleteXLFD+0x1ed) [0x806b011]
Hope this helps
Regards
Nigel Sollars
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev