From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.bugs Subject: bug#18671: Bug#726131: emacs24: Emacs 24 crashed (segmentation fault) in getenv.c from libX11/_XkbGetCharset Date: Thu, 09 Oct 2014 11:18:31 -0500 Message-ID: <87ppe143oo.fsf@trouble.defaultvalue.org> References: <20131012171750.GA29986@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412871564 1937 80.91.229.3 (9 Oct 2014 16:19:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 16:19:24 +0000 (UTC) Cc: 726131@bugs.debian.org, 726131-forwarded@bugs.debian.org, Vincent Lefevre To: 18671@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 18:19:16 2014 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 1XcGQt-00055l-Bu for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 18:19:15 +0200 Original-Received: from localhost ([::1]:43745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGQs-0005vo-U1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 12:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGQm-0005vd-9V for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcGQh-0005RN-Fx for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:19:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGQh-0005RG-CQ for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XcGQg-0005Ux-OA for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rob Browning Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Oct 2014 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141287153221115 (code B ref -1); Thu, 09 Oct 2014 16:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2014 16:18:52 +0000 Original-Received: from localhost ([127.0.0.1]:39399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcGQV-0005UQ-4s for submit@debbugs.gnu.org; Thu, 09 Oct 2014 12:18:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52922) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcGQS-0005UD-DK for submit@debbugs.gnu.org; Thu, 09 Oct 2014 12:18:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcGQN-0005O8-Gm for submit@debbugs.gnu.org; Thu, 09 Oct 2014 12:18:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGQN-0005O2-Eo for submit@debbugs.gnu.org; Thu, 09 Oct 2014 12:18:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGQI-0005uQ-TY for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:18:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcGQC-0005Mg-EX for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:18:38 -0400 Original-Received: from defaultvalue.org ([70.85.129.156]:53978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGQC-0005MU-8Y for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:18:32 -0400 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id B5BEE20A36; Thu, 9 Oct 2014 11:18:31 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 64EF714E422; Thu, 9 Oct 2014 11:18:31 -0500 (CDT) In-Reply-To: <20131012171750.GA29986@xvii.vinc17.org> User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:94341 [If possible, please preserve the -forwarded address in any replies.] Here's another 24.3 crash report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726131 Vincent Lefevre writes: > Package: emacs24 > Version: 24.3+1-2 > Severity: important > > Just after Emacs 24 was started, it crashed. In the terminal: > > Fatal error 11: Segmentation fault > Backtrace: > emacs[0x4f75fb] > emacs[0x4dd0ae] > emacs[0x4f624e] > emacs[0x4f63b3] > /lib/x86_64-linux-gnu/libpthread.so.0(+0xf210)[0x7ff66e728210] > /lib/x86_64-linux-gnu/libc.so.6(getenv+0xac)[0x7ff66e3a614c] > /usr/lib/x86_64-linux-gnu/libX11.so.6(_XkbGetCharset+0xd)[0x7ff6718e6aad] > /usr/lib/x86_64-linux-gnu/libX11.so.6(XkbTranslateKeySym+0x1e2)[0x7ff6718e5252] > /usr/lib/x86_64-linux-gnu/libX11.so.6(XLookupString+0x1f8)[0x7ff6718e54f8] > /usr/lib/x86_64-linux-gnu/libX11.so.6(_XimLocalFilter+0x5a)[0x7ff6718bf3fa] > emacs[0x4ba220] > /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x4bd81)[0x7ff67366fd81] > /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x4c00e)[0x7ff67367000e] > /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x68)[0x7ff673644fd8] > /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x4be02)[0x7ff67366fe02] > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x146)[0x7ff671ffcea6] > /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x481f8)[0x7ff671ffd1f8] > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7ff671ffd29c] > /usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7ff673a344f5] > emacs[0x4b2492] > emacs[0x4e4491] > emacs[0x4e3e75] > emacs[0x594ef2] > emacs[0x5500af] > emacs[0x5511bc] > emacs[0x5500af] > emacs[0x584a5b] > emacs[0x54fbaf] > emacs[0x54febb] > emacs[0x5511bc] > emacs[0x5500af] > emacs[0x584a5b] > emacs[0x54fbaf] > emacs[0x54febb] > emacs[0x5511bc] > emacs[0x5500af] > emacs[0x584a5b] > emacs[0x54fbaf] > emacs[0x54febb] > emacs[0x584a5b] > emacs[0x54f565] > ... > Segmentation fault (core dumped) > > $ gdb /usr/bin/emacs24-x core > GNU gdb (GDB) 7.6.1 (Debian 7.6.1-1) > [...] > Core was generated by `emacs svn-commit.tmp'. > Program terminated with signal 11, Segmentation fault. > #0 0x00007ff66e7280eb in raise (sig=11) > at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:38 > 38 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory. > (gdb) bt full > #0 0x00007ff66e7280eb in raise (sig=11) > at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:38 > resultvar = 0 > pid = > #1 0x00000000004dd0d6 in ?? () > No symbol table info available. > #2 0x00000000004f624e in ?? () > No symbol table info available. > #3 0x00000000004f63b3 in ?? () > No symbol table info available. > #4 > No locals. > #5 __GI_getenv (name=0x7ff67197065a "KB_CHARSET") at getenv.c:89 > ep_start = > len = 10 > ep = 0x7fff3c1ba128 > name_start = 22623 > #6 0x00007ff6718e6aad in _XkbGetCharset () > from /usr/lib/x86_64-linux-gnu/libX11.so.6 > No symbol table info available. > #7 0x00007ff6718e5252 in XkbTranslateKeySym () > from /usr/lib/x86_64-linux-gnu/libX11.so.6 > No symbol table info available. > #8 0x00007ff6718e54f8 in XLookupString () > from /usr/lib/x86_64-linux-gnu/libX11.so.6 > No symbol table info available. > #9 0x00007ff6718bf3fa in _XimLocalFilter () > from /usr/lib/x86_64-linux-gnu/libX11.so.6 > No symbol table info available. > #10 0x00000000004ba220 in ?? () > No symbol table info available. > #11 0x00007ff67366fd81 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > No symbol table info available. > #12 0x00007ff67367000e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > No symbol table info available. > #13 0x00007ff673644fd8 in gdk_display_get_event () > from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > No symbol table info available. > #14 0x00007ff67366fe02 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > No symbol table info available. > #15 0x00007ff671ffcea6 in g_main_dispatch (context=0xe34f00) > at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3054 > dispatch = 0x7ff67366fdf0 > was_in_call = 0 > user_data = 0x0 > callback = 0x0 > cb_funcs = 0x0 > cb_data = 0x0 > need_destroy = > current_source_link = {data = 0xe5c330, next = 0x0} > source = 0xe5c330 > current = 0xe5c610 > i = 0 > #16 g_main_context_dispatch (context=context@entry=0xe34f00) > at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3630 > No locals. > #17 0x00007ff671ffd1f8 in g_main_context_iterate ( > context=context@entry=0xe34f00, block=block@entry=1, > dispatch=dispatch@entry=1, self=) > at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3701 > max_priority = 0 > timeout = 0 > some_ready = 1 > nfds = > allocated_nfds = 4 > fds = 0xe31720 > #18 0x00007ff671ffd29c in g_main_context_iteration (context=0xe34f00, > may_block=1) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3762 > retval = > #19 0x00007ff673a344f5 in gtk_main_iteration () > from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 > No symbol table info available. > #20 0x00000000004b2492 in ?? () > No symbol table info available. > #21 0x00000000004e4491 in ?? () > No symbol table info available. > #22 0x00000000004e3e75 in ?? () > No symbol table info available. > [...] > #99 0x00000000004171c5 in ?? () > No symbol table info available. > #100 0x00007ff66e38e995 in __libc_start_main (main=0x4167b0, argc=2, > ubp_av=0x7fff3c1ce088, init=, fini=, > rtld_fini=, stack_end=0x7fff3c1ce078) at libc-start.c:260 > result = > unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2508716875972236015, > 4291765, 140734201913472, 0, 0, -2508865025507437841, > -2505095659607010577}, mask_was_saved = 0}}, priv = {pad = { > 0x0, 0x0, 0x5d1600, 0x7fff3c1ce088}, data = {prev = 0x0, > cleanup = 0x0, canceltype = 6100480}}} > not_first_call = > #101 0x0000000000417cde in ?? () > No symbol table info available. > (gdb) > > Possible related bugs: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594592 > Same bug but with Emacs 23. > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699325 > Still related to getenv, but in a different context. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4