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: Tue, 05 May 2015 09:39:33 -0300 Message-ID: <5548BA05.80105@yahoo.com.br> References: <553D1F22.7010701@yahoo.com.br> <87fv7c6lg2.fsf@lifelogs.com> 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 1430829639 9881 80.91.229.3 (5 May 2015 12:40:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2015 12:40:39 +0000 (UTC) Cc: 20431@debbugs.gnu.org To: Ted Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 05 14:40:28 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 1Ypc99-0005of-75 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 May 2015 14:40:23 +0200 Original-Received: from localhost ([::1]:38997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypc98-00079C-KY for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 May 2015 08:40:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypc8v-00073b-PZ for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 08:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ypc8r-0006Mv-Lo for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 08:40:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypc8r-0006Jh-66 for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 08:40:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ypc8q-0008TK-Fs for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 08:40:04 -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: Tue, 05 May 2015 12:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20431 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20431-submit@debbugs.gnu.org id=B20431.143082958932540 (code B ref 20431); Tue, 05 May 2015 12:40:04 +0000 Original-Received: (at 20431) by debbugs.gnu.org; 5 May 2015 12:39:49 +0000 Original-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 Original-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== Original-Received: from [98.138.226.179] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 05 May 2015 12:39:35 -0000 Original-Received: from [98.138.226.125] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 05 May 2015 12:39:35 -0000 Original-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-- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <87fv7c6lg2.fsf@lifelogs.com> 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:102501 Archived-At: 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