Marked keeps crashing after updating to 2.5.27
Hello
Marked keeps crashing after updating to 2.5.27. Any way to downgrade to 2.5.26 until the next update?
Many thanks and best regards,
Fabrizio
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on Nov 15, 2018 @ 12:25 PM
I can provide a download link, but I know if no specific crashers in the current version, so it would be more beneficial to figure out why it's happening.
Do you have a custom processor set up? Is it crashing immediately on launch, or when doing something specific? Is there a particular document that might be problematic? Do you have a crash log? Any other info you can provide?
Thanks,
Brett
2 Posted by Fabrizio Gilard... on Nov 15, 2018 @ 01:13 PM
Hi Brett
Thank you so much for the quick reply. The app crashes as soon as I attempt to open a .md file with it, either directly or via the Sublime Text workflow. I've realized the problem might be the macOS update (10.14.1). I think I updated Markdown 2 at roughly the same time so not sure about the sequence.
I'm pasting below the crash log, hopefully it helps.
Btw since these problems I've realized how much I value Marked 2 -- keep up the good work!
Thanks a lot,
Fabrizio
***
Process: Marked 2 [1017]
Path: /Applications/Marked 2.app/Contents/MacOS/Marked 2
Identifier: com.brettterpstra.marked2
Version: 2.5.27 (964)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Marked 2 [1017]
User ID: 502
Date/Time: 2018-11-15 14:08:17.764 +0100
OS Version: Mac OS X 10.14.1 (18B75)
Report Version: 12
Bridge OS Version: 3.0 (14Y667)
Anonymous UUID: FFB2A69C-B724-24E2-F5D0-32675ADBFBD7
Time Awake Since Boot: 230 seconds
System Integrity Protection: enabled
Crashed Thread: 5 Dispatch queue: Processing (QOS: UNSPECIFIED)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2b683e65 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff576da720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2b69d8e5 -[NSException raise] + 9
3 AppKit 0x00007fff28ba27e6 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 324
4 AppKit 0x00007fff28b9fbd0 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
5 AppKit 0x00007fff28c604ab -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 50
6 AppKit 0x00007fff28b9f5fa -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
7 AppKit 0x00007fff28c60460 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 64
8 AppKit 0x00007fff28b9db0b -[NSWindowTemplate nibInstantiate] + 495
9 AppKit 0x00007fff28b18ba2 -[NSIBObjectData instantiateObject:] + 267
10 AppKit 0x00007fff28b17f10 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 579
11 AppKit 0x00007fff28b1613d loadNib + 401
12 AppKit 0x00007fff28b15605 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696
13 AppKit 0x00007fff28b1524a -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 204
14 AppKit 0x00007fff28ecf291 -[NSAlert init] + 101
15 Marked 2 0x0000000109a3facd Marked 2 + 375501
16 Marked 2 0x0000000109a41786 Marked 2 + 382854
17 Marked 2 0x0000000109a092c3 Marked 2 + 152259
18 Marked 2 0x0000000109a7a43b Marked 2 + 615483
19 Foundation 0x00007fff2d941d5a -[__NSOperationInternal _start:] + 686
20 Foundation 0x00007fff2d96c45f __NSOQSchedule_f + 227
21 libdispatch.dylib 0x00007fff58759d53 _dispatch_call_block_and_release + 12
22 libdispatch.dylib 0x00007fff5875adcf _dispatch_client_callout + 8
23 libdispatch.dylib 0x00007fff5875d5dc _dispatch_continuation_pop + 427
24 libdispatch.dylib 0x00007fff5875cc7e _dispatch_async_redirect_invoke + 718
25 libdispatch.dylib 0x00007fff58768d26 _dispatch_root_queue_drain + 325
26 libdispatch.dylib 0x00007fff587694bd _dispatch_worker_thread2 + 90
27 libsystem_pthread.dylib 0x00007fff5899a70e _pthread_wqthread + 619
28 libsystem_pthread.dylib 0x00007fff5899a435 start_wqthread + 13
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff588e1c66 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff5875b36c _dispatch_sema4_wait + 16
2 libdispatch.dylib 0x00007fff5875bb48 _dispatch_semaphore_wait_slow + 101
3 com.apple.AppKit 0x00007fff28e6de4a +[_NSWindowTransformAnimation waitForAnimationToCompleteOnWindows:forFullScreen:] + 749
4 com.apple.AppKit 0x00007fff28e6d8e4 __69-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:]_block_invoke_2 + 2114
5 com.apple.AppKit 0x00007fff28ffe0f9 __withWindowOrderingObserverHeuristic_block_invoke + 43
6 com.apple.AppKit 0x00007fff28ffe352 ___NSMainRunLoopPerformBlockInModes_block_invoke + 25
7 com.apple.CoreFoundation 0x00007fff2b6099f7 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
8 com.apple.CoreFoundation 0x00007fff2b5cca31 __CFRunLoopDoBlocks + 395
9 com.apple.CoreFoundation 0x00007fff2b5cc12f __CFRunLoopRun + 1204
10 com.apple.CoreFoundation 0x00007fff2b5cba28 CFRunLoopRunSpecific + 463
11 com.apple.HIToolbox 0x00007fff2a864b35 RunCurrentEventLoopInMode + 293
12 com.apple.HIToolbox 0x00007fff2a86486b ReceiveNextEventCommon + 618
13 com.apple.HIToolbox 0x00007fff2a8645e8 _BlockUntilNextEventMatchingListInModeWithFilter + 64
14 com.apple.AppKit 0x00007fff28b20eb7 _DPSNextEvent + 997
15 com.apple.AppKit 0x00007fff28b1fc56 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
16 com.apple.AppKit 0x00007fff28b19cb9 -[NSApplication run] + 699
17 com.apple.AppKit 0x00007fff28b093f7 NSApplicationMain + 780
18 libdyld.dylib 0x00007fff587a908d start + 1
Thread 1:: Dispatch queue: com.apple.root.user-interactive-qos
0 libsystem_kernel.dylib 0x00007fff588e3646 kevent_id + 10
1 libdispatch.dylib 0x00007fff58775baa _dispatch_kq_poll + 243
2 libdispatch.dylib 0x00007fff5877673e _dispatch_event_loop_wait_for_ownership + 498
3 libdispatch.dylib 0x00007fff58766c79 __DISPATCH_WAIT_FOR_QUEUE__ + 277
4 libdispatch.dylib 0x00007fff587668cf _dispatch_sync_f_slow + 171
5 com.apple.AppKit 0x00007fff28c58ead _disable_updates_sync + 156
6 com.apple.AppKit 0x00007fff28c58db9 NSCGSDisableUpdates + 76
7 com.apple.AppKit 0x00007fff28c58c82 NSCGSTransactionRunPreCommitActionsForOrder_ + 138
8 com.apple.AppKit 0x00007fff28c58bdb NSCGSTransactionRunPreCommitActions_ + 21
9 com.apple.AppKit 0x00007fff28c58bba __39+[_NSCGSTransaction currentTransaction]_block_invoke + 34
10 com.apple.QuartzCore 0x00007fff365741b3 CA::Transaction::run_commit_handlers(CATransactionPhase) + 49
11 com.apple.QuartzCore 0x00007fff36574a8d CA::Context::commit_transaction(CA::Transaction*) + 1949
12 com.apple.QuartzCore 0x00007fff36573d00 CA::Transaction::commit() + 576
13 com.apple.AppKit 0x00007fff28b5a6e4 NSPerformVisuallyAtomicChange + 154
14 com.apple.AppKit 0x00007fff28d90cf4 -[NSAnimation(NSInternal) _advanceTimeWithDisplayLink:] + 194
15 com.apple.AppKit 0x00007fff28d243f7 -[NSScreenDisplayLink _fire] + 298
16 com.apple.CoreFoundation 0x00007fff2b5ebbbd __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
17 com.apple.CoreFoundation 0x00007fff2b5eb770 __CFRunLoopDoTimer + 859
18 com.apple.CoreFoundation 0x00007fff2b5eb2b0 __CFRunLoopDoTimers + 333
19 com.apple.CoreFoundation 0x00007fff2b5cc4fb __CFRunLoopRun + 2176
20 com.apple.CoreFoundation 0x00007fff2b5cba28 CFRunLoopRunSpecific + 463
21 com.apple.Foundation 0x00007fff2d9323ba -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
22 com.apple.AppKit 0x00007fff28e11748 -[NSAnimation(NSInternal) _runBlocking] + 403
23 com.apple.AppKit 0x00007fff28e113df __42-[NSAnimation(NSInternal) _runInNewThread]_block_invoke + 97
24 libdispatch.dylib 0x00007fff58759d53 _dispatch_call_block_and_release + 12
25 libdispatch.dylib 0x00007fff5875adcf _dispatch_client_callout + 8
26 libdispatch.dylib 0x00007fff58768e80 _dispatch_root_queue_drain + 671
27 libdispatch.dylib 0x00007fff587694bd _dispatch_worker_thread2 + 90
28 libsystem_pthread.dylib 0x00007fff5899a70e _pthread_wqthread + 619
29 libsystem_pthread.dylib 0x00007fff5899a435 start_wqthread + 13
Thread 2:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 3:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 4:: Dispatch queue: NSCGSDisableUpdates
0 libsystem_kernel.dylib 0x00007fff588e1c2a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff588e2174 mach_msg + 60
2 com.apple.SkyLight 0x00007fff516d4c37 CGSUpdateManager::enable_updates_common() + 539
3 com.apple.SkyLight 0x00007fff5167807f CGSUpdateManager::enable_update(unsigned long long) + 317
4 libdispatch.dylib 0x00007fff58759d53 _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x00007fff5875adcf _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff58761124 _dispatch_lane_serial_drain + 618
7 libdispatch.dylib 0x00007fff58761bdc _dispatch_lane_invoke + 388
8 libdispatch.dylib 0x00007fff5876a090 _dispatch_workloop_worker_thread + 603
9 libsystem_pthread.dylib 0x00007fff5899a63c _pthread_wqthread + 409
10 libsystem_pthread.dylib 0x00007fff5899a435 start_wqthread + 13
Thread 5 Crashed:: Dispatch queue: Processing (QOS: UNSPECIFIED)
0 libsystem_kernel.dylib 0x00007fff588e7b86 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5899dc50 pthread_kill + 285
2 libsystem_c.dylib 0x00007fff588511c9 abort + 127
3 libc++abi.dylib 0x00007fff55ed3231 abort_message + 231
4 libc++abi.dylib 0x00007fff55ed33cd default_terminate_handler() + 265
5 libobjc.A.dylib 0x00007fff576dcc87 _objc_terminate() + 97
6 libc++abi.dylib 0x00007fff55ededfe std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff55edee73 std::terminate() + 51
8 libdispatch.dylib 0x00007fff5875ade3 _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff5875d5dc _dispatch_continuation_pop + 427
10 libdispatch.dylib 0x00007fff5875cc7e _dispatch_async_redirect_invoke + 718
11 libdispatch.dylib 0x00007fff58768d26 _dispatch_root_queue_drain + 325
12 libdispatch.dylib 0x00007fff587694bd _dispatch_worker_thread2 + 90
13 libsystem_pthread.dylib 0x00007fff5899a70e _pthread_wqthread + 619
14 libsystem_pthread.dylib 0x00007fff5899a435 start_wqthread + 13
Thread 6:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 7:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 8:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 9:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 10:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 11:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 12:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 13:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 14:
0 libsystem_pthread.dylib 0x00007fff5899a428 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 15:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff588e1c2a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff588e2174 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2b5ccda2 __CFRunLoopServiceMachPort + 337
3 com.apple.CoreFoundation 0x00007fff2b5cc2f1 __CFRunLoopRun + 1654
4 com.apple.CoreFoundation 0x00007fff2b5cba28 CFRunLoopRunSpecific + 463
5 com.apple.AppKit 0x00007fff28b29add _NSEventThread + 160
6 libsystem_pthread.dylib 0x00007fff5899b339 _pthread_body + 126
7 libsystem_pthread.dylib 0x00007fff5899e2a7 _pthread_start + 70
8 libsystem_pthread.dylib 0x00007fff5899a445 thread_start + 13
Thread 16:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff588e51b2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff5899e5cb _pthread_cond_wait + 724
2 libc++.1.dylib 0x00007fff55e7fd01 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 0x00007fff2ec10425 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 0x00007fff2ec102ef 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&) + 95
5 com.apple.JavaScriptCore 0x00007fff2ec0ef4e bmalloc::Scavenger::threadRunLoop() + 270
6 com.apple.JavaScriptCore 0x00007fff2ec0e6a9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
7 com.apple.JavaScriptCore 0x00007fff2ec100d7 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::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
8 libsystem_pthread.dylib 0x00007fff5899b339 _pthread_body + 126
9 libsystem_pthread.dylib 0x00007fff5899e2a7 _pthread_start + 70
10 libsystem_pthread.dylib 0x00007fff5899a445 thread_start + 13
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000070000b21d000 rcx: 0x000070000b21c808 rdx: 0x0000000000000000
rdi: 0x0000000000003803 rsi: 0x0000000000000006 rbp: 0x000070000b21c840 rsp: 0x000070000b21c808
r8: 0x000070000b21c6c8 r9: 0x000070000b21c8a0 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000003803 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff588e7b86 rfl: 0x0000000000000206 cr2: 0x00007fff8b5b3188
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x1099e4000 - 0x109b56ff7 +com.brettterpstra.marked2 (2.5.27 - 964) <2453B5F9-C1CF-318A-8114-F638B31ACD32> /Applications/Marked 2.app/Contents/MacOS/Marked 2
0x109bc5000 - 0x109c4bfff +com.paddle.Paddle (3.0.34 - 348) <01E091CD-6487-360A-AD1B-8A6BF1E67654> /Applications/Marked 2.app/Contents/Frameworks/Paddle.framework/Versions/A/Paddle
0x109c88000 - 0x109cacfff +com.deusty.CocoaLumberjack (2.0.0-rc - 1) <36F399CB-BAC9-314A-B6DD-BCF33BC87EA3> /Applications/Marked 2.app/Contents/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack
0x109ccd000 - 0x109cdfff7 +com.github.shpakovski.MASShortcut (2.2.0 - 2.2.0) <46E11CB4-AC09-39DF-A599-AD07FADD2266> /Applications/Marked 2.app/Contents/Frameworks/MASShortcut.framework/Versions/A/MASShortcut
0x109cf2000 - 0x109d02ff7 +me.rel.YAJL (0.2.26) <C5DA87E7-5816-3C46-941A-206DCBC71F9C> /Applications/Marked 2.app/Contents/Frameworks/YAJL.framework/Versions/A/YAJL
0x109d13000 - 0x109d45ff7 +org.andymatuschak.Sparkle (1.6 git - bfd8c27) <80C38052-FF50-3A3C-A736-82AB4D6FDAEB> /Applications/Marked 2.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
0x109d80000 - 0x109d99fff +de.geheimwerk.DiffMatchPatch (1.0.5 - 1000) <9C7F7448-EDA4-314D-A816-02DEFE25C48F> /Applications/Marked 2.app/Contents/Frameworks/DiffMatchPatch.framework/Versions/A/DiffMatchPatch
0x10daec000 - 0x10daef047 libobjc-trampolines.dylib (750.1) <EAFE392F-7BD6-3988-9C6F-DFD359AE0AD3> /usr/lib/libobjc-trampolines.dylib
0x10f6e2000 - 0x10f7606a7 dyld (635.2) <1780094A-8FE2-3EAA-B4A3-C4CF14BC5196> /usr/lib/dyld
0x7fff213fb000 - 0x7fff21774fff com.apple.RawCamera.bundle (8.11.0 - 1031.1.3) <FE033C75-0F5C-3F38-8A11-36A32E9D3F47> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff21777000 - 0x7fff218c2ff7 com.apple.AMDMTLBronzeDriver (2.2.8 - 2.0.2) <DEFFC096-0D52-3F03-A7B5-DE22B4810D75> /System/Library/Extensions/AMDMTLBronzeDriver.bundle/Contents/MacOS/AMDMTLBronzeDriver
0x7fff24b6a000 - 0x7fff24df3ff7 com.apple.driver.AppleIntelKBLGraphicsMTLDriver (12.2.17 - 12.0.2) <7A76F267-8822-36C8-87C1-90C949048A80> /System/Library/Extensions/AppleIntelKBLGraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelKBLGraphicsMTLDriver
0x7fff274f5000 - 0x7fff276e3fff com.apple.avfoundation (2.0 - 1542.10.104.1) <A3A0B581-CA6E-31E1-AE67-5DB8EABFEA04> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff276e4000 - 0x7fff277b3fff com.apple.audio.AVFAudio (1.0 - ???) <6FB8FD22-713D-347C-8278-9170077EE8AD> /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio
0x7fff278c1000 - 0x7fff278c1fff com.apple.Accelerate (1.11 - Accelerate 1.11) <A09CB6D5-3F8A-3E05-B0EB-63878296A059> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff278c2000 - 0x7fff278d8fef libCGInterfaces.dylib (506.19.1) <8A894DB4-A48B-31A0-9316-DC41061D9549> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
0x7fff278d9000 - 0x7fff27f79fe3 com.apple.vImage (8.1 - ???) <DB23E2A0-EA06-3073-AA7E-2873556714A9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff27f7a000 - 0x7fff281f1fd7 libBLAS.
Support Staff 3 Posted by Brett on Nov 15, 2018 @ 02:02 PM
The only time I've seen this crash before was related to a custom
processor. Are you using one?
Thanks,
Brett
4 Posted by Fabrizio Gilard... on Nov 15, 2018 @ 02:51 PM
Actually, yes I am (pandoc), and when deactivating it the app no longer crashes.
I don't remember why I needed the custom processor in the first place, so I think I'm all good.
Thanks a lot,
Fabrizio
Support Staff 5 Posted by Brett on Nov 15, 2018 @ 02:53 PM
Good deal. I have another support ticket running for this specific
issue, so if you're good for now I'll just work on solving that one :).
Thanks,
Brett
6 Posted by Fabrizio Gilard... on Nov 15, 2018 @ 02:54 PM
Yes I think I'm good for now, thanks!
7 Posted by Brad on Dec 27, 2018 @ 01:09 AM
Hi Brett, what is the other support ticket? I'm also having this problem but I actually need to use pandoc as my processor. Thanks!
Support Staff 8 Posted by Brett on Dec 27, 2018 @ 01:08 PM
I believe I have this fixed, please give me a few days to get the next
update out.
-Brett
9 Posted by Nicholas Cifuen... on Mar 16, 2019 @ 12:50 AM
I know this is an old ticket, but I'm also having this problem. I'm running version 2.5.31 of Marked and pandoc 2.6. Is anyone still having this problem?
10 Posted by scott koga-brow... on Mar 16, 2019 @ 08:38 AM
Am also having similar problems (marked 2.5.31 / pandoc 2.7); multiple repeated unexplained crashes when trying to use pandoc as a custom processor and pp as a preprocessor. I have it working now but only after a very frustrating couple of hours experimenting with which command-line options work and which cause a crash.
BTW, all paths to binaries full and correct, all paths to included files/bibliography/files/csl files etc correct and working.
Support Staff 11 Posted by Brett on Mar 16, 2019 @ 06:23 PM
I still haven't been able to narrow down exactly what this error is. I do know that it has something to do with the arguments, certain arguments cause the crash while others don't. If anyone has any insight into exactly which ones cause crashes, please share.
12 Posted by Nicholas Cifuen... on Mar 18, 2019 @ 09:28 PM
For me, I have no problem when things are simple. For example, `-f markdown
-t html5` works fine. The problem is as soon as I add the `--filter` and
`--bibliography` arguments. Lots of folks use pandoc with pandoc-citeproc.
When I try `--filter pandoc-citeproc`, it crashes. When I put in the
complete path
`--filter=/Users/nicholascifuentes-goodbody/anaconda3/bin/pandoc-citeproc`
it works. But then I add `--bibliography=` and the path to my `.bib` file,
and it crashes. So I think the problem is somewhere in `--filter` and/or
`--bibliography`.
Support Staff 13 Posted by Brett on Mar 18, 2019 @ 09:32 PM
Thanks Nicholas, that's a start. Any chance you can show me full examples of arguments that work vs arguments that crash?
Thanks,
Brett
14 Posted by Nicholas Cifuen... on Mar 18, 2019 @ 10:37 PM
Sure!
This works: `-f markdown -t html5`
This crashes: `-f markdown -t html5 --filter pandoc-citeproc`
This works: `-f markdown -t html5
--filter=/Users/nicholascifuentes-goodbody/anaconda3/bin/pandoc-citeproc`
This crashes: `-f markdown -t html5
--filter=/Users/nicholascifuentes-goodbody/anaconda3/bin/pandoc-citeproc
--bibliogaphy`
This works: `-f markdown -t html5
--filter=/Users/nicholascifuentes-goodbody/anaconda3/bin/pandoc-citeproc
--bibliography=/Users/nicholascifuentes-goodbody/Dropbox/bib_file/library.bib`
This works: `-f markdown -t html5
--filter=/Users/nicholascifuentes-goodbody/anaconda3/bin/pandoc-citeproc
--bibliography=/Users/nicholascifuentes-goodbody/Dropbox/bib_file/library.json`
I think the issue is that some people may be running pandoc without
pandoc-citeproc installed or maybe there's some sort of path issue for
people who didn't install pandoc with the OS installer from the pandoc
website (i.e. people who have it installed via Anaconda).
Support Staff 15 Posted by Brett on Mar 18, 2019 @ 10:39 PM
This is great, thank you.
Thanks,
Brett
16 Posted by Scott Koga-Brow... on Mar 19, 2019 @ 03:33 AM
Not sure how useful having another example of a functioning setup is, but
here goes...
PROCESSOR
/usr/local/bin/pandoc
-f markdown -t html --filter=pandoc-crossref --filter=pandoc-citeproc -N -s
-H /full/path/to/preview.css
* pandoc-citeproc and pandoc-crossref are both in '/usr/local/bin/'
PREPROCESSOR
/Users/spkb/.local/bin/pp
THESE SETTINGS WORKS FINE (for me!)
BTW, I noted previously that the preferences pane and the green and yellow
status bar 'lamps' for pre/processor don't seem to be in sync - ie enabling
the custom processor in the pref pane doesn't seem to turn on the green
indicator at the bottom of the document preview window. A couple of times
It was when I noticed this and clicked the indicator (to turn on the custom
processor for the open document) that the crash happened.
Also, I realised that the cause of some of the crashes I experienced was a
mistake I had in the arguments for the custom processor;
I had used the short option (typed '-H=/path/to/file.css' ) whereas it
should have been '-H /path/to/file.css' - I'd left in the equals sign from
the long-option version '--include-in-header'. So, 'operator error' and not
a Marked2 problem in this case.
Having said that, and as I think I've seen you say somewhere, it would be
useful to have a little more help from the app to identify/avoid these
problems.
Cheers,
Scott Koga-Browes
+++++
Support Staff 17 Posted by Brett on Mar 22, 2019 @ 02:58 PM
Thanks for the examples, I'm working on making Marked handle errors more elegantly.
Scott, BTW, enabling the processor in preferences just makes it available to the previews, and enabling "use by default" will automatically turn it on for new preview windows, but will not modify open windows. Unless it's on by default, you always have to enable it by clicking the indicator buttons in the preview (or use the gear menu/⌘⌥C).
Support Staff 18 Posted by Brett on Mar 22, 2019 @ 03:22 PM
Ok, found the issue and have it fixed for the next update. Now it will properly display any error results from the custom processor as an alert instead of, you know, crashing.
To be fair, this is what it was always supposed to do, but I found a bug that was causing the error alert itself to crash the app. Fun.
Brett closed this discussion on Mar 22, 2019 @ 03:22 PM.