all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danilo Segan <dsegan@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: Three minor GTK (?) problems
Date: Mon, 02 Jun 2003 17:47:16 +0200	[thread overview]
Message-ID: <3EDB7184.1020602@gmx.net> (raw)
In-Reply-To: <4730DD5C-946F-11D7-B375-00039363E640@swipnet.se>

[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]

Jan D. wrote:

>> Simon Josefsson wrote:
>>
>>> * Crash when clicking on menus.  I have only seen this two or three
>>>  times.  It typically happened when I have been working (with
>>>  keyboard) in emacs for a long time, and then using the mouse to
>>>  click on a menu, and slightly misses the menubar when I click.  I'm
>>>  not sure what I hit instead, but I suspect it is somewhere between
>>>  the menubar or the toolbar.
>>>
>> I experience this too, but it might be a bug in Gtk+ 2.2.1 (which I 
>> am using).
>
>
> ...
>
>> If neccessary, I can provide more details and complete trace.
>
>
> Please send the complete stack trace from gdb.

I hope "bt full" is enough. It's attached to this mail and gotten using 
standard output redirection (anyone knows of a better way). This time, 
it took more than a day to crash Emacs (it didn't crash when I was 
wanting it to crash, but then crashed today when I had work to do, and 
clicked on the menu just to check if it's still stable ;-)).

I attach it uncompressed to ease viewing and because it's 10kb. How 
wants to limit the bandwidth, and is able to ignore attachments can find 
it on www.kvota.net/bugs in both compressed (gzipped) and uncompressed form.

Hope this helps!

Cheers,
Danilo


[-- Attachment #2: emacs-btfull --]
[-- Type: text/plain, Size: 10406 bytes --]

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) r
Starting program: /desktop/Emacs/bin/emacs 

Program received signal SIGSEGV, Segmentation fault.
0x401c6590 in gtk_widget_show (widget=0x0) at gtkwidget.c:1677
1677	  if (!GTK_WIDGET_VISIBLE (widget))
(gdb) bt full
#0  0x401c6590 in gtk_widget_show (widget=0x0) at gtkwidget.c:1677
	widget = (GtkWidget *) 0x0
#1  0x40107004 in gtk_menu_item_new_with_label (label=0x0) at gtkmenuitem.c:253
	label = (gchar *) 0x0
	menu_item = (GtkWidget *) 0x8cc3b98
	accel_label = (GtkWidget *) 0x0
#2  0x8105751 in make_menu_item (utf8_label=0x0, utf8_key=0x0, item=0x8f4ef10, group=0xbfffe5b8)
    at /home/danilo/tmp/emacs/src/gtkutil.c:1275
	utf8_label = 0x0
	utf8_key = 0x0
	group = (GSList **) 0xbfffe5b8
	w = (GtkWidget *) 0x0
	wtoadd = (GtkWidget *) 0x0
#3  0x810590e in xg_create_one_menuitem (item=0x8f4ef10, f=0x85d8658, select_cb=0x80b3b58 <menubar_selection_callback>, 
    highlight_cb=0x80b398c <menu_highlight_callback>, cl_data=0x850f230, group=0xbfffe5b8)
    at /home/danilo/tmp/emacs/src/gtkutil.c:1416
	cl_data = (xg_menu_cb_data *) 0x0
	group = (GSList **) 0xbfffe5b8
	utf8_label = 0x0
	utf8_key = 0x0
	w = (GtkWidget *) 0x8f4ef10
	cb_data = (xg_menu_item_cb_data *) 0xbfffe5b8
#4  0x8105ced in create_menus (data=0x8f4ee80, f=0x85d8658, select_cb=0x80b3b58 <menubar_selection_callback>, 
    deactivate_cb=0x80b38c4 <popup_deactivate_callback>, highlight_cb=0x80b398c <menu_highlight_callback>, pop_up_p=0, 
    menu_bar_p=0, add_tearoff_p=0, topmenu=0x8ff3680, cl_data=0x850f230, name=0x0)
    at /home/danilo/tmp/emacs/src/gtkutil.c:1567
	w = (GtkWidget *) 0x8cc3b38
	menu_bar_p = 150269712
	name = 0x0
	item = (widget_value *) 0x8f4ef10
	wmenu = (GtkWidget *) 0x8ff3680
	group = (GSList *) 0x0
