[Top][All Lists]

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

emacs aborts (almost always?) when pressing C-g in gnus group mode

From: Timmy Douglas
Subject: emacs aborts (almost always?) when pressing C-g in gnus group mode
Date: Fri, 29 Apr 2005 22:55:06 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

(I'm not on the list so please CC replies)

When I press C-g in gnus, emacs almost always aborts (pretty much
crashing). I'm not sure exactly why waiting_for_input is 1, or the
meaning of it being 1 at this instance.

This is really annoying because whenever I use gnus, I have to be
careful about not pushing C-g because it usually causes emacs to

address@hidden:src$ gdb /usr/bin/emacs
GNU gdb 6.2.1
Copyright 2004 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 "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/libthread_db.so.1".

DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x811e0d6: file emacs.c, line 457.
Breakpoint 2 at 0x80fbf3c: file xterm.c, line 7797.
(gdb) run
Starting program: /usr/bin/emacs -geometry 80x40+0+0
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 25578)]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 16384 (LWP 25578)]
0xb7a47ebe in write () from /lib/libpthread.so.0
(gdb) cont

Program received signal SIGPIPE, Broken pipe.
0xb772cbb3 in __sigprocmask (how=-1216262156, set=0xbfffcc64, oset=0xbfffcbd0) 
at sigprocmask.c:65
65      sigprocmask.c: No such file or directory.
        in sigprocmask.c
(gdb) cont

Breakpoint 1, abort () at emacs.c:457
warning: Source file is more recent than executable.

(gdb) bt
#0  abort () at emacs.c:457
#1  0x08185a70 in Fsignal (error_symbol=137657497, data=137596521) at 
#2  0x0818db34 in internal_equal (o1=139629937, o2=137796481, depth=0, props=0) 
at fns.c:2202
#3  0x0818dd1e in Fequal (o1=1, o2=137596521) at fns.c:2176
#4  0x0818e645 in Fassoc (key=137796481, list=151362861) at fns.c:1556
#5  0x08138956 in Fbuffer_local_value (symbol=137796481, buffer=145150480) at 
#6  0x080b3f9b in display_and_set_cursor (w=0x9078aa8, on=1, hpos=11, vpos=18, 
x=110, y=270)
    at xdisp.c:20134
#7  0x080b462e in update_window_cursor (w=0x8338e99, on=137596521) at 
#8  0x080b46c0 in update_cursor_in_window_tree (w=0x9078aa8, on_p=1) at 
#9  0x080f44b7 in x_frame_rehighlight (dpyinfo=0x85e3c78) at xterm.c:3143
#10 0x080f7801 in x_focus_changed (type=1, state=0, dpyinfo=0x85e3c78, 
    bufp=0xbfffc170) at xterm.c:3229
#11 0x080f7868 in x_detect_focus_change (dpyinfo=0x85e3c78, event=0xbfffbe70, 
    at xterm.c:3276
#12 0x080f85d6 in handle_one_xevent (dpyinfo=0x85e3c78, eventp=0xbfffc3a0, 
    hold_quit=0xbfffd690) at xterm.c:6563
#13 0x080f9343 in event_handler_gdk (gxev=0xbfffc3a0, ev=0x85f13b8, data=0x0) 
at xterm.c:5699
#14 0xb7c48e6a in gdk_event_apply_filters (xevent=0xbfffc3a0, event=0x85f13b8, 
    at gdkevents-x11.c:328
#15 0xb7c49b61 in gdk_event_translate (display=0x85c2d28, event=0x85f13b8, 
    return_exposes=0) at gdkevents-x11.c:872
#16 0xb7c4bbe1 in _gdk_events_queue (display=0x85c2d28) at gdkevents-x11.c:2155
---Type <return> to continue, or q <return> to quit---
#17 0xb7c4bd91 in gdk_event_dispatch (source=0x85cfc98, callback=0, 
    at gdkevents-x11.c:2215
#18 0xb7ab6b13 in g_main_dispatch (context=0x85cfce0) at gmain.c:1933
#19 0xb7ab7dcd in IA__g_main_context_dispatch (context=0x85cfce0) at 
#20 0xb7ab8278 in g_main_context_iterate (context=0x85cfce0, block=1, 
dispatch=1, self=0x85baac8)
    at gmain.c:2564
