>>>> On 10 May 2000 14:37:46 +0200,
>>>> In message <by4s86zilh.fsf(a)midget.math.ethz.ch>,
>>>> Jan Vroonhof <vroonhof(a)math.ethz.ch> wrote:
Jan> Trying to be clever in stderr_out (which can be used in the middle of
Jan> a crash, redisplay etc) is bad juju.
Jan> Let's undo that change, so we can at least seee the real problem
I saw a similar crash to Daniel when starting a compile from within
XEmacs.
In XEmacs 21.2 (beta33) "Melpomene" [Lucid] (sparc-sun-solaris2.7) of Wed May
10 2000 on rhea
configured using `configure --prefix=/export/users/hamishm/xemacs
--site-prefixes=/export/users/hamishm/gnome:/export/users/hamishm --pdump
--with-athena=xaw --with-menubars=lucid --with-scrollbars=lucid --with-dialogs=athena
--with-widgets=athena --with-dragndrop=no --with-tooltalk=no'
cvs-upped at 9:41AM EDT (Canada) May 9 2000.
I applied Jan's patch and attempted to duplicate the problem. I could
not duplicate it with "xemacs -q" or "xemacs -vanilla", but I could
duplicate it with my usual XEmacs setup.
I've got the process sitting around in gdb if any further information
would help.
C and lisp backtraces follow:
where full
#0 0x161cf4 in std_handle_out_va (stream=0x349780, recode=0,
fmt=0xe <Address 0xe out of bounds>, args=0xffbed328) at print.c:149
kludge = "\nxemacs-21.2:
\000¨\000\000\000\001\000\000\000\004\000\000\000\000ÿ¾·Ð\000\000\000\006\000\000\000\t\000\000\000\001\000\000\000\000\000\000\000\001\000Oõ\200\000Oô\000ÿ\034{8ÿ\034{4\000\000\0004\0007¨\000ÿ7\212<ÿ¾ºø\000\036¸\000\fÜE\0003ì0\0003ì0\0003ì0\000\000\000\000\000\000\000\001\000\000\000/\000\000\000\032\000\000\002-\000\000ÿù\000\000\000\006ÿ\034@\000\000\000\000\001ÿÿ\000ó\000\000\000\000ÿ¾¸Hÿ¾¸Hÿ¾µ(\000Dº\200\001\024\177\200\000\000\000\001\000\000\000\000\001\034ô\000ÿ\034{8ÿ\034{4\000\000\0004\0007¨\000ÿ7\212<"...
extptr = (Extbyte *) 0x0
extlen = 0
retval = 14
#1 0x161d44 in stderr_out (fmt=0x24ecc0 "\n%s: ") at print.c:200
No locals.
#2 0x1b5cf0 in x_error_handler (disp=0x3bd800, event=0xffbed3b0)
at device-x.c:1064
No locals.
#3 0xff0c37ec in _XError () from /usr/lib/libX11.so.4
No symbol table info available.
#4 0xff0b70a8 in _XEventsQueued () from /usr/lib/libX11.so.4
No symbol table info available.
#5 0xff0bf2c8 in XCheckIfEvent () from /usr/lib/libX11.so.4
No symbol table info available.
#6 0x1bd598 in emacs_Xt_quit_p () at event-Xt.c:2719
critical_quit = 0
event = {type = -4270520, xany = {type = -4270520, serial = 5,
send_event = 19, display = 0x1, window = 4290697112}, xkey = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, root = 4290696796, subwindow = 4290696800, time = 1,
x = -4270524, y = -4270480, x_root = 3468288, y_root = 19,
state = 3421184, keycode = 4290696768, same_screen = -4270492}, xbutton = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, root = 4290696796, subwindow = 4290696800, time = 1,
x = -4270524, y = -4270480, x_root = 3468288, y_root = 19,
state = 3421184, button = 4290696768, same_screen = -4270492}, xmotion = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, root = 4290696796, subwindow = 4290696800, time = 1,
x = -4270524, y = -4270480, x_root = 3468288, y_root = 19,
state = 3421184, is_hint = -1 'ÿ', same_screen = -4270492}, xcrossing = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, root = 4290696796, subwindow = 4290696800, time = 1,
x = -4270524, y = -4270480, x_root = 3468288, y_root = 19, mode = 3421184,
detail = -4270528, same_screen = -4270492, focus = 464896,
state = 22669596}, xfocus = {type = -4270520, serial = 5, send_event = 19,
display = 0x1, window = 4290697112, mode = -4270500, detail = -4270496},
xexpose = {type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, x = -4270500, y = -4270496, width = 1,
height = -4270524, count = -4270480}, xgraphicsexpose = {type = -4270520,
serial = 5, send_event = 19, display = 0x1, drawable = 4290697112,
x = -4270500, y = -4270496, width = 1, height = -4270524,
count = -4270480, major_code = 3468288, minor_code = 19}, xnoexpose = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
drawable = 4290697112, major_code = -4270500, minor_code = -4270496},
xvisibility = {type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, state = -4270500}, xcreatewindow = {type = -4270520,
serial = 5, send_event = 19, display = 0x1, parent = 4290697112,
window = 4290696796, x = -4270496, y = 1, width = -4270524,
height = -4270480, border_width = 3468288, override_redirect = 19},
xdestroywindow = {type = -4270520, serial = 5, send_event = 19,
display = 0x1, event = 4290697112, window = 4290696796}, xunmap = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
event = 4290697112, window = 4290696796, from_configure = -4270496},
xmap = {type = -4270520, serial = 5, send_event = 19, display = 0x1,
event = 4290697112, window = 4290696796, override_redirect = -4270496},
xmaprequest = {type = -4270520, serial = 5, send_event = 19, display = 0x1,
parent = 4290697112, window = 4290696796}, xreparent = {type = -4270520,
serial = 5, send_event = 19, display = 0x1, event = 4290697112,
window = 4290696796, parent = 4290696800, x = 1, y = -4270524,
override_redirect = -4270480}, xconfigure = {type = -4270520, serial = 5,
send_event = 19, display = 0x1, event = 4290697112, window = 4290696796,
x = -4270496, y = 1, width = -4270524, height = -4270480,
border_width = 3468288, above = 19, override_redirect = 3421184},
xgravity = {type = -4270520, serial = 5, send_event = 19, display = 0x1,
event = 4290697112, window = 4290696796, x = -4270496, y = 1},
xresizerequest = {type = -4270520, serial = 5, send_event = 19,
display = 0x1, window = 4290697112, width = -4270500, height = -4270496},
xconfigurerequest = {type = -4270520, serial = 5, send_event = 19,
display = 0x1, parent = 4290697112, window = 4290696796, x = -4270496,
y = 1, width = -4270524, height = -4270480, border_width = 3468288,
above = 19, detail = 3421184, value_mask = 4290696768}, xcirculate = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
event = 4290697112, window = 4290696796, place = -4270496},
xcirculaterequest = {type = -4270520, serial = 5, send_event = 19,
display = 0x1, parent = 4290697112, window = 4290696796,
place = -4270496}, xproperty = {type = -4270520, serial = 5,
send_event = 19, display = 0x1, window = 4290697112, atom = 4290696796,
time = 4290696800, state = 1}, xselectionclear = {type = -4270520,
serial = 5, send_event = 19, display = 0x1, window = 4290697112,
selection = 4290696796, time = 4290696800}, xselectionrequest = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
owner = 4290697112, requestor = 4290696796, selection = 4290696800,
target = 1, property = 4290696772, time = 4290696816}, xselection = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
requestor = 4290697112, selection = 4290696796, target = 4290696800,
property = 1, time = 4290696772}, xcolormap = {type = -4270520,
serial = 5, send_event = 19, display = 0x1, window = 4290697112,
colormap = 4290696796, new = -4270496, state = 1}, xclient = {
type = -4270520, serial = 5, send_event = 19, display = 0x1,
window = 4290697112, message_type = 4290696796, format = -4270496, data = {
b = "\000\000\000\001ÿ¾ÖDÿ¾Öp\0004ì\000\000\000\000\023", s = {0, 1,
-66, -10684, -66, -10640, 52, -5120, 0, 19}, l = {1, -4270524,
-4270480, 3468288, 19}}}, xmapping = {type = -4270520, serial = 5,
send_event = 19, display = 0x1, window = 4290697112, request = -4270500,
first_keycode = -4270496, count = 1}, xerror = {type = -4270520,
display = 0x5, resourceid = 19, serial = 1, error_code = 255 'ÿ',
request_code = 190 '¾', minor_code = 215 '×'}, xkeymap = {type =
-4270520,
serial = 5, send_event = 19, display = 0x1, window = 4290697112,
key_vector =
"ÿ¾Ö\\ÿ¾Ö`\000\000\000\001ÿ¾ÖDÿ¾Öp\0004ì\000\000\000\000\023\00044"}, pad =
{-4270520, 5, 19, 1, -4270184, -4270500, -4270496, 1, -4270524,
-4270480, 3468288, 19, 3421184, -4270528, -4270492, 464896, 22669596, 5,
-22073444, 22669584, 17404088, 1, -4270456, 461508}}
devcons = 4326556
concons = 4326436
#7 0xdf238 in event_stream_quit_p () at event-stream.c:608
No locals.
#8 0x195c94 in check_what_happened () at signal.c:500
No locals.
#9 0xa13e8 in Ffuncall (nargs=2, args=0xffbed824) at eval.c:3164
fun = 0
val = 2
backtrace = {next = 0xffbed978, function = 0xffbed824,
args = 0xffbed828, nargs = 3, pdlcount = 16, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 2
fun_args = (Lisp_Object *) 0xffbed828
#10 0x70f6c in execute_optimized_program (
program=0x11b88e9
"\210ù\0166ú\"\210û\0166!`\t\223\210\0166\016<B\026<*ª,ýþÍÿ\016%\"\"\210\201@",
stack_depth=2, constants_data=0x7af410) at bytecode.c:747
n = 2
opcode = 2
program_ptr = (
Opbyte *) 0x11b88e9
"\210ù\0166ú\"\210û\0166!`\t\223\210\0166\016<B\026<*ª,ýþÍÿ\016%\"\"\210\201@"
stack_ptr = (Lisp_Object *) 0xffbed824
speccount = 8
gcpro1 = {next = 0xffbeda10, var = 0xffbed824, nvars = 8}
stack_beg = (Lisp_Object *) 0xffbed820
stack_end = (Lisp_Object *) 0xffbed840
#11 0x70acc in funcall_compiled_function (fun=8874296, nargs=2,
args=0xffbeda08) at bytecode.c:519
value = -22600136
symbol = 3411968
tail = -22600136
speccount = 2
i = 2
optional = 1
#12 0xa17f0 in Ffuncall (nargs=2, args=0xffbeda04) at eval.c:3253
fun = 8874296
val = 2
backtrace = {next = 0xffbedb40, function = 0xffbeda04,
args = 0xffbeda08, nargs = 2, pdlcount = 2, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 2
fun_args = (Lisp_Object *) 0xffbeda08
#13 0x70f6c in execute_optimized_program (program=0xf3fb9c "\207",
stack_depth=2, constants_data=0x82e890) at bytecode.c:747
n = 2
opcode = 2
program_ptr = (Opbyte *) 0xf3fb9c "\207"
stack_ptr = (Lisp_Object *) 0xffbeda04
speccount = 2
gcpro1 = {next = 0xffbedc50, var = 0xffbeda04, nvars = 3}
stack_beg = (Lisp_Object *) 0xffbeda00
stack_end = (Lisp_Object *) 0xffbeda0c
#14 0x70acc in funcall_compiled_function (fun=8874156, nargs=1,
args=0xffbedc4c) at bytecode.c:519
value = 0
symbol = 3411968
tail = -22600136
speccount = 1
i = 1
optional = 0
#15 0xa17f0 in Ffuncall (nargs=1, args=0xffbedc48) at eval.c:3253
fun = 8874156
val = 1
backtrace = {next = 0xffbedea0, function = 0xffbedc48,
args = 0xffbedc4c, nargs = 1, pdlcount = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 1
fun_args = (Lisp_Object *) 0xffbedc4c
#16 0xa1d60 in Fapply (nargs=2, args=0xffbedc48) at eval.c:3431
fun = 8874156
spread_arg = 19121812
numargs = 1
funcall_nargs = 2291712
#17 0xa4f68 in apply1 (fn=8874156, arg=19121812) at eval.c:3841
gcpro1 = {next = 0xffbeddd8, var = 0xffbedc48, nvars = 2}
args = {8874156, 7166980}
#18 0x757e4 in Fcall_interactively (function=-22679792, record_flag=-22600136,
keys=-22600136) at callint.c:394
gcpro1 = {next = 0xffbedf40, var = 0xffbede5c, nvars = 1}
gcpro2 = {next = 0xffbedde8, var = 0xffbedd50, nvars = 1}
gcpro3 = {next = 0xffbeddf8, var = 0xffbedd4c, nvars = 1}
i = -22600136
input = 9433824
speccount = 1
prefix = -22600136
fun = 8874156
specs = 19121812
prompt_data = 0x0
prompt_index = 27
argcount = 3
set_zmacs_region_stays = 0
mouse_event_count = 0
#19 0xa163c in Ffuncall (nargs=-1, args=0xffbedf2c) at eval.c:3218
PF_fn = (void (*)()) 0x750d8 <Fcall_interactively>
max_args = -22600136
spacious_args = {-22679792, -22600136, -22600136, 0, 5529320, 4,
463596, -22600136}
fun = 479448
val = -1
backtrace = {next = 0xffbee070, function = 0xffbedf2c,
args = 0xffbedf30, nargs = 1, pdlcount = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = -1
fun_args = (Lisp_Object *) 0xffbede80
#20 0x70f6c in execute_optimized_program (program=0x114734a "\207w",
stack_depth=1, constants_data=0x4d4290) at bytecode.c:747
n = 1
opcode = 1
program_ptr = (Opbyte *) 0x114734a "\207w"
stack_ptr = (Lisp_Object *) 0xffbedf2c
speccount = 1
gcpro1 = {next = 0xffbee288, var = 0xffbedf2c, nvars = 4}
stack_beg = (Lisp_Object *) 0xffbedf28
stack_end = (Lisp_Object *) 0xffbedf38
#21 0x70acc in funcall_compiled_function (fun=5529320, nargs=0,
args=0xffbee168) at bytecode.c:519
value = -4267668
symbol = 3411968
tail = -22600136
speccount = 1
i = 0
optional = 0
#22 0xa17f0 in Ffuncall (nargs=0, args=0xffbee164) at eval.c:3253
fun = 5529320
val = 0
backtrace = {next = 0xffbee340, function = 0xffbee164,
args = 0xffbee168, nargs = 0, pdlcount = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 0
fun_args = (Lisp_Object *) 0xffbee168
#23 0xa4f84 in apply1 (fn=5529320, arg=-22600136) at eval.c:3836
gcpro1 = {next = 0x0, var = 0x0, nvars = 0}
args = {0, 0}
#24 0x757e4 in Fcall_interactively (function=5570100, record_flag=-22600136,
keys=-22600136) at callint.c:394
gcpro1 = {next = 0xffbee3c8, var = 0xffbee30c, nvars = 1}
gcpro2 = {next = 0xffbee298, var = 0xffbee200, nvars = 1}
gcpro3 = {next = 0xffbee2a8, var = 0xffbee1fc, nvars = 1}
i = 583
input = -22600136
speccount = 1
prefix = -22600136
fun = 5529320
specs = -22600136
prompt_data = 0x0
prompt_index = -22600136
argcount = 2595840
set_zmacs_region_stays = 0
mouse_event_count = 0
#25 0xa0078 in Fcommand_execute (cmd=5570100, record=-22600136, keys=-22600136)
at eval.c:2656
prefixarg = -22600136
final = 3411968
backtrace = {next = 0x0, function = 0x36f200, args = 0xffbee3ac,
nargs = 1, pdlcount = 1, evalargs = 0 '\000', debug_on_exit = 0 '\000'}
#26 0xdcf4c in execute_command_event (command_builder=0x409a80, event=19451136)
at event-stream.c:3836
old_kbd_macro = 0
gcpro1 = {next = 0xffbee4d8, var = 0xffbee430, nvars = 1}
#27 0xdd800 in Fdispatch_event (event=19451136) at event-stream.c:4155
leaf = 5570100
console = 3828992
channel = 5570100
#28 0x7c498 in Fcommand_loop_1 () at cmdloop.c:575
event = 19451136
old_loop = -22600136
gcpro1 = {next = 0xffbee5e0, var = 0xffbee4d4, nvars = 1}
gcpro2 = {next = 0xffbee4e8, var = 0xffbee4d0, nvars = 1}
was_locked = 0
#29 0x7c73c in command_loop_1 (dummy=-22600136) at cmdloop.c:490
No locals.
#30 0x9db70 in condition_case_1 (handlers=2595840,
bfun=0x7c6f0 <command_loop_1>, barg=-22600136, hfun=0x7c79c <cmd_error>,
harg=-22600136) at eval.c:1644
obj = 509680
speccount = 0
c = {tag = 11576068, val = -22600136, next = 0xffbee738, gcpro = 0x0,
jmp = {0, -4266632, 645884, 1056, 256, 0 <repeats 11 times>, -4718592,
458752, 0}, backlist = 0x0, lisp_eval_depth = 0, pdlcount = 0}
gcpro1 = {next = 0x0, var = 0xffbee6bc, nvars = 1}
#31 0x7c8ac in command_loop_2 (dummy=-22600136) at cmdloop.c:252
No locals.
#32 0xa5744 in internal_catch (tag=-22768304, func=0x7c860 <command_loop_2>,
arg=-22600136, threw=0x0) at eval.c:1310
c = {tag = -22768304, val = -22600136, next = 0x0, gcpro = 0x0, jmp = {
0, -4266280, 677648, 3689984, 3421184, 0, 0, 0, -4266024, 530148, 0,
3684352, -22600136, 3684352, 0, 3416064, -4489216, 229376, 0},
backlist = 0x0, lisp_eval_depth = 0, pdlcount = 0}
#33 0x7bbf4 in initial_command_loop (load_me=-22600136) at cmdloop.c:301
No locals.
#34 0x999cc in sort_args (argc=2184192, argv=0xffbee9ac) at emacs.c:2008
stack_bottom_variable = 0 '\000'
skip_args = 2419904
load_me = -22600136
inhibit_window_system = 0
(gdb) call Fbacktrace(Qexternal_debugging_output , Qt)
# bind (proc process-environment)
# (unwind-protect ...)
# bind (regexp-alist parser thisdir buffer-save outwin outbuf name-function regexp-alist
parser name-of-mode error-message command)
compile-internal("../../scripts/pmake.pl " "No more errors")
# bind (command)
#<compiled-function (command) "...(13)" [command compile-command
save-some-buffers compilation-ask-about-save nil compile-internal "No more
errors"] 3
("/export/users/hamishm/xemacs/lib/xemacs/xemacs-packages/lisp/xemacs-base/compile.elc"
. 13101) (byte-code "¬ «ÂÃ
@k«ÆªÅ#CC" [compilation-read-command current-prefix-arg read-shell-command "Compile
command: " compile-command compile-history ...] 5)>("../../scripts/pmake.pl
")
call-interactively(compile)
#<compiled-function nil "...(59)" [buffer-file-name major-mode
emacs-lisp-mode y-or-n-p "Byte-compile " "? " save-some-buffers
byte-compile-file message "" assoc compile-command buffer-local-variables
make-variable-buffer-local file-exists-p "Makefile" "make -k"
"jam" call-interactively compile] 4
("/export/users/hamishm/emacs/my-functs.elc" . 5717) nil>()
call-interactively(set-compile-command-and-compile)
# (condition-case ... . error)
# (catch top-level ...)
$6 = -22600136
(gdb)