Closed RaymondLim closed 10 years ago
Process: Brackets [11186] Path: /Users/USER/*/Brackets.app/Contents/MacOS/Brackets Identifier: io.brackets.appshell Version: 0.36.0 (0.36.0) Code Type: X86 (Native) Parent Process: launchd [174] User ID: 501
Date/Time: 2014-01-08 16:57:12.877 -0800 OS Version: Mac OS X 10.8.5 (12F45) Report Version: 10
Interval Since Last Report: 372578 sec Crashes Since Last Report: 1 Per-App Interval Since Last Report: 304425 sec Per-App Crashes Since Last Report: 1 Anonymous UUID: A12C2BF1-EDE1-89BA-B89A-CC196A20DC49
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c79c0a4f
VM Regions Near 0xc79c0a4f:
CG backing stores 00000000c66ed000-00000000c67c0000 [ 844K] rw-/rw- SM=SHM
-->
CG backing stores 00000000ca8b4000-00000000cad98000 [ 5008K] rw-/rw- SM=SHM
Application Specific Information: objc_msgSend() selector name: respondsToSelector:
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x920cda87 objc_msgSend + 23
1 io.brackets.appshell 0x000fbc2f RemoveMenuItem(CefRefPtr
Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x989489ae kevent + 10 1 libdispatch.dylib 0x90cdac71 _dispatch_mgr_invoke + 993 2 libdispatch.dylib 0x90cda7a9 _dispatch_mgr_thread + 53
Thread 2:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x989457ce mach_msg_trap + 10 1 libsystem_kernel.dylib 0x98944cac mach_msg + 68 2 com.apple.CoreFoundation 0x96471f79 CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9647795f CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9647701a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x96476e8b CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x981e9bb6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00c08adf 0x158000 + 11209439 8 libcef.dylib 0x00c087ac 0x158000 + 11208620 9 libcef.dylib 0x00c427a1 0x158000 + 11446177 10 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 11 libcef.dylib 0x00c4217a 0x158000 + 11444602 12 libcef.dylib 0x00c74451 0x158000 + 11650129 13 libcef.dylib 0x00c744e7 0x158000 + 11650279 14 libcef.dylib 0x00c6eb05 0x158000 + 11627269 15 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 16 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 3:: DnsConfigService 0 libsystem_kernel.dylib 0x989489ae kevent + 10 1 libcef.dylib 0x00fdf136 0x158000 + 15233334 2 libcef.dylib 0x00fdcdf9 0x158000 + 15224313 3 libcef.dylib 0x00c07821 0x158000 + 11204641 4 libcef.dylib 0x00c427a1 0x158000 + 11446177 5 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 6 libcef.dylib 0x00c4217a 0x158000 + 11444602 7 libcef.dylib 0x00c74451 0x158000 + 11650129 8 libcef.dylib 0x00c744e7 0x158000 + 11650279 9 libcef.dylib 0x00c6eb05 0x158000 + 11627269 10 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 11 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 4:: Chrome_DBThread 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c6a01b 0x158000 + 11608091 5 libcef.dylib 0x00c69e22 0x158000 + 11607586 6 libcef.dylib 0x00c467ec 0x158000 + 11462636 7 libcef.dylib 0x00c427a1 0x158000 + 11446177 8 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 9 libcef.dylib 0x00c4217a 0x158000 + 11444602 10 libcef.dylib 0x00c74451 0x158000 + 11650129 11 libcef.dylib 0x012be589 0x158000 + 18245001 12 libcef.dylib 0x012be9af 0x158000 + 18246063 13 libcef.dylib 0x00c744e7 0x158000 + 11650279 14 libcef.dylib 0x00c6eb05 0x158000 + 11627269 15 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 16 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 5:: Chrome_WebKitThread 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c6a01b 0x158000 + 11608091 5 libcef.dylib 0x00c69e22 0x158000 + 11607586 6 libcef.dylib 0x00c467ec 0x158000 + 11462636 7 libcef.dylib 0x00c427a1 0x158000 + 11446177 8 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 9 libcef.dylib 0x00c4217a 0x158000 + 11444602 10 libcef.dylib 0x00c74451 0x158000 + 11650129 11 libcef.dylib 0x012be619 0x158000 + 18245145 12 libcef.dylib 0x012be9c0 0x158000 + 18246080 13 libcef.dylib 0x00c744e7 0x158000 + 11650279 14 libcef.dylib 0x00c6eb05 0x158000 + 11627269 15 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 16 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 6:: Chrome_FileThread 0 libsystem_kernel.dylib 0x989489ae kevent + 10 1 libcef.dylib 0x00fdf136 0x158000 + 15233334 2 libcef.dylib 0x00fdcdf9 0x158000 + 15224313 3 libcef.dylib 0x00c07821 0x158000 + 11204641 4 libcef.dylib 0x00c427a1 0x158000 + 11446177 5 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 6 libcef.dylib 0x00c4217a 0x158000 + 11444602 7 libcef.dylib 0x00c74451 0x158000 + 11650129 8 libcef.dylib 0x012be6a9 0x158000 + 18245289 9 libcef.dylib 0x012be9d1 0x158000 + 18246097 10 libcef.dylib 0x00c744e7 0x158000 + 11650279 11 libcef.dylib 0x00c6eb05 0x158000 + 11627269 12 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 13 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 7:: Chrome_FileUserBlockingThread 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c6a01b 0x158000 + 11608091 5 libcef.dylib 0x00c69e22 0x158000 + 11607586 6 libcef.dylib 0x00c467ec 0x158000 + 11462636 7 libcef.dylib 0x00c427a1 0x158000 + 11446177 8 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 9 libcef.dylib 0x00c4217a 0x158000 + 11444602 10 libcef.dylib 0x00c74451 0x158000 + 11650129 11 libcef.dylib 0x012be739 0x158000 + 18245433 12 libcef.dylib 0x012be9e2 0x158000 + 18246114 13 libcef.dylib 0x00c744e7 0x158000 + 11650279 14 libcef.dylib 0x00c6eb05 0x158000 + 11627269 15 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 16 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 8:: Chrome_ProcessLauncherThread 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c6a01b 0x158000 + 11608091 5 libcef.dylib 0x00c69e22 0x158000 + 11607586 6 libcef.dylib 0x00c467ec 0x158000 + 11462636 7 libcef.dylib 0x00c427a1 0x158000 + 11446177 8 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 9 libcef.dylib 0x00c4217a 0x158000 + 11444602 10 libcef.dylib 0x00c74451 0x158000 + 11650129 11 libcef.dylib 0x012be7c9 0x158000 + 18245577 12 libcef.dylib 0x012be9f3 0x158000 + 18246131 13 libcef.dylib 0x00c744e7 0x158000 + 11650279 14 libcef.dylib 0x00c6eb05 0x158000 + 11627269 15 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 16 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 9:: Chrome_CacheThread 0 libsystem_kernel.dylib 0x989489ae kevent + 10 1 libcef.dylib 0x00fdf136 0x158000 + 15233334 2 libcef.dylib 0x00fdcdf9 0x158000 + 15224313 3 libcef.dylib 0x00c0791c 0x158000 + 11204892 4 libcef.dylib 0x00c427a1 0x158000 + 11446177 5 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 6 libcef.dylib 0x00c4217a 0x158000 + 11444602 7 libcef.dylib 0x00c74451 0x158000 + 11650129 8 libcef.dylib 0x012be859 0x158000 + 18245721 9 libcef.dylib 0x012bea01 0x158000 + 18246145 10 libcef.dylib 0x00c744e7 0x158000 + 11650279 11 libcef.dylib 0x00c6eb05 0x158000 + 11627269 12 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 13 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 10:: Chrome_IOThread 0 libsystem_kernel.dylib 0x989489ae kevent + 10 1 libcef.dylib 0x00fdf136 0x158000 + 15233334 2 libcef.dylib 0x00fdcdf9 0x158000 + 15224313 3 libcef.dylib 0x00c0791c 0x158000 + 11204892 4 libcef.dylib 0x00c427a1 0x158000 + 11446177 5 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 6 libcef.dylib 0x00c4217a 0x158000 + 11444602 7 libcef.dylib 0x00c74451 0x158000 + 11650129 8 libcef.dylib 0x012be8e9 0x158000 + 18245865 9 libcef.dylib 0x012bea0f 0x158000 + 18246159 10 libcef.dylib 0x00c744e7 0x158000 + 11650279 11 libcef.dylib 0x00c6eb05 0x158000 + 11627269 12 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 13 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 11:: MediaStreamDeviceThread 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c6a01b 0x158000 + 11608091 5 libcef.dylib 0x00c69e22 0x158000 + 11607586 6 libcef.dylib 0x00c467ec 0x158000 + 11462636 7 libcef.dylib 0x00c427a1 0x158000 + 11446177 8 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 9 libcef.dylib 0x00c4217a 0x158000 + 11444602 10 libcef.dylib 0x00c74451 0x158000 + 11650129 11 libcef.dylib 0x00c744e7 0x158000 + 11650279 12 libcef.dylib 0x00c6eb05 0x158000 + 11627269 13 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 14 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 12:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x989457ce mach_msg_trap + 10 1 libsystem_kernel.dylib 0x98944cac mach_msg + 68 2 com.apple.CoreFoundation 0x96471f79 CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9647795f CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9647701a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x96476e8b CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x981e9bb6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00c08adf 0x158000 + 11209439 8 libcef.dylib 0x00c087ac 0x158000 + 11208620 9 libcef.dylib 0x00c427a1 0x158000 + 11446177 10 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 11 libcef.dylib 0x00c4217a 0x158000 + 11444602 12 libcef.dylib 0x00c74451 0x158000 + 11650129 13 libcef.dylib 0x00c744e7 0x158000 + 11650279 14 libcef.dylib 0x00c6eb05 0x158000 + 11627269 15 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 16 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 13:: BrowserBlockingWorker1/32259 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c705ff 0x158000 + 11634175 5 libcef.dylib 0x00c6f40d 0x158000 + 11629581 6 libcef.dylib 0x00c73bca 0x158000 + 11647946 7 libcef.dylib 0x00c6eb05 0x158000 + 11627269 8 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 9 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 14:: Chrome_DevToolsHandlerThread 0 libsystem_kernel.dylib 0x989489ae kevent + 10 1 libcef.dylib 0x00fdf136 0x158000 + 15233334 2 libcef.dylib 0x00fdcdf9 0x158000 + 15224313 3 libcef.dylib 0x00c07821 0x158000 + 11204641 4 libcef.dylib 0x00c427a1 0x158000 + 11446177 5 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 6 libcef.dylib 0x00c4217a 0x158000 + 11444602 7 libcef.dylib 0x00c74451 0x158000 + 11650129 8 libcef.dylib 0x00c744e7 0x158000 + 11650279 9 libcef.dylib 0x00c6eb05 0x158000 + 11627269 10 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 11 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 15:: Proxy resolver 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c6a01b 0x158000 + 11608091 5 libcef.dylib 0x00c69e22 0x158000 + 11607586 6 libcef.dylib 0x00c467ec 0x158000 + 11462636 7 libcef.dylib 0x00c427a1 0x158000 + 11446177 8 libcef.dylib 0x00c5cc8e 0x158000 + 11553934 9 libcef.dylib 0x00c4217a 0x158000 + 11444602 10 libcef.dylib 0x00c74451 0x158000 + 11650129 11 libcef.dylib 0x00c744e7 0x158000 + 11650279 12 libcef.dylib 0x00c6eb05 0x158000 + 11627269 13 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 14 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 16:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x989457ce mach_msg_trap + 10 1 libsystem_kernel.dylib 0x98944cac mach_msg + 68 2 com.apple.CoreFoundation 0x96471f79 CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9647795f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9647701a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x96476e8b CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9818037a +[NSURLConnection(Loader) _resourceLoadLoop:] + 395 7 com.apple.Foundation 0x981e4448 -[NSThread main] + 45 8 com.apple.Foundation 0x981e43cb NSThreadmain + 1396 9 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 10 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 17:: JavaScriptCore::BlockFree 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d0d4 pthread_condtimedwait$UNIX2003 + 70 3 com.apple.JavaScriptCore 0x97ee84b8 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 120 4 com.apple.JavaScriptCore 0x980fff63 JSC::BlockAllocator::blockFreeingThreadMain() + 115 5 com.apple.JavaScriptCore 0x97ee643c WTF::threadEntryPoint(void) + 76 6 com.apple.JavaScriptCore 0x981158a0 WTF::wtfThreadEntryPoint(void_) + 16 7 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 8 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 18:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_condwait$UNIX2003 + 71 3 com.apple.JavaScriptCore 0x9806aaa6 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 198 4 com.apple.JavaScriptCore 0x9806a99e JSC::MarkStackThreadSharedData::markingThreadMain() + 238 5 com.apple.JavaScriptCore 0x97ee643c WTF::threadEntryPoint(void) + 76 6 com.apple.JavaScriptCore 0x981158a0 WTF::wtfThreadEntryPoint(void_) + 16 7 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 8 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 19:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_condwait$UNIX2003 + 71 3 com.apple.JavaScriptCore 0x9806aaa6 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 198 4 com.apple.JavaScriptCore 0x9806a99e JSC::MarkStackThreadSharedData::markingThreadMain() + 238 5 com.apple.JavaScriptCore 0x97ee643c WTF::threadEntryPoint(void) + 76 6 com.apple.JavaScriptCore 0x981158a0 WTF::wtfThreadEntryPoint(void_) + 16 7 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 8 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 20:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_condwait$UNIX2003 + 71 3 com.apple.JavaScriptCore 0x9806aaa6 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 198 4 com.apple.JavaScriptCore 0x9806a99e JSC::MarkStackThreadSharedData::markingThreadMain() + 238 5 com.apple.JavaScriptCore 0x97ee643c WTF::threadEntryPoint(void) + 76 6 com.apple.JavaScriptCore 0x981158a0 WTF::wtfThreadEntryPoint(void_) + 16 7 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 8 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 21: 0 libsystem_kernel.dylib 0x989457ce mach_msg_trap + 10 1 libsystem_kernel.dylib 0x98944cac mach_msg + 68 2 libcef.dylib 0x013e19fa 0x158000 + 19438074 3 libcef.dylib 0x00c6eb05 0x158000 + 11627269 4 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 5 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 22:: BrowserBlockingWorker2/94519 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d089 pthread_cond_wait$UNIX2003 + 71 3 libcef.dylib 0x00c692c3 0x158000 + 11604675 4 libcef.dylib 0x00c705ff 0x158000 + 11634175 5 libcef.dylib 0x00c6f40d 0x158000 + 11629581 6 libcef.dylib 0x00c73bca 0x158000 + 11647946 7 libcef.dylib 0x00c6eb05 0x158000 + 11627269 8 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 9 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 23: 0 libsystem_kernel.dylib 0x989480ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x99ad50ac _pthread_workq_return + 45 2 libsystem_c.dylib 0x99ad4e79 _pthread_wqthread + 448 3 libsystem_c.dylib 0x99abcdaa start_wqthread + 30
Thread 24: 0 libsystem_kernel.dylib 0x989480ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x99ad50ac _pthread_workq_return + 45 2 libsystem_c.dylib 0x99ad4e79 _pthread_wqthread + 448 3 libsystem_c.dylib 0x99abcdaa start_wqthread + 30
Thread 25: 0 libsystem_kernel.dylib 0x989480ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x99ad50ac _pthread_workq_return + 45 2 libsystem_c.dylib 0x99ad4e79 _pthread_wqthread + 448 3 libsystem_c.dylib 0x99abcdaa start_wqthread + 30
Thread 26:: WorkerPool/49651 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad7280 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x99b5d0d4 pthread_cond_timedwait$UNIX2003 + 70 3 libcef.dylib 0x00c694b8 0x158000 + 11605176 4 libcef.dylib 0x00c76dbf 0x158000 + 11660735 5 libcef.dylib 0x00c772ac 0x158000 + 11661996 6 libcef.dylib 0x00c6eb05 0x158000 + 11627269 7 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 8 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 27:: CVDisplayLink 0 libsystem_kernel.dylib 0x989478e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x99ad72e9 _pthread_cond_wait + 938 2 libsystem_c.dylib 0x99ad7572 pthread_cond_timedwait_relative_np + 47 3 com.apple.CoreVideo 0x99badfd7 CVDisplayLink::waitUntil(unsigned long long) + 297 4 com.apple.CoreVideo 0x99bad05c CVDisplayLink::runIOThread() + 658 5 com.apple.CoreVideo 0x99bacdb2 startIOThread(void*) + 160 6 libsystem_c.dylib 0x99ad25b7 _pthread_start + 344 7 libsystem_c.dylib 0x99abcdce thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit): eax: 0x79c0e2f0 ebx: 0x000fbb0e ecx: 0x95a359f0 edx: 0xc79c0a2f edi: 0xbff1eae8 esi: 0x79c0e2f0 ebp: 0xbff1e8e8 esp: 0xbff1e8b8 ss: 0x00000023 efl: 0x00010206 eip: 0x920cda87 cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0xc79c0a4f Logical CPU: 6
Binary Images:
0xde000 - 0x121ff7 +io.brackets.appshell (0.36.0 - 0.36.0) <9075D910-13E5-3338-9730-A645EFA44249> /Users/USER//Brackets.app/Contents/MacOS/Brackets
0x12e000 - 0x147ff7 com.apple.ScriptingBridge (1.3 - 61.2) <74397541-E4DD-3DCA-BA5F-F7AAF145819A> /System/Library/Frameworks/ScriptingBridge.framework/Versions/A/ScriptingBridge
0x158000 - 0x36f6f51 +libcef.dylib (31459.6.11) <9314D49E-6BC4-35A7-8C53-6140EAD1C37F> /Users/USER//Brackets.app/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries/libcef.dylib
0x38fa000 - 0x38faff7 libffi.dylib (18) <362F6C27-6407-388E-9521-8A2A0845188C> /usr/lib/libffi.dylib
0x3901000 - 0x3949ffb com.apple.audio.midi.CoreMIDI (1.9 - 78) <7AAE4076-36FA-37C1-9EAE-344F1C8F14D9> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x3971000 - 0x3987ffc libexpat.1.dylib (12)
My first crash was reproduced by using keyboard shortcuts, but I was able to reproduce the second crash with selecting menu items in the above steps.
I'm not able to reproduce with the same steps (to be clear, you reload without extensions twice, then with extensions once, then without extensions twice, right?). Do you actually have any extensions installed? Maybe it depends on having an extension installed that adds some particular set of menu items.
I'm still nailing down the exact steps.
Mac OS 10.8.5. You can see it from the call stack also.
Updated steps as I was able to reproduce with new steps twice.
Still not able to repro even after cycling through those steps a few times. Do you have any extensions installed?
@njx I do have multiple extensions including Emmet installed. After disabling all other extensions and leaving just Emmet does not cause the crash. So I'm nailing on which extensions or how many extensions with shortcuts registered to cause the crash.
I can't repo on Mac or Win. Are you using menus, shortcuts, or both?
@redmunds I don't think using menus or shortcuts is important. I can reproduce it with either one. That's why I just provided the steps with menus, but you can try it with shortcuts only and it will also be easier to reproduce. I think what is important is the number of extensions that register the keyboard shortcuts.
Extensions that I have to reproduce the crash are Emmet, brackets-beautify, brackets-minifier, dkehrig.show-whitespace, mikaeljorhult.brackets-autoprefixer and some more. But I don't think the set of extensions does matter. What matters is the number of shortcuts (or menu items) registered by these extensions and having Emmet in the set is a must since it registers the most shortcuts (and menu items).
@RaymondLim I installed all of the extensions you mentioned, including Emmet, and I still can't repro the problem.
But since you can, if I write you a fix that makes sure the key bindings are removed when the menu items are removed, can you test it out for me and see if it fixes this issue?
@lkcampbell Sure.
Looking at the call stack and the crash message EXC_BAD_ACCESS, I think we're trying to remove something that is already removed or deallocated from memory. And I don't think it is due to something that we miss to remove or deallocate. @lkcampbell So can you make sure that when we "reload w/o extensions" (right after a regular reload) do we still have the correct list of menus and menu items to remove?
I found out the real issue that is causing the crash. My dev tools console is showing an error loading Emmet extension and somehow I have a modified version of Emmet that will only work with services.widget approach we had for a research project in last August. After I reinstall the correct Emmet, I can't reproduce the crash any more.
But we still need to consider whether we need to take care of the crash scenario in this issue. If an extension fails to load successfully and some menu items are registered, then how do we avoid a crash when reloading w/o extensions?
@RaymondLim, all of these types of issues have, up to this point, been caused by the same problem and solved with the same process.
Any changes that extensions create that are non-shell related will get reset as part of the reloading of the code. This reloading process is the same with or without extensions. The only difference is the definition of the paths of extension directories that are loaded up. Normal reload includes the dev and user paths and the "without extensions" reload does not.
Any changes that extensions create that change the state of the Brackets Shell need to be explicitly wiped clean just prior to the reload. This assures that the default values replace the changes during the reload.
So the question becomes, what change of the buggy Emmet code is "sticking around" in the Brackets Shell between reloads? What state data in the shell are not being cleared out? Not sure at this point.
The code explicitly removes all menus, menu items, and menu dividers just prior to the reload. It does not, however, clear out key bindings, so that's the fix I want to try next.
If you have theories on what other state data might be sticking around, let me know and we can look into explicitly clearing that data out as well.
@raymondlim, see https://github.com/adobe/brackets/pull/6411#issuecomment-31940117.
Not only does Emmet have a lot of shortcuts, many of them conflict with core command shortcuts, so that may also be a factor.
@lkcampbell modified Emmet main.js
@RaymondLim thanks for the file. I will assign this to myself and take a look. I don't think this should be a show stopper for the Reload Without Extensions command since the main problem is a buggy extension, but if there is any way to improve the recovery from the extension I will add it.
I added "extension problem" tag. Is this really "Mac only"?
Removing "extension problem" since that tag is really intended to be used for bugs that are caused by specific (real) extensions, while this is really a bug that only (so far) has shown up in an unreleased, hacked-up version of Emmet that Raymond was using for prototyping.
Marking low priority - @lkcampbell, please investigate, and if it turns out that this could happen in a wider set of circumstances, we could bump up the priority.
@RaymondLim, I tried your corrupted file in the Emmet extension but I still can't repro this problem. I am going to need more info or better repro steps.
Also, this isn't caused by issue #6452, is it? Are you doing two quick reloads in a row or allowing a pause between reloads?
@lkcampbell I can't reproduce it either. Somehow I'm not seeing any error loading the corrupted Emmet extension in the console. Well. closing for now.
Result: crash with the following call stack. And the crash usually happens when you reload w/o extensions in step 1.