From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZKAO-00017X-0S for qemu-devel@nongnu.org; Tue, 08 Sep 2015 10:46:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZKAI-0002Yf-Cs for qemu-devel@nongnu.org; Tue, 08 Sep 2015 10:46:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZKAI-0002Xr-7U for qemu-devel@nongnu.org; Tue, 08 Sep 2015 10:46:30 -0400 References: <55E73963.8080004@redhat.com> <20150906224410.GS31785@var.home> From: John Snow Message-ID: <55EEF4C3.10100@redhat.com> Date: Tue, 8 Sep 2015 10:46:27 -0400 MIME-Version: 1.0 In-Reply-To: <20150906224410.GS31785@var.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] SLIRP segfault? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: Jan Kiszka , qemu-devel On 09/06/2015 06:44 PM, Samuel Thibault wrote: > Hello, >=20 > John Snow, le Wed 02 Sep 2015 14:01:07 -0400, a =E9crit : >> There was a downstream bug filed against qemu-kvm-2.3.1-1.fc22.x86_64 >> that appeared to segfault in the AHCI code when trying to install OSX >> Yosemite. >> >> The debug output looked a little strange, so I asked for a new >> stack-trace on an upstream build using --enable-debug to disable >> optimizations. >> >> This trace came back as segfaulting in SLIRP. >=20 > This looks even stranger. >=20 > gdb) bt full > #0 0x00007ffff5ff4a2f in send () from /lib64/libpthread.so.0 > No symbol table info available. > #1 0x000055555589e06d in slirp_send (so=3D0x7fffe42cc3c0, buf=3D0x7ffe= d85747f0, len=3D0, flags=3D0) at slirp/slirp.c:900 > No locals. >=20 > So the segfault would be in a send call with len=3D0 ?? >=20 > I'd rather think that the segfault is actually happening in another > thread, and >=20 > thread apply all bt full >=20 > should be used to get all traces. >=20 > Samuel >=20 Ah, of course. makes sense. relayed the info and hopefully I'll get some nicer traces to try and make sense of. Thanks for taking a peek. --js