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

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

crashes under cygwin


From: emacs user
Subject: crashes under cygwin
Date: Sun, 02 Jan 2005 13:02:08 -0500



In GNU Emacs 21.3.50.1 (i686-pc-cygwin, GTK+ Version 2.4.13)
of 2005-01-02 on cata2
Distributor `The Cygwin/X Project', version 11.0.60801000
configured using `configure '--with-gtk''

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: C
 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




I find cvs emacs (updated and compiled today) to be very unstable under cygwin. This has been the case for at least weeks if not months now. I cannot reproduce this easily as circumstances vary, but perhaps the traceback will be useful. here is one example of a crash:

/usr/local/emacs/src $ gdb emacs
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 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-cygwin"...
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x20099d46: file emacs.c, line 454.
Breakpoint 2 at 0x20074cf8: file xterm.c, line 7790.
(gdb) run
Starting program: /usr/local/emacs/src/emacs.exe -geometry 80x40+0+0
---Type <return> to continue, or q <return> to quit---

Program received signal SIGSEGV, Segmentation fault.
0x7c809f62 in KERNEL32!IsBadWritePtr ()
  from /cygdrive/c/WINDOWS/system32/kernel32.dll
(gdb) cont
Continuing.

Breakpoint 1, abort () at emacs.c:454
454       kill (getpid (), SIGABRT);
(gdb) where
#0  abort () at emacs.c:454
#1  0x200eb686 in mark_object (arg=536988159) at alloc.c:5415
#2  0x200ead9e in Fgarbage_collect () at alloc.c:4781
#3  0x20100107 in Feval (form=556821325) at eval.c:2029
#4  0x200fec94 in internal_condition_case_1 (bfun=0x200ffa30 <Feval>,
   arg=556821325, handlers=539818585,
   hfun=0x200a45d0 <menu_item_eval_property_1>) at eval.c:1426
#5 0x200a4664 in menu_item_eval_property (sexpr=556821325) at keyboard.c:7152
#6  0x200ac5be in get_keyelt (object=540039697, autoload=1) at keymap.c:803
#7  0x200abc97 in access_keymap (map=539781365, idx=539804297, t_ok=2,
   noinherit=0, autoload=1) at keymap.c:637
#8  0x200a4f86 in tool_bar_items (reuse=557506564, nitems=0x22e058)
   at keyboard.c:7609
#9  0x2001cca8 in update_tool_bar (f=0x20c92c00, save_match_data=0)
   at xdisp.c:8508
#10 0x2001c78c in prepare_menu_bars () at xdisp.c:8214
#11 0x2001ebd6 in redisplay_internal (preserve_echo_area=1) at xdisp.c:9889
#12 0x2001faf9 in redisplay_preserve_echo_area (from_where=8) at xdisp.c:10484
#13 0x200a864e in detect_input_pending_run_timers (do_display=1)
   at keyboard.c:9887
#14 0x20130827 in wait_reading_process_output (time_limit=30, microsecs=0,
   read_kbd=-1, do_display=1, wait_for_cell=539750401, wait_proc=0x0,
   just_wait_proc=0) at process.c:4452
#15 0x200092e7 in sit_for (sec=30, usec=0, reading=1, display=1,
---Type <return> to continue, or q <return> to quit---
   initial_display=0) at dispnew.c:6367
#16 0x2009fafd in read_char (commandflag=1, nmaps=2, maps=0x22e9ec,
   prev_event=539750401, used_mouse_menu=0x22ea28) at keyboard.c:2762
#17 0x200a64b4 in read_key_sequence (keybuf=0x22eb80, bufsize=30,
   prompt=539750401, dont_downcase_last=0, can_return_switch_frame=1,
   fix_current_buffer=1) at keyboard.c:8818
#18 0x2009cca3 in command_loop_1 () at keyboard.c:1531
#19 0x200feb8e in internal_condition_case (bfun=0x2009cb10 <command_loop_1>,
   handlers=539818585, hfun=0x2009c600 <cmd_error>) at eval.c:1385
#20 0x2009c95e in command_loop_2 () at keyboard.c:1312
#21 0x200fe6cb in internal_catch (tag=539811777,
   func=0x2009c930 <command_loop_2>, arg=539750401) at eval.c:1144