#21 0xb7ab8466 in IA__g_main_context_iteration (context=0x85cfce0, may_block=1) 
at gmain.c:2623
#22 0xb7dd3ed2 in IA__gtk_main_iteration () at gtkmain.c:1046
#23 0x080fbdec in XTread_socket (sd=0, expected=1, hold_quit=0xbfffd690) at 
#24 0x0812727e in read_avail_input (expected=1) at keyboard.c:6654
#25 0x0812745a in handle_async_input () at keyboard.c:6797
#26 0x081274fb in input_available_signal (signo=29) at keyboard.c:6839
#27 0xb7a47ae7 in __pthread_sighandler (signo=29, ctx=
      {gs = 51, __gsh = 0, fs = 0, __fsh = 0, es = 123, __esh = 0, ds = 123, 
__dsh = 0, edi = 0, esi = 9, ebp = 3221216104, esp = 3221216076, ebx = 9, edx = 
151015128, ecx = 153331749, eax = 0, trapno = 1, err = 0, eip = 3081011095, cs 
= 115, __csh = 0, eflags = 2097734, esp_at_signal = 3221216076, ss = 123, __ssh 
= 0, fpstate = 0x0, oldmask = 4096, cr2 = 0}) at sighandler.c:39
#28 <signal handler called>
#29 0xb7a47f97 in close () from /lib/libpthread.so.0
#30 0x08137c57 in emacs_close (fd=9) at sysdep.c:3247
#31 0x081b5ba4 in deactivate_process (proc=151015132) at process.c:3652
#32 0x081b9ff3 in send_process (proc=151015132, buf=0x9078aa8 "K\020", 
    object=134947755) at process.c:5407
---Type <return> to continue, or q <return> to quit---
#33 0x09078aa8 in ?? ()
#34 0x09004edc in ?? ()
#35 0x09078aa8 in ?? ()
#36 0xbfffddc8 in ?? ()
#37 0x080b23ab in draw_glyphs (w=0xd4, x=-2138370956, row=0xb68dc3, 
area=2365587456, start=191, 
    end=-443984640, hl=2299849859, overlaps_p=1972107381) at xdisp.c:18556
Previous frame inner to this frame (corrupt stack?)
(gdb) frame 1
#1  0x08185a70 in Fsignal (error_symbol=137657497, data=137596521) at 
warning: Source file is more recent than executable.

1513        abort ();
(gdb) p *error_symbol
$1 = -1291845632
(gdb) p *backtrace_list
Cannot access memory at address 0x0
(gdb) p *data
$2 = 2063597568
(gdb) print gc_in_progress
$3 = 0
(gdb) print waiting_for_input
$4 = 1
(gdb) p error_symbol
$5 = 137657497
(gdb) pr
(gdb) p data
$6 = 137596521
(gdb) pr

1511:  abort_on_gc = 0;
1512:  if (gc_in_progress || waiting_for_input)
1513:    abort ();

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-03-27 on main
Distributor `Gentoo Linux (The X.Org Foundation 6.8.0, revision r1-0.2.1)', 
version 11.0.60800000
configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' 
'--sysconfdir=/etc' '--localstatedir=/var/lib' '--enable-debug' 
'--program-suffix=.emacs-22.0.50' '--without-carbon' '--with-x' '--with-xpm' 
'--with-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' 
'--with-png' '--with-x-toolkit=gtk' 'CFLAGS=' 'host_alias=i686-pc-linux-gnu''

Important settings:
  value of $LC_ALL: zh_TW.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  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: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  auto-compression-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <down-mouse-1> <mouse-1> M-x r e p o r 
t <tab> <return>

Recent messages:
Loading cl-seq...done
Loading easy-mmode...done
Loading edmacro...done
Loading derived...done
Loading byte-opt...done
Loading cl-extra...done
Loading paren...done
Loading jka-compr...done
Loading jit-lock...done
Loading emacsbug...done

reply via email to

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