Subject: Re: bug#13840: OS X Emacs frequent crashes when files are open over FTP

From: Jan Djärv <[email-masked]>
Date: Sat, 30 Mar 2013 11:00:53 +0100

Hello.

This is the same bug as 12698, which has been fixed in the trunk.

	Jan D.

1 mar 2013 kl. 23:44 skrev Silas S. Brown <[email-masked]>:

> Thanks.  It didn't take long to get a crash in 24.2.93 -
> I just clicked on the "Help" menu!  Below is the (rather
> long) backtrace (sorry if I didn't compile it with the
> right options, I just did ./configure --with-ns and make
> install as per the nextstep/README file).   Silas
> 
> #0  0x00007fff8d73282a in __kill ()
> #1  0x000000010009d019 in terminate_due_to_signal (
>    sig=6, backtrace_limit=10) at emacs.c:344
> #2  0x00000001000b9a13 in emacs_abort ()
>    at sysdep.c:2152
> #3  0x000000010018a9dd in ns_term_shutdown (
>    sig=<value temporarily unavailable, due to
> optimizations>) at nsterm.m:4259
> #4  0x000000010009d681 in shut_down_emacs (sig=6,
>    stuff=37711) at emacs.c:1931
> #5  0x000000010009cfdb in terminate_due_to_signal (
>    sig=6, backtrace_limit=10) at emacs.c:328
> #6  0x00000001000b9a13 in emacs_abort ()
>    at sysdep.c:2152
> #7  0x000000010018f31f in ns_select (
>    nfds=<value temporarily unavailable, due to
> optimizations>,
>    readfds=<value temporarily unavailable, due to
> optimizations>,
>    writefds=<value temporarily unavailable, due to
> optimizations>,
>    exceptfds=<value temporarily unavailable, due to
> optimizations>,
>    timeout=<value temporarily unavailable, due to
> optimizations>,
>    sigmask=<value temporarily unavailable, due to
> optimizations>) at nsterm.m:3524
> #8  0x000000010015aeba in wait_reading_process_output (
>    time_limit=140734799786480, nsecs=1606398448,
>    read_kbd=1606398448, wait_for_cell=140734799786480,
>    wait_proc=0x7fff5fbfb1f0, just_wait_proc=0,
>    do_display=false) at process.c:4635
> #9  0x0000000100156c51 in Faccept_process_output (
>    process=37711, seconds=0, millisec=0,
>    just_this_one=34693796629315584) at process.c:4025
> #10 0x000000010011695b in Ffuncall (nargs=37711,
>    args=0x100116adc) at eval.c:2786
> #11 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799786848, maxdepth=32,
>    args_template=0, nargs=4300852416, args=0x100511860)
>    at bytecode.c:900
> #12 0x0000000100119367 in eval_sub (form=2)
>    at eval.c:2146
> #13 0x0000000100119f68 in internal_lisp_condition_case (
>    var=4320145466, bodyform=4356807126,
>    handlers=4356628086) at eval.c:1243
> #14 0x000000010014fad1 in exec_byte_code (bytestr=0,
>    vector=140734799787552, maxdepth=32,
>    args_template=4320145466, nargs=4300852416,
>    args=0x100511860) at bytecode.c:1096
> #15 0x0000000100119b72 in funcall_lambda (
>    fun=140734799787648, nargs=1,
>    arg_vector=0x7fff5fbfb680) at eval.c:3007
> #16 0x0000000100116a07 in Ffuncall (nargs=4320145466,
>    args=0x1030e7d62) at eval.c:2824
> #17 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799787952, maxdepth=48,
>    args_template=0, nargs=4300852416, args=0x100511860)
>    at bytecode.c:900
> #18 0x0000000100119b72 in funcall_lambda (
>    fun=140734799788048, nargs=5,
>    arg_vector=0x7fff5fbfb810) at eval.c:3007
> #19 0x0000000100116a07 in Ffuncall (nargs=2,
>    args=0x1030e7d02) at eval.c:2824
> #20 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799788416, maxdepth=140734799788232,
>    args_template=-6, nargs=4300852416,
>    args=0x100511860) at bytecode.c:900
> #21 0x0000000100119b72 in funcall_lambda (
>    fun=140734799788512, nargs=3,
>    arg_vector=0x7fff5fbfb9e0) at eval.c:3007
> #22 0x0000000100116a07 in Ffuncall (nargs=6,
>    args=0x1030ef802) at eval.c:2824
> #23 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799788864, maxdepth=96,
>    args_template=140734799788688, nargs=4300852416,
>    args=0x100511860) at bytecode.c:900
> #24 0x0000000100119b72 in funcall_lambda (
>    fun=140734799788960, nargs=1,
>    arg_vector=0x7fff5fbfbba0) at eval.c:3007
> #25 0x0000000100116a07 in Ffuncall (nargs=4,
>    args=0x103231232) at eval.c:2824
> #26 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799789264, maxdepth=48,
>    args_template=4296348880, nargs=4300852416,
>    args=0x100511860) at bytecode.c:900
> #27 0x0000000100119b72 in funcall_lambda (
>    fun=140734799789360, nargs=1,
>    arg_vector=0x7fff5fbfbd30) at eval.c:3007
> #28 0x0000000100116a07 in Ffuncall (nargs=2,
>    args=0x103231872) at eval.c:2824
> #29 0x00000001001162b2 in Fapply (
>    nargs=140734799789584, args=0x7fff5fbfbe10)
>    at eval.c:2252
> #30 0x0000000100116a20 in Ffuncall (nargs=2,
>    args=0x104801a1a) at eval.c:2756
> #31 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799789872, maxdepth=32,
>    args_template=4320145466, nargs=4300852416,
>    args=0x100511860) at bytecode.c:900
> #32 0x0000000100119367 in eval_sub (form=3)
>    at eval.c:2146
> #33 0x0000000100119f68 in internal_lisp_condition_case (
>    var=4320293082, bodyform=4346942950,
>    handlers=4346941574) at eval.c:1243
> #34 0x000000010014fad1 in exec_byte_code (bytestr=0,
>    vector=140734799790592, maxdepth=48,
>    args_template=4296348880, nargs=4300852416,
>    args=0x100511860) at bytecode.c:1096
> #35 0x0000000100119b72 in funcall_lambda (
>    fun=140734799790688, nargs=2,
>    arg_vector=0x7fff5fbfc260) at eval.c:3007
> #36 0x0000000100116a07 in Ffuncall (nargs=4320293082,
>    args=0x10482da3a) at eval.c:2824
> #37 0x00000001001162b2 in Fapply (
>    nargs=140734799790912, args=0x7fff5fbfc340)
>    at eval.c:2252
> #38 0x0000000100116a20 in Ffuncall (nargs=3,
>    args=0x104801a1a) at eval.c:2756
> #39 0x000000010014eec8 in exec_byte_code (bytestr=0,
>    vector=140734799791232, maxdepth=64,
>    args_template=140734799791064, nargs=4300852416,
>    args=0x100511860) at bytecode.c:900
> #40 0x0000000100119b72 in funcall_lambda (
>    fun=140734799791328, nargs=2,
>    arg_vector=0x7fff5fbfc4e0) at eval.c:3007
> #41 0x0000000100116a07 in Ffuncall (nargs=4,
>    args=0x103a80b92) at eval.c:2824
> #42 0x00000001001162b2 in Fapply (
>    nargs=140734799791552, args=0x7fff5fbfc5c0)
>    at eval.c:2252
> #43 0x0000000100119271 in eval_sub (form=3)
>    at eval.c:2112
> #44 0x0000000100118455 in internal_catch (tag=3,
>    func=0x100118d90 <eval_sub>, arg=3) at eval.c:1060
> #45 0x000000010014fa64 in exec_byte_code (bytestr=0,
>    vector=140734799792240, maxdepth=32,
>    args_template=4320145466, nargs=4300852416,
>    args=0x100511860) at bytecode.c:1081
> #46 0x0000000100119367 in eval_sub (form=4347364418)
>    at eval.c:2146
> #47 0x0000000100118455 in internal_catch (
>    tag=4347364418, func=0x100118d90 <eval_sub>,
>    arg=4347364418) at eval.c:1060
> #48 0x000000010014fa64 in exec_byte_code (bytestr=0,
>    vector=140734799792928, maxdepth=64,
>    args_template=4356361968, nargs=4300852416,
>    args=0x100511860) at bytecode.c:1081
> #49 0x0000000100119b72 in funcall_lambda (
>    fun=140734799793024, nargs=0,
>    arg_vector=0x7fff5fbfcb80) at eval.c:3007
> #50 0x0000000100116a07 in Ffuncall (nargs=4379989450,
>    args=0x103087295) at eval.c:2824
> #51 0x0000000100119271 in eval_sub (form=1)
>    var=4320293082, bodyform=4345849974,
>    handlers=4345851526) at eval.c:1243
> #53 0x000000010014fad1 in exec_byte_code (bytestr=0,
>    vector=140734799793888, maxdepth=48,
>    args_template=4356361759, nargs=4300852416,
>    args=0x100511860) at bytecode.c:1096
> #54 0x0000000100119b72 in funcall_lambda (
>    fun=140734799793984, nargs=2,
>    arg_vector=0x7fff5fbfcf40) at eval.c:3007
> #55 0x0000000100116a07 in Ffuncall (nargs=4320293082,
>    args=0x1050be41a) at eval.c:2824
> #56 0x0000000100118aa2 in call2 (fn=Cannot access memory
> at address 0x0
> ) at eval.c:2584
> #57 0x00000001000d7e86 in Fverify_visited_file_modtime (
>    buf=4379632666) at fileio.c:5204
> #58 0x0000000100119129 in eval_sub (form=4379632666)
>    at eval.c:2088
> #59 0x00000001001192e0 in eval_sub (form=4379632666)
>    at eval.c:2125
> #60 0x0000000100114279 in For (args=4379632666)
>    at eval.c:260
> #61 0x0000000100119129 in eval_sub (form=4379632666)
>    at eval.c:2088
> #62 0x00000001001142c9 in Fand (args=4379632666)
>    at eval.c:284
> #63 0x0000000100119129 in eval_sub (form=4379632666)
>    at eval.c:2088
> #64 0x0000000100114279 in For (args=4379632666)
>    at eval.c:260
> #65 0x0000000100119129 in eval_sub (form=4379632666)
>    at eval.c:2088
> #66 0x000000010011620d in Feval (form=4298492406,
>    lexical=4320221018) at eval.c:2005
> #67 0x0000000100118203 in internal_condition_case_1 (
>    bfun=0x1000a5e90 <eval_dyn>, arg=4379632666,
>    handlers=4320212234,
>    hfun=0x1000a04a0 <menu_item_eval_property_1>)
>    at eval.c:1327
> #68 0x00000001000a61bf in menu_item_eval_property
> [inlined] () at
> #/private/tmp/emacs-24.2.93/src/keyboard.c:7583
> #69 0x00000001000a61bf in parse_menu_item (
>    item=4379632666, inmenubar=1606407936)
>    at keyboard.c:7759
> #70 0x000000010004d233 in single_menu_item (
>    key=140734799796064, item=4379632666,
>    dummy=4303019493, skp_v=0x7fff5fbfd760)
>    at menu.c:339
> #71 0x00000001000b4c8c in map_keymap_item [inlined] ()
>    at /private/tmp/emacs-24.2.93/src/keymap.c:560
> #72 0x00000001000b4c8c in map_keymap_internal (
>    map=4378911770, fun=0x10004d210 <single_menu_item>,
>    args=4320145466, data=0x7fff5fbfd7b0)
>    at keymap.c:600
> #73 0x000000010004d1ab in single_keymap_panes (
>    keymap=4355477174, pane_name=4297570889,
>    prefix=4370638410, maxdepth=10) at menu.c:305
> #74 0x000000010004d6f4 in parse_single_submenu (
>    item_key=140734799796336,
>    item_name=140734799796336, maps=4300841832)
>    at menu.c:561
> #75 0x0000000100198aa9 in ns_update_menubar (
>    f=0x7fff5fbfdb10, submenu=0x7fff5fbfdb10,
>    deep_p=208) at nsmenu.m:256
> #76 0x00007fff8a946c09 in -[NSMenu
> _populateFromDelegateWithEventRef:] ()
> #77 0x00007fff8a83b38c in -[NSMenu
> #_populateWithEventRef:] ()
> #78 0x00007fff8a945e33 in -[NSCarbonMenuImpl
> #_carbonPopulateEvent:handlerCallRef:] ()
> #79 0x00007fff8a9459bb in NSSLMMenuEventHandler ()
> #80 0x00007fff93202234 in DispatchEventToHandlers ()
> #81 0x00007fff93201840 in SendEventToEventTargetInternal
>    ()
> #82 0x00007fff9320167a in
> SendEventToEventTargetWithOptions ()
> #83 0x00007fff93233d29 in SendMenuPopulate ()
> #84 0x00007fff93380195 in SendMenuOpening ()
> #85 0x00007fff933836d9 in DrawTheMenu ()
> #86 0x00007fff93383be3 in MenuChanged ()
> #87 0x00007fff93253a2f in TrackMenuCommon ()
> #88 0x00007fff9324ef13 in MenuSelectCore ()
> #89 0x00007fff9324e592 in _HandleMenuSelection2 ()
> #90 0x00007fff8a8461da in _NSHandleCarbonMenuEvent ()
> #91 0x00007fff8a7dbcc9 in _DPSNextEvent ()
> #92 0x00007fff8a7db07d in -[NSApplication
> #nextEventMatchingMask:untilDate:inMode:dequeue:] ()
> #93 0x00007fff8a7d79b9 in -[NSApplication run] ()
> #94 0x000000010018cc70 in ns_read_socket (
>    terminal=0x7fff5fbfeba8, hold_quit=0x7fff5fbfed90)
>    at nsterm.m:3423
> #95 0x00000001000a89cf in gobble_input ()
>    at keyboard.c:6767
> #96 0x00000001000a8af5 in get_input_pending [inlined] ()
>    at /private/tmp/emacs-24.2.93/src/keyboard.c:6686
> #97 0x00000001000a8af5 in
> detect_input_pending_run_timers (do_display=true) at
> #keyboard.c:10273
> #98 0x00000001000054c2 in sit_for (timeout=140,
>    display_option=1, reading=true) at dispnew.c:5939
> #99 0x00000001000ac87a in read_char (
>    commandflag=1606414640, nmaps=140734799802672,
>    maps=0x7fff5fbff130,
>    prev_event=4768577271755702285,
>    used_mouse_menu=0x7fff5fbff130,
>    end_time=0x7fff5fbff130) at keyboard.c:2669
> #100 0x00000001000afbcf in read_key_sequence ()
>    at keyboard.c:2800
> #101 0x00000001000b1648 in command_loop_1 ()
>    at keyboard.c:1459
> #102 0x0000000100118359 in internal_condition_case (
>    bfun=0x1000b0240 <command_loop_1>,
>    handlers=4320212234, hfun=0x1000b16d0 <cmd_error>)
>    at eval.c:1289
> #103 0x00000001000b021e in command_loop_2 (
>    ignore=140734799803272) at keyboard.c:1168
> #104 0x0000000100118455 in internal_catch (
>    tag=140734799803272,
>    func=0x1000b01e0 <command_loop_2>,
>    arg=140734799803272) at eval.c:1060
> #105 0x00000001000b1c50 in command_loop [inlined] ()
>    at /private/tmp/emacs-24.2.93/src/keyboard.c:1147
> #106 0x00000001000b1c50 in recursive_edit_1 ()
>    at keyboard.c:779
> #107 0x00000001000a264d in Frecursive_edit ()
>    at keyboard.c:843
> #108 0x000000010009f4e7 in main (argc=25241034,
>    argv=0x7fff5fbff950) at emacs.c:1528
> 
>