autossh crash with 20050314 and earlier cygwin1.dll

David Rothenberger daveroth@acm.org
Wed Mar 16 15:19:00 GMT 2005


I've been having some problems with autossh crashing with 1.5.13 and
later snapshots. These problems did not occur with 1.5.12. (The problem
may be related to the one reported by Andrew Schulman in
<http://sourceware.org/ml/cygwin/2005-03/msg00410.html>.)

autossh doesn't reliably crash for me within 5 minutes as it does for
Andrew. It has crashed twice in the few weeks and I've captured stack
traces for each. I was running a debugging copy of the Cygwin DLL (built
myself from CVS) in each case and I've run addr2line on each stack
trace. The second stack trace was running the DLL build from CVS at
20050314 19:52:25 PDT. I don't have the date of the DDL for the first
stack trace, but it was an earlier one.

In both cases, autossh has detected an ssh child exit on signal 1. It
then tries to restart ssh, but the ssh child continues to exit with
signal 11. It continues to try to restart the child until autossh itself
fails with a STATUS_ACCESS_VIOLATION exception.

The first stack trace was from "thread sig" and the second from "thread
main". In both cases, the exception occurred in malloc, from a realloc call.

The second stack trace includes two function addresses that couldn't be
resolved. I've rebuilt autossh with debugging symbols and am running
that now in case another stack trace appears with functions in autossh
itself.

The two stack traces and my cygcheck out are attached. I wish I could
provide more information, but I haven't figured out how to trigger the
exception, so I can't run an strace on autossh or use gdb.

David

-- 
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: autossh.exe.stackdump
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050316/9683c3e2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: autossh.exe.stackdump.2
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050316/9683c3e2/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050316/9683c3e2/attachment-0002.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list