all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp
@ 2016-09-19 19:47 Souvik Banerjee
  2016-09-28 21:34 ` Alan Third
                   ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Souvik Banerjee @ 2016-09-19 19:47 UTC (permalink / raw)
  To: 24472


Here's the backtrace:

Process:               Emacs [1430]
Path:                  /usr/local/Cellar/emacs/25.1/Emacs.app/Contents/MacOS/Emacs
Identifier:            org.gnu.Emacs
Version:               Version 25.1 (9.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Emacs [1430]
User ID:               501

Date/Time:             2016-09-19 14:42:55.179 -0500
OS Version:            Mac OS X 10.12 (16A320)
Report Version:        12
Anonymous UUID:        00819A85-3769-577C-4799-FC11BE086FD0

Sleep/Wake UUID:       72CC465D-5383-45C7-A404-12C5D1E13086

Time Awake Since Boot: 350000 seconds
Time Since Wake:       3100 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        	0x00007fffa71cedda __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fffa72b9797 pthread_kill + 90
2   libsystem_c.dylib             	0x00007fffa70e54d7 raise + 26
3   org.gnu.Emacs                 	0x00000001000a0ea3 terminate_due_to_signal + 139
4   org.gnu.Emacs                 	0x00000001000b868e emacs_abort + 19
5   org.gnu.Emacs                 	0x000000010016e708 ns_term_shutdown + 122
6   org.gnu.Emacs                 	0x00000001000a105d shut_down_emacs + 261
7   org.gnu.Emacs                 	0x00000001000a0e6d terminate_due_to_signal + 85
8   org.gnu.Emacs                 	0x00000001000ba524 handle_fatal_signal + 14
9   org.gnu.Emacs                 	0x00000001000b996d deliver_fatal_thread_signal + 114
10  libsystem_platform.dylib      	0x00007fffa72acbba _sigtramp + 26
11  ???                           	0x00007fffffffffff 0 + 140737488355327
12  libsystem_kernel.dylib        	0x00007fffa71ca2e9 abort_with_reason + 22
13  libobjc.A.dylib               	0x00007fffa67c49d2 _objc_fatalv(unsigned long long, unsigned long long, char const*, __va_list_tag*) + 102
14  libobjc.A.dylib               	0x00007fffa67c486d _objc_fatal(char const*, ...) + 154
15  libobjc.A.dylib               	0x00007fffa67b7fbf (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 1087
16  com.apple.CoreFoundation      	0x00007fff9201f496 _CFAutoreleasePoolPop + 22
17  com.apple.Foundation          	0x00007fff93a5d8f0 -[NSAutoreleasePool release] + 146
18  org.gnu.Emacs                 	0x000000010018130e ns_update_menubar + 2173
19  org.gnu.Emacs                 	0x000000010018136a x_activate_menubar + 14
20  org.gnu.Emacs                 	0x00000001000a8cb2 read_char + 7931
21  org.gnu.Emacs                 	0x00000001000a5202 read_key_sequence + 1447
22  org.gnu.Emacs                 	0x00000001000a3dec command_loop_1 + 775
23  org.gnu.Emacs                 	0x0000000100109cdd internal_condition_case + 70
24  org.gnu.Emacs                 	0x00000001000b05f5 command_loop_2 + 37
25  org.gnu.Emacs                 	0x00000001001098ae internal_catch + 54
26  org.gnu.Emacs                 	0x00000001000a33e6 command_loop + 156
27  org.gnu.Emacs                 	0x00000001000a3308 recursive_edit_1 + 113
28  org.gnu.Emacs                 	0x00000001000a351d Frecursive_edit + 219
29  org.gnu.Emacs                 	0x00000001000a24f6 main + 5194
30  libdyld.dylib                 	0x00007fffa70a0255 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffa71cf4e6 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffa72b67c5 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffa72b6221 start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib        	0x00007fffa71cf4e6 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffa72b67c5 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffa72b6221 start_wqthread + 13

Thread 3:: gmain
0   libsystem_kernel.dylib        	0x00007fffa71cef4e __select + 10
1   libglib-2.0.0.dylib           	0x000000010088b6c6 g_poll + 428
2   libglib-2.0.0.dylib           	0x000000010088023f g_main_context_iterate + 326
3   libglib-2.0.0.dylib           	0x00000001008802ee g_main_context_iteration + 55
4   libglib-2.0.0.dylib           	0x00000001008813ae glib_worker_main + 53
5   libglib-2.0.0.dylib           	0x00000001008a03e2 g_thread_proxy + 90
6   libsystem_pthread.dylib       	0x00007fffa72b6abb _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffa72b6a07 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffa72b6231 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fffa71cef4e __select + 10
1   org.gnu.Emacs                 	0x000000010016f7fa -[EmacsApp fd_handler:] + 251
2   com.apple.Foundation          	0x00007fff93a6e30d __NSThread__start__ + 1243
3   libsystem_pthread.dylib       	0x00007fffa72b6abb _pthread_body + 180
4   libsystem_pthread.dylib       	0x00007fffa72b6a07 _pthread_start + 286
5   libsystem_pthread.dylib       	0x00007fffa72b6231 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fffa71cf4e6 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffa72b67c5 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffa72b6221 start_wqthread + 13

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fffa71c741a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffa71c6867 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff920618d4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff92060d61 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fff920605b4 CFRunLoopRunSpecific + 420
5   com.apple.AppKit              	0x00007fff8fe44e9e _NSEventThread + 205
6   libsystem_pthread.dylib       	0x00007fffa72b6abb _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffa72b6a07 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffa72b6231 thread_start + 13

Thread 7:
0   libsystem_pthread.dylib       	0x00007fffa72b6214 start_wqthread + 0
1   ???                           	0x6e69740000000000 0 + 7956017760075513856

Thread 8:
0   libsystem_kernel.dylib        	0x00007fffa71cf4e6 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffa72b67c5 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffa72b6221 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5fbfe128  rdx: 0x0000000000000000
  rdi: 0x000000000000150b  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfe150  rsp: 0x00007fff5fbfe128
   r8: 0x0000000000000050   r9: 0x0000600000083390  r10: 0x0000000000000000  r11: 0x0000000000000287
  r12: 0xc0bb521eea4d0074  r13: 0x0000000000000000  r14: 0x00007fffafd953c0  r15: 0x0000000000000000
  rip: 0x00007fffa71cedda  rfl: 0x0000000000000286  cr2: 0x00007fff921ac150

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x100000000 -        0x1001cdfeb +org.gnu.Emacs (Version 25.1 - 9.0) <1CEBDD74-B9F2-30CE-B52A-6F7753B87F53> /usr/local/Cellar/emacs/25.1/Emacs.app/Contents/MacOS/Emacs
       0x10062b000 -        0x100656ff7 +libjpeg.8.dylib (0) <F058D36A-6433-3380-A15D-BF1B2C7CCC5B> /usr/local/opt/jpeg/lib/libjpeg.8.dylib
       0x10065d000 -        0x100685ffb +librsvg-2.2.dylib (0) <B82A488B-2C9D-3C24-8A6F-25262469FDBB> /usr/local/opt/librsvg/lib/librsvg-2.2.dylib
       0x100693000 -        0x100787ff3 +libgio-2.0.0.dylib (0) <BC21923C-64B1-35F0-98A8-3F0A963D55BE> /usr/local/opt/glib/lib/libgio-2.0.0.dylib
       0x1007f0000 -        0x100805ffb +libgdk_pixbuf-2.0.0.dylib (0) <657B83E3-853F-363C-941B-E36E01002110> /usr/local/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib
       0x10080f000 -        0x100840ffb +libgobject-2.0.0.dylib (0) <08961B60-F405-314A-8EA1-889B3EBED5BC> /usr/local/opt/glib/lib/libgobject-2.0.0.dylib
       0x100853000 -        0x100919fff +libglib-2.0.0.dylib (0) <BBF94615-DC7E-31CD-9222-E5917A0C48DB> /usr/local/opt/glib/lib/libglib-2.0.0.dylib
       0x10093d000 -        0x100945ff3 +libintl.8.dylib (0) <9A1967E0-AC59-3EF6-B14F-643AF08A6B4F> /usr/local/opt/gettext/lib/libintl.8.dylib
       0x10094a000 -        0x1009f2fff +libcairo.2.dylib (0) <945F52D8-EF05-36F4-B000-BB47B766CD7F> /usr/local/opt/cairo/lib/libcairo.2.dylib
       0x100a1d000 -        0x100b09fff +libMagickWand-6.Q16.2.dylib (0) <D4A8C68D-6391-3BF0-89C0-1366114FE568> /usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.2.dylib
       0x100b22000 -        0x100c86ffb +libMagickCore-6.Q16.2.dylib (0) <339ADCF3-7D35-3C4A-A280-EB235AA4D2B1> /usr/local/opt/imagemagick/lib/libMagickCore-6.Q16.2.dylib
       0x100cbb000 -        0x100d84ff7 +libgnutls.30.dylib (0) <28F475A2-8499-315F-B91D-5CCB4BF961E1> /usr/local/opt/gnutls/lib/libgnutls.30.dylib
       0x100db9000 -        0x100dc7ffb +libpangocairo-1.0.0.dylib (0) <FC33B01B-6FD8-3334-B655-58109DC407F1> /usr/local/opt/pango/lib/libpangocairo-1.0.0.dylib
       0x100dd3000 -        0x100e04fff +libpango-1.0.0.dylib (0) <17426574-D961-325F-AD78-9EA6DB686053> /usr/local/opt/pango/lib/libpango-1.0.0.dylib
       0x100e16000 -        0x100e39ffb +libpng16.16.dylib (0) <01088AC2-5BF8-3B05-AD2D-29A5DA7DD88C> /usr/local/opt/libpng/lib/libpng16.16.dylib
       0x100e42000 -        0x100e66ff3 +libcroco-0.6.3.dylib (0) <D3A65DE1-042C-3DA4-A6BF-CFEDE1B03BDE> /usr/local/opt/libcroco/lib/libcroco-0.6.3.dylib
       0x100e73000 -        0x100e76fff +libgmodule-2.0.0.dylib (0) <039A20F2-F795-34BC-A9A6-6E5E0C224A0B> /usr/local/opt/glib/lib/libgmodule-2.0.0.dylib
       0x100e79000 -        0x100ee0ffb +libpcre.1.dylib (0) <72B38303-DEA3-341D-B643-88A868EE0360> /usr/local/opt/pcre/lib/libpcre.1.dylib
       0x100ee5000 -        0x100ee9ff7 +libffi.6.dylib (0) <88AE92E4-BC7C-3F3E-B5F4-6900D8A45065> /usr/local/opt/libffi/lib/libffi.6.dylib
       0x100eec000 -        0x100ef9fff +libpangoft2-1.0.0.dylib (0) <EF712768-5C91-3C45-B0F1-5AFCF3AC4646> /usr/local/Cellar/pango/1.40.3/lib/libpangoft2-1.0.0.dylib
       0x100f04000 -        0x100f06fff +libgthread-2.0.0.dylib (0) <A28E84A1-34DF-3ED0-9F37-2063ECF70A7C> /usr/local/opt/glib/lib/libgthread-2.0.0.dylib
       0x100f09000 -        0x100f6cff7 +libharfbuzz.0.dylib (0) <44419CD6-AA2F-3415-8C65-AA6470667996> /usr/local/opt/harfbuzz/lib/libharfbuzz.0.dylib
       0x100f82000 -        0x100faffff +libfontconfig.1.dylib (0) <95794440-D044-33FB-97DD-AB458E5FF34B> /usr/local/opt/fontconfig/lib/libfontconfig.1.dylib
       0x100fbf000 -        0x101032ff3 +libfreetype.6.dylib (0) <8692385A-4D59-32A3-AAC3-D0C3F7111E51> /usr/local/opt/freetype/lib/libfreetype.6.dylib
       0x101049000 -        0x1010b4ff7 +libpixman-1.0.dylib (0) <F2554819-FC66-3038-883C-5C41DF4CA28C> /usr/local/opt/pixman/lib/libpixman-1.0.dylib
       0x1010c7000 -        0x1010e0ffb  libexpat.1.dylib (15) <617B8B7A-A0AB-37D6-AFCA-F90F7F14E455> /usr/lib/libexpat.1.dylib
       0x1010ea000 -        0x101105ffb +liblzma.5.dylib (0) <0347E987-2D09-39C6-A97B-054D17F41B20> /usr/local/opt/xz/lib/liblzma.5.dylib
       0x10110b000 -        0x101110fff +libltdl.7.dylib (0) <B93EBF56-82C3-3B3D-9240-387FF15FF589> /usr/local/opt/libtool/lib/libltdl.7.dylib
       0x101114000 -        0x101120fff +libtasn1.6.dylib (0) <7EF09487-6F3E-302F-BFF9-1525C7B0D702> /usr/local/opt/libtasn1/lib/libtasn1.6.dylib
       0x101124000 -        0x10114aff3 +libnettle.6.dylib (0) <3A678D13-A933-3783-B112-ACF50447AC23> /usr/local/opt/nettle/lib/libnettle.6.dylib
       0x101154000 -        0x10117bff7 +libhogweed.4.dylib (0) <B397C5BA-3C96-3809-BF30-F32E5AECB914> /usr/local/opt/nettle/lib/libhogweed.4.dylib
       0x101183000 -        0x1011eafff +libgmp.10.dylib (0) <8E2346D7-122C-3769-B027-D09C022EF6AC> /usr/local/opt/gmp/lib/libgmp.10.dylib
       0x109800000 -        0x109d60fff  com.apple.driver.AppleIntelBDWGraphicsGLDriver (10.18.65 - 10.1.8) <6CBAD16A-FF7C-3B5D-ABD3-5BAF0548FEA5> /System/Library/Extensions/AppleIntelBDWGraphicsGLDriver.bundle/Contents/MacOS/AppleIntelBDWGraphicsGLDriver
       0x10a100000 -        0x10a17dfff  com.apple.driver.AppleIntelBDWGraphicsMTLDriver (10.18.65 - 10.1.8) <1583A20D-E1C2-370A-9D6D-6442CD5191F3> /System/Library/Extensions/AppleIntelBDWGraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelBDWGraphicsMTLDriver
       0x10c427000 -        0x10c4641c7  dyld (421.1) <A525EAEA-AF86-30C2-B360-3D093B4F0828> /usr/lib/dyld
    0x7fff8ce8c000 -     0x7fff8d1c4fff  com.apple.RawCamera.bundle (7.00 - 874) <2805CACB-E8A5-3BC9-8B5F-6068CD7EC120> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x7fff8ecd6000 -     0x7fff8ecd6fff  com.apple.Accelerate (1.11 - Accelerate 1.11) <D700DBDF-69AE-37A2-B9C7-0961CF0B6841> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8ecd7000 -     0x7fff8eceeffb  libCGInterfaces.dylib (331.4) <03835456-F519-3B47-85F6-426BF7B05EE3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
    0x7fff8ecef000 -     0x7fff8f208feb  com.apple.vImage (8.1 - ???) <A1D77DB1-2893-3A18-8986-BD78E441D89D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8f209000 -     0x7fff8f379ff3  libBLAS.dylib (1185) <C7E42BBE-2337-3AEF-9C45-A2F2CB1A5B3E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff8f37a000 -     0x7fff8f38effb  libBNNS.dylib (14) <CFDEE88D-E002-347C-BC68-83099651585B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
    0x7fff8f38f000 -     0x7fff8f785fef  libLAPACK.dylib (1185) <2E8201CB-9A41-3D65-853E-841917FCE77B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8f786000 -     0x7fff8f79cfff  libLinearAlgebra.dylib (1185) <8CC29DE1-A231-3D5E-B5F1-DCC309036FE0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff8f79d000 -     0x7fff8f7a3fff  libQuadrature.dylib (3) <120F6228-A3D4-3184-89D7-785ADC2AC715> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
    0x7fff8f7a4000 -     0x7fff8f7b8ff7  libSparseBLAS.dylib (1185) <C35235B7-CFA6-39A7-BD6E-79F4D9CAFD36> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fff8f7b9000 -     0x7fff8f940fe7  libvDSP.dylib (600) <F59348AA-E1D3-3A27-8AB5-F546D38BFB76> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8f941000 -     0x7fff8f9f3ffb  libvMisc.dylib (600) <70D4B548-47EE-3C6B-A93B-3EA6B60701E0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8f9f4000 -     0x7fff8f9f4fff  com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <A395B521-8E54-30F2-B4FE-355D68900DAF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8fcb1000 -     0x7fff90988ff3  com.apple.AppKit (6.9 - 1504) <5524F97F-FB11-3556-8AC4-FF634C6CCCB7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff9099a000 -     0x7fff9099afff  com.apple.ApplicationServices (48 - 48) <3E1395EA-C661-3318-9B87-9857BB81021B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff9099b000 -     0x7fff90a09ff7  com.apple.ApplicationServices.ATS (377 - 422) <521E41BF-D495-3233-B6BF-C0B83DD1A8C0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff90aa3000 -     0x7fff90bd1fff  libFontParser.dylib (194) <CDC6A0AA-E6AC-315B-AFBF-011F64548911> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff90bd2000 -     0x7fff90c1cfff  libFontRegistry.dylib (196) <3B8B0E78-2B30-3F18-B7D3-BE4E96F6BAF3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff90c79000 -     0x7fff90cabfff  libTrueTypeScaler.dylib (194) <E8B9E8E7-1F7A-3700-895C-501C12EDD001> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
    0x7fff90d17000 -     0x7fff90dc1ff7  com.apple.ColorSync (4.12.0 - 502) <C86F8032-83DD-34EB-A4CB-87E96F25CF1C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff90dc2000 -     0x7fff90e12fff  com.apple.HIServices (1.22 - 589) <3167EF9C-F121-39EF-AAE2-7700E7128426> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff90e13000 -     0x7fff90e22ff3  com.apple.LangAnalysis (1.7.0 - 1.7.0) <47D1A017-91A4-37F3-93E0-3923CD6ED2DE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff90e23000 -     0x7fff90e70fff  com.apple.print.framework.PrintCore (12 - 491) <B7CC15C1-AF50-37F3-8AF6-65F8CDC323F0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff90e71000 -     0x7fff90eacfff  com.apple.QD (3.12 - 310) <8F718290-DD82-36CE-9AF0-EFB6D31A49F4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff90ead000 -     0x7fff90eb8ff7  com.apple.speech.synthesis.framework (6.0.15 - 6.0.15) <23EA6076-ECDF-3A50-81E7-3CE6451DC8C4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff90eb9000 -     0x7fff910c5fff  com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <EDDC86C8-92F3-34C6-A5C1-A176ADA724C3> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff910c6000 -     0x7fff910c6fff  com.apple.audio.units.AudioUnit (1.14 - 1.14) <AA9DB0D2-3B2F-3366-B451-DD9E89038F6F> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff9122f000 -     0x7fff915b2fff  com.apple.CFNetwork (807.0.4 - 807.0.4) <A338A213-4FFF-3317-B4DB-84735C63C507> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff915cc000 -     0x7fff915ccfff  com.apple.Carbon (154 - 157) <AB71A31F-5B15-3BF5-8532-591EACD07B21> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff915cd000 -     0x7fff915d0fff  com.apple.CommonPanels (1.2.6 - 98) <DDA2DF0B-86E7-34B6-B688-D7371DBC8A63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff915d1000 -     0x7fff918d4fff  com.apple.HIToolbox (2.1.1 - 855) <AA4E2957-6B2D-3822-881C-0F64222F9578> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff918d5000 -     0x7fff918d8ff7  com.apple.help (1.3.5 - 49) <27C5F9FE-838F-3807-A4AC-D99470185B10> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff918d9000 -     0x7fff918defff  com.apple.ImageCapture (9.0 - 9.0) <E3E757FD-4060-33A4-A2AC-85EFBD987FCE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff918df000 -     0x7fff91976ff3  com.apple.ink.framework (10.9 - 219) <B44BA36D-7549-3EB2-8CF6-E171885194FB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff91977000 -     0x7fff91991fff  com.apple.openscripting (1.7 - 172) <B204BF70-C4AA-3699-8493-66E6645A92A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff91992000 -     0x7fff91993ff3  com.apple.print.framework.Print (12 - 267) <CA7E9448-0903-34C8-AAF6-9070B52BF70E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff91994000 -     0x7fff91996ff7  com.apple.securityhi (9.0 - 55006) <856F4FB9-AAF2-3FC2-BE19-E7AB494232CC> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff91997000 -     0x7fff9199dff7  com.apple.speech.recognition.framework (6.0.1 - 6.0.1) <A20B0F7B-C32A-3FF1-BB75-BAC0EE4EF889> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff91a7d000 -     0x7fff91a7dfff  com.apple.Cocoa (6.11 - 22) <5EEB0A26-F1C2-3D57-8441-52C0B80C2A6A> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff91bb0000 -     0x7fff91c40ff7  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <0352D931-596B-3AFE-B5C6-5925CF9F870E> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff91c41000 -     0x7fff91c54ff3  com.apple.CoreBluetooth (1.0 - 1) <73A2B185-70E4-3535-A653-E1BC74584E55> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
    0x7fff91c55000 -     0x7fff91f4bffb  com.apple.CoreData (120 - 752.2) <CCDCE896-CD36-3483-8E04-C513433BDDC5> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff91f4c000 -     0x7fff91fd8fff  com.apple.CoreDisplay (1.0 - 1) <F10E2F1A-FA51-3256-BCCE-34FF30AB1E3A> /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
    0x7fff91fd9000 -     0x7fff92472fef  com.apple.CoreFoundation (6.9 - 1348.1) <4F7826EC-CC36-38B4-A8F3-DC57BF00EE9B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff92473000 -     0x7fff92af1fff  com.apple.CoreGraphics (2.0 - 1070) <ED82EAB8-A6E9-30C5-A36E-0F1597A259EF> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff92af2000 -     0x7fff92d31ff7  com.apple.CoreImage (12.0.0 - 451) <84C71E9C-5231-342F-94B1-2BB6860E8AD3> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff92e8c000 -     0x7fff92e8cfff  com.apple.CoreServices (775.8 - 775.8) <C36F7F47-D585-32F2-8A6F-7711935CDFD6> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff92e8d000 -     0x7fff92edeff7  com.apple.AE (712 - 712) <0EF17D7E-6BA4-3555-BC38-9BD0CC5B82A3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff92edf000 -     0x7fff931bafff  com.apple.CoreServices.CarbonCore (1159 - 1159) <837B7ECF-7E62-3210-988C-63D7AB4EAA88> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff931bb000 -     0x7fff931eefff  com.apple.DictionaryServices (1.2 - 274) <302B8678-D057-3CF8-ACA7-7424A4A6A00A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff931ef000 -     0x7fff931f7ffb  com.apple.CoreServices.FSEvents (1230 - 1230) <8836E7D0-844F-36F9-9601-B630BB82336B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff931f8000 -     0x7fff93363fff  com.apple.LaunchServices (775.8 - 775.8) <6E7CE1DA-27A4-3B48-A8E3-F2AA868ADD7C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff93364000 -     0x7fff93414ffb  com.apple.Metadata (10.7.0 - 1075) <9EDF10CF-1755-346A-A3C9-97642C443A58> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff93415000 -     0x7fff93474fff  com.apple.CoreServices.OSServices (775.8 - 775.8) <FCF1334F-D2D7-3C5A-A8FE-C173C5EDE586> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff93475000 -     0x7fff934e5fff  com.apple.SearchKit (1.4.0 - 1.4.0) <F1B3EF8D-E820-317C-AC7F-8F056C246874> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff934e6000 -     0x7fff9352cff7  com.apple.coreservices.SharedFileList (38 - 38) <6C5A3FBB-9502-3725-AC3A-AE7B1528BBD4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fff935b9000 -     0x7fff93704ff7  com.apple.CoreText (352.0 - 544) <064B53E8-CD5A-3D1B-81DF-498A659FC20A> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff93705000 -     0x7fff9373afff  com.apple.CoreVideo (1.8 - 234.0) <48C31E93-87C2-31F4-97E7-9E54C1EA8E7D> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff9373b000 -     0x7fff937acffb  com.apple.framework.CoreWLAN (11.0 - 1200.25.1) <F46EF4A2-C348-3F76-A1C2-B8A84C17FE2B> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff938a7000 -     0x7fff938acfff  com.apple.DiskArbitration (2.7 - 2.7) <566D5C06-13E8-3638-B2EC-2B834D5F04F1> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff93a3b000 -     0x7fff93de2ffb  com.apple.Foundation (6.9 - 1349) <08A463B1-296E-3AC1-B8D3-01A75B0785A8> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff93e0e000 -     0x7fff93e3fff3  com.apple.GSS (4.0 - 2.0) <B30A0B99-AFDE-3BF8-A04F-761A75A6A3B1> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff93ef3000 -     0x7fff93f96ffb  com.apple.Bluetooth (5.0.0 - 5.0.0f17) <E8BCB872-7806-3D07-B44A-8060D2581C9C> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fff93f97000 -     0x7fff9402cfff  com.apple.framework.IOKit (2.0.2 - 1324.1.7) <10BDCD1E-0463-3C53-BF11-C9A0919C1588> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff9402d000 -     0x7fff94033ffb  com.apple.IOSurface (152 - 152) <558D4451-2D9D-3D47-B3A5-E7C18DF53F1B> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff94087000 -     0x7fff941ddfef  com.apple.ImageIO.framework (3.3.0 - 1570.1) <AB0EB12E-A175-3901-A50F-3D9DF7494DFD> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff941de000 -     0x7fff941e2fff  libGIF.dylib (1570.1) <118942D5-4B78-32AF-BC57-AF1EFAFADE44> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff941e3000 -     0x7fff942d3fff  libJP2.dylib (1570.1) <12D6A8AE-58CA-342B-884B-C39DF672EFD1> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff942d4000 -     0x7fff942f7ffb  libJPEG.dylib (1570.1) <FD9BB4E5-EB4B-3ECF-866A-2B3C6BB1842C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff942f8000 -     0x7fff9431fff7  libPng.dylib (1570.1) <1F8E3EB7-BD80-3E8B-9BD4-213EBDB9BD07> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff94320000 -     0x7fff94322ff3  libRadiance.dylib (1570.1) <0136CEAF-70C5-3B3F-A3A9-C79D6C95CD4A> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff94323000 -     0x7fff9437cff3  libTIFF.dylib (1570.1) <BE6B299B-6481-36F8-9A18-FD6628DC4D54> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff94f43000 -     0x7fff94f5cff7  com.apple.Kerberos (3.0 - 1) <49DCBE1A-130C-3FBF-AAEA-AF9A518913AC> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff95740000 -     0x7fff95797ff7  com.apple.Metal (85.82 - 85.82) <CDC847A6-F1F6-3661-8981-180F2A485092> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fff95ead000 -     0x7fff95eb5fff  com.apple.NetFS (6.0 - 4.0) <6614F9B8-0861-338B-8FF0-8E402F96141C> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff96089000 -     0x7fff96091ff7  libcldcpuengine.dylib (2.8.4) <F15C17F0-3342-36BD-A28E-7AC44B87BF8C> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
    0x7fff9625a000 -     0x7fff962a8ff3  com.apple.opencl (2.8.6 - 2.8.6) <DA3164B7-EB48-3F68-A40F-CD9B433E385F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff962a9000 -     0x7fff962c2ffb  com.apple.CFOpenDirectory (10.12 - 194) <BDD22B3E-4149-366A-A974-942280861DD4> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff962c3000 -     0x7fff962ceff7  com.apple.OpenDirectory (10.12 - 194) <E1125140-E42C-369C-8DC8-D0935767B275> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff962cf000 -     0x7fff962d1fff  libCVMSPluginSupport.dylib (12.4.2.1) <5A7CBDC5-297E-30E0-8951-2F3DAFD0027E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff962d2000 -     0x7fff962d5ff7  libCoreFSCache.dylib (148) <3297ACE0-B9D8-3821-8685-2619B4234621> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x7fff962d6000 -     0x7fff962d9fff  libCoreVMClient.dylib (148) <B4299590-02BA-3130-98EA-A2D3A53852E1> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff962da000 -     0x7fff962e2ffb  libGFXShared.dylib (12.4.2.1) <3CBE90E5-6472-3C4C-825D-7567A5652115> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff962e3000 -     0x7fff962eefff  libGL.dylib (12.4.2.1) <E68C6C85-3B98-3525-9279-3296977FBF9F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff962ef000 -     0x7fff9632bff7  libGLImage.dylib (12.4.2.1) <50C7DE05-73CB-3D21-BB93-31C384EB6199> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff9632c000 -     0x7fff964a2ffb  libGLProgrammability.dylib (12.4.2.1) <2B17044B-CDB6-38F7-BA1F-9ED1A078481A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
    0x7fff964a3000 -     0x7fff964e3ff3  libGLU.dylib (12.4.2.1) <D5DB68EC-751F-34D1-BCEB-2B86D560E243> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff96e4b000 -     0x7fff96e59fff  com.apple.opengl (12.4.2 - 12.4.2) <06F5BF0B-BD03-361D-9D7B-626517E4F761> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff96e5a000 -     0x7fff97000fff  GLEngine (12.4.2.1) <8FFA4B17-F02A-3D7A-ACA9-D156E4E43B4D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
    0x7fff97001000 -     0x7fff9702bffb  GLRendererFloat (12.4.2.1) <82826589-22A1-312C-9C4E-FA45F4D8D976> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
    0x7fff97b6a000 -     0x7fff97d64ff7  com.apple.QuartzCore (1.11 - 449.39) <B6BEEBAC-2923-3BA6-8DBD-621A2B0E51C1> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff982ca000 -     0x7fff985e5fff  com.apple.security (7.0 - 57740.1.18) <AF5E42F1-B513-3410-A5BE-1EC9CBAF8452> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff985e6000 -     0x7fff9865cff7  com.apple.securityfoundation (6.0 - 55132.1.1) <259D4B70-0F8C-3818-99E7-3EBEAA18DE1B> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff98686000 -     0x7fff98689ff3  com.apple.xpc.ServiceManagement (1.0 - 1) <6A9EA339-BB6A-3DD9-BF08-00B8C0262839> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff98a0e000 -     0x7fff98a7fff7  com.apple.SystemConfiguration (1.14 - 1.14) <C7F21776-2CCE-327B-B155-7A5948277BD6> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff9b08d000 -     0x7fff9b0a8ff3  com.apple.AppContainer (4.0 - 307.1.1) <05373DD5-5892-3542-B178-C140F1AB6886> /System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContainer
    0x7fff9b0a9000 -     0x7fff9b0b6ff3  com.apple.AppSandbox (4.0 - 307.1.1) <20324EFC-70DC-389D-9C27-37DCAA7E07CC> /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox
    0x7fff9b0b7000 -     0x7fff9b0d9ffb  com.apple.framework.Apple80211 (12.0 - 1200.33) <06F8EA45-5E43-3744-BF41-BA86B8BBB5CF> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fff9b0da000 -     0x7fff9b0e9fdb  com.apple.AppleFSCompression (88 - 1.0) <B6E2148F-BFBF-3F1B-A7DF-0F39190B4C20> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff9b1d4000 -     0x7fff9b25f97f  com.apple.AppleJPEG (1.0 - 1) <B4C3209B-58A5-359F-A898-F61B6C40E5E9> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fff9b67b000 -     0x7fff9b6f9ff7  com.apple.backup.framework (1.8 - 1.8) <65907BC4-B50A-3F2F-9A97-2DA0BD12F87E> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff9c313000 -     0x7fff9c33affb  com.apple.ChunkingLibrary (172 - 172) <83E91936-305D-32A4-A256-5582B96B1852> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff9cc5a000 -     0x7fff9cc63ffb  com.apple.CommonAuth (4.0 - 2.0) <D9958C57-9E97-33F5-A21C-B454FDB11548> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff9d37f000 -     0x7fff9d390fff  com.apple.CoreEmoji (1.0 - 40) <F3D73BF8-6D48-3B1F-BBE6-EE927E725E92> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
    0x7fff9d669000 -     0x7fff9d699ff3  com.apple.CoreServicesInternal (276 - 276) <CCB21255-89DC-3F53-A6D6-8FA8F693C837> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff9d922000 -     0x7fff9d9acfff  com.apple.CoreSymbolication (61050) <BAC8D20F-4DC6-32EE-91FE-BF08E930420A> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff9d9ad000 -     0x7fff9dae7fef  com.apple.coreui (2.1 - 424.1) <B9B92DB5-1C6C-306F-BD29-B1F82EC95283> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff9dae8000 -     0x7fff9db87ffb  com.apple.CoreUtils (4.3 - 430.70) <87BEB880-3D71-3251-B51E-FF0A42DFC065> /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
    0x7fff9dbd7000 -     0x7fff9dc3cff3  com.apple.framework.CoreWiFi (12.0 - 1200.25.1) <D7C870BE-55DE-34AF-8941-D42696D505B1> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
    0x7fff9dc3d000 -     0x7fff9dc48fff  com.apple.CrashReporterSupport (10.12 - 815) <10C3797E-DD63-303B-B901-1C52A502D2F8> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff9dcee000 -     0x7fff9dd65ff3  com.apple.datadetectorscore (7.0 - 539) <C3F6F52B-A1AD-36FA-9BF9-C8D0E147F0A3> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff9dd9f000 -     0x7fff9dddefff  com.apple.DebugSymbols (137 - 137) <B229F3F7-250B-3151-8048-CEA7BF80FA52> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff9dddf000 -     0x7fff9def0ff7  com.apple.desktopservices (1.11 - 1.11) <494E239D-706F-350B-9481-2A8ECEEDBD8B> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff9e1bb000 -     0x7fff9e5ecff7  com.apple.vision.FaceCore (3.3.2 - 3.3.2) <DEB42099-6927-332C-8D3E-D45096318D25> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff9f925000 -     0x7fff9f925fff  libmetal_timestamp.dylib (600.0.48.25) <348D32E6-AD49-36DC-A0DE-5A44B2699FFA> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
    0x7fff9f932000 -     0x7fff9f93dff3  libGPUSupportMercury.dylib (12.4.2.1) <A720545E-40F3-3FE0-A8B3-067D49083417> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
    0x7fff9fbef000 -     0x7fff9fc0bff7  com.apple.GenerationalStorage (2.0 - 259) <43D40063-BD46-3008-8992-FF092B7C9A58> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fffa02fd000 -     0x7fffa0373fff  com.apple.Heimdal (4.0 - 2.0) <18C127D7-9C61-3C5B-8C6F-7953760D2674> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fffa0374000 -     0x7fffa0385fff  com.apple.HelpData (2.1.10 - 100) <BD5AC3F0-9619-3D1C-B96D-6BFCAD1C0245> /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
    0x7fffa0985000 -     0x7fffa098cffb  com.apple.IOAccelerator (288.13 - 288.13) <F77E27C3-20DD-3CE5-9D0A-6C89A997080E> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
    0x7fffa098e000 -     0x7fffa09a2ff3  com.apple.IOPresentment (1.0 - 25) <40934217-996A-3DDB-A8C4-484CA0F0222B> /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
    0x7fffa09a3000 -     0x7fffa09c5ff7  com.apple.IconServices (74.1 - 74.1) <F7B83970-4A72-3186-BBB3-90FA86C3E263> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fffa0aa7000 -     0x7fffa0c5bfff  com.apple.LanguageModeling (1.0 - 123) <10152D7F-C7C0-34AA-A295-D712D16C76E6> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fffa14f1000 -     0x7fffa1569fef  com.apple.MetalPerformanceShaders.MetalPerformanceShaders (1.0 - 1) <FAFA0DF5-4226-3867-A2E2-CAB889DC4490> /System/Library/PrivateFrameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
    0x7fffa16eb000 -     0x7fffa1711fff  com.apple.MultitouchSupport.framework (367.6 - 367.6) <32D8588A-29BD-3A23-92B2-05C013DA5BC5> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fffa17be000 -     0x7fffa17c8fff  com.apple.NetAuth (6.0 - 6.0) <D57D5888-0290-3295-A1C4-D673D4DCB497> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fffa1f69000 -     0x7fffa1faaff7  com.apple.PerformanceAnalysis (1.145 - 145) <9DF1FCCC-7EBF-3213-B77A-0C3D3B7CF7AF> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fffa263a000 -     0x7fffa2654fff  com.apple.ProtocolBuffer (1 - 249) <D8B7694B-B598-3728-8583-9C4CC0F05B64> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
    0x7fffa266e000 -     0x7fffa2691ff3  com.apple.RemoteViewServices (2.0 - 124) <280DB828-4613-3DF8-ACBA-C91989B64347> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fffa32c0000 -     0x7fffa32c3ff7  com.apple.SecCodeWrapper (4.0 - 307.1.1) <64F951CB-A975-32F0-BC60-1E839E607FCB> /System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWrapper
    0x7fffa3351000 -     0x7fffa33ccfff  com.apple.Sharing (659.1.6 - 659.1.6) <C217107C-CD4B-311D-9FBA-7435B1F6186F> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fffa33cd000 -     0x7fffa33ecff7  com.apple.shortcut (2.16 - 98) <AC3AFB42-F3F7-3E71-8DAF-AA4ACF3021F7> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
    0x7fffa33ed000 -     0x7fffa363ffff  com.apple.SkyLight (1.600.0 - 100) <6B9F1B65-AA33-3AA6-8EA2-DB98CC74E37F> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
    0x7fffa3819000 -     0x7fffa3825fff  com.apple.SpeechRecognitionCore (3.0.15 - 3.0.15) <BE386037-4B61-341F-80E2-5D8B5B50C8BC> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
    0x7fffa3f08000 -     0x7fffa3f74ff3  com.apple.Symbolication (61080.2) <0F183B36-0BCF-3330-8C68-4A521A142919> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fffa436b000 -     0x7fffa4371ff7  com.apple.TCC (1.0 - 1) <CEE9F9F9-2A24-3F60-BE73-4703D85E307C> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fffa43fd000 -     0x7fffa45b0ff3  com.apple.TextureIO (1.31 - 1.31) <9E6E91C7-76DC-3C12-9629-494084792476> /System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
    0x7fffa4624000 -     0x7fffa4625fff  com.apple.TrustEvaluationAgent (2.0 - 28) <6793B664-C4FC-3CD4-B0E7-25B9933391AC> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fffa4626000 -     0x7fffa47b5ffb  com.apple.UIFoundation (1.0 - 489) <0CD14719-FC52-3AC5-87EF-775437927990> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
    0x7fffa5210000 -     0x7fffa52bfff7  com.apple.ViewBridge (265.1 - 265.1) <21855FE3-F19D-3E3F-9500-BFC811DA75C6> /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge
    0x7fffa56e7000 -     0x7fffa56edfff  com.apple.XPCService (2.0 - 1) <BC3FCE26-6219-3316-949F-37F7005C9A0F> /System/Library/PrivateFrameworks/XPCService.framework/Versions/A/XPCService
    0x7fffa57be000 -     0x7fffa57c0ffb  com.apple.loginsupport (1.0 - 1) <03B57D6F-C210-32BC-B384-5B0E95660283> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fffa5815000 -     0x7fffa5830ff7  libCRFSuite.dylib (34) <BACC371B-6153-36B5-BC54-3BCF26FBB221> /usr/lib/libCRFSuite.dylib
    0x7fffa5831000 -     0x7fffa583cfff  libChineseTokenizer.dylib (21) <09E74E18-ADB2-30D2-A858-13691CB1186C> /usr/lib/libChineseTokenizer.dylib
    0x7fffa58ce000 -     0x7fffa58cfff3  libDiagnosticMessagesClient.dylib (102) <422911A4-E273-3E88-BFC4-DF6470E48242> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffa58d0000 -     0x7fffa5ae3fff  libFosl_dynamic.dylib (16.37) <3EA1C7EE-4A6C-3B09-BCA7-81A074B24013> /usr/lib/libFosl_dynamic.dylib
    0x7fffa5aff000 -     0x7fffa5b06fff  libMatch.1.dylib (27) <5D52A207-E2AF-3E05-8C51-91C1D82FCEE8> /usr/lib/libMatch.1.dylib
    0x7fffa5b07000 -     0x7fffa5b07fff  libOpenScriptingUtil.dylib (172) <D025E180-BB3B-3FFA-98FC-B6835354D723> /usr/lib/libOpenScriptingUtil.dylib
    0x7fffa5b08000 -     0x7fffa5b0bff7  libScreenReader.dylib (477.1.5) <88D484EC-7589-324B-890D-799F27DF0FB3> /usr/lib/libScreenReader.dylib
    0x7fffa5b0c000 -     0x7fffa5b0dff3  libSystem.B.dylib (1238) <168B3C56-081B-3998-9A44-681EB4C6828F> /usr/lib/libSystem.B.dylib
    0x7fffa5b79000 -     0x7fffa5ba4ffb  libarchive.2.dylib (41.1.1) <C4F76D18-8484-3779-AE80-14F27E57ABB5> /usr/lib/libarchive.2.dylib
    0x7fffa5ba5000 -     0x7fffa5c19fff  libate.dylib (1.12.12) <DD989482-B873-3094-97BB-2B5AE8D3B544> /usr/lib/libate.dylib
    0x7fffa5c1d000 -     0x7fffa5c1dff3  libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
    0x7fffa5c1e000 -     0x7fffa5c2eff3  libbsm.0.dylib (34) <20084796-B04D-3B35-A003-EA11459557A9> /usr/lib/libbsm.0.dylib
    0x7fffa5c2f000 -     0x7fffa5c3dff7  libbz2.1.0.dylib (38) <6FD3B63F-0F86-3A25-BD5B-E243F58792C9> /usr/lib/libbz2.1.0.dylib
    0x7fffa5c3e000 -     0x7fffa5c94ff7  libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffa5c95000 -     0x7fffa5cbffff  libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
    0x7fffa5cc0000 -     0x7fffa5cd0ffb  libcmph.dylib (6) <2B5D405E-2D0B-3320-ABD6-622934C86ABE> /usr/lib/libcmph.dylib
    0x7fffa5cd1000 -     0x7fffa5ce6fc3  libcompression.dylib (34) <1691D6F2-46CD-3DA6-B44F-24CDD9BD0E4E> /usr/lib/libcompression.dylib
    0x7fffa5ce7000 -     0x7fffa5ce7ff7  libcoretls.dylib (121.1.1) <F3BAB54C-DA82-37C3-A218-46FEB179D555> /usr/lib/libcoretls.dylib
    0x7fffa5ce8000 -     0x7fffa5ce9ffb  libcoretls_cfhelpers.dylib (121.1.1) <D12709F3-BBE3-3CF7-9070-C2A0803F5526> /usr/lib/libcoretls_cfhelpers.dylib
    0x7fffa5da3000 -     0x7fffa5e87ff3  libcrypto.0.9.8.dylib (64) <4CB423CE-0B86-334A-9335-FEE75198024F> /usr/lib/libcrypto.0.9.8.dylib
    0x7fffa6025000 -     0x7fffa6078ff7  libcups.2.dylib (450) <04CA1F55-4B70-3D65-B4B1-62F6C271A9EF> /usr/lib/libcups.2.dylib
    0x7fffa60f2000 -     0x7fffa60f2fff  libenergytrace.dylib (15) <A1B040A2-7977-3097-9ADF-34FF181EB970> /usr/lib/libenergytrace.dylib
    0x7fffa6102000 -     0x7fffa6107ff3  libheimdal-asn1.dylib (498) <8F3F1AE8-CE4A-355C-82E3-74DA46B5BB02> /usr/lib/libheimdal-asn1.dylib
    0x7fffa6108000 -     0x7fffa61faff7  libiconv.2.dylib (50) <42125B35-81D7-3FC4-9475-A26DBE10884D> /usr/lib/libiconv.2.dylib
    0x7fffa61fb000 -     0x7fffa6420fff  libicucore.A.dylib (57131.0.1) <72594943-D25E-3F70-A4AC-8E9F9F442B7E> /usr/lib/libicucore.A.dylib
    0x7fffa6426000 -     0x7fffa6427fff  liblangid.dylib (126) <3F4530C9-8BE1-3AA7-9A82-98694D240866> /usr/lib/liblangid.dylib
    0x7fffa6428000 -     0x7fffa6441ffb  liblzma.5.dylib (10) <44BD0279-99DD-36B5-8A6E-C11432E2098D> /usr/lib/liblzma.5.dylib
    0x7fffa6442000 -     0x7fffa6458ff7  libmarisa.dylib (5) <2183D484-032D-3DE5-8984-3A14006E034E> /usr/lib/libmarisa.dylib
    0x7fffa6459000 -     0x7fffa6702fff  libmecabra.dylib (744) <545EDC2D-22BB-3E8F-BFD3-921447581D9F> /usr/lib/libmecabra.dylib
    0x7fffa6703000 -     0x7fffa6734ff3  libncurses.5.4.dylib (51) <6B88562D-86DB-3EFA-8C55-0148C30DC642> /usr/lib/libncurses.5.4.dylib
    0x7fffa6735000 -     0x7fffa67adffb  libnetwork.dylib (856.1.8) <30FC3C60-CCA9-3E2B-80AA-DE53F5762374> /usr/lib/libnetwork.dylib
    0x7fffa67ae000 -     0x7fffa6b7ed97  libobjc.A.dylib (706) <F9AFE665-A3A2-3285-9495-19803A565861> /usr/lib/libobjc.A.dylib
    0x7fffa6b81000 -     0x7fffa6b85fff  libpam.2.dylib (21) <352F8FF6-2248-3594-B357-8D031DEFB06C> /usr/lib/libpam.2.dylib
    0x7fffa6b86000 -     0x7fffa6bb6ff7  libpcap.A.dylib (67) <450DB888-2C0C-3085-A5F1-69324DFE902C> /usr/lib/libpcap.A.dylib
    0x7fffa6bd4000 -     0x7fffa6bf0ffb  libresolv.9.dylib (64) <A244AE4C-00B0-396C-98FF-97FE4DB3DA30> /usr/lib/libresolv.9.dylib
    0x7fffa6bf1000 -     0x7fffa6c2afff  libsandbox.1.dylib (592.1.3) <0024D751-23D8-35DF-87CF-72E489DA2F9F> /usr/lib/libsandbox.1.dylib
    0x7fffa6c40000 -     0x7fffa6d88fff  libsqlite3.dylib (252) <FCA29CD2-E8E4-3324-8E2C-19BDC11F0338> /usr/lib/libsqlite3.dylib
    0x7fffa6e79000 -     0x7fffa6e86fff  libxar.1.dylib (354) <AAFCF321-8100-3622-880B-9661DCA35D69> /usr/lib/libxar.1.dylib
    0x7fffa6e8a000 -     0x7fffa6f79ffb  libxml2.2.dylib (30.11) <26676155-64CE-323F-B73C-AD77AF5982E8> /usr/lib/libxml2.2.dylib
    0x7fffa6f7a000 -     0x7fffa6fa3fff  libxslt.1.dylib (15.8) <FFF5DD45-F544-34B2-BE3C-DB877DC60081> /usr/lib/libxslt.1.dylib
    0x7fffa6fa4000 -     0x7fffa6fb5ff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffa6fc4000 -     0x7fffa6fc8ff7  libcache.dylib (79) <84E55656-FDA9-3B29-9E4F-BE31B2C0AA3C> /usr/lib/system/libcache.dylib
    0x7fffa6fc9000 -     0x7fffa6fd3fff  libcommonCrypto.dylib (60092.1.2) <79F738D8-0AD7-3DEA-AF80-E0F8B90B74E3> /usr/lib/system/libcommonCrypto.dylib
    0x7fffa6fd4000 -     0x7fffa6fdbfff  libcompiler_rt.dylib (62) <486BDE52-81B4-3446-BD72-23977CAE556F> /usr/lib/system/libcompiler_rt.dylib
    0x7fffa6fdc000 -     0x7fffa6fe4fff  libcopyfile.dylib (138) <0DA49B77-56EC-362D-98FF-FA78CFD986D6> /usr/lib/system/libcopyfile.dylib
    0x7fffa6fe5000 -     0x7fffa7067ff3  libcorecrypto.dylib (442.1.3) <1CA8B679-810E-3C04-945A-4AC19372CDC7> /usr/lib/system/libcorecrypto.dylib
    0x7fffa7068000 -     0x7fffa709afff  libdispatch.dylib (703.1.4) <12B1D95B-283D-325D-85AB-29A2FFD36987> /usr/lib/system/libdispatch.dylib
    0x7fffa709b000 -     0x7fffa70a0ff3  libdyld.dylib (421.1) <CDFBDC9C-418C-369D-B433-F64B0630E640> /usr/lib/system/libdyld.dylib
    0x7fffa70a1000 -     0x7fffa70a1ffb  libkeymgr.dylib (28) <09CD7CA6-46D2-3A9F-B9F1-7C4CA5CA0D68> /usr/lib/system/libkeymgr.dylib
    0x7fffa70a2000 -     0x7fffa70aeffb  libkxld.dylib (3789.1.32) <48BDBE7F-AAE6-3050-9017-6959051CF16A> /usr/lib/system/libkxld.dylib
    0x7fffa70af000 -     0x7fffa70affff  liblaunch.dylib (972.1.5) <DC31FDEA-FD81-335E-BAA8-5A7395D20772> /usr/lib/system/liblaunch.dylib
    0x7fffa70b0000 -     0x7fffa70b5fff  libmacho.dylib (894) <1EAE5ADD-490C-3B1F-9F97-447BA8E0E90F> /usr/lib/system/libmacho.dylib
    0x7fffa70b6000 -     0x7fffa70b8ff3  libquarantine.dylib (85) <78EF62D8-C890-3FC0-937A-C2FD8CEF8992> /usr/lib/system/libquarantine.dylib
    0x7fffa70b9000 -     0x7fffa70baffb  libremovefile.dylib (45) <C4FC07FF-ED86-382E-B06F-33C34718080C> /usr/lib/system/libremovefile.dylib
    0x7fffa70bb000 -     0x7fffa70d3ff7  libsystem_asl.dylib (349.1.1) <F0987490-8427-367F-B302-A05A7D61FEBF> /usr/lib/system/libsystem_asl.dylib
    0x7fffa70d4000 -     0x7fffa70d4ff7  libsystem_blocks.dylib (67) <B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
    0x7fffa70d5000 -     0x7fffa7162fe7  libsystem_c.dylib (1158.1.2) <5F260836-48E4-3F57-8553-62D2DA228A1F> /usr/lib/system/libsystem_c.dylib
    0x7fffa7163000 -     0x7fffa7166ffb  libsystem_configuration.dylib (888.1.2) <67BB9D8B-2430-38AD-81A7-F0EC924B2590> /usr/lib/system/libsystem_configuration.dylib
    0x7fffa7167000 -     0x7fffa716afff  libsystem_coreservices.dylib (41.1) <11F22E6C-0DCB-3699-A4F0-C99E301E56E9> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffa716b000 -     0x7fffa7183ffb  libsystem_coretls.dylib (121.1.1) <8F7E9B12-400D-3276-A9C5-4546B0258554> /usr/lib/system/libsystem_coretls.dylib
    0x7fffa7184000 -     0x7fffa718afff  libsystem_dnssd.dylib (765.1.2) <C5FF2025-C60B-39C6-B205-6BF1BC51D1B3> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffa718b000 -     0x7fffa71b4fff  libsystem_info.dylib (503) <C686B834-5E7D-382C-AF6E-44AB78EE83E2> /usr/lib/system/libsystem_info.dylib
    0x7fffa71b5000 -     0x7fffa71d7ff7  libsystem_kernel.dylib (3789.1.32) <5C68A0D7-C3C9-3E52-B983-EDE9A28AB6FC> /usr/lib/system/libsystem_kernel.dylib
    0x7fffa71d8000 -     0x7fffa721ffe7  libsystem_m.dylib (3121.4) <E3370D16-EBAA-3C7F-AC56-2D6EAD7DB0A4> /usr/lib/system/libsystem_m.dylib
    0x7fffa7220000 -     0x7fffa723eff7  libsystem_malloc.dylib (116) <3DD17B88-B7A4-38B9-9E95-AB88E1C3B647> /usr/lib/system/libsystem_malloc.dylib
    0x7fffa723f000 -     0x7fffa7295fff  libsystem_network.dylib (856.1.8) <A8973360-956A-33BF-9971-14D59C84E0D1> /usr/lib/system/libsystem_network.dylib
    0x7fffa7296000 -     0x7fffa729fff3  libsystem_networkextension.dylib (563.1.11) <1C551832-9360-36DD-A7BA-52B55A171720> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffa72a0000 -     0x7fffa72a9ffb  libsystem_notify.dylib (165) <AF77D471-6B13-36BA-B144-7E7DDB9DBA9F> /usr/lib/system/libsystem_notify.dylib
    0x7fffa72aa000 -     0x7fffa72b2fe7  libsystem_platform.dylib (126.1.2) <884DDF42-3CAE-334A-82CE-965617130FB1> /usr/lib/system/libsystem_platform.dylib
    0x7fffa72b3000 -     0x7fffa72bdfff  libsystem_pthread.dylib (218.1.3) <050AE77B-4F4B-334A-A5BA-CF0D10AF5304> /usr/lib/system/libsystem_pthread.dylib
    0x7fffa72be000 -     0x7fffa72c1fff  libsystem_sandbox.dylib (592.1.3) <90FEF628-316D-3F84-9EF4-F7F510A4FBBB> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffa72c2000 -     0x7fffa72c3fff  libsystem_secinit.dylib (24) <A54B8FEF-E792-3C54-8E0B-E80A376662F2> /usr/lib/system/libsystem_secinit.dylib
    0x7fffa72c4000 -     0x7fffa72cbfff  libsystem_symptoms.dylib (532.1.1) <B26F656E-94F9-3834-9B03-51C4FF11D1BF> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffa72cc000 -     0x7fffa72ecff7  libsystem_trace.dylib (518.1.16) <C3CDF7BC-CA3D-34F5-ADF8-46AAAB0B47F8> /usr/lib/system/libsystem_trace.dylib
    0x7fffa72ed000 -     0x7fffa72f2ffb  libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
    0x7fffa72f3000 -     0x7fffa731cff7  libxpc.dylib (972.1.5) <2A901937-48E1-3BF2-83F1-2431156D82B7> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 234746
    thread_create: 0
    thread_set_state: 456

VM Region Summary:
ReadOnly portion of Libraries: Total=264.0M resident=0K(0%) swapped_out_or_unallocated=264.0M(100%)
Writable regions: Total=184.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=184.4M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Accelerate framework               128K        2
Activity Tracing                   256K        2
CG backing stores                 5720K        4
CG image                           124K       13
CoreAnimation                       68K        6
CoreUI image data                  936K        6
CoreUI image file                  156K        3
Foundation                           4K        2
Kernel Alloc Once                    8K        2
MALLOC                           122.9M       45
MALLOC guard page                   48K       11
Memory Tag 242                      12K        2
STACK GUARD                       55.7M       10
Stack                             12.4M       11
VM_ALLOCATE                         56K        9
__DATA                            61.0M      283
__GLSLBUILTINS                    2588K        2
__IMAGE                            528K        2
__LINKEDIT                       115.1M       37
__TEXT                           148.8M      254
__UNICODE                          556K        2
mapped file                       48.4M       15
shared memory                     16.4M       17
===========                     =======  =======
TOTAL                            591.8M      717





In GNU Emacs 25.1.1 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version 10.12 (Build 16A320))
 of 2016-09-17 built on Souviks-MacBook-Pro.local
Windowing system distributor 'Apple', version 10.3.1504
Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs/25.1/share/info/emacs
 --prefix=/usr/local/Cellar/emacs/25.1 --without-x --with-xml2
 --without-dbus --with-gnutls --with-imagemagick --with-rsvg --with-ns
 --disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  electric-pair-mode: t
  diff-auto-refine-mode: t
  recentf-mode: t
  global-nlinum-mode: t
  nlinum-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  global-anzu-mode: t
  anzu-mode: t
  projectile-global-mode: t
  projectile-mode: t
  ido-yes-or-no-mode: t
  ido-ubiquitous-mode: t
  flx-ido-mode: t
  smooth-scrolling-mode: t
  TeX-PDF-mode: t
  keyfreq-autosave-mode: t
  keyfreq-mode: t
  global-company-mode: t
  company-mode: t
  pyvenv-mode: t
  shell-dirtrack-mode: t
  ido-everywhere: t
  xterm-mouse-mode: t
  display-time-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading time...done
All your packages are already installed
ad-handle-definition: ‘ido-completing-read’ got redefined
[yas] Reloaded everything (snippets will load just-in-time)....
Reusing Dired buffers is now ON
ad-handle-definition: ‘easy-mark’ got redefined
Loading /Users/souvik/.emacs.d/l.el (source)...done
Loading /Users/souvik/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/Users/souvik/.emacs.d/elpa/scala-mode-20160902.525/ob-scala hides /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/org/ob-scala

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils company-oddmuse
company-keywords company-etags company-gtags company-dabbrev-code
company-dabbrev company-files company-capf company-cmake company-xcode
company-clang company-eclim company-template company-css company-nxml
company-bbdb paren elec-pair cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs ensime ensime-mode
ensime-sbt sbt-mode sbt-mode-rgrep sbt-mode-comint sbt-mode-buffer
sbt-mode-project sbt-mode-vars ensime-http ensime-ui
ensime-semantic-highlight ensime-doc ensime-search ensime-undo
ensime-startup ensime-refactor diff-mode ensime-popup ensime-notes
ensime-model ensime-inspector imenu ensime-goto-testfile ensime-editor
popup ensime-debug gdb-mi bindat gud ensime-stacktrace ensime-inf
ensime-overlay ensime-completion-util ensime-config ensime-util
ensime-client ensime-vars url-gw scala-mode scala-mode-prettify-symbols
scala-mode-imenu scala-mode-map scala-mode-fontlock scala-mode-indent
scala-mode-paragraph scala-mode-syntax scala-mode-lib pp hideshow
arc-mode archive-mode ensime-macros org org-macro org-footnote
org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs tramp-cache recentf
tree-widget nlinum linum easy-kill browse-kill-ring derived cl
switch-window quail flycheck find-func rx subr-x anzu markdown-mode
url-parse url-vars noutline outline projectile ibuf-ext ibuffer
thingatpt smex ido-yes-or-no ido-ubiquitous ido-completing-read+ flx-ido
flx dired+ image-dired image-file dired-x dired-aux dired
spaceline-config spaceline-segments s spaceline powerline
powerline-separators color powerline-themes web-mode disp-table
smooth-scrolling neotree auctex-latexmk tex-buf latex tex-ispell
tex-style tex crm keyfreq yasnippet highlight-indentation flymake
company edmacro kmacro elpy pyvenv elpy-refactor python tramp-sh tramp
tramp-compat auth-source gnus-util mm-util help-fns mail-prsvr
password-cache tramp-loaddefs trampver shell pcomplete format-spec json
map ido grep compile comint ansi-color files-x etags xref cl-seq project
eieio eieio-core cl-macs ring cus-edit wid-edit tls gnutls xt-mouse
midnight windmove diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs auto-package-update easy-mmode dash server
sanityinc-tomorrow-night-theme color-theme-sanityinc-tomorrow time
cus-start cus-load finder-inf tex-site advice slime-autoloads info
package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 672279 30041)
 (symbols 48 53704 1)
 (miscs 40 210 384)
 (strings 32 128491 17240)
 (string-bytes 1 3987237)
 (vectors 16 100401)
 (vector-slots 8 2128623 48575)
 (floats 8 10068 1341)
 (intervals 56 543 61)
 (buffers 976 17))






^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp
  2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
@ 2016-09-28 21:34 ` Alan Third
  2018-09-28 13:34 ` bug#24472: " Darren Kenny
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 24+ messages in thread
From: Alan Third @ 2016-09-28 21:34 UTC (permalink / raw)
  To: Souvik Banerjee; +Cc: 24472


I can reproduce this crash in both Emacs 25.1 and the master branch.

I get this:

objc[13181]: autorelease pool page 0x1021f4000 corrupted
  magic     0x00000000 0x00000000 0x00000000 0x00000000
  should be 0xa1a1a1a1 0x4f545541 0x454c4552 0x21455341
  pthread   0x7fff7d4a6000
  should be 0x7fff7d4a6000

Which implies that something somewhere is being released twice or
something. I just can't work out what or why.

Possibly we need to block input while something is going on, but almost
the entirety of ns_update_menubar, which is where the crash is
happening, is wrapped in a block/unblock.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: Emacs crashes when clicking on OSX menu bar when opening file with tramp
  2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
  2016-09-28 21:34 ` Alan Third