#22 0x2009c903 in command_loop () at keyboard.c:1291
#23 0x2009c364 in recursive_edit_1 () at keyboard.c:984
#24 0x2009c4a1 in Frecursive_edit () at keyboard.c:1045
#25 0x2009abd3 in main (argc=3, argv=0x203a59c0) at emacs.c:1763
(gdb)
(gdb) backtrace
#0  abort () at emacs.c:454
#1  0x200eb686 in mark_object (arg=536988159) at alloc.c:5415
#2  0x200ead9e in Fgarbage_collect () at alloc.c:4781
#3  0x20100107 in Feval (form=556821325) at eval.c:2029
#4  0x200fec94 in internal_condition_case_1 (bfun=0x200ffa30 <Feval>,
   arg=556821325, handlers=539818585,
   hfun=0x200a45d0 <menu_item_eval_property_1>) at eval.c:1426
#5 0x200a4664 in menu_item_eval_property (sexpr=556821325) at keyboard.c:7152
#6  0x200ac5be in get_keyelt (object=540039697, autoload=1) at keymap.c:803
#7  0x200abc97 in access_keymap (map=539781365, idx=539804297, t_ok=2,
   noinherit=0, autoload=1) at keymap.c:637
#8  0x200a4f86 in tool_bar_items (reuse=557506564, nitems=0x22e058)
   at keyboard.c:7609
#9  0x2001cca8 in update_tool_bar (f=0x20c92c00, save_match_data=0)
   at xdisp.c:8508
#10 0x2001c78c in prepare_menu_bars () at xdisp.c:8214
#11 0x2001ebd6 in redisplay_internal (preserve_echo_area=1) at xdisp.c:9889
#12 0x2001faf9 in redisplay_preserve_echo_area (from_where=8) at xdisp.c:10484
#13 0x200a864e in detect_input_pending_run_timers (do_display=1)
   at keyboard.c:9887
#14 0x20130827 in wait_reading_process_output (time_limit=30, microsecs=0,
   read_kbd=-1, do_display=1, wait_for_cell=539750401, wait_proc=0x0,
   just_wait_proc=0) at process.c:4452
#15 0x200092e7 in sit_for (sec=30, usec=0, reading=1, display=1,
---Type <return> to continue, or q <return> to quit---
   initial_display=0) at dispnew.c:6367
#16 0x2009fafd in read_char (commandflag=1, nmaps=2, maps=0x22e9ec,
   prev_event=539750401, used_mouse_menu=0x22ea28) at keyboard.c:2762
#17 0x200a64b4 in read_key_sequence (keybuf=0x22eb80, bufsize=30,
   prompt=539750401, dont_downcase_last=0, can_return_switch_frame=1,
   fix_current_buffer=1) at keyboard.c:8818
#18 0x2009cca3 in command_loop_1 () at keyboard.c:1531
#19 0x200feb8e in internal_condition_case (bfun=0x2009cb10 <command_loop_1>,
   handlers=539818585, hfun=0x2009c600 <cmd_error>) at eval.c:1385
#20 0x2009c95e in command_loop_2 () at keyboard.c:1312
#21 0x200fe6cb in internal_catch (tag=539811777,
   func=0x2009c930 <command_loop_2>, arg=539750401) at eval.c:1144
#22 0x2009c903 in command_loop () at keyboard.c:1291
#23 0x2009c364 in recursive_edit_1 () at keyboard.c:984
#24 0x2009c4a1 in Frecursive_edit () at keyboard.c:1045
#25 0x2009abd3 in main (argc=3, argv=0x203a59c0) at emacs.c:1763
(gdb)
(gdb) xbacktrace
(gdb) q
The program is running.  Exit anyway? (y or n) n
Not confirmed.
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x610d2f34 in memmove () from /usr/bin/cygwin1.dll
(gdb) xbacktrace
"format"
"server-sentinel"
(gdb) where
#0  0x610d2f34 in memmove () from /usr/bin/cygwin1.dll
#1  0x20105aa1 in concat (nargs=1, args=0x22d300, target_type=Lisp_String,
   last_special=0) at fns.c:691
