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

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

stuck in loop that stole focus while navigating menus


From: Greg A. Woods
Subject: stuck in loop that stole focus while navigating menus
Date: Fri, 30 Nov 2001 12:36:42 -0500 (EST)

In GNU Emacs 21.1.1 (i386-unknown-netbsdelf1.5W, X toolkit)
 of 2001-11-13 on proven
configured using `configure  --verbose --with-xpm --with-jpeg --with-tiff 
--with-gif --with-png --with-pop --with-ipv6 --prefix=/usr/local 
--with-x-toolkit=athena'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


I was trying to navigate through the menus but my mouse was behaving a
little erratically and I waved it around a bit, all while holding down
button-1.  Suddenly emacs went into a CPU loop and no longer responded
to any X11 events.  Unfortunately because the menus were active at the
time all keyboard and mouse focus was frozen on them, locking me out of
my window manager, and I had to go to another workstation to send a
SIGABRT to that emacs.

Here's the resulting traceback:

$ gdb /usr/local/bin/emacs ~/emacs.core
GNU gdb 4.17
Copyright 1998 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--netbsd"...
Core was generated by `emacs'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/X11R6/lib/libXaw.so.6...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/pkg/lib/libtiff.so.3...done.
Reading symbols from /usr/pkg/lib/libjpeg.so.62...done.
Reading symbols from /usr/pkg/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libz.so.0...done.
Reading symbols from /usr/lib/libm387.so.0...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/pkg/lib/libungif.so.5...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/pkg/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libossaudio.so.0...done.
Reading symbols from /usr/lib/libtermcap.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
#0  0x4840749b in kill ()
DISPLAY = very.weird.com:0.0
TERM = xterm
Breakpoint 1 at 0x80ce14b: file emacs.c, line 387.
Breakpoint 2 at 0x80b5356: file xterm.c, line 12015.
(gdb) where
#0  0x4840749b in kill ()
#1  0x80ce141 in fatal_error_signal (sig=6) at emacs.c:354
#2  0xbfbfdfdc in ?? ()
#3  0x810cea1 in make_uninit_multibyte_string (nchars=37, nbytes=37)
    at alloc.c:1871
#4  0x810ce71 in make_uninit_string (length=37) at alloc.c:1852
#5  0x810cd5e in make_unibyte_string (
    contents=0x9637300 "Find packages and features by keyword", length=37)
    at alloc.c:1775
#6  0x810cd37 in make_string (
    contents=0x9637300 "Find packages and features by keyword", nbytes=37)
    at alloc.c:1760
#7  0x810ce5d in build_string (
    str=0x9637300 "Find packages and features by keyword") at alloc.c:1840
#8  0x80736b1 in menu_highlight_callback (widget=0x8518200, id=3, 
    call_data=0x9639ec0) at xmenu.c:1189
#9  0x815d55a in highlight_hook (w=0x8518200, client_data=0x8633fa0, 
    call_data=0x9639ec0) at lwlib-Xlw.c:79
#10 0x481d930d in XtCallCallbackList ()
#11 0x815f0c9 in remap_menubar (mw=0x8518200) at xlwmenu.c:1312
#12 0x815fd85 in handle_single_motion_event (mw=0x8518200, ev=0xbfbce858)
    at xlwmenu.c:1904
#13 0x815fe13 in handle_motion_event (mw=0x8518200, ev=0xbfbce858)
---Type <return> to continue, or q <return> to quit---
    at xlwmenu.c:1930
#14 0x815fea8 in Drag (w=0x8518200, ev=0xbfbce858, params=0x0, 
    num_params=0x4820bd50) at xlwmenu.c:1971
#15 0x481fe1f3 in HandleActions ()
#16 0x481fe65f in HandleSimpleState ()
#17 0x481feabd in _XtTranslateEvent ()
#18 0x481e1f7a in XtDispatchEventToWidget ()
#19 0x481e24e6 in DispatchEvent ()
#20 0x481e269a in _XtDefaultDispatcher ()
#21 0x481e28be in XtDispatchEvent ()
#22 0x80b3c8c in XTread_socket (sd=0, bufp=0xbfbcf8f8, numchars=4096, 
    expected=1) at xterm.c:11028
#23 0x80d5d3d in read_avail_input (expected=1) at keyboard.c:6133
#24 0x80d5f2b in input_available_signal (signo=23) at keyboard.c:6286
#25 0xbfbfdfdc in ?? ()
#26 0x810cea1 in make_uninit_multibyte_string (nchars=17, nbytes=17)
    at alloc.c:1871
