X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: ssh access violation [was: ssh simply prints Aborted] Date: Fri, 03 Sep 2010 12:05:48 -0500 Lines: 70 Message-ID: References: <710A2B84B637C64B9BAB4BA7F46951D40C164AF7 AT correo DOT bck> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 In-Reply-To: <710A2B84B637C64B9BAB4BA7F46951D40C164AF7@correo.bck> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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. --=20 Ren=E9 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