delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/13/05:48:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_CP,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4E1D69AA.4060307@gmail.com>
Date: Wed, 13 Jul 2011 12:47:22 +0300
From: yoni levi <yonicygwin AT gmail DOT com>
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: <4E1AC212 DOT 7030806 AT gmail DOT com> <20110711095630 DOT GB22947 AT calimero DOT vinschen DOT de> <4E1ACF65 DOT 6070102 AT gmail DOT com> <20110711114747 DOT GD22947 AT calimero DOT vinschen DOT de> <20110711120430 DOT GE22947 AT calimero DOT vinschen DOT de> <4E1AFFDE DOT 3050107 AT gmail DOT com> <20110712072326 DOT GB28677 AT calimero DOT vinschen DOT de> <4E1BF83D DOT 4050200 AT gmail DOT com> <20110712092909 DOT GA6485 AT calimero DOT vinschen DOT de> <4E1C3E84 DOT 9050601 AT gmail DOT com> <20110713073206 DOT GC13500 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110713073206.GC13500@calimero.vinschen.de>
X-IsSubscribed: yes
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

On 13/7/2011 10:32, Corinna Vinschen wrote:
> I still have
> to point out, though, that I can not reproduce this problem.  Neither
> with a debug DLL, nor with an optimized DLL
I managed to catch this inside gdb (run "gdb rxvt" from mintty).
but the backtrace seems useless to me.
Any ideas how to improve the backtrace?

Program received signal SIGSEGV, Segmentation fault.
memcpy () at 
/netrel/src/cygwin-snapshot-20110711-1/newlib/libc/machine/i386/memcpy.S:64
64      
/netrel/src/cygwin-snapshot-20110711-1/newlib/libc/machine/i386/memcpy.S: No 
such file or directory.
         in 
/netrel/src/cygwin-snapshot-20110711-1/newlib/libc/machine/i386/memcpy.S
(gdb) bt
#0  memcpy () at 
/netrel/src/cygwin-snapshot-20110711-1/newlib/libc/machine/i386/memcpy.S:64
#1  0x7c85ada0 in OutputDebugStringA () from 
/cygdrive/c/windows/system32/kernel32.dll
#2  0x40010006 in ?? ()
#3  0x00000000 in ?? ()
(gdb) thread apply all bt

Thread 5 (thread 3432.0x4e0):
#0  0x7c90e514 in ntdll!LdrAccessResource () from 
/cygdrive/c/windows/system32/ntdll.dll
#1  0x7c90df5a in ntdll!ZwWaitForSingleObject () from 
/cygdrive/c/windows/system32/ntdll.dll
#2  0x7c8025db in WaitForSingleObjectEx () from 
/cygdrive/c/windows/system32/kernel32.dll
#3  0x0000062c in ?? ()
#4  0x00000000 in ?? ()

Thread 4 (thread 3432.0xe88):
#0  0x7c90e514 in ntdll!LdrAccessResource () from 
/cygdrive/c/windows/system32/ntdll.dll
#1  0x7c90d9da in ntdll!ZwReadFile () from 
/cygdrive/c/windows/system32/ntdll.dll
#2  0x7c801879 in ReadFile () from /cygdrive/c/windows/system32/kernel32.dll
#3  0x00000604 in ?? ()
#4  0x00000000 in ?? ()

Thread 3 (thread 3432.0x22c):
#0  0x7c90e514 in ntdll!LdrAccessResource () from 
/cygdrive/c/windows/system32/ntdll.dll
#1  0x7c90d3aa in ntdll!ZwFsControlFile () from 
/cygdrive/c/windows/system32/ntdll.dll
#2  0x7c8314ae in KERNEL32!ConnectNamedPipe () from 
/cygdrive/c/windows/system32/kernel32.dll
#3  0x610635d5 in fhandler_pty_master::pty_master_thread (this=0x0)
     at 
/netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/fhandler_tty.cc:1445
#4  0x61063d2f in pty_master_thread (arg=0x6124a56c)
     at 
/netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/fhandler_tty.cc:1552
#5  0x61004301 in cygthread::callfunc (this=0x6116f2b4, issimplestub=false)
     at /netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/cygthread.cc:51
#6  0x61004421 in cygthread::stub (arg=0x6116f2b4) at 
/netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/cygthread.cc:99
#7  0x61005016 in _cygtls::call2 (this=0xebce64, func=0x610043c0 
<cygthread::stub(void*)>, arg=0x6116f2b4, buf=0xebcdf4)
     at /netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/cygtls.cc:69
#8  0x610050bb in _cygtls::call (func=0x610043c0 
<cygthread::stub(void*)>, arg=0x6116f2b4)
     at /netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/cygtls.cc:62
#9  0x61074038 in threadfunc_fe (arg=0x6116f2b4) at 
/netrel/src/cygwin-snapshot-20110711-1/winsup/cygwin/init.cc:30
#10 0x7c80b729 in KERNEL32!GetModuleFileNameA () from 
/cygdrive/c/windows/system32/kernel32.dll
#11 0x00000000 in ?? ()

Thread 2 (thread 3432.0xd24):
#0  0x7c90e514 in ntdll!LdrAccessResource () from 
/cygdrive/c/windows/system32/ntdll.dll
#1  0x7c90d9da in ntdll!ZwReadFile () from 
/cygdrive/c/windows/system32/ntdll.dll
#2  0x7c801879 in ReadFile () from /cygdrive/c/windows/system32/kernel32.dll
#3  0x0000074c in ?? ()
#4  0x00000000 in ?? ()

Thread 1 (thread 3432.0xfd4):
#0  0x7c812afb in RaiseException () from 
/cygdrive/c/windows/system32/kernel32.dll
#1  0x7c85ada0 in OutputDebugStringA () from 
/cygdrive/c/windows/system32/kernel32.dll
#2  0x40010006 in ?? ()
#3  0x00000000 in ?? ()
(gdb)


--
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

- Raw text -


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