GNU bug report logs - #18671
Bug#726131: emacs24: Emacs 24 crashed (segmentation fault) in getenv.c from libX11/_XkbGetCharset

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Thu, 9 Oct 2014 16:19:02 UTC

Severity: important

Merged with 8705

Found in version 23.3

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18671 in the body.
You can then email your comments to 18671 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18671; Package emacs. (Thu, 09 Oct 2014 16:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rob Browning <rlb <at> defaultvalue.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 09 Oct 2014 16:19:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rob Browning <rlb <at> defaultvalue.org>
To: bug-gnu-emacs <at> gnu.org
Cc: 726131 <at> bugs.debian.org, 726131-forwarded <at> bugs.debian.org,
 Vincent Lefevre <vincent <at> vinc17.net>
Subject: Re: Bug#726131: emacs24: Emacs 24 crashed (segmentation fault) in
 getenv.c from libX11/_XkbGetCharset
Date: Thu, 09 Oct 2014 11:18:31 -0500
[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 <vincent <at> vinc17.net> 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 = <optimized out>
> #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  <signal handler called>
> No locals.
> #5  __GI_getenv (name=0x7ff67197065a "KB_CHARSET") at getenv.c:89
>         ep_start = <error reading variable ep_start (Cannot access memory at address 0x7ff600000000)>
>         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 = <optimized out>
>         current_source_link = {data = 0xe5c330, next = 0x0}
>         source = 0xe5c330
>         current = 0xe5c610
>         i = 0
> #16 g_main_context_dispatch (context=context <at> 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 <at> entry=0xe34f00, block=block <at> entry=1, 
>     dispatch=dispatch <at> entry=1, self=<optimized out>)
>     at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3701
>         max_priority = 0
>         timeout = 0
>         some_ready = 1
>         nfds = <optimized out>
>         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 = <optimized out>
> #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=<optimized out>, fini=<optimized out>, 
>     rtld_fini=<optimized out>, stack_end=0x7fff3c1ce078) at libc-start.c:260
>         result = <optimized out>
>         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 = <optimized out>
> #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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18671; Package emacs. (Thu, 09 Oct 2014 16:57:01 GMT) Full text and rfc822 format available.

Message #8 received at 18671 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Rob Browning <rlb <at> defaultvalue.org>
Cc: 18671 <at> debbugs.gnu.org, Vincent Lefevre <vincent <at> vinc17.net>
Subject: Re: bug#18671: Bug#726131: emacs24: Emacs 24 crashed (segmentation
 fault) in getenv.c from libX11/_XkbGetCharset
Date: Thu, 09 Oct 2014 12:56:41 -0400
OP already reported it here
http://debbugs.gnu.org/8705




Forcibly Merged 8705 18671. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 09 Oct 2014 16:58:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Nov 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.