emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Crash in gtkutil.c


From: Jan Djärv
Subject: Re: Crash in gtkutil.c
Date: Mon, 29 May 2006 10:02:17 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060501)



Chong Yidong skrev:
I got a crash in gtkutil.c while playing around with msb.el.  I'll try
to see if I can produce a recipe, but here is the backtrace; hopefully
it is enough:

(gdb) bt full
#0  0xb7e17031 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0xb7d3a3a5 in gtk_menu_item_new_with_label ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2  0x080ee837 in create_menus (data=Variable "data" is not available.
) at gtkutil.c:2067
        utf8_label = 0x0
        item = (widget_value *) 0x8852600
        wmenu = (GtkWidget *) 0x8752e28
        group = (GSList *) 0x0
#3 0x080eed96 in xg_create_widget (type=0x81a32c8 "popup", name=0x81a32c3 "menu", f=0x86c03a0, val=0x85925b0, select_cb=0x808be80 <popup_selection_callback>, deactivate_cb=0x808aaf0 <popup_deactivate_callback>, highlight_cb=0x808ab00 <menu_highlight_callback>) at gtkutil.c:2152
        w = Variable "w" is not available.
(gdb) f 2
#2  0x080ee837 in create_menus at gtkutil.c:2067
2067              w = gtk_menu_item_new_with_label (utf8_label);
(gdb) p utf8_label
$3 = 0x0
(gdb) p item->name
$4 = 0x884eccc "\220&\212\b:load-toplevel"

I don't think \220&\212\b is valid UTF-8. What was the string you tried to insert there? Strings passed to GTK-menus shall be UTF-8, it is supposed to be taken care of in xmenu.c. But if the original string was an invalid Emacs string, I suppose the conversion to UTF-8 failed.

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]