#27 0x810ce71 in make_uninit_string (length=17) at alloc.c:1852
#28 0x810cd5e in make_unibyte_string (contents=0xbfbfb9f0 "/home/most/woods/", 
    length=17) at alloc.c:1775
#29 0x810cd37 in make_string (contents=0xbfbfb9f0 "/home/most/woods/", 
    nbytes=17) at alloc.c:1760
#30 0x80f110f in Fexpand_file_name (name=943289156, 
---Type <return> to continue, or q <return> to quit---
    default_directory=943289156) at fileio.c:1649
#31 0x80f0e23 in Fexpand_file_name (name=945270132, 
    default_directory=943289156) at fileio.c:1078
#32 0x80f62db in Fdo_auto_save (no_message=405179444, current_only=405179396)
    at fileio.c:5481
#33 0x80cf51e in shut_down_emacs (sig=11, no_x=0, stuff=405179396)
    at emacs.c:1883
#34 0x80ce0cb in fatal_error_signal (sig=11) at emacs.c:341
#35 0xbfbfdfdc in ?? ()
#36 0x810cea1 in make_uninit_multibyte_string (nchars=50, nbytes=50)
    at alloc.c:1871
#37 0x810ce71 in make_uninit_string (length=50) at alloc.c:1852
#38 0x81233f1 in concat (nargs=2, args=0xbfbfbc68, target_type=Lisp_String, 
    last_special=0) at fns.c:668
#39 0x8122e42 in Fconcat (nargs=2, args=0xbfbfbc68) at fns.c:434
#40 0x81452e6 in Fbyte_code (bytestr=941547676, vector=1209983176, maxdepth=5)
    at bytecode.c:1099
#41 0x811fa10 in funcall_lambda (fun=1209983064, nargs=5, 
    arg_vector=0xbfbfbd3c) at eval.c:2847
#42 0x811f641 in Ffuncall (nargs=6, args=0xbfbfbd38) at eval.c:2712
#43 0x8144b61 in Fbyte_code (bytestr=941548180, vector=1209983720, maxdepth=8)
    at bytecode.c:716
#44 0x811fa10 in funcall_lambda (fun=1209983592, nargs=2, 
---Type <return> to continue, or q <return> to quit---
    arg_vector=0xbfbfbe1c) at eval.c:2847
#45 0x811f641 in Ffuncall (nargs=3, args=0xbfbfbe18) at eval.c:2712
#46 0x8144b61 in Fbyte_code (bytestr=941548436, vector=1209983948, maxdepth=4)
    at bytecode.c:716
#47 0x811fa10 in funcall_lambda (fun=1209983840, nargs=2, 
    arg_vector=0xbfbfbeec) at eval.c:2847
#48 0x811f641 in Ffuncall (nargs=3, args=0xbfbfbee8) at eval.c:2712
#49 0x8144b61 in Fbyte_code (bytestr=941566908, vector=1210002520, maxdepth=6)
    at bytecode.c:716
#50 0x811fa10 in funcall_lambda (fun=1210002328, nargs=1, 
    arg_vector=0xbfbfbfd8) at eval.c:2847
#51 0x811f641 in Ffuncall (nargs=2, args=0xbfbfbfd4) at eval.c:2712
#52 0x811f278 in call1 (fn=405446852, arg1=1235129856) at eval.c:2452
#53 0x80c658a in x_create_tip_frame (dpyinfo=0x8475800, parms=1499582076, 
    text=947099508) at xfns.c:10805
#54 0x80c6b7b in Fx_show_tip (string=947099508, frame=1212793856, 
    parms=1499582076, timeout=5, dx=5, dy=268435446) at xfns.c:11000
#55 0x811f59e in Ffuncall (nargs=7, args=0xbfbfc14c) at eval.c:2676
#56 0x8144b61 in Fbyte_code (bytestr=943185684, vector=1210797568, maxdepth=7)
    at bytecode.c:716
#57 0x811ebd9 in Feval (form=1480893788) at eval.c:2019
#58 0x811dc1a in Fcondition_case (args=1499582172) at eval.c:1211
#59 0x8144fcd in Fbyte_code (bytestr=943185716, vector=1213220352, maxdepth=3)
---Type <return> to continue, or q <return> to quit---
    at bytecode.c:898
#60 0x811fa10 in funcall_lambda (fun=1210799648, nargs=1, 
    arg_vector=0xbfbfc3b0) at eval.c:2847
