emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs hangs when loading image


From: Alex Schroeder
Subject: Re: emacs hangs when loading image
Date: Mon, 27 Dec 2004 02:20:39 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Lars Hansen <address@hidden> writes:

> In the thread "Emacs loops on large images" from the start of december I 
> reported that Emacs often loops when trying to display images larger 
> than the window. Maybe the problem you have seen is the same.

I don't think so.  It has something to do with processes.
Notice:

#5  0x08175641 in Faccept_process_output (process=162478740, timeout=0,
    timeout_msecs=137362409, just_this_one=137362409) at process.c:3778

And today, while I was working a lot with eshell and CVS, I got
another hang...  This time I find read_process_output_call on the
stack...  Weird.

When I continued today's crash, waited a while, and interrupted it
again, I got a huge stack of mark_object stuff, so I think that's
something else...  If only I know more about debugging Emacs.

#4758 0x08131a51 in mark_object (arg=145) at alloc.c:5376
#4759 0x081314d0 in mark_object (arg=145) at alloc.c:5265
#4760 0x08131a51 in mark_object (arg=145) at alloc.c:5376
#4761 0x081314d0 in mark_object (arg=145) at alloc.c:5265
#4762 0x081317df in mark_object (arg=145) at alloc.c:5251
#4763 0x081314c6 in mark_object (arg=145) at alloc.c:5264

Alex.


#0  0x08103e63 in adjust_markers_for_replace (from=106, from_byte=106, 
old_chars=8,
    old_bytes=106, new_chars=0, new_bytes=0) at insdel.c:493
#1  0x081056f0 in replace_range (from=106, to=114, new=157596715, prepare=1, 
inherit=0,
    markers=1) at insdel.c:1622
#2  0x08120a89 in Freplace_match (newtext=157596715, fixedcase=137362457,
    literal=137362457, string=137362409, subexp=106) at search.c:2613
#3  0x08145c71 in Feval (form=135967376) at eval.c:2143
#4  0x081433e0 in Fprogn (args=159729064) at eval.c:408
#5  0x08145d6f in Feval (form=137077404) at eval.c:2076
#6  0x08146649 in Ffuncall (nargs=2, args=0xbfffd124) at eval.c:2774
#7  0x0816f20d in Fbyte_code (bytestr=140620265, vector=1, maxdepth=-1073753824)
    at bytecode.c:686
#8  0x0814696d in funcall_lambda (fun=140422260, nargs=3, arg_vector=0xbfffd244)
    at eval.c:2961
#9  0x0814651c in Ffuncall (nargs=4, args=0xbfffd240) at eval.c:2831
#10 0x0816f20d in Fbyte_code (bytestr=140620817, vector=3, maxdepth=-1073753536)
    at bytecode.c:686
#11 0x0814696d in funcall_lambda (fun=139481596, nargs=3, arg_vector=0xbfffd374)
    at eval.c:2961
#12 0x0814651c in Ffuncall (nargs=4, args=0xbfffd370) at eval.c:2831
#13 0x0816f20d in Fbyte_code (bytestr=140620817, vector=3, maxdepth=-1073753232)
    at bytecode.c:686
#14 0x0814696d in funcall_lambda (fun=139255908, nargs=2, arg_vector=0xbfffd494)
    at eval.c:2961
#15 0x0814651c in Ffuncall (nargs=3, args=0xbfffd490) at eval.c:2831
#16 0x0816f20d in Fbyte_code (bytestr=137614249, vector=2, maxdepth=-1073752944)
    at bytecode.c:686
#17 0x0814696d in funcall_lambda (fun=139482020, nargs=3, arg_vector=0xbfffd654)
    at eval.c:2961
#18 0x0814651c in Ffuncall (nargs=4, args=0xbfffd650) at eval.c:2831
#19 0x0814620e in run_hook_list_with_args (funlist=148486861, nargs=4, 
args=0xbfffd650)
    at eval.c:2494
#20 0x081066f4 in signal_after_change (charpos=110, lendel=0, lenins=4095)
    at insdel.c:2270
#21 0x0810483a in insert_from_string_before_markers (string=149682691, pos=0,
---Type <return> to continue, or q <return> to quit---
    pos_byte=0, length=4095, length_byte=106, inherit=159729064) at 
insdel.c:1087
#22 0x0813d072 in general_insert_function (
    insert_func=0x8104410 <insert_before_markers>,
    insert_from_string_func=0x81047d0 <insert_from_string_before_markers>, 
inherit=0,
    nargs=1, args=0xbfffd794) at editfns.c:2073