#5  0x8106d8a in xg_update_submenu (submenu=0x8ff3680, f=0x85d8658, val=0x8f4ee80, 
    select_cb=0x80b3b58 <menubar_selection_callback>, deactivate_cb=0x80b38c4 <popup_deactivate_callback>, 
    highlight_cb=0x80b398c <menu_highlight_callback>, cl_data=0x850f230) at /home/danilo/tmp/emacs/src/gtkutil.c:2175
	newsub = (GtkWidget *) 0x8ff3680
	list = (GList *) 0x8d87ed8
	iter = (GList *) 0x86c071c
	cur = (widget_value *) 0x8f4ee80
	has_tearoff_p = 0
	first_radio = (GList *) 0x0
#6  0x8106cf8 in xg_update_submenu (submenu=0x8d257a8, f=0x85d8658, val=0x9130a00, 
    select_cb=0x80b3b58 <menubar_selection_callback>, deactivate_cb=0x80b38c4 <popup_deactivate_callback>, 
    highlight_cb=0x80b398c <menu_highlight_callback>, cl_data=0x850f230) at /home/danilo/tmp/emacs/src/gtkutil.c:2146
	nsub = (GtkWidget *) 0x0
	witem = (GtkMenuItem *) 0x903fa50
	sub = (GtkWidget *) 0x8ff3680
	w = (GtkWidget *) 0x8ff3680
	newsub = (GtkWidget *) 0x8d257a8
	list = (GList *) 0x86fa098
	iter = (GList *) 0x8bc3340
	cur = (widget_value *) 0x8d5e258
	has_tearoff_p = 1
	first_radio = (GList *) 0x0
#7  0x8106ecd in xg_modify_menubar_widgets (menubar=0x85efb18, f=0x85d8658, val=0x9015b20, deep_p=1, 
    select_cb=0x80b3b58 <menubar_selection_callback>, deactivate_cb=0x80b38c4 <popup_deactivate_callback>, 
    highlight_cb=0x80b398c <menu_highlight_callback>) at /home/danilo/tmp/emacs/src/gtkutil.c:2255
	iter = (GList *) 0x8d88154
	sub = (GtkWidget *) 0x8d257a8
	newsub = (GtkWidget *) 0x0
	witem = (GtkMenuItem *) 0x903fed0
	cur = (widget_value *) 0x851f150
	val = (widget_value *) 0x8d88154
	cl_data = (xg_menu_cb_data *) 0x850f230
	list = (GList *) 0x88ac2b4
#8  0x80b46ac in set_frame_menubar (f=0x85d8658, first_time=0, deep_p=1) at /home/danilo/tmp/emacs/src/xmenu.c:2054
	menubar_widget = 0x85efb18
	wv = (widget_value *) 0x1
	first_wv = (widget_value *) 0x9015b20
	prev_wv = (widget_value *) 0x8e00800
	i = 32
	last_i = 32
	submenu_start = (int *) 0xbfffeb64
	submenu_end = (int *) 0xbfffe9e4
	submenu_top_level_items = (int *) 0xbfffe6e4
	submenu_n_panes = (int *) 0xbfffe864
#9  0x80b3832 in x_activate_menubar (f=0x85d8658) at /home/danilo/tmp/emacs/src/xmenu.c:1208
	f = 0x85d8658
#10 0x810eeeb in kbd_buffer_get_event (kbp=0xbfffee70, used_mouse_menu=0xbffff078)
    at /home/danilo/tmp/emacs/src/keyboard.c:3966
	event = (struct input_event *) 0x82cd660
	kbp = (KBOARD **) 0xbfffee70
	used_mouse_menu = (int *) 0xbffff078
	obj = 405689980
