This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: [PATCH] Re: pthread
- To: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Subject: RE: [PATCH] Re: pthread
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Wed, 18 Apr 2001 11:38:17 +1000
- Cc: <cygwin-xfree at sources dot redhat dot com>
- Thread-Index: AcDHov2gSd2jJ5mXTWu/BC2ORAEudgABR5LA
- Thread-Topic: [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