xorg cvs server segfaults with indirect rendering

Roland Scheidegger rscheidegger_lists at hispeed.ch
Fri Aug 12 12:45:55 PDT 2005


Ian Romanick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Roland Scheidegger wrote:
> 
> 
>>I'm not sure how you'd do that, define a different MesaSrcDir in
>>host.def? In any case, I've just tried that, didn't compile (or rather,
>>didn't link).
>>And, I'm not sure there are any changes in that area in mesa, this looks
>>different than the dispatch trouble to me.
> 
> 
> I just committed a patch to X.org CVS a few minutes ago that should fix
> this.  There were some hand-edits to indirect_size.c that got removed
> when I regenerated the file and committed it in the Mesa tree yesterday.
>  I modified the libglx code to use the symbols that *do* exist in the
> generated version of the file instead of the hand-edited aliases to
> those symbols.

Compiled & installed, but segfaults at X startup. I had to disable glx
to get it running again...

(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.so

    *** If unresolved symbols were reported above, they might not
    *** be the reason for the server aborting.

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x7f) [0x8085daf]
1: [0xffffe420]
2: /lib/tls/libc.so.6 [0xb7e79c67]
3: /lib/ld-linux.so.2 [0xb7f01da6]
4: /lib/tls/libc.so.6(_dl_open+0x70) [0xb7e79740]
5: /lib/libdl.so.2 [0xb7ea904b]
6: /lib/ld-linux.so.2 [0xb7f01da6]
7: /lib/libdl.so.2 [0xb7ea9415]
8: /lib/libdl.so.2(dlopen+0x32) [0xb7ea8ff2]
9: /usr/X11R6/bin/X(DLLoadModule+0x30) [0x80a9770]
10: /usr/X11R6/bin/X(LoaderOpen+0x15a) [0x80a3a8a]
11: /usr/X11R6/bin/X(LoadModule+0x4ac) [0x80a56cc]
12: /usr/X11R6/bin/X(LoadSubModule+0x43) [0x80a60e3]
13: /usr/X11R6/lib/modules/extensions/libglx.so [0xb7d06889]
14: /usr/X11R6/bin/X(LoadModule+0xcc7) [0x80a5ee7]
15: /usr/X11R6/bin/X(xf86LoadModules+0xb4) [0x80700b4]
16: /usr/X11R6/bin/X(InitOutput+0x4d4) [0x8071a94]
17: /usr/X11R6/bin/X(main+0x233) [0x80cd703]
18: /lib/tls/libc.so.6(__libc_start_main+0xe0) [0xb7da7500]
19: /usr/X11R6/bin/X [0x806fd11]

Fatal server error:
Caught signal 11.  Server aborting

As always, I can't provide a nice gdb backtrace, debugging X locally is 
a completely lost cause...

(On a somewhat unrelated note, this build also has a broken keyboard 
driver, the ctrl-alt-fxx sequences won't work any longer, no more 
console switching for me... guess that's not your fault :-)).

Roland



More information about the xorg mailing list