ssh access violation [was: ssh simply prints Aborted]

René Berber r.berber@computer.org
Fri Sep 3 17:06:00 GMT 2010


Forwarding some messages from Gonzalo that the list is rejecting because
of his company's disclaimer.

More reports are coming with this problem, and they are asking Gonzalo
if he found a solution.  There is an "Access Violation" C0000005
exception that reminds me of the problems with programs produced with
gcc 4.5 and its shared libgcc.

[Fwd: RE: ssh simply prints Aborted]

I just remembered this is Unix (almost)... So I did a strace on the
process and realized I am getting a C0000005 exception (Access
Violation). This is consistent for every run. Does this help in
diagnosing the problem?


$ strace /bin/ssh
    5       5 [main] ssh 3288 open_shared: name shared.5, n 5, shared
0x60FB0000 (wanted 0x60FB0000), h 0x780
 2514    2519 [main] ssh 3288 heap_init: heap base 0x4B0000, heap top
0x4B0000
 1642    4161 [main] ssh 3288 open_shared: name
S-1-5-21-790525478-1364589140-1801674531-4836.1, n 1, shared 0x60FC0000
(wanted 0x60FC0000), h 0x77C
 3072    7233 [main] ssh 3288 user_info::create: opening user shared for
'S-1-5-21-790525478-1364589140-1801674531-4836' at 0x60FC0000
 2535    9768 [main] ssh 3288 user_info::create: user shared version
6112AFB3
 1549   11317 [main] ssh 3288 dll_crt0_0: finished dll_crt0_0 initialization
 1303   12620 [main] ssh 3288 _cygtls::remove: wait 0xFFFFFFFF
 1223   13843 [main] ssh 3288 _cygtls::remove: removed 0x22CE64 element 0
 1265   15108 [main] ssh 3288 _cygtls::remove: wait 0xFFFFFFFF
 1223   16331 [main] ssh 3288 _cygtls::remove: removed 0x22CE64 element 0
 1494   17825 [main] ssh 3288 _cygtls::remove: wait 0xFFFFFFFF
 1725   19550 [main] ssh 3288 _cygtls::remove: removed 0x22CE64 element 0
 1686   21236 [main] ssh 3288 _cygtls::remove: wait 0xFFFFFFFF
 1214   22450 [main] ssh 3288 _cygtls::remove: removed 0x22CE64 element 0
 1434   23884 [sig] ssh 3288 wait_sig: entering ReadFile loop,
my_readsig 0x754, my_sendsig 0x750
--- Process 3288, exception C0000005 at 6110B34F


[Fwd: RE: ssh simply prints Aborted]

I am a gdb noob... Does this help?

(gdb) r
Starting program: /bin/ssh
[New thread 3772.0x78c]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New thread 3772.0x1554]
(no debugging symbols found)

Program exited with code 030000000005.
-- 
René Berber


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



More information about the Cygwin mailing list