#61 0x811f641 in Ffuncall (nargs=2, args=0xbfbfc3ac) at eval.c:2712
#62 0x8144b61 in Fbyte_code (bytestr=943274868, vector=1210805856, maxdepth=2)
    at bytecode.c:716
#63 0x811fa10 in funcall_lambda (fun=1210805728, nargs=1, 
    arg_vector=0xbfbfc518) at eval.c:2847
#64 0x811f641 in Ffuncall (nargs=2, args=0xbfbfc514) at eval.c:2712
#65 0x811f130 in run_hook_with_args (nargs=2, args=0xbfbfc514, 
    cond=until_success) at eval.c:2326
#66 0x811efdc in Frun_hook_with_args_until_success (nargs=2, args=0xbfbfc514)
    at eval.c:2239
#67 0x811f532 in Ffuncall (nargs=3, args=0xbfbfc510) at eval.c:2658
#68 0x8144b61 in Fbyte_code (bytestr=943185892, vector=1210800928, maxdepth=3)
    at bytecode.c:716
#69 0x811fa10 in funcall_lambda (fun=1210800800, nargs=1, 
    arg_vector=0xbfbfc65c) at eval.c:2847
#70 0x811f641 in Ffuncall (nargs=2, args=0xbfbfc658) at eval.c:2712
#71 0x811ef6d in Fapply (nargs=2, args=0xbfbfc658) at eval.c:2169
#72 0x811f532 in Ffuncall (nargs=3, args=0xbfbfc654) at eval.c:2658
#73 0x8144b61 in Fbyte_code (bytestr=941638640, vector=1210074132, maxdepth=4)
    at bytecode.c:716
---Type <return> to continue, or q <return> to quit---
#74 0x811ebd9 in Feval (form=1478509536) at eval.c:2019
#75 0x811dc1a in Fcondition_case (args=1499582220) at eval.c:1211
#76 0x8144fcd in Fbyte_code (bytestr=941638400, vector=1210073980, maxdepth=5)
    at bytecode.c:898
#77 0x811fa10 in funcall_lambda (fun=1210073820, nargs=1, 
    arg_vector=0xbfbfc8c8) at eval.c:2847
#78 0x811f641 in Ffuncall (nargs=2, args=0xbfbfc8c4) at eval.c:2712
#79 0x811f278 in call1 (fn=405248676, arg1=1215977856) at eval.c:2452
#80 0x80d3da8 in timer_check (do_it_now=1) at keyboard.c:4074
#81 0x80d2d9b in readable_events (do_timers_now=1) at keyboard.c:3152
#82 0x80d5b4d in get_input_pending (addr=0x8260484, do_timers_now=1)
    at keyboard.c:6023
#83 0x80da05d in detect_input_pending_run_timers (do_display=1)
    at keyboard.c:9444
#84 0x81485bd in wait_reading_process_input (time_limit=300, microsecs=0, 
    read_kbd=268435455, do_display=1) at process.c:2686
#85 0x8056e25 in sit_for (sec=300, usec=0, reading=1, display=1, 
    initial_display=0) at dispnew.c:6243
#86 0x80d1e8d in read_char (commandflag=1, nmaps=3, maps=0xbfbfcb84, 
    prev_event=405179396, used_mouse_menu=0xbfbfcbc8) at keyboard.c:2491
#87 0x80d8374 in read_key_sequence (keybuf=0xbfbfccc0, bufsize=30, 
    prompt=405179396, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8180
---Type <return> to continue, or q <return> to quit---
#88 0x80d069e in command_loop_1 () at keyboard.c:1440
#89 0x811dcd6 in internal_condition_case (bfun=0x80d03d8 <command_loop_1>, 
    handlers=405301492, hfun=0x80d007c <cmd_error>) at eval.c:1267
#90 0x80d02e1 in command_loop_2 () at keyboard.c:1245
#91 0x811d967 in internal_catch (tag=405253844, 
    func=0x80d02c8 <command_loop_2>, arg=405179396) at eval.c:1030
#92 0x80d029c in command_loop () at keyboard.c:1224
#93 0x80cfe79 in recursive_edit_1 () at keyboard.c:950
#94 0x80cff85 in Frecursive_edit () at keyboard.c:1006
#95 0x80cf075 in main (argc=1, argv=0xbfbfcf60, envp=0xbfbfcf68)
    at emacs.c:1547
#96 0x804ebb9 in ___start ()
(gdb) 


-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>



reply via email to

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