#11 0x810d666 in read_char (commandflag=1, nmaps=2, maps=0xbffff024, prev_event=405689980, used_mouse_menu=0xbffff078)
    at /home/danilo/tmp/emacs/src/keyboard.c:2813
	kb = (KBOARD *) 0x85392b8
	c = 405689980
	count = -1073746256
	local_getcjmp = {{__jmpbuf = {1490725068, 405689980, 405689980, -1073745940, -1073746396, 135319583}, 
    __mask_was_saved = 0, __saved_mask = {__val = {1483536124, 3221221308, 135906337, 15056, 142663168, 1216404992, 
        135602266, 406070052, 674390276, 406070052, 135625974, 941, 142663168, 3221221324, 135602572, 406070052, 674390276, 
        1216404992, 135906598, 2, 0, 15056, 405689980, 3221221124, 941, 3221221404, 135371677, 406113516, 0, 0, 135901811, 
        2}}}}
	save_jump = {{__jmpbuf = {0, 0, 1215273928, -1073747652, -1073748108, 135319583}, __mask_was_saved = 0, 
    __saved_mask = {__val = {3221219564, 3221219564, 135602436, 406070052, 405689980, 405689980, 0, 406070052, 674390276, 
        406070052, 135625974, 4, 141532104, 3221219612, 135602572, 406070052, 674390276, 1215273928, 135906598, 11, 0, 64, 0, 
        3221219412, 4, 3221219692, 135371677, 406113516, 0, 0, 135901811, 11}}}}
	key_already_recorded = 0
	tem = -1073746256
	save = -1073746256
	previous_echo_area_message = 405689980
	also_record = 405689980
	reread = 0
	gcpro1 = {next = 0x289976d0, var = 0xffffffff, nvars = 142663168}
	gcpro2 = {next = 0x58fd569c, var = 0xbfffeeac, nvars = -1073746240}
	last_idle_start = {tv_sec = 1054568218, tv_usec = 754766}
	polling_stopped_here = 1
#12 0x8113f3f in read_key_sequence (keybuf=0xbffff184, bufsize=30, prompt=405689980, dont_downcase_last=0, 
    can_return_switch_frame=1, fix_current_buffer=1) at /home/danilo/tmp/emacs/src/keyboard.c:8723
	key = 1191
	used_mouse_menu = 0
	last_real_key_start = 0
	echo_local_start = 0
	keys_local_start = 0
	local_first_binding = 0
	from_string = 405689980
	count = 2
	t = 0
	echo_start = 0
	keys_start = 0
	nmaps = 2
	nmaps_allocated = 2
	defs = (int *) 0xbffff014
	submaps = (int *) 0xbffff024
	orig_local_map = 1483617564
	orig_keymap = 405689980
	localized_local_map = 0
	first_binding = 0
	first_unbound = 31
	mock_input = 0
	fkey = {map = 1479608956, parent = 1479608956, start = 0, end = 0}
	keytran = {map = 1480160076, parent = 1480160076, start = 0, end = 0}
	delayed_switch_frame = 405689980
	original_uppercase = 1
	original_uppercase_position = -1
	starting_buffer = (struct buffer *) 0x880de00
	fake_prefixed_keys = 405689980
	gcpro1 = {next = 0x4850b3a8, var = 0x8098514, nvars = 0}
#13 0x810b3d4 in command_loop_1 () at /home/danilo/tmp/emacs/src/keyboard.c:1507
	cmd = 2
	lose = 2
	nonundocount = 0
	keybuf = {24, 19, -1073745428, 135310754, 1491076108, -1073745480, -1073745428, 135310678, 0, 1, -1073744044, 
  134722507, 0, 1073776128, 1073829876, 8869, 1073831440, 139494632, 1023, 1080335461, 5, 0, -1073745520, -1073745660, 0, 0, 
  -1073745172, 135661545, -1073745356, 139494632}
	i = 2
	no_direct = 0
	prev_modiff = 1809
	prev_buffer = (struct buffer *) 0x880de00
	was_locked = 0
	already_adjusted = 0
