On Mon, 29 Apr 2002 [EMAIL PROTECTED] wrote:

> >Was this a backtrace on a core? I'm not sure LoaderPrintSymbol works if the
> server isn't >running. If you could run the server under the debugger or use
> the XFree86 module >hacked version of gdb on the core we could probably see
> the rest of the symbols. As it >is there are alot of possible branches down
> the CopyArea path and this could be in any >number of places. By the depth
> (number of functions) I would guess it's in the software >rendering code
> someplace. Perhaps a bs specific path that isn't well tested. 
> >Mark. 
> 
> 
> Hello Mark,
> 
> I attached to the running X process with gdb because I was waiting for this
> error to occur. 
> The Version of gdb is GDB 5.1-1 from Red HAT with support for XFree86 
> Downloaded from http://www.dawa.demon.co.uk/xfree-gdb/.
> In this case I did not get any core file. But I have got an old core file
> where X was started without bs, so we know that bs is not the problem.
> It gives a little more details.

   With the special gdb you need to explicitly load the modules
in order to get a backtrace.  Ie, before you get the backtrace enter

   module /usr/X11R6/lib/modules

at the gdb prompt to indicate where to get the modules from.


                                Mark.


> 
> We had this kind of  problems also with X 3.3.4.
> 
> I hope this will help to locate the problem.
> 
> Thanks for your help.
> 
> Natascha
>  
> 
> X version 4.2.0
> 
> gdb /usr/X11R6/bin/X -c core
> GNU gdb Red Hat Linux (5.1-1)
> Copyright 2001 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 �i386-redhat-linux�...
> Core was generated by �/usr/X11R6/bin/X :0 -to 15 -once -quiet -class
> SuSE-X-Terminal -query crxcrew2�.
> Program terminated with signal 6, Aborted.
> Reading symbols from /lib/i686/libm.so.6...done.
> Loaded symbols for /lib/i686/libm.so.6
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/i686/libc.so.6...done.
> Loaded symbols for /lib/i686/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /lib/libnss_files.so.2...done.
> Loaded symbols for /lib/libnss_files.so.2
> Reading symbols from /lib/libnss_nisplus.so.2...done.
> Loaded symbols for /lib/libnss_nisplus.so.2
> Reading symbols from /lib/libnsl.so.1...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libnss_dns.so.2...done.
> Loaded symbols for /lib/libnss_dns.so.2
> Reading symbols from /lib/libresolv.so.2...done.
> Loaded symbols for /lib/libresolv.so.2
> #0  0x40078a01 in __kill () from /lib/i686/libc.so.6
> (gdb) bt
> #0  0x40078a01 in __kill () from /lib/i686/libc.so.6
> #1  0x400787da in raise (sig=6) at ../sysdeps/posix/raise.c:27 #2 
> 0x40079f82 in abort () at ../sysdeps/generic/abort.c:88 #3  0x080d3220 in AbortServer
> ()
> #4  0x080d46fc in FatalError ()
> #5  0x0808075e in xf86SigHandler ()
> #6  <signal handler called>
> #7  0x0855718c in ?? ()
> #8  0x0856512b in ?? ()
> #9  0x08565714 in ?? ()
> #10 0x08565a92 in ?? ()
> #11 0x08565b6a in ?? ()
> #12 0x08587f48 in ?? ()
> #13 0x08589ecc in ?? ()
> #14 0x08164a3b in miSpriteCopyArea ()
> #15 0x080b14bf in ProcCopyArea ()
> #16 0x080c4a4f in SProcCopyArea ()
> #17 0x080af497 in Dispatch ()
> #18 0x080bf311 in main ()
> #19 0x40066507 in __libc_start_main (main=0x80bedac <main>, argc ,
> ubp_av=0xbffffd34, init=0x806cc08 <_init>, fini=0x81747b0 <_fini>, 
> rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffffd2c) at
> ../sysdeps/generic/libc-start.c:129 (gdb) call LoaderPrintSymbol (0x0855718c)
> You can�t do that without a process to debug.
> (gdb)
> 
> -----------------------------------------------
> backtrace on error with X Version 3.3.4
> 
> Program recieved signal SIGSEGV,Segmentation fault.
> 0x8168a64 in .lse0 ()
> (gdb) bt
> #0 0x8168a64 in .lse0 ()
> #1 0x401d560a in ?? ()
> #2 0x813cabb in vgaImageWrite ()
> #3 0x813fedb in vga256DoBitbltCopy ()
> #4 0x81f2ac4 in cfbBitBlt ()
> #5 0x813edb8 in vga256CopyArea ()
> #6 0x8124b2c in xf86CopyArea ()
> #7 0x8281eeb in miSpriteCopyArea ()
> #8 0x81885ef in ProcCopyArea ()
> #9 0x819aca8 in SProcCopyArea ()
> #10 0x818633f in Dispatch ()
> #11 0x8195dc5 in main ()
> #12 0x4004f213 in __libc_start_main (main=0x8195830 
> <main>, argc=13, argv=0xbffffd64, init=0x807fb50 <_init>, 
> fini=0x82e6780 <_fini>, rtld_fini=0x4000ac30 <_dl_fini>, 
> stack_end=0xbffffd5c)
> at ../sysdeps/generic/libc-start.c:90
> 
> 
> 

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to