GNU bug report logs - #15079
24.3.50; emacs using 100% cpu if frame closes after workspace change

Previous Next

Package: emacs;

Reported by: Robert Marshall <robert <at> capuchin.co.uk>

Date: Mon, 12 Aug 2013 19:43:01 UTC

Severity: normal

Found in version 24.3.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15079 in the body.
You can then email your comments to 15079 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15079; Package emacs. (Mon, 12 Aug 2013 19:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Marshall <robert <at> capuchin.co.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 12 Aug 2013 19:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Marshall <robert <at> capuchin.co.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; emacs using 100% cpu if frame closes after workspace change
Date: Mon, 12 Aug 2013 20:41:25 +0100
If I start emacs -Q and evaluate the following code
(make-frame-command)
(sleep-for 6)
(delete-frame)

and while the sleep is happening I move to a different workspace (I'm
using kde/plasma as a desktop environment) then emacs starts using 100%
of the cpu and on changing back to the original workspace Ctrl-G fails
to get back control.

Aside from this artificial example I'm using vm to handle email which
opens a new frame when preparing an email and closes the frame when
sending the email - the negotiation with the email server takes a little
time and if I - having sent the email but before the frame is closed -
move away to another workspace I'm consistently seeing emacs lock up.


#0  next_frame (frame=frame <at> entry=140016805, minibuf=138958034) at frame.c:1006
        f = <optimised out>
        tail = 140507326
        passed = 1
#1  0x08065fbf in delete_frame (frame=<optimised out>, force=138852962) at frame.c:1211
        tail = <optimised out>
        frame1 = <optimised out>
        f = 0x8587ca0
        sf = 0x8587ca0
        kb = <optimised out>
        minibuffer_selected = 0
        is_tooltip_frame = 0
#2  0x0818ba5d in eval_sub (form=form <at> entry=142829710) at eval.c:2226
        numargs = <optimised out>
        args_left = <optimised out>
        i = 2
        maxargs = 2
        argvals = {138852962, 138852962, 146955248, 21, 135841975, 2, -1073747832, 143267872}
        fun = 136725205
        val = <optimised out>
        original_args = 138852962
        funcar = 2
#3  0x081ad762 in readevalloop (readcharfun=readcharfun <at> entry=146955253, stream=stream <at> entry=0x0, sourcename=144680281, sourcename <at> entry=143300769, printflag=false, unibyte=unibyte <at> entry=138852962, readfun=138852962, start=138852962, end=138852962) at lread.c:1876
        c = <optimised out>
        val = 142829710
        b = <optimised out>
        continue_reading_p = <optimised out>
        lex_bound = <optimised out>
        whole_buffer = true
        first_sexp = <optimised out>
        macroexpand = 139016378
#4  0x081ade5b in Feval_buffer (buffer=138852962, printflag=138852962, filename=143300769, unibyte=138852962, do_allow_print=138852962) at lread.c:1937
        tem = 138890954
        buf = 146955253
#5  0x0818c5be in Ffuncall (nargs=nargs <at> entry=1, args=args <at> entry=0xbfffea20) at eval.c:2869
        fun = 138458821
        original_fun = <optimised out>
        funcar = 2
        numargs = 0
        val = <optimised out>
        internal_args = 0xbfffe960
        i = <optimised out>
#6  0x08188bcc in Fcall_interactively (function=140572538, record_flag=140522570, keys=138884037) at callint.c:839
        val = <optimised out>
        args = 0xbfffea20
        visargs = 0xbfffea00
        specs = <optimised out>
        filter_specs = <optimised out>
        teml = <optimised out>
        up_event = 138852962
        enable = 138852864
        next_event = 1
        prefix_arg = 138852962
        string = 0xbfffea40 ""
        tem = <optimised out>
        varies = 0xbfffe9f0 ""
        i = <optimised out>
        nargs = <optimised out>
        mark = <optimised out>
        arg_from_tty = <optimised out>
        key_count = 1
        record_then_fail = false
        save_this_command = 140572538
        save_last_command = 140661442
        save_this_original_command = 139015994
        save_real_this_command = 140572538
#7  0x0818c601 in Ffuncall (nargs=4, args=0xbfffeb5c) at eval.c:2860
        fun = 138454301
        original_fun = <optimised out>
        funcar = 2
        numargs = 3
        val = <optimised out>
        internal_args = 0xbfffeb60
        i = <optimised out>
#8  0x081bf44b in exec_byte_code (bytestr=140507326, vector=2, maxdepth=52, args_template=4100, nargs=2, args=0xbfffeb4c) at bytecode.c:905
        targets = {0x81bf486 <exec_byte_code+806>, 0x81bf4bc <exec_byte_code+860>, 0x81bf4be <exec_byte_code+862>, 0x81c09f5 <exec_byte_code+6293>, 0x81bf462 <exec_byte_code+770>, 0x81bf462 <exec_byte_code+770>, 0x81c09c7 <exec_byte_code+6247>, 0x81c0720 <exec_byte_code+5568>, 0x81c0840 <exec_byte_code+5856>, 0x81c0845 <exec_byte_code+5861>, 0x81c084a <exec_byte_code+5866>, 0x81c0855 <exec_byte_code+5877>, 0x81bf30a <exec_byte_code+426>, 0x81bf310 <exec_byte_code+432>, 0x81bf5f9 <exec_byte_code+1177>, 0x81c0820 <exec_byte_code+5824>, 0x81bff11 <exec_byte_code+3505>, 0x81bf4c0 <exec_byte_code+864>, 0x81bf4c5 <exec_byte_code+869>, 0x81bf4d5 <exec_byte_code+885>, 0x81bf363 <exec_byte_code+515>, 0x81bf368 <exec_byte_code+520>, 0x81bf4e5 <exec_byte_code+901>, 0x81bf548 <exec_byte_code+1000>, 0x81bf656 <exec_byte_code+1270>, 0x81bf65b <exec_byte_code+1275>, 0x81bf660 <exec_byte_code+1280>, 0x81bf665 <exec_byte_code+1285>, 0x81bf3c0 <exec_byte_code+608>, 0x81bf3c0 <exec_byte_code+608>, 0x81bf625 <exec_byte_code+1221>, 0x81bf636 <exec_byte_code+1238>, 0x81bf6a6 <exec_byte_code+1350>, 0x81bf6ab <exec_byte_code+1355>, 0x81bf6b0 <exec_byte_code+1360>, 0x81bf6b5 <exec_byte_code+1365>, 0x81bf42b <exec_byte_code+715>, 0x81bf430 <exec_byte_code+720>, 0x81bf675 <exec_byte_code+1301>, 0x81bf686 <exec_byte_code+1318>, 0x81bfa45 <exec_byte_code+2277>, 0x81bfa55 <exec_byte_code+2293>, 0x81bfa3b <exec_byte_code+2267>, 0x81bfa40 <exec_byte_code+2272>, 0x81bf3ed <exec_byte_code+653>, 0x81bf3f0 <exec_byte_code+656>, 0x81bf95d <exec_byte_code+2045>, 0x81bfa65 <exec_byte_code+2309>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bfdb6 <exec_byte_code+3158>, 0x81bfe30 <exec_byte_code+3280>, 0x81bfe5b <exec_byte_code+3323>, 0x81c069e <exec_byte_code+5438>, 0x81c06c9 <exec_byte_code+5481>, 0x81bfe86 <exec_byte_code+3366>, 0x81bfeb2 <exec_byte_code+3410>, 0x81c05fc <exec_byte_code+5276>, 0x81bf5c8 <exec_byte_code+1128>, 0x81bfee0 <exec_byte_code+3456>, 0x81c0621 <exec_byte_code+5313>, 0x81c064f <exec_byte_code+5359>, 0x81c0670 <exec_byte_code+5392>, 0x81c04a5 <exec_byte_code+4933>, 0x81c04d2 <exec_byte_code+4978>, 0x81c0536 <exec_byte_code+5078>, 0x81c0557 <exec_byte_code+5111>, 0x81c0585 <exec_byte_code+5157>, 0x81c05ba <exec_byte_code+5210>, 0x81c05db <exec_byte_code+5243>, 0x81bff16 <exec_byte_code+3510>, 0x81bff44 <exec_byte_code+3556>, 0x81bff72 <exec_byte_code+3602>, 0x81bffa0 <exec_byte_code+3648>, 0x81bffd5 <exec_byte_code+3701>, 0x81c0002 <exec_byte_code+3746>, 0x81c002f <exec_byte_code+3791>, 0x81c0093 <exec_byte_code+3891>, 0x81c00be <exec_byte_code+3934>, 0x81c00e9 <exec_byte_code+3977>, 0x81c0130 <exec_byte_code+4048>, 0x81c015e <exec_byte_code+4094>, 0x81c018c <exec_byte_code+4140>, 0x81c01ba <exec_byte_code+4186>, 0x81c01e8 <exec_byte_code+4232>, 0x81c0215 <exec_byte_code+4277>, 0x81c023b <exec_byte_code+4315>, 0x81c0268 <exec_byte_code+4360>, 0x81c0295 <exec_byte_code+4405>, 0x81c02c2 <exec_byte_code+4450>, 0x81c034a <exec_byte_code+4586>, 0x81bf492 <exec_byte_code+818>, 0x81c0373 <exec_byte_code+4627>, 0x81c0394 <exec_byte_code+4660>, 0x81c03f2 <exec_byte_code+4754>, 0x81c041b <exec_byte_code+4795>, 0x81c0444 <exec_byte_code+4836>, 0x81c0465 <exec_byte_code+4869>, 0x81c0485 <exec_byte_code+4901>, 0x81c06fd <exec_byte_code+5533>, 0x81c0f2c <exec_byte_code+7628>, 0x81bf486 <exec_byte_code+806>, 0x81c0ee8 <exec_byte_code+7560>, 0x81c0f0a <exec_byte_code+7594>, 0x81c0e61 <exec_byte_code+7425>, 0x81c0e83 <exec_byte_code+7459>, 0x81c0ea5 <exec_byte_code+7493>, 0x81c0ec7 <exec_byte_code+7527>, 0x81bf492 <exec_byte_code+818>, 0x81bf486 <exec_byte_code+806>, 0x81c0c87 <exec_byte_code+6951>, 0x81c0cc0 <exec_byte_code+7008>, 0x81c0ce1 <exec_byte_code+7041>, 0x81c0d02 <exec_byte_code+7074>, 0x81c0d30 <exec_byte_code+7120>, 0x81c0d5e <exec_byte_code+7166>, 0x81c0d7f <exec_byte_code+7199>, 0x81c0e33 <exec_byte_code+7379>, 0x81c09fa <exec_byte_code+6298>, 0x81c0a28 <exec_byte_code+6344>, 0x81c0a56 <exec_byte_code+6390>, 0x81c0a78 <exec_byte_code+6424>, 0x81bf486 <exec_byte_code+806>, 0x81bfa85 <exec_byte_code+2341>, 0x81bf6ee <exec_byte_code+1422>, 0x81bf568 <exec_byte_code+1032>, 0x81bf768 <exec_byte_code+1544>, 0x81bf7fe <exec_byte_code+1694>, 0x81bf85c <exec_byte_code+1788>, 0x81bfbb8 <exec_byte_code+2648>, 0x81bfbf9 <exec_byte_code+2713>, 0x81bf52b <exec_byte_code+971>, 0x81bfabd <exec_byte_code+2397>, 0x81bfc11 <exec_byte_code+2737>, 0x81bfc6a <exec_byte_code+2826>, 0x81bfc94 <exec_byte_code+2868>, 0x81bfcca <exec_byte_code+2922>, 0x81bfcf4 <exec_byte_code+2964>, 0x81bfd29 <exec_byte_code+3017>, 0x81bfd66 <exec_byte_code+3078>, 0x81bf6c5 <exec_byte_code+1381>, 0x81c0a99 <exec_byte_code+6457>, 0x81c0ace <exec_byte_code+6510>, 0x81c0aef <exec_byte_code+6543>, 0x81c0b10 <exec_byte_code+6576>, 0x81c0b31 <exec_byte_code+6609>, 0x81c0b52 <exec_byte_code+6642>, 0x81c0b80 <exec_byte_code+6688>, 0x81c0bae <exec_byte_code+6734>, 0x81c0bdc <exec_byte_code+6780>, 0x81c0c0a <exec_byte_code+6826>, 0x81c0c2b <exec_byte_code+6859>, 0x81c0c59 <exec_byte_code+6905>, 0x81c0865 <exec_byte_code+5893>, 0x81c088c <exec_byte_code+5932>, 0x81c08ba <exec_byte_code+5978>, 0x81c08e8 <exec_byte_code+6024>, 0x81c0914 <exec_byte_code+6068>, 0x81c0974 <exec_byte_code+6164>, 0x81c02ef <exec_byte_code+4495>, 0x81c031c <exec_byte_code+4540>, 0x81c0940 <exec_byte_code+6112>, 0x81c09a1 <exec_byte_code+6209>, 0x81bf486 <exec_byte_code+806>, 0x81bf8f1 <exec_byte_code+1937>, 0x81bf96e <exec_byte_code+2062>, 0x81bf9bf <exec_byte_code+2143>, 0x81bfae7 <exec_byte_code+2439>, 0x81bfb38 <exec_byte_code+2520>, 0x81c04ff <exec_byte_code+5023>, 0x81c005c <exec_byte_code+3836>, 0x81c03bb <exec_byte_code+4699>, 0x81c075f <exec_byte_code+5631>, 0x81c078c <exec_byte_code+5676>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81c07ca <exec_byte_code+5738>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81c07fe <exec_byte_code+5790> <repeats 64 times>}
        stack = {pc = 0x83ba4e8 <pure+1385032> "\006\006\071\203\225", byte_string = 137192225, byte_string_start = 0x83ba47a <pure+1384922> "\305\020\211?\205\f", next = 0xbfffed3c}
        result = 140507326
#9  0x0818c12e in funcall_lambda (fun=137192205, nargs=nargs <at> entry=2, arg_vector=arg_vector <at> entry=0xbfffecd8) at eval.c:3021
        val = <optimised out>
        syms_left = <optimised out>
        next = 4100
        lexenv = <optimised out>
        i = <optimised out>
        optional = <optimised out>
        rest = <optimised out>
#10 0x0818c3f3 in Ffuncall (nargs=3, args=0xbfffecd4) at eval.c:2914
        fun = <optimised out>
        original_fun = 138883778
        funcar = 2
        numargs = 2
        val = <optimised out>
        internal_args = <optimised out>
        i = <optimised out>
#11 0x081bf44b in exec_byte_code (bytestr=140507326, vector=2, maxdepth=60, args_template=2052, nargs=2, args=0x0) at bytecode.c:905
        targets = {0x81bf486 <exec_byte_code+806>, 0x81bf4bc <exec_byte_code+860>, 0x81bf4be <exec_byte_code+862>, 0x81c09f5 <exec_byte_code+6293>, 0x81bf462 <exec_byte_code+770>, 0x81bf462 <exec_byte_code+770>, 0x81c09c7 <exec_byte_code+6247>, 0x81c0720 <exec_byte_code+5568>, 0x81c0840 <exec_byte_code+5856>, 0x81c0845 <exec_byte_code+5861>, 0x81c084a <exec_byte_code+5866>, 0x81c0855 <exec_byte_code+5877>, 0x81bf30a <exec_byte_code+426>, 0x81bf310 <exec_byte_code+432>, 0x81bf5f9 <exec_byte_code+1177>, 0x81c0820 <exec_byte_code+5824>, 0x81bff11 <exec_byte_code+3505>, 0x81bf4c0 <exec_byte_code+864>, 0x81bf4c5 <exec_byte_code+869>, 0x81bf4d5 <exec_byte_code+885>, 0x81bf363 <exec_byte_code+515>, 0x81bf368 <exec_byte_code+520>, 0x81bf4e5 <exec_byte_code+901>, 0x81bf548 <exec_byte_code+1000>, 0x81bf656 <exec_byte_code+1270>, 0x81bf65b <exec_byte_code+1275>, 0x81bf660 <exec_byte_code+1280>, 0x81bf665 <exec_byte_code+1285>, 0x81bf3c0 <exec_byte_code+608>, 0x81bf3c0 <exec_byte_code+608>, 0x81bf625 <exec_byte_code+1221>, 0x81bf636 <exec_byte_code+1238>, 0x81bf6a6 <exec_byte_code+1350>, 0x81bf6ab <exec_byte_code+1355>, 0x81bf6b0 <exec_byte_code+1360>, 0x81bf6b5 <exec_byte_code+1365>, 0x81bf42b <exec_byte_code+715>, 0x81bf430 <exec_byte_code+720>, 0x81bf675 <exec_byte_code+1301>, 0x81bf686 <exec_byte_code+1318>, 0x81bfa45 <exec_byte_code+2277>, 0x81bfa55 <exec_byte_code+2293>, 0x81bfa3b <exec_byte_code+2267>, 0x81bfa40 <exec_byte_code+2272>, 0x81bf3ed <exec_byte_code+653>, 0x81bf3f0 <exec_byte_code+656>, 0x81bf95d <exec_byte_code+2045>, 0x81bfa65 <exec_byte_code+2309>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bfdb6 <exec_byte_code+3158>, 0x81bfe30 <exec_byte_code+3280>, 0x81bfe5b <exec_byte_code+3323>, 0x81c069e <exec_byte_code+5438>, 0x81c06c9 <exec_byte_code+5481>, 0x81bfe86 <exec_byte_code+3366>, 0x81bfeb2 <exec_byte_code+3410>, 0x81c05fc <exec_byte_code+5276>, 0x81bf5c8 <exec_byte_code+1128>, 0x81bfee0 <exec_byte_code+3456>, 0x81c0621 <exec_byte_code+5313>, 0x81c064f <exec_byte_code+5359>, 0x81c0670 <exec_byte_code+5392>, 0x81c04a5 <exec_byte_code+4933>, 0x81c04d2 <exec_byte_code+4978>, 0x81c0536 <exec_byte_code+5078>, 0x81c0557 <exec_byte_code+5111>, 0x81c0585 <exec_byte_code+5157>, 0x81c05ba <exec_byte_code+5210>, 0x81c05db <exec_byte_code+5243>, 0x81bff16 <exec_byte_code+3510>, 0x81bff44 <exec_byte_code+3556>, 0x81bff72 <exec_byte_code+3602>, 0x81bffa0 <exec_byte_code+3648>, 0x81bffd5 <exec_byte_code+3701>, 0x81c0002 <exec_byte_code+3746>, 0x81c002f <exec_byte_code+3791>, 0x81c0093 <exec_byte_code+3891>, 0x81c00be <exec_byte_code+3934>, 0x81c00e9 <exec_byte_code+3977>, 0x81c0130 <exec_byte_code+4048>, 0x81c015e <exec_byte_code+4094>, 0x81c018c <exec_byte_code+4140>, 0x81c01ba <exec_byte_code+4186>, 0x81c01e8 <exec_byte_code+4232>, 0x81c0215 <exec_byte_code+4277>, 0x81c023b <exec_byte_code+4315>, 0x81c0268 <exec_byte_code+4360>, 0x81c0295 <exec_byte_code+4405>, 0x81c02c2 <exec_byte_code+4450>, 0x81c034a <exec_byte_code+4586>, 0x81bf492 <exec_byte_code+818>, 0x81c0373 <exec_byte_code+4627>, 0x81c0394 <exec_byte_code+4660>, 0x81c03f2 <exec_byte_code+4754>, 0x81c041b <exec_byte_code+4795>, 0x81c0444 <exec_byte_code+4836>, 0x81c0465 <exec_byte_code+4869>, 0x81c0485 <exec_byte_code+4901>, 0x81c06fd <exec_byte_code+5533>, 0x81c0f2c <exec_byte_code+7628>, 0x81bf486 <exec_byte_code+806>, 0x81c0ee8 <exec_byte_code+7560>, 0x81c0f0a <exec_byte_code+7594>, 0x81c0e61 <exec_byte_code+7425>, 0x81c0e83 <exec_byte_code+7459>, 0x81c0ea5 <exec_byte_code+7493>, 0x81c0ec7 <exec_byte_code+7527>, 0x81bf492 <exec_byte_code+818>, 0x81bf486 <exec_byte_code+806>, 0x81c0c87 <exec_byte_code+6951>, 0x81c0cc0 <exec_byte_code+7008>, 0x81c0ce1 <exec_byte_code+7041>, 0x81c0d02 <exec_byte_code+7074>, 0x81c0d30 <exec_byte_code+7120>, 0x81c0d5e <exec_byte_code+7166>, 0x81c0d7f <exec_byte_code+7199>, 0x81c0e33 <exec_byte_code+7379>, 0x81c09fa <exec_byte_code+6298>, 0x81c0a28 <exec_byte_code+6344>, 0x81c0a56 <exec_byte_code+6390>, 0x81c0a78 <exec_byte_code+6424>, 0x81bf486 <exec_byte_code+806>, 0x81bfa85 <exec_byte_code+2341>, 0x81bf6ee <exec_byte_code+1422>, 0x81bf568 <exec_byte_code+1032>, 0x81bf768 <exec_byte_code+1544>, 0x81bf7fe <exec_byte_code+1694>, 0x81bf85c <exec_byte_code+1788>, 0x81bfbb8 <exec_byte_code+2648>, 0x81bfbf9 <exec_byte_code+2713>, 0x81bf52b <exec_byte_code+971>, 0x81bfabd <exec_byte_code+2397>, 0x81bfc11 <exec_byte_code+2737>, 0x81bfc6a <exec_byte_code+2826>, 0x81bfc94 <exec_byte_code+2868>, 0x81bfcca <exec_byte_code+2922>, 0x81bfcf4 <exec_byte_code+2964>, 0x81bfd29 <exec_byte_code+3017>, 0x81bfd66 <exec_byte_code+3078>, 0x81bf6c5 <exec_byte_code+1381>, 0x81c0a99 <exec_byte_code+6457>, 0x81c0ace <exec_byte_code+6510>, 0x81c0aef <exec_byte_code+6543>, 0x81c0b10 <exec_byte_code+6576>, 0x81c0b31 <exec_byte_code+6609>, 0x81c0b52 <exec_byte_code+6642>, 0x81c0b80 <exec_byte_code+6688>, 0x81c0bae <exec_byte_code+6734>, 0x81c0bdc <exec_byte_code+6780>, 0x81c0c0a <exec_byte_code+6826>, 0x81c0c2b <exec_byte_code+6859>, 0x81c0c59 <exec_byte_code+6905>, 0x81c0865 <exec_byte_code+5893>, 0x81c088c <exec_byte_code+5932>, 0x81c08ba <exec_byte_code+5978>, 0x81c08e8 <exec_byte_code+6024>, 0x81c0914 <exec_byte_code+6068>, 0x81c0974 <exec_byte_code+6164>, 0x81c02ef <exec_byte_code+4495>, 0x81c031c <exec_byte_code+4540>, 0x81c0940 <exec_byte_code+6112>, 0x81c09a1 <exec_byte_code+6209>, 0x81bf486 <exec_byte_code+806>, 0x81bf8f1 <exec_byte_code+1937>, 0x81bf96e <exec_byte_code+2062>, 0x81bf9bf <exec_byte_code+2143>, 0x81bfae7 <exec_byte_code+2439>, 0x81bfb38 <exec_byte_code+2520>, 0x81c04ff <exec_byte_code+5023>, 0x81c005c <exec_byte_code+3836>, 0x81c03bb <exec_byte_code+4699>, 0x81c075f <exec_byte_code+5631>, 0x81c078c <exec_byte_code+5676>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81c07ca <exec_byte_code+5738>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81c07fe <exec_byte_code+5790> <repeats 64 times>}
        stack = {pc = 0x83ba5ca <pure+1385258> "\210)\211\205\233", byte_string = 137191897, byte_string_start = 0x83ba593 <pure+1385203> "\211\204\v", next = 0xbffff06c}
        result = 140507326
#12 0x0818c12e in funcall_lambda (fun=137191869, nargs=nargs <at> entry=2, arg_vector=arg_vector <at> entry=0xbfffee44) at eval.c:3021
        val = <optimised out>
        syms_left = <optimised out>
        next = 2052
        lexenv = <optimised out>
        i = <optimised out>
        optional = <optimised out>
        rest = <optimised out>
#13 0x0818c3f3 in Ffuncall (nargs=nargs <at> entry=3, args=0xbfffee40) at eval.c:2914
        fun = <optimised out>
        original_fun = 139015994
        funcar = 2
        numargs = 2
        val = <optimised out>
        internal_args = <optimised out>
        i = <optimised out>
#14 0x0818d573 in Fapply (nargs=nargs <at> entry=2, args=args <at> entry=0xbfffeec8) at eval.c:2392
        i = <optimised out>
        numargs = <optimised out>
        spread_arg = 138852962
        funcall_args = <optimised out>
        fun = <optimised out>
        retval = <optimised out>
        gcpro1 = {next = <optimised out>, var = <optimised out>, nvars = 3}
        sa_must_free = false
#15 0x0818c99f in apply1 (fn=fn <at> entry=139015994, arg=arg <at> entry=147442486) at eval.c:2626
        ret_ungc_val = <optimised out>
        args = {139015994, 147442486}
#16 0x081887c5 in Fcall_interactively (function=139015994, record_flag=138852962, keys=138884037) at callint.c:381
        input = <optimised out>
        funval = <optimised out>
        events = <optimised out>
        args = <optimised out>
        visargs = <optimised out>
        specs = 147442486
        filter_specs = <optimised out>
        teml = <optimised out>
        up_event = 138852962
        enable = 138852962
        next_event = <optimised out>
        prefix_arg = 138852962
        string = 0x0
        tem = <optimised out>
        varies = <optimised out>
        i = <optimised out>
        nargs = <optimised out>
        mark = <optimised out>
        arg_from_tty = false
        key_count = 6
        record_then_fail = false
        save_this_command = 139015994
        save_last_command = 140661442
        save_this_original_command = 139015994
        save_real_this_command = 139015994
#17 0x0818c601 in Ffuncall (nargs=4, args=0xbffff00c) at eval.c:2860
        fun = 138454301
        original_fun = <optimised out>
        funcar = 2
        numargs = 3
        val = <optimised out>
        internal_args = 0xbffff010
        i = <optimised out>
#18 0x081bf44b in exec_byte_code (bytestr=140507326, vector=2, maxdepth=52, args_template=4100, nargs=1, args=0xbfffeffc) at bytecode.c:905
        targets = {0x81bf486 <exec_byte_code+806>, 0x81bf4bc <exec_byte_code+860>, 0x81bf4be <exec_byte_code+862>, 0x81c09f5 <exec_byte_code+6293>, 0x81bf462 <exec_byte_code+770>, 0x81bf462 <exec_byte_code+770>, 0x81c09c7 <exec_byte_code+6247>, 0x81c0720 <exec_byte_code+5568>, 0x81c0840 <exec_byte_code+5856>, 0x81c0845 <exec_byte_code+5861>, 0x81c084a <exec_byte_code+5866>, 0x81c0855 <exec_byte_code+5877>, 0x81bf30a <exec_byte_code+426>, 0x81bf310 <exec_byte_code+432>, 0x81bf5f9 <exec_byte_code+1177>, 0x81c0820 <exec_byte_code+5824>, 0x81bff11 <exec_byte_code+3505>, 0x81bf4c0 <exec_byte_code+864>, 0x81bf4c5 <exec_byte_code+869>, 0x81bf4d5 <exec_byte_code+885>, 0x81bf363 <exec_byte_code+515>, 0x81bf368 <exec_byte_code+520>, 0x81bf4e5 <exec_byte_code+901>, 0x81bf548 <exec_byte_code+1000>, 0x81bf656 <exec_byte_code+1270>, 0x81bf65b <exec_byte_code+1275>, 0x81bf660 <exec_byte_code+1280>, 0x81bf665 <exec_byte_code+1285>, 0x81bf3c0 <exec_byte_code+608>, 0x81bf3c0 <exec_byte_code+608>, 0x81bf625 <exec_byte_code+1221>, 0x81bf636 <exec_byte_code+1238>, 0x81bf6a6 <exec_byte_code+1350>, 0x81bf6ab <exec_byte_code+1355>, 0x81bf6b0 <exec_byte_code+1360>, 0x81bf6b5 <exec_byte_code+1365>, 0x81bf42b <exec_byte_code+715>, 0x81bf430 <exec_byte_code+720>, 0x81bf675 <exec_byte_code+1301>, 0x81bf686 <exec_byte_code+1318>, 0x81bfa45 <exec_byte_code+2277>, 0x81bfa55 <exec_byte_code+2293>, 0x81bfa3b <exec_byte_code+2267>, 0x81bfa40 <exec_byte_code+2272>, 0x81bf3ed <exec_byte_code+653>, 0x81bf3f0 <exec_byte_code+656>, 0x81bf95d <exec_byte_code+2045>, 0x81bfa65 <exec_byte_code+2309>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bfdb6 <exec_byte_code+3158>, 0x81bfe30 <exec_byte_code+3280>, 0x81bfe5b <exec_byte_code+3323>, 0x81c069e <exec_byte_code+5438>, 0x81c06c9 <exec_byte_code+5481>, 0x81bfe86 <exec_byte_code+3366>, 0x81bfeb2 <exec_byte_code+3410>, 0x81c05fc <exec_byte_code+5276>, 0x81bf5c8 <exec_byte_code+1128>, 0x81bfee0 <exec_byte_code+3456>, 0x81c0621 <exec_byte_code+5313>, 0x81c064f <exec_byte_code+5359>, 0x81c0670 <exec_byte_code+5392>, 0x81c04a5 <exec_byte_code+4933>, 0x81c04d2 <exec_byte_code+4978>, 0x81c0536 <exec_byte_code+5078>, 0x81c0557 <exec_byte_code+5111>, 0x81c0585 <exec_byte_code+5157>, 0x81c05ba <exec_byte_code+5210>, 0x81c05db <exec_byte_code+5243>, 0x81bff16 <exec_byte_code+3510>, 0x81bff44 <exec_byte_code+3556>, 0x81bff72 <exec_byte_code+3602>, 0x81bffa0 <exec_byte_code+3648>, 0x81bffd5 <exec_byte_code+3701>, 0x81c0002 <exec_byte_code+3746>, 0x81c002f <exec_byte_code+3791>, 0x81c0093 <exec_byte_code+3891>, 0x81c00be <exec_byte_code+3934>, 0x81c00e9 <exec_byte_code+3977>, 0x81c0130 <exec_byte_code+4048>, 0x81c015e <exec_byte_code+4094>, 0x81c018c <exec_byte_code+4140>, 0x81c01ba <exec_byte_code+4186>, 0x81c01e8 <exec_byte_code+4232>, 0x81c0215 <exec_byte_code+4277>, 0x81c023b <exec_byte_code+4315>, 0x81c0268 <exec_byte_code+4360>, 0x81c0295 <exec_byte_code+4405>, 0x81c02c2 <exec_byte_code+4450>, 0x81c034a <exec_byte_code+4586>, 0x81bf492 <exec_byte_code+818>, 0x81c0373 <exec_byte_code+4627>, 0x81c0394 <exec_byte_code+4660>, 0x81c03f2 <exec_byte_code+4754>, 0x81c041b <exec_byte_code+4795>, 0x81c0444 <exec_byte_code+4836>, 0x81c0465 <exec_byte_code+4869>, 0x81c0485 <exec_byte_code+4901>, 0x81c06fd <exec_byte_code+5533>, 0x81c0f2c <exec_byte_code+7628>, 0x81bf486 <exec_byte_code+806>, 0x81c0ee8 <exec_byte_code+7560>, 0x81c0f0a <exec_byte_code+7594>, 0x81c0e61 <exec_byte_code+7425>, 0x81c0e83 <exec_byte_code+7459>, 0x81c0ea5 <exec_byte_code+7493>, 0x81c0ec7 <exec_byte_code+7527>, 0x81bf492 <exec_byte_code+818>, 0x81bf486 <exec_byte_code+806>, 0x81c0c87 <exec_byte_code+6951>, 0x81c0cc0 <exec_byte_code+7008>, 0x81c0ce1 <exec_byte_code+7041>, 0x81c0d02 <exec_byte_code+7074>, 0x81c0d30 <exec_byte_code+7120>, 0x81c0d5e <exec_byte_code+7166>, 0x81c0d7f <exec_byte_code+7199>, 0x81c0e33 <exec_byte_code+7379>, 0x81c09fa <exec_byte_code+6298>, 0x81c0a28 <exec_byte_code+6344>, 0x81c0a56 <exec_byte_code+6390>, 0x81c0a78 <exec_byte_code+6424>, 0x81bf486 <exec_byte_code+806>, 0x81bfa85 <exec_byte_code+2341>, 0x81bf6ee <exec_byte_code+1422>, 0x81bf568 <exec_byte_code+1032>, 0x81bf768 <exec_byte_code+1544>, 0x81bf7fe <exec_byte_code+1694>, 0x81bf85c <exec_byte_code+1788>, 0x81bfbb8 <exec_byte_code+2648>, 0x81bfbf9 <exec_byte_code+2713>, 0x81bf52b <exec_byte_code+971>, 0x81bfabd <exec_byte_code+2397>, 0x81bfc11 <exec_byte_code+2737>, 0x81bfc6a <exec_byte_code+2826>, 0x81bfc94 <exec_byte_code+2868>, 0x81bfcca <exec_byte_code+2922>, 0x81bfcf4 <exec_byte_code+2964>, 0x81bfd29 <exec_byte_code+3017>, 0x81bfd66 <exec_byte_code+3078>, 0x81bf6c5 <exec_byte_code+1381>, 0x81c0a99 <exec_byte_code+6457>, 0x81c0ace <exec_byte_code+6510>, 0x81c0aef <exec_byte_code+6543>, 0x81c0b10 <exec_byte_code+6576>, 0x81c0b31 <exec_byte_code+6609>, 0x81c0b52 <exec_byte_code+6642>, 0x81c0b80 <exec_byte_code+6688>, 0x81c0bae <exec_byte_code+6734>, 0x81c0bdc <exec_byte_code+6780>, 0x81c0c0a <exec_byte_code+6826>, 0x81c0c2b <exec_byte_code+6859>, 0x81c0c59 <exec_byte_code+6905>, 0x81c0865 <exec_byte_code+5893>, 0x81c088c <exec_byte_code+5932>, 0x81c08ba <exec_byte_code+5978>, 0x81c08e8 <exec_byte_code+6024>, 0x81c0914 <exec_byte_code+6068>, 0x81c0974 <exec_byte_code+6164>, 0x81c02ef <exec_byte_code+4495>, 0x81c031c <exec_byte_code+4540>, 0x81c0940 <exec_byte_code+6112>, 0x81c09a1 <exec_byte_code+6209>, 0x81bf486 <exec_byte_code+806>, 0x81bf8f1 <exec_byte_code+1937>, 0x81bf96e <exec_byte_code+2062>, 0x81bf9bf <exec_byte_code+2143>, 0x81bfae7 <exec_byte_code+2439>, 0x81bfb38 <exec_byte_code+2520>, 0x81c04ff <exec_byte_code+5023>, 0x81c005c <exec_byte_code+3836>, 0x81c03bb <exec_byte_code+4699>, 0x81c075f <exec_byte_code+5631>, 0x81c078c <exec_byte_code+5676>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81c07ca <exec_byte_code+5738>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81bf486 <exec_byte_code+806>, 0x81c07fe <exec_byte_code+5790> <repeats 64 times>}
        stack = {pc = 0x83ba4e8 <pure+1385032> "\006\006\071\203\225", byte_string = 137192225, byte_string_start = 0x83ba47a <pure+1384922> "\305\020\211?\205\f", next = 0x0}
        result = 140507326
#19 0x0818c12e in funcall_lambda (fun=137192205, nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0xbffff17c) at eval.c:3021
        val = <optimised out>
        syms_left = <optimised out>
        next = 4100
        lexenv = <optimised out>
        i = <optimised out>
        optional = <optimised out>
        rest = <optimised out>
#20 0x0818c3f3 in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0xbffff178) at eval.c:2914
        fun = <optimised out>
        original_fun = 138883778
        funcar = 2
        numargs = 1
        val = <optimised out>
        internal_args = <optimised out>
        i = <optimised out>
#21 0x0818c8b7 in call1 (fn=138883778, arg1=139015994) at eval.c:2652
        ret_ungc_val = 140507326
        args = {138883778, 139015994}
#22 0x0812725f in command_loop_1 () at keyboard.c:1560
        cmd = <optimised out>
        keybuf = {108, 480, 138929090, 138852962, 138929090, 135767145, 138929090, 138852962, 138852962, 0, 138929090, 32, 32, 135836488, 138929090, 138852962, -1073745068, 2, 140516630, 138852962, 143267568, 138852962, 140516630, 138852962, -1073745208, 1, 0, 138852962, -1073744552, 135382505}
        i = <optimised out>
        prev_modiff = 4
        prev_buffer = 0x8c25bf0
#23 0x0818ab04 in internal_condition_case (bfun=bfun <at> entry=0x8126f40 <command_loop_1>, handlers=138890402, hfun=hfun <at> entry=0x811dc20 <cmd_error>) at eval.c:1339
        val = <optimised out>
        c = {tag = 138852962, val = 138852962, next = 0xbffff3bc, gcpro = 0x0, jmp = {{__jmpbuf = {1, 0, 138852962, -1073744552, 850603019, -66887836}, __mask_was_saved = 0, __saved_mask = {__val = {0, 3063862384, 3063862384, 3063862380, 3063578507, 3062582981, 3073614288, 143258424, 3062581289, 3063861248, 143301248, 3087003648, 3074854912, 3062582981, 3074844028, 3087003648, 3087006008, 5, 136722164, 3086927340, 3087006448, 3051886176, 1, 5, 0, 3033585568, 143366592, 3073613364, 0, 3063862336, 3074845144, 134531036}}}}, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
        h = {handler = 138890402, var = 138852962, chosen_clause = 0, tag = 0xbffff2ac, next = 0x0}
#24 0x0811cb85 in command_loop_2 (ignore=ignore <at> entry=138852962) at keyboard.c:1161
        val = 140507326
#25 0x0818aa19 in internal_catch (tag=138888426, func=func <at> entry=0x811cb60 <command_loop_2>, arg=138852962) at eval.c:1113
        c = {tag = 138888426, val = 138852962, next = 0x0, gcpro = 0x0, jmp = {{__jmpbuf = {1, 0, 138852962, -1073744552, 850488331, -66967196}, __mask_was_saved = 0, __saved_mask = {__val = {0, 3221225230, 2, 143299568, 140517016, 136107880, 143060792, 136483635, 14, 23, 143060792, 14, 136483635, 3221222552, 0, 0, 23, 3221222552, 2, 3221223355, 136483635, 134273938, 3221222556, 140516214, 119, 138979706, 138979704, 138979706, 138979704, 135846600, 138979706, 138852962}}}}, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
#26 0x0811d752 in command_loop () at keyboard.c:1140
No locals.
#27 recursive_edit_1 () at keyboard.c:779
        val = 0
#28 0x0811da2b in Frecursive_edit () at keyboard.c:843
        buffer = 138852962
#29 0x08059308 in main (argc=<optimised out>, argv=0xbffff5f4) at emacs.c:1569
        dummy = 134586204
        stack_bottom_variable = 33 '!'
        do_initial_setlocale = <optimised out>
        dumping = <optimised out>
        skip_args = 0
        rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0xb6686536 "\201\303ʪ\004"


In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4)
 of 2013-08-12 on poulenc
Bzr revision: 113821 larsi <at> gnus.org-20130812172522-oxu2fflvac61psk8
Windowing system distributor `The X.Org Foundation', version 11.0.11303000
System Description:	Ubuntu 13.04

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  which-function-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t


-- 
Robert Marshall




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15079; Package emacs. (Mon, 30 Sep 2019 14:55:04 GMT) Full text and rfc822 format available.

Message #8 received at 15079 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Robert Marshall <robert <at> capuchin.co.uk>
Cc: 15079 <at> debbugs.gnu.org
Subject: Re: bug#15079: 24.3.50; emacs using 100% cpu if frame closes after
 workspace change
Date: Mon, 30 Sep 2019 16:54:31 +0200
Robert Marshall <robert <at> capuchin.co.uk> writes:

> If I start emacs -Q and evaluate the following code
> (make-frame-command)
> (sleep-for 6)
> (delete-frame)
>
> and while the sleep is happening I move to a different workspace (I'm
> using kde/plasma as a desktop environment) then emacs starts using 100%
> of the cpu and on changing back to the original workspace Ctrl-G fails
> to get back control.
>
> Aside from this artificial example I'm using vm to handle email which
> opens a new frame when preparing an email and closes the frame when
> sending the email - the negotiation with the email server takes a little
> time and if I - having sent the email but before the frame is closed -
> move away to another workspace I'm consistently seeing emacs lock up.

That was 6 years ago.  Are you still seeing this on a more recent
version of Emacs?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15079; Package emacs. (Mon, 30 Sep 2019 15:23:02 GMT) Full text and rfc822 format available.

Message #11 received at 15079 <at> debbugs.gnu.org (full text, mbox):

From: Robert Marshall <robert <at> capuchin.co.uk>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 15079 <at> debbugs.gnu.org
Subject: Re: bug#15079: 24.3.50; emacs using 100% cpu if frame closes after
 workspace change
Date: Mon, 30 Sep 2019 16:12:24 +0100
Stefan Kangas writes:
 > Robert Marshall <robert <at> capuchin.co.uk> writes:
 > 
 > > If I start emacs -Q and evaluate the following code
 > > (make-frame-command)
 > > (sleep-for 6)
 > > (delete-frame)
 > >
 > > and while the sleep is happening I move to a different workspace (I'm
 > > using kde/plasma as a desktop environment) then emacs starts using 100%
 > > of the cpu and on changing back to the original workspace Ctrl-G fails
 > > to get back control.
 > >
 > > Aside from this artificial example I'm using vm to handle email which
 > > opens a new frame when preparing an email and closes the frame when
 > > sending the email - the negotiation with the email server takes a little
 > > time and if I - having sent the email but before the frame is closed -
 > > move away to another workspace I'm consistently seeing emacs lock up.
 > 
 > That was 6 years ago.  Are you still seeing this on a more recent
 > version of Emacs?
 > 

Indeed, a long time ago - and yes it no longer happens. You may close this!

Robert
-- 
Robert Marshall               twitter: @rajm




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Mon, 30 Sep 2019 15:31:05 GMT) Full text and rfc822 format available.

Notification sent to Robert Marshall <robert <at> capuchin.co.uk>:
bug acknowledged by developer. (Mon, 30 Sep 2019 15:31:05 GMT) Full text and rfc822 format available.

Message #16 received at 15079-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Robert Marshall <robert <at> capuchin.co.uk>
Cc: 15079-done <at> debbugs.gnu.org
Subject: Re: bug#15079: 24.3.50; emacs using 100% cpu if frame closes after
 workspace change
Date: Mon, 30 Sep 2019 17:29:56 +0200
Robert Marshall <robert <at> capuchin.co.uk> writes:

>  > That was 6 years ago.  Are you still seeing this on a more recent
>  > version of Emacs?
>
> Indeed, a long time ago - and yes it no longer happens. You may close this!

Thanks for reporting back so promptly.  Closing this bug report now.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Oct 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.