From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: WIP: neomutt. segfaulting outside of gdb, functional inside. Date: Fri, 29 Jul 2016 14:56:37 +0000 Message-ID: <87h9b85w7u.fsf@we.make.ritual.n0.is> References: <20160624155618.GA18611@shadowwalker> <20160726184754.uxqvdeatx5v2pvrr@venom> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT9DT-0003KO-F3 for guix-devel@gnu.org; Fri, 29 Jul 2016 10:56:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bT9DR-0001hb-BY for guix-devel@gnu.org; Fri, 29 Jul 2016 10:56:46 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:33597 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT9DR-0001hV-18 for guix-devel@gnu.org; Fri, 29 Jul 2016 10:56:45 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 96baaf83 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Fri, 29 Jul 2016 14:56:43 +0000 (UTC) In-Reply-To: <20160726184754.uxqvdeatx5v2pvrr@venom> 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: guix-devel@gnu.org Tomáš Čech writes: > On Fri, Jun 24, 2016 at 04:04:43PM +0000, ng0 wrote: >>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? > > Let it generate coredump and open that in GDB. > > S_W Thanks, I'll look into how to do this and see if I can get further results with this. -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org