From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: WIP: neomutt. segfaulting outside of gdb, functional inside. Date: Mon, 27 Jun 2016 09:58:20 +0200 Message-ID: References: <20160624155618.GA18611@shadowwalker> 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]:38614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHRRB-0000HJ-OM for guix-devel@gnu.org; Mon, 27 Jun 2016 03:58:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHRR7-0001eM-Jv for guix-devel@gnu.org; Mon, 27 Jun 2016 03:58:32 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:34949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHRR7-0001eG-98 for guix-devel@gnu.org; Mon, 27 Jun 2016 03:58:29 -0400 In-Reply-To: <20160624155618.GA18611@shadowwalker> 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 ng0 writes: > 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? Have you tried running with =E2=80=9Cstrace -f=E2=80=9D to see what it ap= pears to be doing when the segfault occurs? ~~ Ricardo