From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fernando de Oliveira Newsgroups: gmane.emacs.bugs Subject: bug#20431: emacs-24.5 segfaults with gnutls-3.4.0 Date: Sun, 26 Apr 2015 14:23:46 -0300 Message-ID: <553D1F22.7010701@yahoo.com.br> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1430069247 10470 80.91.229.3 (26 Apr 2015 17:27:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Apr 2015 17:27:27 +0000 (UTC) To: 20431@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 26 19:27:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YmQKm-00030V-6S for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Apr 2015 19:27:12 +0200 Original-Received: from localhost ([::1]:51579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmQKl-0006MW-FO for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Apr 2015 13:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmQKg-0006KZ-Qj for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmQKd-0007JY-EX for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmQKd-0007JU-AX for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YmQKc-0002gt-Un for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2015 13:27:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fernando de Oliveira Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Apr 2015 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20431 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.143006921410312 (code B ref -1); Sun, 26 Apr 2015 17:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2015 17:26:54 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== Original-Received: from [98.138.226.179] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 26 Apr 2015 17:23:48 -0000 Original-Received: from [98.138.226.133] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 26 Apr 2015 17:23:48 -0000 Original-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-- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102064 Archived-At: 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