Package: emacs;
Reported by: Souvik Banerjee <souvik1997 <at> gmail.com>
Date: Mon, 19 Sep 2016 19:48:01 UTC
Severity: normal
Tags: confirmed
Found in versions 25.1, 26.3, 27.0.50
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: Marc Herbert <marc.herbert <at> gmail.com> To: 24472 <at> debbugs.gnu.org Cc: michael.albinus <at> gmx.de Subject: bug#24472: (no subject) Date: Thu, 21 May 2020 11:50:36 -0700 (PDT)
> Yes, whack a mole. Second mole whacked: > ... > Until the next mole. Resizing a frame showing a tramp buffer: 3rd 'AutoreleasePoolPage::pop' mole or different bug? Please let me know. Resizing frantically with keyboard shorcuts (I use "Spectable") reproduces after less than 5s. It also crashes from time to time in regular use. Reproduction seems to require tramp, I could never reproduce resizing a local file. Yet wireshark shows no network traffic until the crash. On the crash the socket is immediately disconnected with a FIN, so I believe this network activity is only _after_ the crash. Using vc-annotate makes the crash much more likely in normal use (that's how I noticed it) but vc-annotate is not required when resizing frantically. Only a tramp buffer seems required. Could a tramp buffer be slower to resize for some reason? Maybe even slower to resize with vc-annotate. The backtrace below is exactly the same no matter what the conditions of this resizing crash are. Test and other suggestions welcome. Process: Emacs-x86_64-10_14 [69992] Path: /Applications/Emacs 263.app/Contents/MacOS/Emacs-x86_64-10_14 Identifier: org.gnu.Emacs Version: Version 26.3 (9.0) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Emacs-x86_64-10_14 [69992] User ID: 502 Date/Time: 2020-05-20 17:12:06.567 -0700 OS Version: Mac OS X 10.14.6 (18G4032) Report Version: 12 Anonymous UUID: 2FA91B8F-94C0-0E71-B322-F5BEA6655F8B Sleep/Wake UUID: 1B4919FF-3974-47F7-9CBA-92A1357381A2 Time Awake Since Boot: 1400000 seconds Time Since Wake: 29000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff58dcd2c2 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff58e88bf1 pthread_kill + 284 2 libsystem_c.dylib 0x00007fff58cead8a raise + 26 3 Emacs-x86_64-10_14 0x00000001000bb789 terminate_due_to_signal + 153 4 Emacs-x86_64-10_14 0x00000001000d8e03 emacs_abort + 19 5 Emacs-x86_64-10_14 0x00000001001c102a ns_term_shutdown + 122 6 Emacs-x86_64-10_14 0x00000001000bb976 shut_down_emacs + 262 7 Emacs-x86_64-10_14 0x00000001000bb756 terminate_due_to_signal + 102 8 Emacs-x86_64-10_14 0x00000001000dba0e handle_fatal_signal + 14 9 Emacs-x86_64-10_14 0x00000001000dba91 deliver_thread_signal + 129 10 Emacs-x86_64-10_14 0x00000001000da629 deliver_fatal_thread_signal + 9 11 libsystem_platform.dylib 0x00007fff58e7db5d _sigtramp + 29 12 com.apple.HIToolbox 0x00007fff2bf7027b EventObserver + 20 13 libsystem_kernel.dylib 0x00007fff58de0585 abort_with_reason + 22 14 libobjc.A.dylib 0x00007fff574c58dd _objc_fatalv(unsigned long long, unsigned long long, char const*, __va_list_tag*) + 108 15 libobjc.A.dylib 0x00007fff574c578f _objc_fatal(char const*, ...) + 135 16 libobjc.A.dylib 0x00007fff574b8563 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 941 17 com.apple.AppKit 0x00007fff2a4260d6 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:] + 3205 18 com.apple.AppKit 0x00007fff2a42543f __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 192 19 com.apple.AppKit 0x00007fff2a42519c -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1720 20 com.apple.QuartzCore 0x00007fff3778fe02 CABackingStoreUpdate_ + 577 21 com.apple.QuartzCore 0x00007fff377f1a0d invocation function for block in CA::Layer::display_() + 53 22 com.apple.QuartzCore 0x00007fff3778f020 -[CALayer _display] + 1830 23 com.apple.AppKit 0x00007fff2a42474e _NSBackingLayerDisplay + 528 24 com.apple.AppKit 0x00007fff2a408c4f -[_NSViewBackingLayer display] + 811 25 com.apple.QuartzCore 0x00007fff3778e551 CA::Layer::display_if_needed(CA::Transaction*) + 627 26 com.apple.QuartzCore 0x00007fff3777c7c6 CA::Context::commit_transaction(CA::Transaction*) + 342 27 com.apple.QuartzCore 0x00007fff3777bea6 CA::Transaction::commit() + 596 28 com.apple.AppKit 0x00007fff2a3ff84d __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 274 29 com.apple.CoreFoundation 0x00007fff2cd666d8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 30 com.apple.CoreFoundation 0x00007fff2cd6660d __CFRunLoopDoObservers + 451 31 com.apple.CoreFoundation 0x00007fff2cd08d30 __CFRunLoopRun + 1136 32 com.apple.CoreFoundation 0x00007fff2cd0866e CFRunLoopRunSpecific + 455 33 com.apple.HIToolbox 0x00007fff2bf671ab RunCurrentEventLoopInMode + 292 34 com.apple.HIToolbox 0x00007fff2bf66ded ReceiveNextEventCommon + 355 35 com.apple.HIToolbox 0x00007fff2bf66c76 _BlockUntilNextEventMatchingListInModeWithFilter + 64 36 com.apple.AppKit 0x00007fff2a2fe77d _DPSNextEvent + 1135 37 com.apple.AppKit 0x00007fff2a2fd46b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 38 Emacs-x86_64-10_14 0x00000001001bf909 ns_send_appdefined + 137 39 Emacs-x86_64-10_14 0x00000001001ab899 mutex_unlock_callback + 41 40 Emacs-x86_64-10_14 0x00000001001ab85f Fmutex_unlock + 63 41 Emacs-x86_64-10_14 0x000000010013c704 eval_sub + 1524 42 Emacs-x86_64-10_14 0x000000010013ccdd prog_ignore + 29 43 Emacs-x86_64-10_14 0x000000010013eb2c Funwind_protect + 428 44 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 45 Emacs-x86_64-10_14 0x000000010013de5d Flet + 1021 46 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 47 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 48 Emacs-x86_64-10_14 0x000000010013d82d FletX + 525 49 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 50 Emacs-x86_64-10_14 0x000000010013cbfd Fprogn + 45 51 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 52 Emacs-x86_64-10_14 0x000000010013eaa4 Funwind_protect + 292 53 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 54 Emacs-x86_64-10_14 0x000000010013de5d Flet + 1021 55 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 56 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 57 Emacs-x86_64-10_14 0x000000010013de5d Flet + 1021 58 Emacs-x86_64-10_14 0x000000010013c724 eval_sub + 1556 59 Emacs-x86_64-10_14 0x0000000100141a9d funcall_lambda + 829 60 Emacs-x86_64-10_14 0x0000000100140ab9 Ffuncall + 633 61 Emacs-x86_64-10_14 0x0000000100184d3e exec_byte_code + 1838 62 Emacs-x86_64-10_14 0x0000000100140ab9 Ffuncall + 633 63 Emacs-x86_64-10_14 0x000000010014124c call1 + 44 64 Emacs-x86_64-10_14 0x00000001000320e6 display_mode_element + 3606 65 Emacs-x86_64-10_14 0x0000000100033886 display_mode_element + 9654 66 Emacs-x86_64-10_14 0x0000000100033886 display_mode_element + 9654 67 Emacs-x86_64-10_14 0x000000010001bf39 display_mode_line + 393 68 Emacs-x86_64-10_14 0x000000010001abf4 pos_visible_p + 452 69 Emacs-x86_64-10_14 0x0000000100067ddc window_scroll + 940 70 Emacs-x86_64-10_14 0x00000001000676ea scroll_command + 186 71 Emacs-x86_64-10_14 0x000000010006771e Fscroll_down + 14 72 Emacs-x86_64-10_14 0x0000000100141657 funcall_subr + 279 73 Emacs-x86_64-10_14 0x0000000100140b18 Ffuncall + 728 74 Emacs-x86_64-10_14 0x0000000100184d3e exec_byte_code + 1838 75 Emacs-x86_64-10_14 0x0000000100141ae1 funcall_lambda + 897 76 Emacs-x86_64-10_14 0x0000000100140ab9 Ffuncall + 633 77 Emacs-x86_64-10_14 0x0000000100139c26 Ffuncall_interactively + 70 78 Emacs-x86_64-10_14 0x0000000100140b18 Ffuncall + 728 79 Emacs-x86_64-10_14 0x0000000100139e92 Fcall_interactively + 594 80 Emacs-x86_64-10_14 0x000000010014166b funcall_subr + 299 81 Emacs-x86_64-10_14 0x0000000100140b18 Ffuncall + 728 82 Emacs-x86_64-10_14 0x0000000100184d3e exec_byte_code + 1838 83 Emacs-x86_64-10_14 0x0000000100140ab9 Ffuncall + 633 84 Emacs-x86_64-10_14 0x000000010014124c call1 + 44 85 Emacs-x86_64-10_14 0x00000001000bfb0c command_loop_1 + 1900 86 Emacs-x86_64-10_14 0x000000010013f16c internal_condition_case + 268 87 Emacs-x86_64-10_14 0x00000001000cef60 command_loop_2 + 48 88 Emacs-x86_64-10_14 0x000000010013e760 internal_catch + 272 89 Emacs-x86_64-10_14 0x00000001000be81e command_loop + 158 90 Emacs-x86_64-10_14 0x00000001000be72f recursive_edit_1 + 111 91 Emacs-x86_64-10_14 0x00000001000bea16 Frecursive_edit + 406 92 Emacs-x86_64-10_14 0x00000001000bd32d main + 6477 93 libdyld.dylib 0x00007fff58c923d5 start + 1
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.