www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/08/17:26:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <004401c0c072$6ba564e0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Earnie Boyd" <cygwin AT cygwin DOT com>
Cc: <cygwin AT cygwin DOT com>, "Joost Kraaijeveld" <J DOT Kraaijeveld AT Askesis DOT nl>
References: <3AD06DB0 DOT 8756E06 AT yahoo DOT com> <03f001c0c040$84aaa630$0200a8c0 AT lifelesswks> <3AD095E8 DOT E1D1B59 AT yahoo DOT com>
Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem in Cygwin 1.1.8-2]
Date: Mon, 9 Apr 2001 07:25:21 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 08 Apr 2001 21:18:54.0416 (UTC) FILETIME=[83F62D00:01C0C071]

----- Original Message -----
From: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
Cc: <cygwin AT cygwin DOT com>; "Joost Kraaijeveld" <J DOT Kraaijeveld AT Askesis DOT nl>
Sent: Monday, April 09, 2001 2:46 AM
Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem
in Cygwin 1.1.8-2]


thanks Earnie. I don't recall what prcise date my threads rewrite went
into CVS - do you know if your snapshot has my streamlined code?

Rob

>
>
> $ uname -a
> CYGWIN_NT-4.0 DU211344 1.3.0(0.36/3/2) 2001-03-18 16:59 i686 unknown
>
> > 3) What's the value of ecx when it dies? Mine is
> > (gdb) info register
> > eax            0x407004 4222980
> > ecx            0xc0     192
> >
> > 3a) Earnie - if you have a few minutes, can you put a breakpoint on
the
> > offending instruction, and report back the output o
> > info registers
>
> (gdb) info registers
> eax            0x3 3
> ecx            0x3 3
> edx            0x3 3
> ebx            0x1e51ec58 508685400
> esp            0x1e51e430 0x1e51e430
> ebp            0x1e51e4b8 0x1e51e4b8
> esi            0xa0111f0 167842288
> edi            0x1e51e968 508684648
> eip            0x4010cc 0x4010cc
> eflags         0x202 514
> cs             0x1b 27
> ss             0x23 35
> ds             0x23 35
> es             0x23 35
> fs             0x38 56
> gs             0x0 0
> fctrl          0x27f 639
> fstat          0x0 0
> ftag           0xffff 65535
> fiseg          0x0 0
> fioff          0x0 0
> foseg          0x0 0
> fooff          0x0 0
> fop            0x0 0
>
>
>
> > info locals
>
> No locals.
>
> > info threads
>
> (gdb) info threads
> * 3 thread 266.0x172  threadFunction (arg=0x0) at Main.cpp:14
>   2 thread 266.0x178  0x77f6828b in ?? ()
>   1 thread 266.0x17e  0x77f678df in ?? ()
> threadFunction (arg=0x0) at Main.cpp:14
>
>
> > bt in each thread?
> >
>
> (gdb) thread 1
> [Switching to thread 1 (thread 266.0x17e)]
> #0  0x77f678df in ?? ()
>
> (gdb) bt
> #0  0x77f678df in ?? ()
> #1  0x77f1ced8 in ?? ()
> #2  0x61004862 in _size_of_stack_reserve__ ()
> #3  0x61004b3d in _size_of_stack_reserve__ ()
> #4  0x61005283 in _size_of_stack_reserve__ ()
> #5  0x404d14 in __main ()
>
> (gdb) thread 2
> [Switching to thread 2 (thread 266.0x178)]
> #0  0x77f6828b in ?? ()
>
> (gdb) bt
> #0  0x77f6828b in ?? ()
> #1  0x77f1cd92 in ?? ()
> #2  0x61056026 in _size_of_stack_reserve__ ()
> #3  0x61005731 in _size_of_stack_reserve__ ()
> #4  0x77f04ee8 in ?? ()
>
> (gdb) thread 3
> [Switching to thread 3 (thread 266.0x172)]
> #0  threadFunction (arg=0x0) at Main.cpp:14
>
> (gdb) bt
> #0  threadFunction (arg=0x0) at Main.cpp:14
> #1  0x6106661c in _size_of_stack_reserve__ ()
> #2  0x77f04ee8 in ?? ()
>
> (gdb) step
>
> (gdb) info registers
> eax            0x0 0
> ecx            0x407020 4223008
> edx            0x1e51e498 508683416
> ebx            0x1e51ec58 508685400
> esp            0x1e51e430 0x1e51e430
> ebp            0x1e51e4b8 0x1e51e4b8
> esi            0xa0111f0 167842288
> edi            0x1e51e968 508684648
> eip            0x4011c0 0x4011c0
> eflags         0x246 582
> cs             0x1b 27
> ss             0x23 35
> ds             0x23 35
> es             0x23 35
> fs             0x38 56
> gs             0x0 0
> fctrl          0x27f 639
> fstat          0x0 0
> ftag           0xffff 65535
> fiseg          0x0 0
> fioff          0x0 0
> foseg          0x0 0
> fooff          0x0 0
> fop            0x0 0
>
> (gdb) info locals
> No locals.
>
> (gdb) info threads
> * 3 thread 266.0x172  threadFunction (arg=0x0) at Main.cpp:20
>   2 thread 266.0x178  0x77f6828b in ?? ()
>   1 thread 266.0x17e  0x77f678df in ?? ()
>
> (gdb) thread 1
> [Switching to thread 1 (thread 266.0x17e)]
> #0  0x77f678df in ?? ()
>
> (gdb) bt
> #0  0x77f678df in ?? ()
> #1  0x77f1ced8 in ?? ()
> #2  0x61004862 in _size_of_stack_reserve__ ()
> #3  0x61004b3d in _size_of_stack_reserve__ ()
> #4  0x61005283 in _size_of_stack_reserve__ ()
> #5  0x404d14 in __main ()
>
> (gdb) thread 2
> [Switching to thread 2 (thread 266.0x178)]
> #0  0x77f6828b in ?? ()
>
> (gdb) bt
> #0  0x77f6828b in ?? ()
> #1  0x77f1cd92 in ?? ()
> #2  0x61056026 in _size_of_stack_reserve__ ()
> #3  0x61005731 in _size_of_stack_reserve__ ()
> #4  0x77f04ee8 in ?? ()
>
> (gdb) thread 3
> [Switching to thread 3 (thread 266.0x172)]
> #0  threadFunction (arg=0x0) at Main.cpp:20
>
> (gdb) bt
> #0  threadFunction (arg=0x0) at Main.cpp:20
> #1  0x6106661c in _size_of_stack_reserve__ ()
> #2  0x77f04ee8 in ?? ()
>
> (gdb) step
> Unable to Read Instructions at 0x6106661c
>
> HTH,
> Earnie.
>

So do I!. Thank you.

Rob

> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019