#23 0x0813d1af in Finsert_before_markers (nargs=1, args=0xbfffd794) at 
editfns.c:2160
#24 0x08146701 in Ffuncall (nargs=2, args=0xbfffd790) at eval.c:2755
#25 0x0816f20d in Fbyte_code (bytestr=137436817, vector=1, maxdepth=-1073752176)
    at bytecode.c:686
#26 0x0814696d in funcall_lambda (fun=148549500, nargs=2, arg_vector=0xbfffd8b4)
    at eval.c:2961
#27 0x0814651c in Ffuncall (nargs=3, args=0xbfffd8b0) at eval.c:2831
#28 0x08145ed3 in Fapply (nargs=2, args=0xbfffd930) at eval.c:2279
#29 0x081462d5 in apply1 (fn=159902705, arg=159832925) at eval.c:2535
#30 0x08176b28 in read_process_output_call (fun_and_args=159832917) at 
process.c:4710
#31 0x08144b01 in internal_condition_case_1 (bfun=0x8176b10 
<read_process_output_call>,
    arg=159832917, handlers=137423409,
    hfun=0x8176b30 <read_process_output_error_handler>) at eval.c:1425
#32 0x08176dc3 in read_process_output (proc=140565100, channel=4095) at 
process.c:4933
#33 0x081762e4 in wait_reading_process_output (time_limit=-1, microsecs=0, 
read_kbd=0,
    do_display=0, wait_for_cell=137362409, wait_proc=0x89a6128, 
just_wait_proc=0)
    at process.c:4550
#34 0x08175641 in Faccept_process_output (process=144335148, timeout=0,
    timeout_msecs=137362409, just_this_one=137362409) at process.c:3778
#35 0x08146649 in Ffuncall (nargs=2, args=0xbfffedd0) at eval.c:2774
#36 0x0816f20d in Fbyte_code (bytestr=138114633, vector=1, maxdepth=-1073746368)
    at bytecode.c:686
#37 0x0814696d in funcall_lambda (fun=143156660, nargs=0, arg_vector=0xbfffef74)
    at eval.c:2961
#38 0x0814651c in Ffuncall (nargs=1, args=0xbfffef70) at eval.c:2831
#39 0x0816f20d in Fbyte_code (bytestr=137420097, vector=0, maxdepth=-1073746064)
    at bytecode.c:686
#40 0x0814696d in funcall_lambda (fun=143936684, nargs=0, arg_vector=0xbffff10c)
    at eval.c:2961
#41 0x0814651c in Ffuncall (nargs=1, args=0xbffff108) at eval.c:2831
---Type <return> to continue, or q <return> to quit---
#42 0x0814611c in run_hook_with_args (nargs=1, args=0xbffff108, 
cond=to_completion)
    at eval.c:2442
#43 0x08145fc5 in Frun_hooks (nargs=1, args=0xbffff1b4) at eval.c:2310
#44 0x08146701 in Ffuncall (nargs=2, args=0xbffff1b0) at eval.c:2755
#45 0x08146328 in call1 (fn=137447289, arg1=137415433) at eval.c:2568
#46 0x080e6397 in safe_run_hooks_1 (hook=137362457) at keyboard.c:2037
#47 0x081449ea in internal_condition_case (bfun=0x80e6380 <safe_run_hooks_1>,
    handlers=137362457, hfun=0x80e63a0 <safe_run_hooks_error>) at eval.c:1384
#48 0x080e642b in safe_run_hooks (hook=137415433) at keyboard.c:2065
#49 0x080e4db4 in command_loop_1 () at keyboard.c:1804
#50 0x081449ea in internal_condition_case (bfun=0x80e4a10 <command_loop_1>,
    handlers=137423409, hfun=0x80e4500 <cmd_error>) at eval.c:1384
#51 0x080e4826 in command_loop_2 () at keyboard.c:1312
#52 0x0814452a in internal_catch (tag=106, func=0x80e4800 <command_loop_2>,
    arg=137362409) at eval.c:1144
#53 0x080e47d5 in command_loop () at keyboard.c:1291
#54 0x080e4240 in recursive_edit_1 () at keyboard.c:984
#55 0x080e438c in Frecursive_edit () at keyboard.c:1045
#56 0x080e29e6 in main (argc=1, argv=0xbffff914) at emacs.c:1760



-- 
.O.  http://www.emacswiki.org/alex/
..O  Schroeder's fifth law:
OOO  Never accept more work than you can handle in one night of hacking.




reply via email to

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