X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <001201c9226b$2ac972a0$0200a8c0@whiterabc2znlh>
From: "Hirokazu Yamamoto" <ocean-city@m2.ccsnet.ne.jp>
To: <cygwin@cygwin.com>
References: <003301c92110$336cee20$0200a8c0@whiterabc2znlh> <20080928033013.GA2040@ednor.casa.cgf.cx> <002001c92160$e2fae400$0200a8c0@whiterabc2znlh> <20080929191311.GB12323@trixie.casa.cgf.cx>
Subject: Re: crash if fork(2) from another thread
Date: Tue, 30 Sep 2008 04:40:02 +0900
MIME-Version: 1.0
Content-Type: multipart/mixed; 	boundary="----=_NextPart_000_000F_01C922B6.9A8C5490"
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

------=_NextPart_000_000F_01C922B6.9A8C5490
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

> You still didn't explain what "crash" means, that was why I pointed you
> at a web page which goes to some effort in trying to make it clear that
> you should be descriptive when reporting problems.

When I run ./main.exe

$ ./main
thread_func
parent process (child pid = 1320)
  14827 [main] main 1320 _cygtls::handle_exceptions: Error while dumping
state (
probably corrupted stack)
parent process end

I'll attach main.exe.stackdump.

> However, I did create a Vista VM with Cygwin 1.5.25 and saw that the
> code did not work.  It is a bug in 1.5.25 but it is not going to be
> fixed since we are actively pursuing 1.7 now.

OK. Thanks.

------=_NextPart_000_000F_01C922B6.9A8C5490
Content-Type: application/octet-stream;
	name="main.exe.stackdump"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="main.exe.stackdump"

Exception: STATUS_STACK_OVERFLOW at eip=3D610FC683
eax=3D00001038 ebx=3D000003A4 ecx=3D18860B08 edx=3D18868B50 esi=3D0000000D =
edi=3D0000000D
ebp=3D006601E0 esp=3D18868B00 program=3DE:\cygwin\home\WhiteRabbit\test\for=
k_in_thread\main.exe, pid 1320, thread main
cs=3D001B ds=3D0023 es=3D0023 fs=3D0038 gs=3D0000 ss=3D0023
Stack trace:
Frame     Function  Args
006601E0  610FC683  (7365636F, 00000A73, 00000000, 00000000)
  14827 [main] main 1320 _cygtls::handle_exceptions: Error while dumping st=
ate (probably corrupted stack)


------=_NextPart_000_000F_01C922B6.9A8C5490
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------=_NextPart_000_000F_01C922B6.9A8C5490--

