pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

emacs24 core dump on some files (only with gtk option)



On some files, I can get emacs24 (with gtk option compiled in, and
started as gtk window, on 6.99.10/amd64) to reliably dump core. One
example is wikisrc/tutorials/atf.mdwn

# gdb emacs           
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/pkg/bin/emacs...(no debugging symbols found)...done.
(gdb) r atf.mdwn 
Starting program: /usr/pkg/bin/emacs atf.mdwn
[New LWP 0]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7fec4ff574 in strncmp () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7fec4ff574 in strncmp () from /usr/lib/libc.so.12
#1  0x00007f7fec4b3d4b in __getenvslot (allocate=<optimized out>, 
name=<optimized out>, l_name=<optimized out>, allocate=<optimized out>) at 
/archive/cvs/src/lib/libc/stdlib/_env.c:266
#2  __findenvvar (name=0x7f7ff1406250 "LANGUAGE", l_name=8) at 
/archive/cvs/src/lib/libc/stdlib/_env.c:333
#3  0x00007f7fec4b3784 in getenv (name=0x7f7ff1406250 "LANGUAGE") at 
/archive/cvs/src/lib/libc/stdlib/getenv.c:74
#4  0x00007f7ff140361d in get_lang_env (category_name=<optimized out>) at 
/archive/cvs/src/lib/libintl/gettext.c:821
#5  dcngettext (domainname=<optimized out>, msgid1=0x7f7ff77315a0 "The radio 
menu item whose group this widget belongs to.", msgid2=0x0, n=1, 
category=<optimized out>)
    at /archive/cvs/src/lib/libintl/gettext.c:883
#6  0x00007f7ff75629f4 in ?? () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#7  0x00007f7ff1c2a2b2 in g_type_class_ref () from 
/usr/pkg/lib/libgobject-2.0.so.0
#8  0x00007f7ff1c148f1 in g_object_newv () from /usr/pkg/lib/libgobject-2.0.so.0
#9  0x00007f7ff1c14dbe in g_object_new () from /usr/pkg/lib/libgobject-2.0.so.0
#10 0x00007f7ff7562ca1 in gtk_radio_menu_item_new () from 
/usr/pkg/lib/libgtk-x11-2.0.so.0
#11 0x00007f7ff7562cc7 in gtk_radio_menu_item_new_with_label () from 
/usr/pkg/lib/libgtk-x11-2.0.so.0
#12 0x00000000004de3a4 in ?? ()
#13 0x00000000004de460 in ?? ()
#14 0x00000000004de4b3 in ?? ()
#15 0x00000000004df445 in ?? ()
#16 0x00000000004df31e in ?? ()
#17 0x00000000004e112a in ?? ()
#18 0x000000000045c492 in ?? ()
#19 0x000000000042b7dc in ?? ()
#20 0x000000000043ed49 in ?? ()
#21 0x0000000000442e47 in ?? ()
#22 0x00000000004f9d44 in ?? ()
#23 0x00000000004fc246 in ?? ()
#24 0x00000000004fdde3 in ?? ()
#25 0x000000000055ad32 in ?? ()
#26 0x00000000004f2baf in ?? ()
#27 0x000000000055ac1f in ?? ()
#28 0x00000000004f37f8 in ?? ()
#29 0x00000000004f3ac0 in ?? ()
#30 0x00000000004eed9b in ?? ()
#31 0x0000000000413307 in ?? ()
#32 0x00007f7ff7ffa000 in ?? ()
#33 0x0000000000000002 in ?? ()
#34 0x00007f7ffffff738 in ?? ()
#35 0x00007f7ffffff74b in ?? ()
#36 0x0000000000000000 in ?? ()

When I start "emacs -nw atf.mdwn", it works fine.

Does anyone else see this? Ideas?
 Thomas


Home | Main Index | Thread Index | Old Index