This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Random fork failures


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]