Sublime Forum

Two OS X 10.9 issues?

#1

First is where plugin_host-3.3 fails due to a missing symbol on the OS side:

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host-3.3
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host-3.3
  Expected in: /usr/lib/libSystem.B.dylib

This can likely be fixed by inserting the MacPorts’ legacy support dylib to the binary, but since I couldn’t make it load, even with WowFunHappy’s insert_dylib fork with support for expanding the binary, I couldn’t test it.

Second issue happens on quit (it crashes):

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000019c39aba0

VM Regions Near 0x19c39aba0:
    CG backing stores      0000000181a0f000-00000001821a7000 [ 7776K] rw-/rw- SM=SHM  
--> 
    CG shared images       00000001c0003000-00000001c000b000 [   32K] r--/r-- SM=SHM  

Application Specific Information:
objc_msgSend() selector name: windowDidChangeOcclusionState:


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fff8f6d90a3 objc_msgSend + 35
1   com.apple.CoreFoundation      	0x00007fff8d71be0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
2   com.apple.CoreFoundation      	0x00007fff8d60f82d _CFXNotificationPost + 2893
3   com.apple.Foundation          	0x00007fff94773dda -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
4   com.apple.AppKit              	0x00007fff8c35911c -[NSWindow _setWindowNumber:] + 518
5   com.apple.AppKit              	0x00007fff8c5a90f6 -[NSWindow _termWindowIfOwner] + 132
6   com.apple.AppKit              	0x00007fff8c5a8089 -[NSWindow dealloc] + 1595
7   com.sublimetext.4             	0x000000010e7b1bc5 -[PXWindow dealloc] + 414
8   com.apple.AppKit              	0x00007fff8c3595ea -[NSWindow release] + 193
9   com.apple.CoreFoundation      	0x00007fff8d61843f CFRelease + 591
10  com.apple.CoreFoundation      	0x00007fff8d62b699 -[__NSArrayM dealloc] + 185
11  libobjc.A.dylib               	0x00007fff8f6db65a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
12  com.apple.CoreFoundation      	0x00007fff8d637932 _CFAutoreleasePoolPop + 50
13  com.apple.Foundation          	0x00007fff9478c437 -[NSAutoreleasePool drain] + 147

This doesn’t happen on older versions, such as 4113. Looking into newer version now.

0 Likes

#2

What version does this issue occur in?

FWIW, ST4201+ require at least MacOS 10.13.

Older releases are unlikely to receive any further updates.

0 Likes

#3

It happens in the latest Sublime Text release that I grabbed today, which should be 4200.

0 Likes