From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: WIP: neomutt. segfaulting outside of gdb, functional inside. Date: Sun, 31 Jul 2016 12:52:34 +0200 Message-ID: <20160731125234.14cc0bcd@scratchpost.org> References: <20160624155618.GA18611@shadowwalker> <20160726184754.uxqvdeatx5v2pvrr@venom> <87h9b85w7u.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bToMP-0000Ft-6Q for guix-devel@gnu.org; Sun, 31 Jul 2016 06:52:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bToMJ-0008Gw-Av for guix-devel@gnu.org; Sun, 31 Jul 2016 06:52:44 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:48150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bToMJ-0008Gs-4G for guix-devel@gnu.org; Sun, 31 Jul 2016 06:52:39 -0400 In-Reply-To: <87h9b85w7u.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 Cc: guix-devel@gnu.org On Fri, 29 Jul 2016 14:56:37 +0000 ng0 wrote: > Tom=C3=A1=C5=A1 =C4=8Cech writes: >=20 > > On Fri, Jun 24, 2016 at 04:04:43PM +0000, ng0 wrote: =20 > >>In gnu/packages/mail.scm I created this package. > >>It builds succesfully, but when I run it, it segfaults. > >>Running it in gdb however makes it succeed and not > >>segfault. How do I debug such a software? =20 > > > > Let it generate coredump and open that in GDB. > > > > S_W =20 >=20 > Thanks, I'll look into how to do this and see if I can get further > results with this. $ ulimit -c unlimited $ neomutt # in the same shell! $ gdb `which neomutt` core*