From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 26 13:26:54 2015 Received: (at submit) by debbugs.gnu.org; 26 Apr 2015 17:26:54 +0000 Received: from localhost ([127.0.0.1]:40583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmQKT-0002gF-Ju for submit@debbugs.gnu.org; Sun, 26 Apr 2015 13:26:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52589) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmQHi-0002bi-2u for submit@debbugs.gnu.org; Sun, 26 Apr 2015 13:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmQHb-0006K2-5d for submit@debbugs.gnu.org; Sun, 26 Apr 2015 13:23:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmQHb-0006Ja-2N for submit@debbugs.gnu.org; Sun, 26 Apr 2015 13:23:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmQHZ-0005tn-Ex for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmQHW-0006FK-5J for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:23:53 -0400 Received: from nm13-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.173]:34512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmQHV-0006DH-Sl for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:23:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1430069028; bh=sYJb0fCron4O4YKQyLwbv6RNXjknO7bctzyGxI6yK7Y=; h=Date:From:To:Subject:From:Subject; b=X3zeWtHLgIrrUU9cntdeGizpgYYtLRgjM8NNMa0kohCtWzyLUF7SEWclqA7NUaK0zcMhMaS9B2mdPZtm2oZGlsHT2UUDDKLZ4GQ8w6tqHz/TnZH9t0CkAXM6NWZrb7st+fuA8GViLkz1vV00t21/hj3a/CjGgTfR3QDLkQCe6G6RxJHgqxOZNFuwqcgnutJzYWjIMz6Oc+ifPzRxb7CM37ajaj2c8wJqi89kJRr9FyO+Unx0F9Q2KC18aYKsMsCPHTnOPg14MDvdv2cTopWPUzD1zy+nHahviA1Haf0weSlHi8p7FDHnetVF2LG2KmSeHCfU3Af0uXKqb13GCgPzDA== Received: from [98.138.226.179] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 26 Apr 2015 17:23:48 -0000 Received: from [98.138.226.133] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 26 Apr 2015 17:23:48 -0000 Received: from [127.0.0.1] by smtp220.mail.ne1.yahoo.com with NNFMP; 26 Apr 2015 17:23:48 -0000 X-Yahoo-Newman-Id: 733065.4341.bm@smtp220.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: mqs57k4VM1lN2z2_WFk_qnCi8lExs7iNgLYcVwOaSLoPyTV KB3R7GxykSeS5HjHLftDXLIWHC53biN.hQqpH85g4VbuZYNadVGWxlABBQcf fO3gtGDp6f9Jd0YS63I4RtPtTsnkax5FaOIUTz74NJxPENo1e1W.slEUxMXu yBjRH270C19_Q8V7oNyTJxO29uj0TPafft83rpe25SQUCuxI9JEtqczGIhL6 7sYWIJyYOBYLJh98C1059HMnVXF.G87zAfpfeO9lZhF.l03Fz850L.Dvl4Wt xh7fnbZFEqxNUVRDF6h6ZHrW2V3R3L.gdkiCnQW7HNXro0ydm63oy284taY6 GZNjdVLS1WItkzUUymiPVebEUETD7K8a2Sx9lG2F7zCN_oAOkBnK12erkV2m FSeLygU..fj3ekLKHAzmup6m5chSM1l_lQ7tgqPdK6qT7EOSwBxDx5dHQ56_ bzkPkPApO64BxRr0NTdlkJGAOVINsjSdD1RFZ0K_NY_0fUWzF2UxIBkIL3gI WItnsrLFDneKJ1WlY3MjLGJTv X-Yahoo-SMTP: SdQHnk.swBC.w7wV41S7kRjVyQ-- Message-ID: <553D1F22.7010701@yahoo.com.br> Date: Sun, 26 Apr 2015 14:23:46 -0300 From: Fernando de Oliveira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Bug Emacs Subject: emacs-24.5 segfaults with gnutls-3.4.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 26 Apr 2015 13:26:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, I am having this segfault problem and could not solve by myself. Used: ./configure --prefix=/usr --localstatedir=/var make bootstrap Build log tail with the error (I1ve replaced "Falha de segmentação" by "Segmentation fault": {{{ Loading /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/uniquify.el (source)... Loading /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/electric.el (source)... Loading /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/tooltip.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs 91123 pure bytes used /bin/sh: line 7: 9509 Segmentation fault ./temacs --batch --load loadup bootstrap Makefile:815: recipe for target 'bootstrap-emacs' failed make[2]: *** [bootstrap-emacs] Error 1 make[2]: Leaving directory '/tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/src' Makefile:387: recipe for target 'src' failed make[1]: *** [src] Error 2 make[1]: Leaving directory '/tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5' Makefile:1099: recipe for target 'bootstrap' failed make: *** [bootstrap] Error 2 }}} Part of the gdb output (removed lines I thought to be repetitive, but can send everything, if requested): {{{ $ gdb temacs GNU gdb (GDB) 7.9 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from temacs...done. warning: File "/tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/src/.gdbinit line to your configuration file "/home/fernando/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/fernando/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" (gdb) set args --batch --load loadup bootstrap (gdb) run Starting program: /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/src/temacs --batch --load loadup bootstrap [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". process 17814 is executing new program: /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/src/temacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Loading loadup.el (source)... Using load-path (/tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/emacs-lisp /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/language /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/international /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/textmodes /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/vc) Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading version (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading international/mule (source)... Loading international/mule-conf (source)... Loading env (source)... Loading format (source)... Loading bindings (source)... Loading cus-start (source)... Loading window (source)... Loading /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/files.el (source)... ... snip .. Loading /tmp/porg-build-2015.04.26-12h00m39s/emacs-24.5/lisp/tooltip.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs 91123 pure bytes used Program received signal SIGSEGV, Segmentation fault. 0x00007ffff0ef2f24 in free () from /lib/libc.so.6 (gdb) bt #0 0x00007ffff0ef2f24 in free () from /lib/libc.so.6 #1 0x00007ffff168e84b in _gnutls_ext_deinit () at gnutls_extensions.c:399 #2 0x00007ffff1695a40 in _gnutls_global_deinit (destructor=1) at gnutls_global.c:385 #3 0x00007ffff7dea727 in _dl_fini () from /lib64/ld-linux-x86-64.so.2 #4 0x00007ffff0eadd92 in __run_exit_handlers () from /lib/libc.so.6 #5 0x00007ffff0eadde5 in exit () from /lib/libc.so.6 #6 0x00000000004e7dec in Fkill_emacs (arg=) at emacs.c:1970 #7 0x0000000000557771 in eval_sub (form=) at eval.c:2181 #8 0x0000000000557b85 in Fprogn (body=140737238883328) at eval.c:462 #9 0x00000000005577c6 in eval_sub (form=) at eval.c:2131 #10 0x00000000005577c6 in eval_sub (form=form@entry=12540550) at eval.c:2131 #11 0x000000000057a4e3 in readevalloop (readcharfun=12398610, stream=0xc06100, sourcename=12603889, printflag=false, unibyte=, readfun=12279666, start=12279666, end=12279666) at lread.c:1934 #12 0x000000000057b2ba in Fload (file=140737238883328, noerror=0, nomessage=12279666, nosuffix=12603889, must_suffix=0) at lread.c:1363 #13 0x0000000000557715 in eval_sub (form=form@entry=12540438) at eval.c:2195 #14 0x00000000005599d4 in Feval (form=12540438, lexical=) at eval.c:1996 #15 0x00000000005566a7 in internal_condition_case ( bfun=bfun@entry=0x4e83a0 , handlers=, hfun=hfun@entry=0x4ecb80 ) at eval.c:1348 #16 0x00000000004e8376 in top_level_1 (ignore=ignore@entry=12279666) at keyboard.c:1195 ---Type to continue, or q to quit--- #17 0x000000000055658b in internal_catch (tag=12326946, func=func@entry=0x4e8310 , arg=12279666) at eval.c:1112 #18 0x00000000004ec77f in command_loop () at keyboard.c:1156 #19 recursive_edit_1 () at keyboard.c:778 #20 0x00000000004ecab0 in Frecursive_edit () at keyboard.c:849 #21 0x00000000004199a9 in main (argc=12603633, argv=0x7fffffffdec8) at emacs.c:1642 }}} -- []s, Fernando From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 26 13:29:02 2015 Received: (at control) by debbugs.gnu.org; 26 Apr 2015 17:29:02 +0000 Received: from localhost ([127.0.0.1]:40599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmQMY-0002lA-A9 for submit@debbugs.gnu.org; Sun, 26 Apr 2015 13:29:02 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:57080 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmQMW-0002kj-LA for control@debbugs.gnu.org; Sun, 26 Apr 2015 13:29:00 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YmQMV-0002Td-Mr for control@debbugs.gnu.org; Sun, 26 Apr 2015 13:28:59 -0400 Date: Sun, 26 Apr 2015 13:28:59 -0400 Message-Id: Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 20431 From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 18:12:54 2015 Received: (at 20431) by debbugs.gnu.org; 4 May 2015 22:12:54 +0000 Received: from localhost ([127.0.0.1]:34114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpObd-00088Z-5y for submit@debbugs.gnu.org; Mon, 04 May 2015 18:12:53 -0400 Received: from mail-qk0-f173.google.com ([209.85.220.173]:34899) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpObb-00088M-M1 for 20431@debbugs.gnu.org; Mon, 04 May 2015 18:12:52 -0400 Received: by qkhg7 with SMTP id g7so94963276qkh.2 for <20431@debbugs.gnu.org>; Mon, 04 May 2015 15:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=h6EGYqw+gRKq7N9krkBlFFOkUWGAJ0PpY+eMbU2RRVI=; b=JfqgsGOh0nqAAFnSUdvJy3C0ClaVupuX30korWJqA4/Jrkp8EBzFzxSL+6FN6ChEpf c8yVsv/mG/v+LefVYox3uVG8//UeKR1vdl5bUYdgFvV+p7TDMH8pPCLAQbK67A0yMExa Gel5GIQZnRkpDoizEd/mMQZ0Id2Pjlj+VrjVY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=h6EGYqw+gRKq7N9krkBlFFOkUWGAJ0PpY+eMbU2RRVI=; b=ajlMhC3+o0MGJKn0nAcriUBQ2c9B6uc4VqWsV5xFMEyruGXPsrBU+Fn63RtV7dTgQ7 M1TJb/s1DC7AZ8RlexGIrvRmharZA1psdbY0KbzGjEUDbtwYZWfD1GZTmHq8yTKOqdrp Lwy9R8ZxEO2DM71uexlOmni4JWEz3C6NrXiD7QeGf1/Wadyfm5h0E6NqozHTdxlerOMr SeWUj8ejbRDgLMgS9YctdLpukB3nuywEm9GmqNfPm3K0hUdkdbSpVloGIKdYsly4ABhd CmlwN1lQRk4Z790pvI8Jkb5eoUApMGj5X5ttocyX1I+vYovf2udXqs8XY2YMQ4sN5l2x N3Ew== X-Gm-Message-State: ALoCoQlFp/yrsCzWodCLBjObAs2gAIkIIBdx6k+/aWuhZZhfpV6ircqessfk2EjAn1nLB5W4Q+qj X-Received: by 10.140.233.203 with SMTP id e194mr31505447qhc.90.1430777566427; Mon, 04 May 2015 15:12:46 -0700 (PDT) Received: from flea (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id w92sm10849405qgd.47.2015.05.04.15.12.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 May 2015 15:12:45 -0700 (PDT) From: Ted Zlatanov To: Fernando de Oliveira Subject: Re: bug#20431: emacs-24.5 segfaults with gnutls-3.4.0 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos References: <553D1F22.7010701@yahoo.com.br> X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Mon, 04 May 2015 18:13:01 -0400 In-Reply-To: <553D1F22.7010701@yahoo.com.br> (Fernando de Oliveira's message of "Sun, 26 Apr 2015 14:23:46 -0300") Message-ID: <87fv7c6lg2.fsf@lifelogs.com> User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20431 Cc: 20431@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sun, 26 Apr 2015 14:23:46 -0300 Fernando de Oliveira wrote:=20 FdO> I am having this segfault problem and could not solve by myself. ... FdO> Build log tail with the error (I1ve replaced "Falha de segmenta=E7=E3o= " by FdO> "Segmentation fault": ... Hi Fernando, I don't know if the problem is in the GnuTLS integration from this stack trace, but I'm definitely not seeing it here. Is it still happening for you? Can you replicate it with the released 24.4? How about the latest (Git master branch)? Thanks Ted FdO> Program received signal SIGSEGV, Segmentation fault. FdO> 0x00007ffff0ef2f24 in free () from /lib/libc.so.6 FdO> (gdb) bt FdO> #0 0x00007ffff0ef2f24 in free () from /lib/libc.so.6 FdO> #1 0x00007ffff168e84b in _gnutls_ext_deinit () at gnutls_extensions.c= :399 FdO> #2 0x00007ffff1695a40 in _gnutls_global_deinit (destructor=3D1) FdO> at gnutls_global.c:385 FdO> #3 0x00007ffff7dea727 in _dl_fini () from /lib64/ld-linux-x86-64.so.2 FdO> #4 0x00007ffff0eadd92 in __run_exit_handlers () from /lib/libc.so.6 FdO> #5 0x00007ffff0eadde5 in exit () from /lib/libc.so.6 FdO> #6 0x00000000004e7dec in Fkill_emacs (arg=3D) at emacs= .c:1970 FdO> #7 0x0000000000557771 in eval_sub (form=3D) at eval.c:= 2181 FdO> #8 0x0000000000557b85 in Fprogn (body=3D140737238883328) at eval.c:462 FdO> #9 0x00000000005577c6 in eval_sub (form=3D) at eval.c:= 2131 FdO> #10 0x00000000005577c6 in eval_sub (form=3Dform@entry=3D12540550) at e= val.c:2131 FdO> #11 0x000000000057a4e3 in readevalloop (readcharfun=3D12398610, FdO> stream=3D0xc06100, FdO> sourcename=3D12603889, printflag=3Dfalse, unibyte=3D, FdO> readfun=3D12279666, start=3D12279666, end=3D12279666) at lread.c:1= 934 FdO> #12 0x000000000057b2ba in Fload (file=3D140737238883328, noerror=3D0, FdO> nomessage=3D12279666, nosuffix=3D12603889, must_suffix=3D0) at lre= ad.c:1363 FdO> #13 0x0000000000557715 in eval_sub (form=3Dform@entry=3D12540438) at e= val.c:2195 FdO> #14 0x00000000005599d4 in Feval (form=3D12540438, lexical=3D) FdO> at eval.c:1996 FdO> #15 0x00000000005566a7 in internal_condition_case ( FdO> bfun=3Dbfun@entry=3D0x4e83a0 , handlers=3D, FdO> hfun=3Dhfun@entry=3D0x4ecb80 ) at eval.c:1348 FdO> #16 0x00000000004e8376 in top_level_1 (ignore=3Dignore@entry=3D1227966= 6) FdO> at keyboard.c:1195 FdO> ---Type to continue, or q to quit--- FdO> #17 0x000000000055658b in internal_catch (tag=3D12326946, FdO> func=3Dfunc@entry=3D0x4e8310 , arg=3D12279666) at eva= l.c:1112 FdO> #18 0x00000000004ec77f in command_loop () at keyboard.c:1156 FdO> #19 recursive_edit_1 () at keyboard.c:778 FdO> #20 0x00000000004ecab0 in Frecursive_edit () at keyboard.c:849 FdO> #21 0x00000000004199a9 in main (argc=3D12603633, argv=3D0x7fffffffdec8) FdO> at emacs.c:1642 From debbugs-submit-bounces@debbugs.gnu.org Tue May 05 08:39:49 2015 Received: (at 20431) by debbugs.gnu.org; 5 May 2015 12:39:49 +0000 Received: from localhost ([127.0.0.1]:34441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ypc8a-0008Sl-TN for submit@debbugs.gnu.org; Tue, 05 May 2015 08:39:49 -0400 Received: from nm19-vm2.bullet.mail.ne1.yahoo.com ([98.138.91.95]:36296) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ypc8U-0008SR-4E for 20431@debbugs.gnu.org; Tue, 05 May 2015 08:39:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1430829575; bh=nwzDJwIE3sceZzFHzDmteR5My6zMcUwdRVKTsdusbNA=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=Z0Tac5Ph8rarhJyEza9pB7suv8cqpMRleIyUH6aNM5a44P8Dhlm7ADKDlDZ8buhF5PUHRdt9p9ckrvR5v+pju5zepdAmxaTakmdUmMLyi4FQAQAR8Kt9pQE66EYB4bLRjXvcMgA3mP+wYNTk8Mh/OQkEeOlCw+C/saGsGotNEuZOoN3uq7oq/4FH2FIeeSibE36CCODjZm7K9rZ6eBuIczv9m7tMzczMQc4FsT+p8Bcyj8i35fqHz2gUfWzQqkpvLc7fGw2zFJAqvcq6JGJy+PR6nFPoiR/5BPMHK+uDzC+mnDyyXvPvWqU7NpR63gvd6mg3ml9le0eRnCuXblvuHw== Received: from [98.138.226.179] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 05 May 2015 12:39:35 -0000 Received: from [98.138.226.125] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 05 May 2015 12:39:35 -0000 Received: from [127.0.0.1] by smtp204.mail.ne1.yahoo.com with NNFMP; 05 May 2015 12:39:35 -0000 X-Yahoo-Newman-Id: 708496.21710.bm@smtp204.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2jkmnfEVM1nSgLsyPGJVTFGRu6sIHQZ61CFCox3w.QPiLxH gKnuf8g2OXuBAkUIXHY6AaVNbfYDwwBXST.KwQ3kI3MZDJgvglx4EXbi_jkO 8HsOQEERs5EpXCese.gCILutxETL43dV0G3sFdEHInmriFTXh5o1A8oq0cKp 4rUjZxvDh6GV1W.NxAvu6fpNaknPYLw2hI00JebIQiN1x4TfGwjVxNCj2j99 Nc5a.IN6oQ.I8s5Vg05tbGnRy_6GjK8KWCdCyh7vksAGpRzN5ykZWy3eMY_4 I752F9uW9W_jZRw7ISQ.ImW9_zxQKncUn6IY3ndB32DKHc4WDmWbSAxeU7Zz Im.BuWATgCs0_CNCgt.89j5Uw6FlMx5pxm..xhvzrb4ZrBuJFE94rSUC9GDW A1HVveaCb5hMyLJmGgCnADLPbL6evDAIiYuruTx8fsU.gbleMMDl6Lg7Z21s poY.zdaRaHi8JAwjVV2.zzue.USRcS5d7lHfm2Nqf0BdXJbcwZ00dImBQYx9 J4O2WsM7eBuWxNvSEQLTK87nb X-Yahoo-SMTP: SdQHnk.swBC.w7wV41S7kRjVyQ-- Message-ID: <5548BA05.80105@yahoo.com.br> Date: Tue, 05 May 2015 09:39:33 -0300 From: Fernando de Oliveira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ted Zlatanov Subject: Re: bug#20431: emacs-24.5 segfaults with gnutls-3.4.0 References: <553D1F22.7010701@yahoo.com.br> <87fv7c6lg2.fsf@lifelogs.com> In-Reply-To: <87fv7c6lg2.fsf@lifelogs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20431 Cc: 20431@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Sorry, forgt to send to the bug report On 04-05-2015 19:13, Ted Zlatanov wrote: > On Sun, 26 Apr 2015 14:23:46 -0300 Fernando de Oliveira wrote: > > FdO> I am having this segfault problem and could not solve by myself. > ... > FdO> Build log tail with the error (I1ve replaced "Falha de segmentação" by > FdO> "Segmentation fault": > ... > > Hi Fernando, > > I don't know if the problem is in the GnuTLS integration from this stack > trace, but I'm definitely not seeing it here. Is it still happening for > you? Can you replicate it with the released 24.4? How about the latest > (Git master branch)? Hi Ted, Thanks for your post. System updated to gnutls-3.4.1. FWIW: gcc (GCC) 5.1.0 (but my first post was with gcc-4.9.2) clang version 3.6.0 (tags/RELEASE_360/final) Tested versions: 24.4, 24.5 (again), Git emacs-24 branch (24.5.50), and Git master branch (25.0.50, also tried to use clang, for this one). Unfortunately, still same issue: {{{ $ cd emacs-25.0.50/src $ gdb temacs ... (gdb) set args --batch --load loadup bootstrap (gdb) run ... Program received signal SIGSEGV, Segmentation fault. 0x00007ffff0ce8f24 in free () from /lib/libc.so.6 (gdb) bt #0 0x00007ffff0ce8f24 in free () from /lib/libc.so.6 #1 0x00007ffff16a97ab in _gnutls_ext_deinit () at gnutls_extensions.c:399 #2 0x00007ffff16b0860 in _gnutls_global_deinit (destructor=1) at gnutls_global.c:385 #3 0x00007ffff7dea727 in _dl_fini () from /lib64/ld-linux-x86-64.so.2 #4 0x00007ffff0ca3d92 in __run_exit_handlers () from /lib/libc.so.6 #5 0x00007ffff0ca3de5 in exit () from /lib/libc.so.6 #6 0x00000000004ea4ff in Fkill_emacs (arg=) at emacs.c:1952 #7 0x0000000000559541 in eval_sub (form=) at eval.c:2181 #8 0x00000000005597fd in Fprogn (body=18685187) at eval.c:445 #9 0x0000000000559471 in eval_sub (form=) at eval.c:2131 #10 0x0000000000559471 in eval_sub (form=form@entry=12492531) at eval.c:2131 #11 0x000000000057b8d8 in readevalloop (readcharfun=readcharfun@entry=25536, stream=stream@entry=0xc2e040, sourcename=sourcename@entry=12769012, printflag=printflag@entry=false, unibyte=unibyte@entry=0, readfun=readfun@entry=0, start=0, end=0) at lread.c:1929 #12 0x000000000057bf6c in Fload (file=12768756, noerror=, nomessage=0, nosuffix=, must_suffix=) at lread.c:1326 #13 0x00000000005594e5 in eval_sub (form=form@entry=12698259) at eval.c:2195 #14 0x000000000055c831 in Feval (form=12698259, lexical=) at eval.c:1996 #15 0x0000000000558667 in internal_condition_case ( ---Type to continue, or q to quit--- bfun=bfun@entry=0x4eaa00 , handlers=handlers@entry=19824, hfun=hfun@entry=0x4ef360 ) at eval.c:1348 #16 0x00000000004ed33c in top_level_1 (ignore=ignore@entry=0) at keyboard.c:1156 #17 0x0000000000558543 in internal_catch (tag=tag@entry=46992, func=func@entry=0x4ed2e0 , arg=arg@entry=0) at eval.c:1108 #18 0x00000000004ea998 in command_loop () at keyboard.c:1117 #19 0x00000000004eef4b in recursive_edit_1 () at keyboard.c:728 #20 0x00000000004ef298 in Frecursive_edit () at keyboard.c:799 #21 0x0000000000419df7 in main (argc=5, argv=0x7fffffffdeb8) at emacs.c:1626 (gdb) }}} Adding possibly relevant info: {{{ Configured for 'x86_64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -g3 -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK3 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng16 Does Emacs use -lrsvg-2? yes Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lgconf? yes Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lgio (gfile) Does Emacs use access control lists? yes -lacl Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? yes Does Emacs directly use zlib? yes Does Emacs use toolkit scroll bars? yes }}} Thanks again, -- []s, Fernando From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 12:46:46 2015 Received: (at 20431) by debbugs.gnu.org; 21 Dec 2015 17:46:46 +0000 Received: from localhost ([127.0.0.1]:59066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB4Xm-0004VJ-MX for submit@debbugs.gnu.org; Mon, 21 Dec 2015 12:46:46 -0500 Received: from nm28-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.35]:51443) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB4Xk-0004V5-6M for 20431@debbugs.gnu.org; Mon, 21 Dec 2015 12:46:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1450719998; bh=AHoob46grTa6CiMKXkXWk5FRut+h/P28ZXHJZ10bc2U=; h=Subject:References:To:From:Date:In-Reply-To:From:Subject; b=OALfLcNZo8IipWYO7InkE8B8KhmPNCTik/sQiYxcWQD7FzE808L8msneyl1kj7fAcmvyL7uQ4bQD6EIteZsX4Qqskt7GertSvrmQi85BkO7EDIe5SHLkEvYQZS8Y3KhmA8D84YYkfcC+qUJqIG8z+4ckBsT88CkDT/2+5+oqvKpvOSZg2j7JJMHD6OjA5josTfZ/LOpk0m/v4GeglxBprAVeFW2hVTQSlQSCW+22x1yMTk4bRqk/Bvoh6JV0CMsoJdwRUTcBSWS/PBd+lUyUL3GlcujvSEzWrTbEvLiNmjfYN4+5bGhg2B6zplW0R0rNQeT0AzmuQmqS89q2+bDdag== Received: from [98.138.101.131] by nm28.bullet.mail.ne1.yahoo.com with NNFMP; 21 Dec 2015 17:46:38 -0000 Received: from [98.138.84.37] by tm19.bullet.mail.ne1.yahoo.com with NNFMP; 21 Dec 2015 17:46:38 -0000 Received: from [127.0.0.1] by smtp105.mail.ne1.yahoo.com with NNFMP; 21 Dec 2015 17:46:38 -0000 X-Yahoo-Newman-Id: 329438.28951.bm@smtp105.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: A5eD.y4VM1mLrSNIQyge.8Q_R3xZLvLt6asom_ThXnNtDod izuzhSj3mqAoQilpOIFjoDec8gLkh8gTODT4pFq_6hWuHIgQL7XyXlooPVM7 KBuSFpZ5BLCRuwZUyOoC.gwzCbdnFg4Kp5J23t.CvNlyiWpQeCbxxlCN5Kta wQFEnKnNwLi6zC1q4v1j9XoPoAB972BEQWVDpLpFw44_czqRvbrXNrNY7qX9 VQ6BJB8b__eP6bLwesuVcEiEhTZP.Ko0aFXYN9xgNfhxM_YDeXri85nQLbld RlXbrrKiuiC7t6fifCaMaHlMTsVWB_uoCV4_e45DuhsuaYYUqle2BayT1blV BzUZW6m4v1zrtQI_g6eKKqJwsf8SiNQTPBLNATOjKKLgd1sBsG9VoPDwnB_C RNI19_uF6ERZrmTA4EZE6bJf5ztE8xPkwuHQ20S0Oyoh6o.aW5QUgUtvWvwL SIVKkmWaH3fDPfcT9WqaXdnVcg3JKKZvPhI13TiHxrK6BkXP6owu89k3iLev bv5q2._cLMi.wqs8r9EnSnbECRAyZtEg- X-Yahoo-SMTP: SdQHnk.swBC.w7wV41S7kRjVyQ-- Subject: Re: bug#20431: emacs-24.5 segfaults with gnutls-3.4.0 References: <553D1F22.7010701@yahoo.com.br> <87fv7c6lg2.fsf@lifelogs.com> <5548BA05.80105@yahoo.com.br> To: 20431@debbugs.gnu.org From: Fernando de Oliveira Message-ID: <56783AF0.6040405@yahoo.com.br> Date: Mon, 21 Dec 2015 14:46:24 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5548BA05.80105@yahoo.com.br> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20431 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Em 05-05-2015 09:39, Fernando de Oliveira escreveu: > Sorry, forgt to send to the bug report > > On 04-05-2015 19:13, Ted Zlatanov wrote: >> On Sun, 26 Apr 2015 14:23:46 -0300 Fernando de Oliveira wrote: >> >> FdO> I am having this segfault problem and could not solve by myself. >> ... >> FdO> Build log tail with the error (I1ve replaced "Falha de segmentação" by >> FdO> "Segmentation fault": >> ... >> >> Hi Fernando, >> >> I don't know if the problem is in the GnuTLS integration from this stack >> trace, but I'm definitely not seeing it here. Is it still happening for >> you? Can you replicate it with the released 24.4? How about the latest >> (Git master branch)? > > Hi Ted, > > Thanks for your post. > > System updated to gnutls-3.4.1. > > FWIW: > gcc (GCC) 5.1.0 (but my first post was with gcc-4.9.2) > clang version 3.6.0 (tags/RELEASE_360/final) > > Tested versions: 24.4, 24.5 (again), Git emacs-24 branch (24.5.50), and > Git master branch (25.0.50, also tried to use clang, for this one). > > Unfortunately, still same issue: Hi, Ted. I've built a new system (Linux From Scratch SVN-20151002), without stripping the tool-chain, for debugging purposes and tested this problem today. To my surprise, the problem is gone. Packages versions: emacs-24.5 gcc-5.3.0 gnutls-3.4.7 Architecture: x86_64 It may be some problem with the older system. Please, do I need to do anything else to close this bug? Thank you very much for the attention. Apologies for not getting the problem solved in the other system. -- []s, Fernando, aka Sísifo From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 10:17:38 2015 Received: (at 20431-done) by debbugs.gnu.org; 22 Dec 2015 15:17:38 +0000 Received: from localhost ([127.0.0.1]:60101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBOh0-0003pn-M5 for submit@debbugs.gnu.org; Tue, 22 Dec 2015 10:17:38 -0500 Received: from mail-qg0-f50.google.com ([209.85.192.50]:33097) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBOgz-0003pb-Nd for 20431-done@debbugs.gnu.org; Tue, 22 Dec 2015 10:17:37 -0500 Received: by mail-qg0-f50.google.com with SMTP id k90so133369901qge.0 for <20431-done@debbugs.gnu.org>; Tue, 22 Dec 2015 07:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=aTRLMRHPYrdbb2lEWsYX8Bn1hEw8ZN9cLHs8ciAwq3I=; b=lqXHenFNmBYgtHAIkCG/di8O+LD5ptIXx/MQevWwiaIwKxRnCZZsMqqERb3Qv9YwNW S1N+aijuS+3HiCG+EomMPnYd1GJJQW+93X19+9sVD7H0mJFYuR9/Xx1Qk5ZUo6gN6rNe rE4pW2ZYjeFu3WaW+YUH3++KZ5RQE8XIzdgpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=aTRLMRHPYrdbb2lEWsYX8Bn1hEw8ZN9cLHs8ciAwq3I=; b=aupSbyvjK8tR5RgvW77UyZSjJDQDAfEASIbytcL9b0mm6Vbe0Ivof1jzxuXncIp51w /auZgLeiMT4Woq4geQD6RtWRxN39ScgZ1H2hCPTGIHn1EIvXJwj03S3dkvG+A2H5D7U1 W7XtTnza32JzC+9hXAa+VY5tP/rqXTVvKyZ2dPxa/NZXq4hZ80A8UWYPECYJY5gcBgzY DPMzKGUzS92g9cf2UUusZ55bssugIDYh7nx9xgbATuMQN/N92tFS9bp7jwCOedcIfLwF ODZBMKMAcYlZwCE+BnmqfXSiaWqHQkmyfT+uGGbyGr8iujk/i2BliWdRbMFuA1797zUj jQnQ== X-Gm-Message-State: ALoCoQmtIU6vP4yThDwNU7WhWmWQjdtrdI15ax3fzRIPD04qLGLhnvN3ec+Plnqj4iEKOZF/Aa1T0vc3oF4DK/Abf20lzMMUyA== X-Received: by 10.140.251.215 with SMTP id w206mr33613788qhc.73.1450797452248; Tue, 22 Dec 2015 07:17:32 -0800 (PST) Received: from flea ([98.229.60.157]) by smtp.gmail.com with ESMTPSA id q133sm16131196qhq.20.2015.12.22.07.17.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Dec 2015 07:17:31 -0800 (PST) From: Ted Zlatanov To: Fernando de Oliveira Subject: Re: bug#20431: emacs-24.5 segfaults with gnutls-3.4.0 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos References: <553D1F22.7010701@yahoo.com.br> <87fv7c6lg2.fsf@lifelogs.com> <5548BA05.80105@yahoo.com.br> <56783AF0.6040405@yahoo.com.br> X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Date: Tue, 22 Dec 2015 10:17:28 -0500 In-Reply-To: <56783AF0.6040405@yahoo.com.br> (Fernando de Oliveira's message of "Mon, 21 Dec 2015 14:46:24 -0300") Message-ID: <87si2u4inr.fsf@lifelogs.com> User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20431-done Cc: 20431-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, 21 Dec 2015 14:46:24 -0300 Fernando de Oliveira wrote: FdO> I've built a new system (Linux From Scratch SVN-20151002), without FdO> stripping the tool-chain, for debugging purposes and tested this problem FdO> today. To my surprise, the problem is gone. ... FdO> It may be some problem with the older system. FdO> Please, do I need to do anything else to close this bug? I think it's closed by now, but doing it here explicitly since I'm replying anyhow. Thank you for the bug report, and I'm glad it's working for you now. Ted From unknown Thu Sep 11 23:31:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Jan 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator