Hey, guys.
Environment:
- Mac OS X 10.13 (17A405).
- FoldingText. Version 2.2 (770).
Procedure step:
- run FoldingText 2 and edit, save file;
- put your MacBook to sleep;
- wake up your MacBook from sleep mode and try to resume working with the file.
Expected results: FoldingText gives you the ability to see the file, make and save changes.
Actual results: FoldingText is closed and needs to be re-run to use.
Part of the crash report:
Process: FoldingText [291]
Path: /Applications/FoldingText.app/Contents/MacOS/FoldingText
Identifier: FoldingText
Version: 2.2 (770)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: FoldingText [291]
User ID: 501
Date/Time: 2018-06-05 10:20:45.564 +0300
OS Version: Mac OS X 10.13 (17A405)
Report Version: 12
Anonymous UUID: 5ADFD3AF-654A-A71B-CF9C-F4F92DECD201
Sleep/Wake UUID: F724A07A-2642-4AFC-86C1-29F11C9A90B3
Time Awake Since Boot: 14000 seconds
Time Since Wake: 340 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
...
Thread 1:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff527a0e76 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff527a0390 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2b0f6475 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff2b0f57c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff2b0f4e43 CFRunLoopRunSpecific + 483
5 com.apple.CFNetwork 0x00007fff2a06e432 +[NSURLConnection(Loader) _resourceLoadLoop:] + 357
6 com.apple.Foundation 0x00007fff2d1af6d8 __NSThread__start__ + 1197
7 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 libc++.1.dylib 0x00007fff50699d43 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
3 com.apple.JavaScriptCore 0x00007fff2ebaacd5 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 117
4 com.apple.JavaScriptCore 0x00007fff2ebaabc0 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 96
5 com.apple.JavaScriptCore 0x00007fff2ebaaa59 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 233
6 com.apple.JavaScriptCore 0x00007fff2ebaad28 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 40
7 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 3:: com.apple.CFStream.LegacyThread
0 libsystem_kernel.dylib 0x00007fff527a0e76 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff527a0390 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2b0f6475 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff2b0f57c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff2b0f4e43 CFRunLoopRunSpecific + 483
5 com.apple.CoreFoundation 0x00007fff2b1e0f15 _legacyStreamRunLoop_workThread + 277
6 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 4:: IndexedDatabase Server
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d5f WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 63
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.WebCore 0x00007fff383705da bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.WebCore 0x00007fff3881929f WTF::CrossThreadQueue<WTF::CrossThreadTask>::waitForMessage() + 95
6 com.apple.WebCore 0x00007fff388191ce WebCore::IDBServer::IDBServer::databaseRunLoop() + 110
7 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
8 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
9 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
10 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
11 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 5:: WebCore: AsyncFileStream
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d5f WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 63
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.WebCore 0x00007fff383705da bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.WebCore 0x00007fff38370e7f std::__1::unique_ptr<WTF::Function<void ()>, std::__1::default_delete<WTF::Function<void ()> > > WTF::MessageQueue<WTF::Function<void ()> >::waitForMessageFilteredWithTimeout<WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)&&, WTF::WallTime) + 127
6 com.apple.WebCore 0x00007fff38370dbd WTF::Function<void ()>::CallableWrapper<WebCore::callOnFileThread(WTF::Function<void ()>&&)::$_6::operator()() const::'lambda'()>::call() + 93
7 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
8 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
9 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
10 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
11 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 6:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff527a0e76 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff527a0390 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2b0f6475 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff2b0f57c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff2b0f4e43 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff2884f1f1 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff527aa6da __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff528e426f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff528e3c4d start_wqthread + 13
Thread 8:: WTF::AutomaticThread
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d9a WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 122
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.JavaScriptCore 0x00007fff2e6db70a bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.JavaScriptCore 0x00007fff2eb80505 WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call() + 165
6 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
7 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
8 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff527aa6da __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff528e406a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff528e3c4d start_wqthread + 13
Thread 10:: WTF::AutomaticThread
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d9a WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 122
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.JavaScriptCore 0x00007fff2e6db70a bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.JavaScriptCore 0x00007fff2eb80505 WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call() + 165
6 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
7 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
8 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff527aa6da __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff528e406a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff528e3c4d start_wqthread + 13
Thread 12:: WTF::AutomaticThread
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d9a WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 122
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.JavaScriptCore 0x00007fff2e6db70a bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.JavaScriptCore 0x00007fff2eb80505 WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call() + 165
6 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
7 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
8 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 13:: WTF::AutomaticThread
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d9a WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 122
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.JavaScriptCore 0x00007fff2e6db70a bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.JavaScriptCore 0x00007fff2eb80505 WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call() + 165
6 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
7 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
8 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 14:: WTF::AutomaticThread
0 libsystem_kernel.dylib 0x00007fff527a9e7e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff528e5662 _pthread_cond_wait + 732
2 com.apple.JavaScriptCore 0x00007fff2e0e9d9a WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 122
3 com.apple.JavaScriptCore 0x00007fff2eb920a8 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2600
4 com.apple.JavaScriptCore 0x00007fff2e6db70a bool WTF::ConditionBase::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
5 com.apple.JavaScriptCore 0x00007fff2eb80505 WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call() + 165
6 com.apple.JavaScriptCore 0x00007fff2e0e23ef WTF::threadEntryPoint(void*) + 111
7 com.apple.JavaScriptCore 0x00007fff2e0e233a WTF::wtfThreadEntryPoint(void*) + 74
8 libsystem_pthread.dylib 0x00007fff528e46c1 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff528e456d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff528e3c5d thread_start + 13
Thread 15:
0 libsystem_pthread.dylib 0x00007fff528e3c40 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fff85e3ed50 rbx: 0x000000010e9d8d10 rcx: 0x8000000000009800 rdx: 0x0000000000009800
rdi: 0x000000010e9d8d10 rsi: 0x0000000000009646 rbp: 0x00007ffee4016a70 rsp: 0x00007ffee4016a40
r8: 0x000000000000007f r9: 0x00007fff871ebf40 r10: 0x00000000e345f2a7 r11: 0xffffffffffffffff
r12: 0x0000000000000001 r13: 0x000000010f91c6c0 r14: 0x000000010eb00030 r15: 0x0000000000000000
rip: 0x00007fff2e980b2e rfl: 0x0000000000000202 cr2: 0x0000604000658ff8
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 3
Binary Images:
0x10bbe3000 - 0x10bc8cff7 +com.foldingtext.paddle.FoldingText (2.2 - 770) <2F7C557A-A8D0-3AFB-91B4-3696C42E00BC> /Applications/FoldingText.app/Contents/MacOS/FoldingText
0x10bcb3000 - 0x10bd0fff7 +com.paddle.Paddle (2.4.3 - 2.4.3) <B1298E64-0D6D-3BEE-A220-87101E17F861> /Applications/FoldingText.app/Contents/Frameworks/Paddle.framework/Versions/A/Paddle
0x10bd43000 - 0x10bd7efff +org.sparkle-project.Sparkle (1.13.1 git-2afc553 - 1.13.1) <40414915-A48C-3DBB-AACB-5C20BAAE6DA6>
....
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 27
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: 9103
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=443.9M resident=0K(0%) swapped_out_or_unallocated=443.9M(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 512K 5
Activity Tracing 256K 2
CG backing stores 516K 4
CG image 196K 29
CoreAnimation 7576K 45
CoreGraphics 8K 2
CoreImage 240K 54
CoreUI image data 3228K 29
CoreUI image file 328K 6
Foundation 800K 4
Image IO 32K 3
JS JIT generated code 256.0M 5
JS JIT generated code (reserved) 768.0M 2 reserved VM address space (unallocated)
Kernel Alloc Once 8K 2
MALLOC 227.2M 64
MALLOC guard page 64K 16
Memory Tag 242 12K 2
Memory Tag 251 84K 4
SQLite page cache 64K 2
STACK GUARD 56.1M 17
Stack 15.6M 17
VM_ALLOCATE 232K 23
WebKit Malloc 263.2M 30
__DATA 38.2M 341
__FONT_DATA 4K 2
__GLSLBUILTINS 2588K 2
__LINKEDIT 189.0M 11
__TEXT 254.9M 345
__UNICODE 556K 2
mapped file 86.5M 80
shared memory 812K 15
=========== ======= =======
TOTAL 2.1G 1134
TOTAL, minus reserved VM space 1.4G 1134
Model: MacBookAir7,2, BootROM MBA71.0171.B00, 2 processors, Intel Core i5, 1.8 GHz, 8 GB, SMC 2.27f2
Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, -
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.37.0.1a1)
Bluetooth: Version 6.0.0f7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 27.2