From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: Re: WIP: neomutt. segfaulting outside of gdb, functional inside. Date: Tue, 26 Jul 2016 20:47:54 +0200 Message-ID: <20160726184754.uxqvdeatx5v2pvrr@venom> References: <20160624155618.GA18611@shadowwalker> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tbhv4n2k4versgee" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7Od-0007kl-Ql for guix-devel@gnu.org; Tue, 26 Jul 2016 14:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS7OX-0002kk-Q8 for guix-devel@gnu.org; Tue, 26 Jul 2016 14:48:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:54328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7OX-0002kY-JD for guix-devel@gnu.org; Tue, 26 Jul 2016 14:47:57 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id F1C75AAF2 for ; Tue, 26 Jul 2016 18:47:54 +0000 (UTC) Content-Disposition: inline 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: guix-devel@gnu.org --tbhv4n2k4versgee Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline 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 --tbhv4n2k4versgee Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXl7BaAAoJEEoj40+gM0NthhYP/3TcCBq9I99M7HUa8L/4Qea2 orW7S0BohDrKRiyTRsLPVJVUJeyPLKzdkDTCvfaaFi6o9l+0Hc30Cc69wikyTkLZ Sar5vW2zMsyY+PLnPPhsIUJ/eKGlTgqUDv7TXhxLduBjcO2i8tsZn2J+OEWeb5gv qHtlSBGFKhA84LgZYgFy5V0fag4A83mlLU/mAXPXfsGz+hfiPkUsPgkoIcjImbBg BgcXCDIx53t0B8S1Cq/pb6lSWLkPkDRFTDNXWKuncr3paPTmQQajRW3z4jUlG2fq JWrMlgfIAYQlikeK1E2f/iTTGkLDL5UK5xEZjHNBc0Q9/U8bi/Fe+bjHgQvjElud 2nHQ+SOq7vzO95V5wLSGbxxt03xjifJJ5GjgWeyVVkRgFJqGfU4eyUUCmfU61yEx MDPOIJsG3x/nNu0mDb6qNJGT9BnzTb+5rROJDsOKZb3SVa0DPA8YdfClbTo0vQqo GcJJySJvKH3aQA6gc4exd0rhosYm7OfESdNYD3JqeJFEEnwvyQ+ldrhWmdKpnEBX LentL8tif4N/q0UdZgxyBrcfoe2shVHdRwNW4ty1vuFkIC95sCFZz5WtQv0w5Er3 rpTDTvUZmCuT6M7GAGWs+NbsOEqYumdhNgVuEDj8PFNN/WYJaHrMPCF/d4AbmjFX JtBP1uGG7UCegyKPdzYZ =j2jg -----END PGP SIGNATURE----- --tbhv4n2k4versgee--