Skip to content

Instantly share code, notes, and snippets.

Process: FSNotes [76660]
Path: /Applications/FSNotes.app/Contents/MacOS/FSNotes
Identifier: co.fluder.FSNotes
Version: 3.7.0 (303)
App Item ID: 1277179284
App External ID: 832729026
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: FSNotes [76660]
User ID: 501
Thread #63:
0 libsystem_kernel.dylib 0x1833c4f60 __psynch_rw_wrlock + 8
1 libsystem_pthread.dylib 0x18348b5c8 _pthread_rwlock_lock + 464
2 libobjc.A.dylib 0x182e35764 rwlock_tt<false>::write() + 100
3 libobjc.A.dylib 0x182e2ebc4 _class_getNonMetaClass + 36
4 libobjc.A.dylib 0x182e354ac lookUpImpOrForward + 220
5 libobjc.A.dylib 0x182e40474 _objc_msgSend_uncached + 52
6 libobjc.A.dylib 0x182e2d414 CALLING_SOME_+initialize_METHOD + 20
7 libobjc.A.dylib 0x182e2d680 _class_initialize + 608
8 libobjc.A.dylib 0x182e354b0 lookUpImpOrForward + 224
Thread #0 Crashed:
0 JavaScriptCore 0x1882aabf8 WTF::ThreadIdentifierData::initialize(unsigned int) + 72
1 JavaScriptCore 0x1882a9188 WTF::currentThread() + 48
2 JavaScriptCore 0x1882a9188 WTF::currentThread() + 48
3 JavaScriptCore 0x1882aac04 WTF::initializeApplicationUIThreadIdentifier() + 8
4 WebCore 0x188f76bec StartWebThread() + 504
5 libsystem_pthread.dylib 0x18348f418 __pthread_once_handler + 76
6 libsystem_platform.dylib 0x183484a44 _os_once + 48
7 libsystem_pthread.dylib 0x18348c2fc pthread_once + 64
8 WebKitLegacy 0x18a15ba54 +[WebView(WebPrivate) enableWebThread] + 268
@bnham
bnham / cond.c
Last active August 22, 2017 19:20
/*
In one terminal:
$ ./cond
pid is 20274
Running busy loop thread
Waiting on condition!
pthread_cond_wait returned 0
Got past condition, handled signal: 1
@bnham
bnham / Makefile
Created August 1, 2017 16:15
test1
all: test1-arc test1-no-arc
.PHONY: all
LDLIBS = -framework Foundation
CXXFLAGS = -gdwarf -std=c++11
test1-arc: test1.mm
$(CXX) -fobjc-arc $(CXXFLAGS) $(LDLIBS) -o $@ test1.mm
test1-no-arc: test1.mm
@bnham
bnham / Makefile
Created August 1, 2017 16:15
test2
all: test2-arc-caller test2-mrr-caller
.PHONY: all
CXXFLAGS = -gdwarf -std=c++11
LDLIBS = -framework Foundation
test2-arc-caller: test2.mm foo.h foo.mm
$(CXX) $(CXXFLAGS) -fobjc-arc -o test2-arc.o -c test2.mm
$(CXX) $(CXXFLAGS) -fobjc-arc -o foo-arc.o -c foo.mm
$(CXX) $(LDFLAGS) $(LDLIBS) -o $@ test2-arc.o foo-arc.o
@bnham
bnham / Makefile
Created August 1, 2017 16:13
test1
all: test1-arc test1-no-arc
.PHONY: all
LDLIBS = -framework Foundation
CXXFLAGS = -gdwarf -std=c++11
test1-arc: test1.mm
$(CXX) -fobjc-arc $(CXXFLAGS) $(LDLIBS) -o $@ test1.mm
test1-no-arc: test1.mm