MachO-Explorer icon indicating copy to clipboard operation
MachO-Explorer copied to clipboard

Crashes after closing the window

Open azarovalex opened this issue 4 years ago • 2 comments

There are crashes I sometimes catch after closing the MachOExplorer window. The problem is similar to https://github.com/DeVaukz/MachO-Explorer/issues/10, but the crash log looks different to me.

Here is an example stack trace:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fff203a0fc2 objc_opt_class + 24
1   com.apple.Foundation          	0x00007fff213408c4 _NSKeyValueObservationInfoGetObservances + 246
2   com.apple.Foundation          	0x00007fff213317ac -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 260
3   com.apple.Foundation          	0x00007fff2135cad6 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 68
4   com.apple.Foundation          	0x00007fff21379dfb _NSSetObjectValueAndNotify + 269
5   com.apple.AppKit              	0x00007fff22e2bcf4 -[NSView removeFromSuperview] + 218
6   com.apple.AppKit              	0x00007fff22eab9e6 -[NSView removeFromSuperviewWithoutNeedingDisplay] + 36
7   com.apple.AppKit              	0x00007fff22e32215 -[NSView _finalize] + 965
8   com.apple.AppKit              	0x00007fff22e31d14 -[NSView dealloc] + 119
9   com.apple.AppKit              	0x00007fff2378ebaf -[_NSSplitViewItemViewWrapper dealloc] + 144
10  com.apple.CoreFoundation      	0x00007fff205a0953 -[__NSArrayI dealloc] + 73
11  libobjc.A.dylib               	0x00007fff203a120f AutoreleasePoolPage::releaseUntil(objc_object**) + 167
12  libobjc.A.dylib               	0x00007fff20383e30 objc_autoreleasePoolPop + 161
13  com.apple.AppKit              	0x00007fff22eb6ead NSDisplayCycleObserverInvoke + 163
14  com.apple.AppKit              	0x00007fff22eb6a30 NSDisplayCycleFlush + 953
15  com.apple.QuartzCore          	0x00007fff26d4cc86 CA::Transaction::run_commit_handlers(CATransactionPhase) + 92
16  com.apple.QuartzCore          	0x00007fff26d4ba1d CA::Transaction::commit() + 375
17  com.apple.AppKit              	0x00007fff22f6686c __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
18  com.apple.AppKit              	0x00007fff236bc332 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
19  com.apple.CoreFoundation      	0x00007fff205da671 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
20  com.apple.CoreFoundation      	0x00007fff205da505 __CFRunLoopDoObservers + 543
21  com.apple.CoreFoundation      	0x00007fff205d9998 __CFRunLoopRun + 841
22  com.apple.CoreFoundation      	0x00007fff205d8f8c CFRunLoopRunSpecific + 563
23  com.apple.HIToolbox           	0x00007fff288211f3 RunCurrentEventLoopInMode + 292
24  com.apple.HIToolbox           	0x00007fff28820e26 ReceiveNextEventCommon + 284
25  com.apple.HIToolbox           	0x00007fff28820cf3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
26  com.apple.AppKit              	0x00007fff22de2172 _DPSNextEvent + 864
27  com.apple.AppKit              	0x00007fff22de0945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
28  com.apple.AppKit              	0x00007fff22dd2c69 -[NSApplication run] + 586
29  com.apple.AppKit              	0x00007fff22da6e6c NSApplicationMain + 816
30  net.devaukz.macho.explorer    	0x0000000108288509 0x108281000 + 29961
31  libdyld.dylib                 	0x00007fff204fef3d start + 1

MachOExplorer_2021-09-14-192202_C02ZV4HGMD6R.crash.txt MachOExplorer_2021-09-18-221407_C02ZV4HGMD6R.crash.txt

azarovalex avatar Sep 18 '21 19:09 azarovalex

This crash may be difficult for me to investigate from crash reports only. If you could run Mach-O Explorer with the Zombies Instrument and capture a trace while the crash happens, that would be helpful.

DeVaukz avatar Sep 20 '21 05:09 DeVaukz

I have same problem too :(

bigdogs avatar Mar 05 '22 00:03 bigdogs