Segfault after Xserver exit

Brian Paul brian.paul at tungstengraphics.com
Tue Aug 21 13:45:01 PDT 2007


On 8/21/07, Lukas Hejtmanek <xhejtman at ics.muni.cz> wrote:
> Hello,
>
> using the latest GIT of the Xserver, my server causes SEGV after exit. Here is
> a trace:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1211439440 (LWP 9065)]
> 0xb7da174c in (???) from /lib/i686/cmov/libc.so.6
> (gdb) where
> #0  0xb7da174c in (???) from /lib/i686/cmov/libc.so.6
> #1  0xa789ae0d in _mesa_free (ptr=0x28) at imports.c:85

0x28 is obviously an invalid pointer.

> #2  0xa79953ed in XMesaDestroyVisual (v=0x28) at xm_api.c:1478
> #3  0xb7be3c3f in __glXMesaScreenDestroy (screen=0x8259d90) at glxglcore.c:264
> #4  0xb7be3cf7 in __glXResetScreens () at glxscreens.c:358
> #5  0xb7be301c in ResetExtension (extEntry=0x825ad60) at glxext.c:80
> #6  0x0809a056 in CloseDownExtensions () at extension.c:287
> #7  0x08073ebf in main (argc=2, argv=0xbfb7e644, envp=0x83c6838) at main.c:458

Can you try the following patch which adds some assertions?  It should
tell us if we're going out of bounds during visual set-up.

-Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glxasserts.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070821/ddef1178/attachment.bin>


More information about the xorg mailing list