www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4AD8CD8A.7010708@cwilson.fastmail.fm> |
Date: | Fri, 16 Oct 2009 15:46:18 -0400 |
From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: fork failure? |
References: | <4AD732C7 DOT 4020301 AT cwilson DOT fastmail DOT fm> <4AD73B83 DOT 9060505 AT gmail DOT com> <4AD74586 DOT 8070803 AT cwilson DOT fastmail DOT fm> <4AD752C8 DOT 2040908 AT gmail DOT com> <4AD7B135 DOT 6020401 AT cwilson DOT fastmail DOT fm> <4AD8220D DOT 8000908 AT cwilson DOT fastmail DOT fm> <4AD8AD47 DOT 6010605 AT cwilson DOT fastmail DOT fm> <4AD8B90B DOT 4040507 AT gmail DOT com> |
In-Reply-To: | <4AD8B90B.4040507@gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dave Korn wrote: > Charles Wilson wrote: >> Help? > > Trashed stack? > >> I note that procmon indicates that the child process exited with code >> -1073741783, which in hex is 0xc0000029. If that's an NTSTATUS value, >> then it means STATUS_INVALID_UNWIND_TARGET, but that might be a red herring. > > Trashed stack during SEH unwind? > > Might be able to get some useful info by running this under windbg and > intercepting the exception; even just an $eip to tell you where it's coming > from might be all the clue you needed. *** wait with pending attach Symbol search path is: srv*c:\Temp\websymbols*http://msdl.microsoft.com/download/symbols Executable search path is: ModLoad: 00400000 00998000 c:\cygwin-1.7\bin\gpg-agent.exe ModLoad: 770e0000 77207000 C:\Windows\system32\ntdll.dll ModLoad: 77000000 770db000 C:\Windows\system32\kernel32.dll ModLoad: 67f00000 67f0f000 c:\cygwin-1.7\bin\cyggcc_s-1.dll ModLoad: 61000000 61300000 c:\cygwin-1.7\bin\cygwin1.dll ModLoad: 760a0000 76166000 C:\Windows\system32\ADVAPI32.DLL ModLoad: 75960000 75a22000 C:\Windows\system32\RPCRT4.dll ModLoad: 684a0000 6850d000 c:\cygwin-1.7\bin\cyggcrypt-11.dll ModLoad: 71950000 71958000 c:\cygwin-1.7\bin\cyggpg-error-0.dll ModLoad: 6a960000 6a96d000 c:\cygwin-1.7\bin\cygintl-8.dll ModLoad: 6ca10000 6cb0a000 c:\cygwin-1.7\bin\cygiconv-2.dll ModLoad: 76290000 7632d000 C:\Windows\system32\USER32.dll ModLoad: 76050000 7609b000 C:\Windows\system32\GDI32.dll ModLoad: 6fa40000 6fa54000 c:\cygwin-1.7\bin\cygpth-20.dll ModLoad: 76170000 7618e000 C:\Windows\system32\IMM32.DLL ModLoad: 76190000 76258000 C:\Windows\system32\MSCTF.dll ModLoad: 75bd0000 75c7a000 C:\Windows\system32\msvcrt.dll ModLoad: 76330000 76339000 C:\Windows\system32\LPK.DLL ModLoad: 75de0000 75e5d000 C:\Windows\system32\USP10.dll ModLoad: 6c1b0000 6c1b5000 C:\Windows\system32\avgrsstx.dll (f78.1938): Break instruction exception - code 80000003 (first chance) eax=7ffdc000 ebx=00000000 ecx=00000000 edx=7716d094 esi=00000000 edi=00000000 eip=77127dfe esp=1a49ff5c ebp=1a49ff88 iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 ntdll!DbgBreakPoint: 77127dfe cc int 3 0:002> g (f78.1118): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=00000000 ebx=0136cab8 ecx=00000000 edx=ffffffff esi=00000007 edi=00404119 eip=00000000 esp=7ff8f6fc ebp=7ff8f984 iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246 00000000 ?? ??? 0:000> k ChildEBP RetAddr WARNING: Frame IP not in any known module. Following frames may be wrong. 7ff8f984 00000000 0x0 which is just after the output window gets: returning from fork: ischild=1, res=0 So, this is the right spot. And $eip is 0x0. That doesn't tell me much... Something is obviously going badly wrong in the guts of fork(). Unless somebody has a brilliant idea, I'm going to mothball this until after cgf (Ye Olde Forke Experte) returns. -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |