This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: [PATCH] Re: pthread


 
Rob,
I built the DEBUG version fo all the libs in X, and twm. I still get same
results from gdb.  info threads and info locals does not tell me much.  I am
not sure from where first line of bt is coming.... perhaps some Windows
dlls, e.g. kernel32 for which debug symbols are not available.  Anyhow,
below is the cut and paste from gdb.

Suhaib

(gdb) run
Starting program: /usr/X11R6/bin/twm.exe

Program received signal SIGSEGV, Segmentation fault.
0xc16c25ff in ?? ()
(gdb) info threads
  14 thread 960.0x560  0x77f82230 in ?? ()
  3 thread 960.0x470  0x77f820f0 in ?? ()
  2 thread 960.0x46c  0x77f820f0 in ?? ()
* 1 thread 960.0x3d4  0xc16c25ff in ?? ()
(gdb) info locals
No symbol table info available.
(gdb) bt
#0  0xc16c25ff in ?? ()
#1  0x676c26cf in _libkernel32_a_iname ()
#2  0x676c288e in _libkernel32_a_iname ()
#3  0x40a315 in main (argc=1, argv=0xa011788) at twm.c:291
#4  0x61003ade in dll_crt0_1 () at
../../../../src/winsup/cygwin/dcrt0.cc:865
#5  0x61003cbd in _dll_crt0 () at ../../../../src/winsup/cygwin/dcrt0.cc:931
#6  0x61003cfc in dll_crt0 (uptr=0x0)
    at ../../../../src/winsup/cygwin/dcrt0.cc:943
#7  0x453ebf in cygwin_crt0 ()
    at ../../../../src/winsup/cygwin/lib/cygwin_crt0.c:33
#8  0x40103b in mainCRTStartup ()
#9  0x77e992a6 in _libkernel32_a_iname ()
(gdb)

-----Original Message-----
From: Robert Collins
To: Suhaib Siddiqi
Cc: cygwin-xfree@sources.redhat.com
Sent: 4/17/2001 9:38 PM
Subject: RE: [PATCH] Re: pthread

> -----Original Message-----
> From: Suhaib Siddiqi [mailto:ssiddiqi@inspirepharm.com]
> Sent: Wednesday, April 18, 2001 11:08 AM
> To: Robert Collins; Suhaib Siddiqi
> Cc: 'cygwin-xfree@sources.redhat.com '
> Subject: RE: [PATCH] Re: pthread
> 
> 
>  Ok, i built for now only debug version fo twm.  i know I 
> need to build
> entire tree.  It does give some clues.  It is Shape 
> Extension, which all
> Windows Mangers use, is causing core dump with pthread enabled. :-o
> 
> The gdb showed
> 0xc16c25ff in ?? ()
> (gdb) where
> #0  0xc16c25ff in ?? ()
> #1  0x676c26cf in _libkernel32_a_iname ()
> #2  0x676c288e in _libkernel32_a_iname ()
> #3  0x40a315 in main (argc=1, argv=0xa011d60) at twm.c:291
> #4  0x61003ade in dll_crt0_1 () at
> ../../../../src/winsup/cygwin/dcrt0.cc:865
> #5  0x61003cbd in _dll_crt0 () at 
> ../../../../src/winsup/cygwin/dcrt0.cc:931
> #6  0x61003cfc in dll_crt0 (uptr=0x0)
>     at ../../../../src/winsup/cygwin/dcrt0.cc:943
> #7  0x453ebf in cygwin_crt0 ()
>     at ../../../../src/winsup/cygwin/lib/cygwin_crt0.c:33
> #8  0x40103b in mainCRTStartup ()
> #9  0x77e992a6 in _libkernel32_a_iname ()
> 
> This line 291 in twm.c
>  if (restore_filename)
> 	ReadWinConfigFile (restore_filename);
> 
>     HasShape = XShapeQueryExtension (dpy, &ShapeEventBase, 
> &ShapeErrorBase);
> 


Can you also do 
info threads
info locals
 
Thanks,
Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]