X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <001201c9226b$2ac972a0$0200a8c0@whiterabc2znlh> From: "Hirokazu Yamamoto" To: References: <003301c92110$336cee20$0200a8c0 AT whiterabc2znlh> <20080928033013 DOT GA2040 AT ednor DOT casa DOT cgf DOT cx> <002001c92160$e2fae400$0200a8c0 AT whiterabc2znlh> <20080929191311 DOT GB12323 AT trixie DOT casa DOT cgf DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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--