#14 0x816083d in internal_condition_case (bfun=0x810b0c0 <command_loop_1>, handlers=405786612, hfun=0x810acc4 <cmd_error>)
    at /home/danilo/tmp/emacs/src/eval.c:1333
	val = 1
	c = {tag = 405689980, val = 405689980, next = 0xbffff334, gcpro = 0x0, jmp = {{__jmpbuf = {0, 1, -1073744044, 
        -1073745172, -1073745420, 135661545}, __mask_was_saved = 0, __saved_mask = {__val = {3221222140, 3221221892, 
          135661545, 0, 134642349, 0, 0, 1079932112, 1078115792, 0 <repeats 16 times>, 3221222148, 1073789145, 1073831780, 
          1081815768, 7, 0, 1080770344}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, 
  poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
	h = {handler = 405786612, var = 405689980, chosen_clause = 405690028, tag = 0xbffff224, next = 0x0}
#15 0x810af88 in command_loop_2 () at /home/danilo/tmp/emacs/src/keyboard.c:1295
	val = 0
#16 0x81603b5 in internal_catch (tag=405747916, func=0x810af64 <command_loop_2>, arg=405689980)
    at /home/danilo/tmp/emacs/src/eval.c:1094
	tag = 1
	c = {tag = 405747916, val = 405689980, next = 0x0, gcpro = 0x0, jmp = {{__jmpbuf = {0, 1, -1073744044, -1073744900, 
        -1073745132, 135660450}, __mask_was_saved = 0, __saved_mask = {__val = {3221222412, 3221222180, 135660450, 0, 
          139494632, 3221221948, 1080331986, 139494632, 0, 3221221948, 1080351370, 139494632, 1080298511, 137473948, 
          137487932, 674344860, 3221222128, 139494632, 0, 3221222380, 135603782, 405923388, 674344860, 405689980, 137305776, 
          137487932, 405923388, 674344860, 3221222400, 137487932, 405923388, 3221222412}}}}, backlist = 0x0, 
  handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, 
  byte_stack = 0x0}
#17 0x810af33 in command_loop () at /home/danilo/tmp/emacs/src/keyboard.c:1274
No locals.
#18 0x810aa88 in recursive_edit_1 () at /home/danilo/tmp/emacs/src/keyboard.c:990
	count = 1
	val = 0
#19 0x810abb0 in Frecursive_edit () at /home/danilo/tmp/emacs/src/keyboard.c:1046
	count = 0
	buffer = 0
#20 0x8109a33 in main (argc=1, argv=0xbffff754) at /home/danilo/tmp/emacs/src/emacs.c:1660
	dummy = 1079973083
	stack_bottom_variable = 64 '@'
	skip_args = 0
	rlim = {rlim_cur = 4440000, rlim_max = 18446744073709551615}
	no_loadup = 0
	junk = 0x0
#21 0x405fa2eb in __libc_start_main (main=0x8108c84 <main>, argc=1, ubp_av=0xbffff754, init=0x807ee80 <_init>, 
    fini=0x81a7bd0 <_fini>, rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbffff74c) at ../sysdeps/generic/libc-start.c:129
	ubp_av = (char **) 0xbffff754
	fini = (void (*)()) 0x40015d64 <_dl_debug_mask>
	rtld_fini = (void (*)()) 0
	ubp_ev = (char **) 0x0
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x406099f1 in __kill () from /lib/libc.so.6
(gdb)

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2003-06-02 15:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01 18:49 Three minor GTK (?) problems Simon Josefsson
2003-06-01 20:06 ` Danilo Segan
2003-06-01 20:26   ` Jan D.
2003-06-02 15:47     ` Danilo Segan [this message]
2003-06-03 17:49       ` Jan D.
2003-06-03 18:15         ` Danilo Segan
2003-06-01 21:25 ` Michael Welsh Duggan
2003-06-03  4:06   ` Richard Stallman
2003-06-03 13:43     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EDB7184.1020602@gmx.net \
    --to=dsegan@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.