@ 2018-09-28 13:34 ` Darren Kenny
  2020-04-29  3:21 ` bug#24472: Marc Herbert
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 24+ messages in thread
From: Darren Kenny @ 2018-09-28 13:34 UTC (permalink / raw)
  To: 24472

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

I'm still seeing this with Emacs 26.1

The trace is identical to 25.1 (apart from the function addresses).

[-- Attachment #2: Type: text/html, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472:
  2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
  2016-09-28 21:34 ` Alan Third
  2018-09-28 13:34 ` bug#24472: " Darren Kenny
@ 2020-04-29  3:21 ` Marc Herbert
  2020-04-29  7:39   ` bug#24472: Eli Zaretskii
  2020-05-01  8:47   ` bug#24472: - a workaround/fix for the menubar crashes on macOS Marc Herbert
  2020-05-01 20:11 ` bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info Marc Herbert
                   ` (2 subsequent siblings)
  5 siblings, 2 replies; 24+ messages in thread
From: Marc Herbert @ 2020-04-29  3:21 UTC (permalink / raw)
  To: 24472

I've been stuck with emacs 26.1 for a long time because of this bug.
On my systems versions 26.2 and above all crash like this. I saw it
consistently across multiple macOS versions up to Mojave, but only
with Emacs 26.2 and up, never with 26.1

I got tired of this crash and just did some investigation, hope you
find it interesting.

I downgraded and upgraded tramp in 26.1 and 26.1 still doesn't crash,
on my system the tramp version doesn't make any difference. Only the
Emacs version does.

HOWEVER, even with 26.1 that does NOT crash, I always observe a small
< 0.5s but visible delay when opening menus. Worse: sometimes the
menus don't open at all! The click is acknowledged by the inversion of
the menu name but nothing unfolds underneath.

This delay and sometimes missing menus happen only when the current
buffer of the current frame is a tramp buffer. Switch the top frame to
a local file and everything is fine again. So I fired up Wireshark and
as expected I saw some ssh traffic when opening the 26.1 menus with a
tramp buffer.

[Bonus question: Apple cares about latency. Does macOS allow
networking while merely trying to open a menu?]

Now this is where I find things get really interesting:

On my system,
 - with 26.1, the "Apple" and "Emacs" menus don't cause any network
traffic or lag. All other menus do.
 - with 26.2 and above, the "Apple" and "Emacs" menus don't cause any
crash.     All other menus do.

Coincidence? Mmmm....

With 26.2, the same sort of ssh traffic is visible right before the crash.

My guess is some timeout that cancels rendering the menu if it takes
too long with 26.1. Could the same timeout cause the crash with 26.2
and above? For instance because this timeout.... already released the
resource that Emacs tries to release _again_?

If you can't reproduce but would like to: adding small delays in the
code is the simplest way to make race conditions like this one more
deterministic.

Interestingly, this similar crash
https://github.com/polymode/poly-R/issues/15 seems to also happen
because of a "too fancy menu". Stay tuned.


Version 27.0.90

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            0x00000001014eefb9
terminate_due_to_signal + 153
4   Emacs-x86_64-10_14            0x00000001014ef8fb emacs_abort + 15
5   Emacs-x86_64-10_14            0x00000001014b71b0 ns_term_shutdown + 80
6   Emacs-x86_64-10_14            0x0000000101399064 shut_down_emacs + 340
7   Emacs-x86_64-10_14            0x00000001014eef86
terminate_due_to_signal + 102
8   Emacs-x86_64-10_14            0x00000001013b98be handle_fatal_signal + 14
9   Emacs-x86_64-10_14            0x00000001013b9941 deliver_thread_signal + 129
10  Emacs-x86_64-10_14            0x00000001013b8399
deliver_fatal_thread_signal + 9
11  libsystem_platform.dylib      0x00007fff58e7db5d _sigtramp + 29
12  com.apple.CoreFoundation      0x00007fff2ccdbd9a _CFAutoreleasePoolPop + 22
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.CoreFoundation      0x00007fff2ccdbd9a _CFAutoreleasePoolPop + 22
18  com.apple.Foundation          0x00007fff2ef560b3
-[NSAutoreleasePool release] + 144
19  Emacs-x86_64-10_14            0x00000001014d1992 ns_update_menubar + 2274
20  Emacs-x86_64-10_14            0x00000001014d19ce ns_activate_menubar + 14
21  Emacs-x86_64-10_14            0x00000001013a25ce read_char + 8846
22  Emacs-x86_64-10_14            0x000000010139e7aa read_key_sequence + 1722
23  Emacs-x86_64-10_14            0x000000010139cfac command_loop_1 + 1340
24  Emacs-x86_64-10_14            0x0000000101423b87
internal_condition_case + 263
25  Emacs-x86_64-10_14            0x00000001013ad120 command_loop_2 + 48
26  Emacs-x86_64-10_14            0x00000001014233ab internal_catch + 267
27  Emacs-x86_64-10_14            0x00000001014ef385 command_loop.cold.1 + 69
28  Emacs-x86_64-10_14            0x000000010139c073 command_loop + 131
29  Emacs-x86_64-10_14            0x000000010139bfa3 recursive_edit_1 + 115
30  Emacs-x86_64-10_14            0x000000010139c1fb Frecursive_edit + 347
31  Emacs-x86_64-10_14            0x000000010139add7 main + 7431
32  libdyld.dylib                  0x00007fff58c923d5 start + 1





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472:
  2020-04-29  3:21 ` bug#24472: Marc Herbert
@ 2020-04-29  7:39   ` Eli Zaretskii
       [not found]     ` <CA+rkZbjtj=K4dCmWvGZ3ovi1JH9ddbeLgJofScG7w+tF9Rs=Sg@mail.gmail.com>
  2020-05-01  8:47   ` bug#24472: - a workaround/fix for the menubar crashes on macOS Marc Herbert
  1 sibling, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2020-04-29  7:39 UTC (permalink / raw)
  To: Marc Herbert; +Cc: 24472

> From: Marc Herbert <marc.herbert@gmail.com>
> Date: Tue, 28 Apr 2020 20:21:21 -0700
> 
> I've been stuck with emacs 26.1 for a long time because of this bug.
> On my systems versions 26.2 and above all crash like this. I saw it
> consistently across multiple macOS versions up to Mojave, but only
> with Emacs 26.2 and up, never with 26.1

Does the crash happen with Emacs 27?  You can find its pretest on
alpha.gnu.org.

Thanks.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472:
       [not found]     ` <CA+rkZbjtj=K4dCmWvGZ3ovi1JH9ddbeLgJofScG7w+tF9Rs=Sg@mail.gmail.com>
@ 2020-04-29 14:42       ` Eli Zaretskii
       [not found]         ` <CA+rkZbhT2tkaHToLbyzHtReBxqKRVQ3woBNnSnNWfoLGSh9iMQ@mail.gmail.com>
  0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2020-04-29 14:42 UTC (permalink / raw)
  To: Marc Herbert; +Cc: 24472

> From: Marc Herbert <marc.herbert@gmail.com>
> Date: Wed, 29 Apr 2020 07:31:26 -0700
> 
>  Does the crash happen with Emacs 27?  You can find its pretest on
>  alpha.gnu.org.
> 
> Yes, see the line just before the stack trace.

What line are we talking about here?

Anyway, I hope some macOS developer could look into this soon.

Thanks.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472:
       [not found]         ` <CA+rkZbhT2tkaHToLbyzHtReBxqKRVQ3woBNnSnNWfoLGSh9iMQ@mail.gmail.com>
@ 2020-04-29 15:01           ` Eli Zaretskii
  0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2020-04-29 15:01 UTC (permalink / raw)
  To: Marc Herbert; +Cc: 24472

[Please keep the bug address on the CC list; use "Reply All".]

> From: Marc Herbert <marc.herbert@gmail.com>
> Date: Wed, 29 Apr 2020 07:52:27 -0700
> 
>  >  Does the crash happen with Emacs 27?  You can find its pretest on
>  >  alpha.gnu.org.
>  > 
>  > Yes, see the line just before the stack trace.
> 
>  What line are we talking about here?
> 
> The line "Version 27.0.90"
> 
>  Anyway, I hope some macOS developer could look into this soon.
> 
> A non-macOS, tramp developer (you?) could help by pointing at the tramp code that causes ssh traffic when
> trying to use my the menus (if there is such a thing). This would help confirm some analysis or not and this
> is how poly-R seems to have found a workaround.

I CC Michael, who is the Tramp developer.  Maybe he will be able to
help here.

Thanks.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: - a workaround/fix for the menubar crashes on macOS
  2020-04-29  3:21 ` bug#24472: Marc Herbert
  2020-04-29  7:39   ` bug#24472: Eli Zaretskii
@ 2020-05-01  8:47   ` Marc Herbert
  2020-05-02  0:14     ` Marc Herbert
  2020-05-02 12:15     ` Michael Albinus
  1 sibling, 2 replies; 24+ messages in thread
From: Marc Herbert @ 2020-05-01  8:47 UTC (permalink / raw)
  To: 24472, Eli Zaretskii, michael.albinus

> This delay and sometimes missing menus happen only when the current
> buffer of the current frame is a tramp buffer. Switch the top frame to
> a local file and everything is fine again. So I fired up Wireshark and
> as expected I saw some ssh traffic when opening the 26.1 menus with a
> tramp buffer.
>
> Now this is where I find things get really interesting:
>
> On my system,
>  - with 26.1, the "Apple" and "Emacs" menus don't cause any network
> traffic or lag. All other menus do.
>  - with 26.2 and above, the "Apple" and "Emacs" menus don't cause any
> crash.     All other menus do.
>
> Coincidence? Mmmm....

Not.

I leveraged the milder symptoms in 26.1 to debug the issue and found a
workaround/fix. I then upgraded to 26.3 and ta-da: the crashes are
gone!

The root cause is in menu-bar.el which defines the revert-buffer item like this:

      '(menu-item "Revert Buffer" revert-buffer
                  :enable (or (blah) (blah)
                              (and buffer-file-number
                                   (or (buffer-modified-p)
                                       (not (verify-visited-file-modtime
                                             (current-buffer))))))

This greys out the "Revert Buffer" menu item when (among others) no
one modified the file outside Emacs.

verify-visited-file-modtime calls
tramp-sh-handle-verify-visited-file-modtime that temporarily hardcodes
remote-file-name-inhibit-cache to 't that causes the network accesses
that cause the delays and/or crashes.

After a few other attempts, my final workaround is dead simple: remove
the "Revert Buffer" item from the menu by adding this one line to your
.emacs file:

     (define-key global-map [menu-bar file revert-buffer] nil)

Enjoy. I think it's better than a "workaround" actually, it's almost a
"feature" that I'm going to keep that in my .emacs file permanently
because trying to use the network every time you click the menubar is
just... silly?

I also tried to hack menu-bar.el directly but any change I made to it
was completely ignored. Anyone knows why?

> [Bonus question: Apple cares about latency. Does macOS allow
> networking while merely trying to open a menu?]

Somewhat related: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32864
26.1; "menus don't work correctly in Mac OS Mojave"

> Elisp code doesn’t guarantee it will return, it can longjmp when you
> hit C-g, for example. This means you can end up with the application
> attempting to run the event loop while it is still INSIDE the previous
> event loop, and the toolkit really doesn’t like that. It will, in
> fact, kill Emacs on the spot.

Must also be why the debugger can't be used for this issue. This
didn't make my first Emacs bug any easier :-)





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
                   ` (2 preceding siblings ...)
  2020-04-29  3:21 ` bug#24472: Marc Herbert
@ 2020-05-01 20:11 ` Marc Herbert
  2020-05-02 11:32   ` Michael Albinus
  2020-05-03 12:22   ` Michael Albinus
  2020-05-21 18:50 ` bug#24472: (no subject) Marc Herbert
  2021-01-02 22:39 ` bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Alan Third
  5 siblings, 2 replies; 24+ messages in thread
From: Marc Herbert @ 2020-05-01 20:11 UTC (permalink / raw)
  To: 24472, michael.albinus

BTW one thing I had to do to debug this it to add some cache
information in an existing tramp-message 8, see
https://github.com/marc-h38/emacs-tramp/commits/better-cache-log

 Sample, new tramp-message output:

     file-attributes-string inhibit: 300; cache used: nil; cached: nil
     file-attributes-integer inhibit: t; cache used: nil; cached at:
(24236 318..
     file-directory-p inhibit: 300; cache used: t; cached: (24236
31530 270275 0)





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: - a workaround/fix for the menubar crashes on macOS
  2020-05-01  8:47   ` bug#24472: - a workaround/fix for the menubar crashes on macOS Marc Herbert
@ 2020-05-02  0:14     ` Marc Herbert
  2020-05-02  7:33       ` Marc Herbert
  2020-05-02 12:15     ` Michael Albinus
  1 sibling, 1 reply; 24+ messages in thread
From: Marc Herbert @ 2020-05-02  0:14 UTC (permalink / raw)
  To: 24472

>      (define-key global-map [menu-bar file revert-buffer] nil)
>
> Enjoy. I think it's better than a "workaround" actually, it's almost a
> "feature"...

OK, I got carried away. Version 26.3 still crashes in other places.
The workaround above avoids only the most severe tramp crash. For
instance it crashes with the same ns_update_menubar() stacktrace
almost every time the top frame is subdir over tramp. Whack a mole?

So back to more gentle 26.1 for now. In 26.1 don't see subdir+tramp
causing any network traffic like "Revert Buffer" did. That combination
is probably just menubar-slow some other way. After all neither #32864
nor https://github.com/polymode/poly-R/issues/15 seem to involve the
network yet those issues look very similar to this one.

If someone knows how to insert a simple delay somewhere in menubar for
pure testing purposes then please share, I think it could really help
with reproduction.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: - a workaround/fix for the menubar crashes on macOS
  2020-05-02  0:14     ` Marc Herbert
@ 2020-05-02  7:33       ` Marc Herbert
  0 siblings, 0 replies; 24+ messages in thread
From: Marc Herbert @ 2020-05-02  7:33 UTC (permalink / raw)
  To: 24472

> For instance it crashes again with the same ns_update_menubar() stacktrace
> almost every time the top frame is subdir over tramp. Whack a mole?

Yes, whack a mole. Second mole whacked:

grep -C 5 :enable 'Applications/Emacs.app/Contents/Resources/lisp/dired.el

Comment out the 3 ":enable" sections in that file and tramp+subdir
stops crashing.

Until the next mole.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-01 20:11 ` bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info Marc Herbert
@ 2020-05-02 11:32   ` Michael Albinus
  2020-05-02 17:04     ` Marc Herbert
  2020-05-03 12:22   ` Michael Albinus
  1 sibling, 1 reply; 24+ messages in thread
From: Michael Albinus @ 2020-05-02 11:32 UTC (permalink / raw)
  To: Marc Herbert; +Cc: 24472

Marc Herbert <marc.herbert@gmail.com> writes:

Hi Marc,

> BTW one thing I had to do to debug this it to add some cache
> information in an existing tramp-message 8, see
> https://github.com/marc-h38/emacs-tramp/commits/better-cache-log

How could I get the patch in a format I could apply locally to my git
repo? Note, that I have no github account, and I don't plan to create one.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: - a workaround/fix for the menubar crashes on macOS
  2020-05-01  8:47   ` bug#24472: - a workaround/fix for the menubar crashes on macOS Marc Herbert
  2020-05-02  0:14     ` Marc Herbert
@ 2020-05-02 12:15     ` Michael Albinus
  2020-05-02 12:18       ` Eli Zaretskii
  1 sibling, 1 reply; 24+ messages in thread
From: Michael Albinus @ 2020-05-02 12:15 UTC (permalink / raw)
  To: Marc Herbert; +Cc: 24472

Marc Herbert <marc.herbert@gmail.com> writes:

Hi Marc,

> I leveraged the milder symptoms in 26.1 to debug the issue and found a
> workaround/fix. I then upgraded to 26.3 and ta-da: the crashes are
> gone!
>
> The root cause is in menu-bar.el which defines the revert-buffer item like this:
>
>       '(menu-item "Revert Buffer" revert-buffer
>                   :enable (or (blah) (blah)
>                               (and buffer-file-number
>                                    (or (buffer-modified-p)
>                                        (not (verify-visited-file-modtime
>                                              (current-buffer))))))
>
> This greys out the "Revert Buffer" menu item when (among others) no
> one modified the file outside Emacs.
>
> verify-visited-file-modtime calls
> tramp-sh-handle-verify-visited-file-modtime that temporarily hardcodes
> remote-file-name-inhibit-cache to 't that causes the network accesses
> that cause the delays and/or crashes.

Excellent analysis!

> After a few other attempts, my final workaround is dead simple: remove
> the "Revert Buffer" item from the menu by adding this one line to your
> .emacs file:
>
>      (define-key global-map [menu-bar file revert-buffer] nil)
>
> Enjoy. I think it's better than a "workaround" actually, it's almost a
> "feature" that I'm going to keep that in my .emacs file permanently
> because trying to use the network every time you click the menubar is
> just... silly?

Isn't this too heavy? Wouldn't it be sufficient to avoid the
`verify-visited-file-modtime' call in case the buffer is visiting a
remote file? Something like

                              (and buffer-file-number
                                   (or (buffer-modified-p)
                                       (file-remote-p default-directory)
                                       (not (verify-visited-file-modtime
                                             (current-buffer))))))

> I also tried to hack menu-bar.el directly but any change I made to it
> was completely ignored. Anyone knows why?

Hmm. Have you recompiled the whole Emacs after your change? Maybe menu-bar.elc
is dumped into Emacs?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: - a workaround/fix for the menubar crashes on macOS
  2020-05-02 12:15     ` Michael Albinus
@ 2020-05-02 12:18       ` Eli Zaretskii
  0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2020-05-02 12:18 UTC (permalink / raw)
  To: Michael Albinus; +Cc: marc.herbert, 24472

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: 24472@debbugs.gnu.org,  Eli Zaretskii <eliz@gnu.org>
> Date: Sat, 02 May 2020 14:15:19 +0200
> 
> > I also tried to hack menu-bar.el directly but any change I made to it
> > was completely ignored. Anyone knows why?
> 
> Hmm. Have you recompiled the whole Emacs after your change? Maybe menu-bar.elc
> is dumped into Emacs?

It definitely is.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-02 11:32   ` Michael Albinus
@ 2020-05-02 17:04     ` Marc Herbert
  2020-05-02 17:48       ` Noam Postavsky
                         ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Marc Herbert @ 2020-05-02 17:04 UTC (permalink / raw)
  To: Michael Albinus; +Cc: Jan Djärv, 24472

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24472
> Wouldn't it be sufficient to avoid the
> `verify-visited-file-modtime' call in case the buffer is visiting a
> remote file? Something like...

This makes sense to me. However it would only whack one mole.
Probably the biggest mole but only one mole. In fact it may even
be counter-productive with respect to the main, macOS crash
because it will make it more difficult to reproduce.

Is this bug tracker the right place for macOS issues? Just
making sure. This bug desperately needs a GNUstep/Cocoa expert.
This is not a tramp bug, tramp is just the loudest messenger.
BTW I just found bug#14050 and commit e6076b1bce12dfc fixing
a very similar looking issue... 6 years ago.

Speaking of reproduction, could someone sketch out an automated test
for this menubar bug? It would likely require "scripting the UI" which
tends to be
difficult ... but maybe nothing is difficult for Emacs? :-)

> How could I get the patch in a format I could apply locally to my git
> repo? Note, that I have no github account, and I don't plan to create one.

I understand. On my side, I'm a lazy gmail user who'd prefer not to
spend time figuring out how to make gmail not mangle patches :-(
https://www.kernel.org/doc/html/latest/process/email-clients.html

Fortunately github offers one-line anonymous access:
 git fetch  https://github.com/marc-h38/emacs-tramp.git  better-cache-log

This remote URL can be found in the "Download" button on this page:
https://github.com/marc-h38/emacs-tramp, same logic for any github project.
There's also a way to fetch Pull Requests.

Still off-topic sorry; I just found https://emba.gnu.org/emacs/emacs .
Is it only for CI? If yes updating some gitlab "descriptions" would clarify:
reponame->settings->general-> Project description





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-02 17:04     ` Marc Herbert
@ 2020-05-02 17:48       ` Noam Postavsky
  2020-05-03 12:02         ` Michael Albinus
  2020-05-03 12:13       ` Michael Albinus
  2020-05-03 12:14       ` Michael Albinus
  2 siblings, 1 reply; 24+ messages in thread
From: Noam Postavsky @ 2020-05-02 17:48 UTC (permalink / raw)
  To: Marc Herbert; +Cc: Jan Djärv, Michael Albinus, 24472

On Sat, 2 May 2020 at 13:05, Marc Herbert <marc.herbert@gmail.com> wrote:

> > How could I get the patch in a format I could apply locally to my git
> > repo? Note, that I have no github account, and I don't plan to create one.
>
> I understand. On my side, I'm a lazy gmail user who'd prefer not to
> spend time figuring out how to make gmail not mangle patches :-(
> https://www.kernel.org/doc/html/latest/process/email-clients.html
>
> Fortunately github offers one-line anonymous access:
>  git fetch  https://github.com/marc-h38/emacs-tramp.git  better-cache-log

Alternatively, https://github.com/marc-h38/emacs-tramp/compare/better-cache-log.patch
shows the patch in plain-text format.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-02 17:48       ` Noam Postavsky
@ 2020-05-03 12:02         ` Michael Albinus
  0 siblings, 0 replies; 24+ messages in thread
From: Michael Albinus @ 2020-05-03 12:02 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Jan Djärv, Marc Herbert, 24472

Noam Postavsky <npostavs@gmail.com> writes:

Hi Noam,

> Alternatively,
> https://github.com/marc-h38/emacs-tramp/compare/better-cache-log.patch
> shows the patch in plain-text format.

Thanks, that works.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-02 17:04     ` Marc Herbert
  2020-05-02 17:48       ` Noam Postavsky
@ 2020-05-03 12:13       ` Michael Albinus
  2020-05-03 12:14       ` Michael Albinus
  2 siblings, 0 replies; 24+ messages in thread
From: Michael Albinus @ 2020-05-03 12:13 UTC (permalink / raw)
  To: Marc Herbert; +Cc: Jan Djärv, 24472

Marc Herbert <marc.herbert@gmail.com> writes:

Hi Marc,

> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24472
>> Wouldn't it be sufficient to avoid the
>> `verify-visited-file-modtime' call in case the buffer is visiting a
>> remote file? Something like...
>
> This makes sense to me. However it would only whack one mole.
> Probably the biggest mole but only one mole. In fact it may even
> be counter-productive with respect to the main, macOS crash
> because it will make it more difficult to reproduce.

Perhaps. But I still believe a click on a menu bar should NOT trigger
network activity, so the patrch makes sense of its own.

> Is this bug tracker the right place for macOS issues? Just
> making sure. This bug desperately needs a GNUstep/Cocoa expert.

Yes, debbugs is the right place.

> Still off-topic sorry; I just found https://emba.gnu.org/emacs/emacs .
> Is it only for CI? If yes updating some gitlab "descriptions" would clarify:
> reponame->settings->general-> Project description

Yep, ATM it is just for Emacs CI. I've added some few words.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-02 17:04     ` Marc Herbert
  2020-05-02 17:48       ` Noam Postavsky
  2020-05-03 12:13       ` Michael Albinus
@ 2020-05-03 12:14       ` Michael Albinus
  2 siblings, 0 replies; 24+ messages in thread
From: Michael Albinus @ 2020-05-03 12:14 UTC (permalink / raw)
  To: Marc Herbert; +Cc: Jan Djärv, 24472

Marc Herbert <marc.herbert@gmail.com> writes:

Hi Marc,

> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24472
>> Wouldn't it be sufficient to avoid the
>> `verify-visited-file-modtime' call in case the buffer is visiting a
>> remote file? Something like...
>
> This makes sense to me. However it would only whack one mole.
> Probably the biggest mole but only one mole. In fact it may even
> be counter-productive with respect to the main, macOS crash
> because it will make it more difficult to reproduce.

Perhaps. But I still believe a click on a menu bar should NOT trigger
network activity, so the patrch makes sense of its own.

> Is this bug tracker the right place for macOS issues? Just
> making sure. This bug desperately needs a GNUstep/Cocoa expert.

Yes, debbugs is the right place.

> Still off-topic sorry; I just found https://emba.gnu.org/emacs/emacs .
> Is it only for CI? If yes updating some gitlab "descriptions" would clarify:
> reponame->settings->general-> Project description

Yep, ATM it is just for Emacs CI. I've added some few words.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info
  2020-05-01 20:11 ` bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info Marc Herbert
  2020-05-02 11:32   ` Michael Albinus
@ 2020-05-03 12:22   ` Michael Albinus
  1 sibling, 0 replies; 24+ messages in thread
From: Michael Albinus @ 2020-05-03 12:22 UTC (permalink / raw)
  To: Marc Herbert; +Cc: 24472

Marc Herbert <marc.herbert@gmail.com> writes:

Hi Marc,

> BTW one thing I had to do to debug this it to add some cache
> information in an existing tramp-message 8, see
> https://github.com/marc-h38/emacs-tramp/commits/better-cache-log

Thanks for this. I've committed a similar patch, slightly adapted.
`value' is now before the other information, for convenience. And I've
added another change for `tramp-get-connection-property'.

Pushed to master.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: (no subject)
  2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
                   ` (3 preceding siblings ...)
  2020-05-01 20:11 ` bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info Marc Herbert
@ 2020-05-21 18:50 ` Marc Herbert
  2020-05-22 20:47   ` Alan Third
  2021-01-02 22:39 ` bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Alan Third
  5 siblings, 1 reply; 24+ messages in thread
From: Marc Herbert @ 2020-05-21 18:50 UTC (permalink / raw)
  To: 24472; +Cc: michael.albinus


> 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





^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: (no subject)
  2020-05-21 18:50 ` bug#24472: (no subject) Marc Herbert
@ 2020-05-22 20:47   ` Alan Third
       [not found]     ` <m21rn44445.fsf@gmail.com>
  0 siblings, 1 reply; 24+ messages in thread
From: Alan Third @ 2020-05-22 20:47 UTC (permalink / raw)
  To: Marc Herbert; +Cc: michael.albinus, 24472

On Thu, May 21, 2020 at 11:50:36AM -0700, Marc Herbert wrote:
> 
> > 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.

> Version:               Version 26.3 (9.0)

I'd suggest trying Emacs 27, or even Emacs 28 if possible. 28 already
has some changes to resizing code.

> 38  Emacs-x86_64-10_14            	0x00000001001bf909 ns_send_appdefined + 137

No great surprises that this function is related to the NS run loop,
which handles IO.

I'm convinced that most of these crashes centred around tramp and the
menu bar and so on are best fixed by separating the NS GUI code into a
separate thread, but it's a pretty large job, and I only have half of
an implementation.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 24+ messages in thread

* Threading and the NS port
       [not found]     ` <m21rn44445.fsf@gmail.com>
@ 2020-05-28 20:35       ` Alan Third
  0 siblings, 0 replies; 24+ messages in thread
From: Alan Third @ 2020-05-28 20:35 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Marc Herbert, emacs-devel

On Thu, May 28, 2020 at 02:48:42PM +0200, Robert Pluim wrote:
> >>>>> On Fri, 22 May 2020 22:47:25 +0200 (CEST), Alan Third <alan@idiocy.org> said:
> 
>     Alan> No great surprises that this function is related to the NS run loop,
>     Alan> which handles IO.
> 
>     Alan> I'm convinced that most of these crashes centred around tramp and the
>     Alan> menu bar and so on are best fixed by separating the NS GUI code into a
>     Alan> separate thread, but it's a pretty large job, and I only have half of
>     Alan> an implementation.
> 
> Is this on a branch somewhere?

I've pushed it up to scratch/ns/next on savannah. The most recent
commit breaks the GUI, iirc, but shows roughly what I was thinking of
doing. I think if you remove it the branch should build and run OK
without crashing if GUI things are done from a non-main thread.

The last commit is actually from a previous attempt at threading the
whole thing.

The general plan was to create a new EmacsFrame object that all calls
to frame related stuff (GUI code) goes through. This isn't required,
but I feel the EmacsView object is somewhat overloaded with methods at
the moment and I was going to have to add a whole bunch of new ones.

The EmacsFrame methods are called through an NSProxy object which will
send the method calls to the main thread where they'll be run within
the NS run loop. This makes some things run asynchronously, so a fair
bit of the code is attempting to work around that fact.

The last commit attempts to run the GUI code in a separate thread.
Cocoa insists that GUI code has to be run from the main thread, so I
followed the Mac port's lead and have given main() in emacs.c another
name so it can be run as a thread. IIRC there are some other bits and
pieces that are done to try and make sure it picks up the right
signals and so on.

Additionally the GUI code has to be able to run code within the Emacs
main thread, so there's a "sendEmacsEvent" method that is used to
package up input events and sent to a queue where they're picked up
in, I think, ns_read_socket. I wrote this specific code a year ago now
or something, so I'm a little hazy on how it works without looking
back over it.

Now, that doesn't work. I'm not sure how much works needs to be done
to get it working, I just tried applying the old patch on the off
chance it would work, and it also gave me a base to work from, because
sendEmacsEvent and co worked when I tried this before.

I can see that renaming main() could also be controversial.

This also probably won't cleanly rebase on top of current master
because there have been some changes to frame resizing code on master
(we'll want to take them over to this branch, ultimately).

I have no idea if any of this code is worth bothering with. There are
probably better ways of doing things. Some of the problems I'm using
NSProxy to work around could be solved by using Objective C blocks if
they were available, but they're not supported on GCC (or GNUstep)
yet.
-- 
Alan Third



^ permalink raw reply	[flat|nested] 24+ messages in thread

* bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp
  2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
                   ` (4 preceding siblings ...)
  2020-05-21 18:50 ` bug#24472: (no subject) Marc Herbert
@ 2021-01-02 22:39 ` Alan Third
  5 siblings, 0 replies; 24+ messages in thread
From: Alan Third @ 2021-01-02 22:39 UTC (permalink / raw)
  To: Souvik Banerjee; +Cc: 24472-done


This crash appears to have been caused by a violation of autorelease
pool nesting. I've pushed a fix to the master branch:

f14869cd70e61b1908ec88a5e3d4bf21c7d538a0

Sometimes it seems to leave the menus inoperative until the mouse is
moved, but that's far better than a crash IMO, and I still don't know
what the problem is. I think there must be some bad interaction between
Emacs's select thread, and the menu's modal run loop.

If you're still seeing a crash, please reply to this email and we'll
reopen the bug report.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2021-01-02 22:39 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 19:47 bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Souvik Banerjee
2016-09-28 21:34 ` Alan Third
2018-09-28 13:34 ` bug#24472: " Darren Kenny
2020-04-29  3:21 ` bug#24472: Marc Herbert
2020-04-29  7:39   ` bug#24472: Eli Zaretskii
     [not found]     ` <CA+rkZbjtj=K4dCmWvGZ3ovi1JH9ddbeLgJofScG7w+tF9Rs=Sg@mail.gmail.com>
2020-04-29 14:42       ` bug#24472: Eli Zaretskii
     [not found]         ` <CA+rkZbhT2tkaHToLbyzHtReBxqKRVQ3woBNnSnNWfoLGSh9iMQ@mail.gmail.com>
2020-04-29 15:01           ` bug#24472: Eli Zaretskii
2020-05-01  8:47   ` bug#24472: - a workaround/fix for the menubar crashes on macOS Marc Herbert
2020-05-02  0:14     ` Marc Herbert
2020-05-02  7:33       ` Marc Herbert
2020-05-02 12:15     ` Michael Albinus
2020-05-02 12:18       ` Eli Zaretskii
2020-05-01 20:11 ` bug#24472: PATCH * tramp-cache.el: tweak debug log to include cache hit info Marc Herbert
2020-05-02 11:32   ` Michael Albinus
2020-05-02 17:04     ` Marc Herbert
2020-05-02 17:48       ` Noam Postavsky
2020-05-03 12:02         ` Michael Albinus
2020-05-03 12:13       ` Michael Albinus
2020-05-03 12:14       ` Michael Albinus
2020-05-03 12:22   ` Michael Albinus
2020-05-21 18:50 ` bug#24472: (no subject) Marc Herbert
2020-05-22 20:47   ` Alan Third
     [not found]     ` <m21rn44445.fsf@gmail.com>
2020-05-28 20:35       ` Threading and the NS port Alan Third
2021-01-02 22:39 ` bug#24472: 25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp Alan Third

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.