X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4E1AC5A8.10803@gmail.com> Date: Mon, 11 Jul 2011 12:43:04 +0300 From: Yoni Londner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Random fork failures References: <4E1AAF38 DOT 9040100 AT gmail DOT com> In-Reply-To: <4E1AAF38.9040100@gmail.com> Content-Type: text/plain; charset=windows-1255; format=flowed Content-Transfer-Encoding: 7bit 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 > I did a little investigation - when the process hangs, I took the > backtrace with process explorer. > Process explorer does not know anything about cygwin debug symbols, so > it just give an arbitrary func + offset. > Then I used gdb to find out the real function: sync_proc_pipe doing > yield in an endless loop. > Just to complete the mail, This is the stack as I get from process explorer (with my additions at cygwin1.dll frames): ntkrnlpa.exe!KeSetEvent+0x2a1 ntkrnlpa.exe!KeDelayExecutionThread+0x5cc ntkrnlpa.exe!KeWaitForMutexObject+0x393 ntkrnlpa.exe!KiDeliverApc+0x664 halmacpi.dll!KfRaiseIrql+0xcb halmacpi.dll!KeRaiseIrqlToSynchLevel+0x8f halmacpi.dll!HalEndSystemInterrupt+0x67 halmacpi.dll!HalInitializeProcessor+0xae8 ntkrnlpa.exe!ZwYieldExecution+0xabd ntdll.dll!KiFastSystemCallRet autochk.exe+0x5bcbc ntdll.dll!KiFastSystemCallRet cygwin1.dll!abort+0x79bc (0x610cdebc ) cygwin1.dll!abort+0x805f (0x610ce55f ) cygwin1.dll!getenv+0x5fef (0x61029dbf ) _test.exe+0x973e _test.exe+0x9803 _test.exe+0x9961 _test.exe+0x14d4 _test.exe+0x15ce cygwin1.dll!dll_crt0__FP11per_process+0x708 cygwin1.dll!setprogname+0x32a6 cygwin1.dll!setprogname+0x334b _test.exe+0x47432 _test.exe+0x101a kernel32.dll!BaseThreadInitThunk+0x12 ntdll.dll!RtlInitializeExceptionChain+0xef ntdll.dll!RtlInitializeExceptionChain+0xc2 -- 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