#2  0x20105380 in Fcopy_sequence (arg=556030275) at fns.c:527
#3  0x200f8f5b in Fformat (nargs=2, args=0x22d498) at editfns.c:3346
#4  0x20100e2a in Ffuncall (nargs=3, args=0x22d494) at eval.c:2756
#5 0x20129a3e in Fbyte_code (bytestr=556030227, vector=555408260, maxdepth=48)
   at bytecode.c:686
#6 0x201010d3 in funcall_lambda (fun=555822660, nargs=2, arg_vector=0x22d5d0)
   at eval.c:2962
#7  0x20100b6d in Ffuncall (nargs=3, args=0x22d5cc) at eval.c:2832
#8  0x20100275 in Fapply (nargs=2, args=0x22d650) at eval.c:2280
#9  0x201007c8 in apply1 (fn=556019337, arg=556821373) at eval.c:2536
#10 0x201310ed in read_process_output_call (fun_and_args=556821381)
   at process.c:4710
#11 0x200fec94 in internal_condition_case_1 (
   bfun=0x201310d0 <read_process_output_call>, arg=556821381,
   handlers=539818585, hfun=0x201331d0 <exec_sentinel_error_handler>)
   at eval.c:1426
#12 0x20133334 in exec_sentinel (proc=555849476, reason=556983875)
   at process.c:6348
#13 0x20133536 in status_notify () at process.c:6449
#14 0x2012baa7 in Fdelete_process (process=555849476) at process.c:785
#15 0x20132f8c in kill_buffer_processes (buffer=539750401) at process.c:6109
---Type <return> to continue, or q <return> to quit---
#16 0x2009b6da in shut_down_emacs (sig=6, no_x=0, stuff=539750401)
   at emacs.c:2107
#17 0x20099d37 in fatal_error_signal (sig=6) at emacs.c:403
#18 0x61026e69 in strerror () from /usr/bin/cygwin1.dll
#19 0x610932fc in sigfillset () from /usr/bin/cygwin1.dll
#20 0x610902f0 in writev () from /usr/bin/cygwin1.dll
(gdb) backtrace
#0  0x610d2f34 in memmove () from /usr/bin/cygwin1.dll
#1  0x20105aa1 in concat (nargs=1, args=0x22d300, target_type=Lisp_String,
   last_special=0) at fns.c:691
#2  0x20105380 in Fcopy_sequence (arg=556030275) at fns.c:527
#3  0x200f8f5b in Fformat (nargs=2, args=0x22d498) at editfns.c:3346
#4  0x20100e2a in Ffuncall (nargs=3, args=0x22d494) at eval.c:2756
#5 0x20129a3e in Fbyte_code (bytestr=556030227, vector=555408260, maxdepth=48)
   at bytecode.c:686
#6 0x201010d3 in funcall_lambda (fun=555822660, nargs=2, arg_vector=0x22d5d0)
   at eval.c:2962
#7  0x20100b6d in Ffuncall (nargs=3, args=0x22d5cc) at eval.c:2832
#8  0x20100275 in Fapply (nargs=2, args=0x22d650) at eval.c:2280
#9  0x201007c8 in apply1 (fn=556019337, arg=556821373) at eval.c:2536
#10 0x201310ed in read_process_output_call (fun_and_args=556821381)
   at process.c:4710
#11 0x200fec94 in internal_condition_case_1 (
   bfun=0x201310d0 <read_process_output_call>, arg=556821381,
   handlers=539818585, hfun=0x201331d0 <exec_sentinel_error_handler>)
   at eval.c:1426
#12 0x20133334 in exec_sentinel (proc=555849476, reason=556983875)
   at process.c:6348
#13 0x20133536 in status_notify () at process.c:6449
#14 0x2012baa7 in Fdelete_process (process=555849476) at process.c:785
#15 0x20132f8c in kill_buffer_processes (buffer=539750401) at process.c:6109
---Type <return> to continue, or q <return> to quit---
#16 0x2009b6da in shut_down_emacs (sig=6, no_x=0, stuff=539750401)
   at emacs.c:2107
#17 0x20099d37 in fatal_error_signal (sig=6) at emacs.c:403
#18 0x61026e69 in strerror () from /usr/bin/cygwin1.dll
#19 0x610932fc in sigfillset () from /usr/bin/cygwin1.dll
#20 0x610902f0 in writev () from /usr/bin/cygwin1.dll
(gdb)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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