From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15568 invoked by alias); 21 Jul 2010 20:49:19 -0000 Received: (qmail 15559 invoked by uid 22791); 21 Jul 2010 20:49:18 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_MIME_NO_TEXT,T_RP_MATCHES_RCVD,T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Jul 2010 20:49:14 +0000 Received: (qmail 7660 invoked from network); 21 Jul 2010 20:49:12 -0000 Received: from unknown (HELO dirichlet.schwinge.homeip.net) (thomas@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Jul 2010 20:49:12 -0000 From: Thomas Schwinge To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/gdbserver] Unexpected EOF read from socket after inferior exits. References: <1278451801-10588-1-git-send-email-brobecker@adacore.com> <87mxtlkgac.fsf@dirichlet.schwinge.homeip.net> Date: Wed, 21 Jul 2010 20:49:00 -0000 In-Reply-To: <87mxtlkgac.fsf@dirichlet.schwinge.homeip.net> (Thomas Schwinge's message of "Tue, 20 Jul 2010 23:13:47 +0200") Message-ID: <87fwzcftml.fsf@dirichlet.schwinge.homeip.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00338.txt.bz2 --=-=-= Content-length: 1958 Hello! On 2010-07-20 21:13, I wrote: > Running /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/testsuite/gdb.threads/current-lwp-dead.exp ... > [...] > > 'LD_LIBRARY_PATH=[...] [ld.so] [gdbserver] ':2887' 'current-lwp-dead' > Process current-lwp-dead created; pid = 20009 > Listening on port 2887 > target remote philidor:2887 > Remote debugging using philidor:2887 > Remote debugging from host 10.0.0.218 > [...] > Breakpoint 2, fn_return (unused=0x0) at /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/testsuite/gdb.threads/current-lwp-dead.c:45 > 45 return 0; /* at-fn_return */ > (gdb) PASS: gdb.threads/current-lwp-dead.exp: continue to breakpoint: fn_return > testcase /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/testsuite/gdb.threads/current-lwp-dead.exp completed in 2 seconds > Running /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/testsuite/gdb.threads/execl.exp ... > > Here this test has finished, the remote gdbserver terminates, and the > next test is about to be started. > > Executing on host: mips64el-linux-gnu-gcc /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/testsuite/gdb.threads/execl.c [...] > Killing all inferiors > Segmentation fault > > Instead of terminating, the remote gdbserver crashed with a segfault. > > (gdb) bt > #0 0x1003b068 in thread_db_mourn (proc=0x0) at /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/gdbserver/thread-db.c:889 > #1 0x1002bc3c in linux_mourn (process=0x0) at /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/gdbserver/linux-low.c:896 > #2 0x1001085c in handle_v_cont (own_buf=0x555800d0 "W00") at /scratch/thomas/issue8927-FM_mips64el-linux-gnu/src/gdb-mainline/gdb/gdbserver/server.c:1785 I'm testing a patch for gdbserver. Regards, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxHXUMACgkQC9ZuxbdEiFhF4QCeIBBCNuUTD2YtMxxgOAKw8rkt rEsAoKWtN0hI2SWSs8hsgO1Z64UCNBC3 =07Lr -----END PGP SIGNATURE----- --=-=-=--