Help deciphering crash report for jitter patch


    Feb 14 2018 | 6:38 pm
    I have a patch which automatically sequences video clips into an ongoing stream. The work is scheduled for exhibition in a gallery soon, but I am encountering problems with the patch crashing. The patch is one that has evolved over several years. Sometimes it will run effectively for several days, but recently it seems to crash more often. I am attaching crash reports for 3 events. If you can help me decipher these to pinpoint the Max process that may have caused the crash I will be thankful!
    Crash1:{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf760 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \f0\fs24 \cf0 Process: Max [7536]\ Path: /Applications/Max.app/Contents/MacOS/Max\ Identifier: com.cycling74.Max\ Version: 7.3.4 [1d56897] (7.3.4)\ Code Type: X86 (Native)\ Parent Process: ??? [1]\ Responsible: Max [7536]\ User ID: 502\ \ Date/Time: 2018-02-07 15:59:23.892 -0800\ OS Version: Mac OS X 10.12.2 (16C68)\ Report Version: 12\ Anonymous UUID: FB562255-1C00-0A71-AB28-98DE54879163\ \ Sleep/Wake UUID: E02C5D75-B5E6-4D35-9D26-C6B3C6BFDDF9\ \ Time Awake Since Boot: 120000 seconds\ Time Since Wake: 29000 seconds\ \ System Integrity Protection: enabled\ \ Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread\ \ Exception Type: EXC_BAD_ACCESS (SIGSEGV)\ Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000\ Exception Note: EXC_CORPSE_NOTIFY\ \ Termination Signal: Segmentation fault: 11\ Termination Reason: Namespace SIGNAL, Code 0xb\ Terminating Process: exc handler [0]\ \ VM Regions Near 0:\ --> \ __TEXT 000000000006f000-0000000000806000 [ 7772K] r-x/rwx SM=COW /Applications/Max.app/Contents/MacOS/Max\ \ Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread\ 0 com.cycling74.Max 0x00079bc4 atombuf_set + 47\ 1 com.cycling74.Max 0x00079b7b atombuf_replace + 44\ 2 message 0x0e9cef1f jmessage_set + 106\ 3 message 0x0e9cf2c3 jmessage_anything1 + 110\ 4 com.cycling74.Max 0x00178540 object_method_imp + 302\ 5 com.cycling74.Max 0x00176047 object_method + 114\ 6 com.cycling74.Max 0x000f1493 proxy_anything + 161\ 7 com.cycling74.Max 0x000a130b typedmess_fun + 277\ 8 com.cycling74.Max 0x000a0f78 typedmess + 52\ 9 com.cycling74.Max 0x00116be3 inlet_anything + 78\ 10 com.cycling74.Max 0x000a130b typedmess_fun + 277\ 11 com.cycling74.Max 0x00118ff6 outlet_anything + 560\ 12 com.cycling74.Max 0x000a130b typedmess_fun + 277\ 13 com.cycling74.Max 0x00118ff6 outlet_anything + 560\ 14 com.cycling74.Max 0x000faa38 through_sendit + 90\ 15 com.cycling74.Max 0x000faad3 through_scheduler_senditfun + 59\ 16 com.cycling74.Max 0x0010d2ff linklist_funall_imp + 118\ 17 com.cycling74.Max 0x0010c5c4 linklist_funall + 22\ 18 com.cycling74.Max 0x000fac5c through_scheduler_sendit_extended + 139\ 19 com.cycling74.Max 0x000faf6d through_scheduler_anything + 39\ 20 com.cycling74.Max 0x000f3f8e send_anything + 37\ 21 com.cycling74.Max 0x000a130b typedmess_fun + 277\ 22 com.cycling74.Max 0x00118ff6 outlet_anything + 560\ 23 zl 0x0cf2fe02 zl_genout + 147\ 24 zl 0x0cf30461 zl_doslice + 95\ 25 zl 0x0cf2eede zl_anything + 174\ 26 com.cycling74.Max 0x000a130b typedmess_fun + 277\ 27 com.cycling74.Max 0x00118ff6 outlet_anything + 560\ 28 com.cycling74.Max 0x000f29bf route_anything + 467\ 29 com.cycling74.Max 0x000a130b typedmess_fun + 277\ 30 com.cycling74.Max 0x00118ff6 outlet_anything + 560\ 31 coll 0x0e9ee7bf celem_out + 76\ 32 coll 0x0e9ec61f coll_next + 145\ 33 com.cycling74.Max 0x00117d1f outlet_bang + 1094\ 34 button 0x0d758ead jbutton_bang + 81\ 35 com.cycling74.Max 0x00117b0b outlet_bang + 562\ 36 com.cycling74.Max 0x00117b0b outlet_bang + 562\ 37 com.cycling74.Max 0x000faa48 through_sendit + 106\ 38 com.cycling74.Max 0x000faad3 through_scheduler_senditfun + 59\ 39 com.cycling74.Max 0x0010d2ff linklist_funall_imp + 118\ 40 com.cycling74.Max 0x0010c5c4 linklist_funall + 22\ 41 com.cycling74.Max 0x000fac5c through_scheduler_sendit_extended + 139\ 42 com.cycling74.Max 0x000facf0 through_scheduler_bang + 52\ 43 com.cycling74.Max 0x000f3edc send_bang + 25\ 44 com.cycling74.Max 0x00117b0b outlet_bang + 562\ 45 com.cycling74.Max 0x000812df ob_funcall + 1676\ 46 com.cycling74.Max 0x000a13ec typedmess_fun + 502\ 47 com.cycling74.Max 0x000a0f78 typedmess + 52\ 48 com.cycling74.Max 0x000a23b2 eval_intern Crash 2:{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf760 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx4660\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \f0\fs24 \cf0 Process: Max [3251]\ Path: /Applications/Max.app/Contents/MacOS/Max\ Identifier: com.cycling74.Max\ Version: 7.3.4 [1d56897] (7.3.4)\ Code Type: X86 (Native)\ Parent Process: ??? [1]\ Responsible: Max [3251]\ User ID: 502\ \ Date/Time: 2018-02-14 08:36:48.841 -0800\ OS Version: Mac OS X 10.12.2 (16C68)\ Report Version: 12\ Anonymous UUID: FB562255-1C00-0A71-AB28-98DE54879163\ \ \ Time Awake Since Boot: 72000 seconds\ \ System Integrity Protection: enabled\ \ Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread\ \ Exception Type: EXC_CRASH (SIGABRT)\ Exception Codes: 0x0000000000000000, 0x0000000000000000\ Exception Note: EXC_CORPSE_NOTIFY\ \ Application Specific Information:\ [3251] stack overflow\ \ Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread\ 0 libsystem_kernel.dylib 0x9f8b449a __pthread_kill + 10\ 1 libsystem_pthread.dylib 0x9f997ec3 pthread_kill + 90\ 2 libsystem_c.dylib 0x9f814afa __abort + 158\ 3 libsystem_c.dylib 0x9f8152d8 __stack_chk_fail + 215\ 4 com.cycling74.Max 0x000f5a80 atombuf_totext_flags + 1083\ 5 com.cycling74.Max 0x0027ad2a jbox_updatetextfield_lock + 105\ 6 com.cycling74.Max 0x0027ae11 jbox_updatetextfield_lockmutex + 22\ 7 message 0x0e9d60c7 jmessage_qfn + 24\ 8 com.cycling74.Max 0x0012e591 sched_dequeue + 226\ 9 com.cycling74.Max 0x0037821a MainThreadEventHandler::invoke() + 106\ 10 com.cycling74.Max 0x0037814b non-virtual thunk to MainThreadEventHandler::timerCallback() + 27\ 11 com.cycling74.Max 0x004bec4d juce::InternalTimerThread::callTimers() + 139\ 12 com.cycling74.Max 0x004bf014 non-virtual thunk to juce::InternalTimerThread::handleMessage(juce::Message const&) + 20\ 13 com.cycling74.Max 0x004bdf4f juce::MessageManager::deliverMessage(juce::Message*) + 61\ 14 com.cycling74.Max 0x005ac537 juce::AppDelegateRedirector::runLoopCallback() + 113\ 15 com.apple.CoreFoundation 0x946d0d0f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15\ 16 com.apple.CoreFoundation 0x946b1517 __CFRunLoopDoSources0 + 519\ 17 com.apple.CoreFoundation 0x946b09a4 __CFRunLoopRun + 1108\ 18 com.apple.CoreFoundation 0x946b02ea CFRunLoopRunSpecific + 506\ 19 com.apple.CoreFoundation 0x946b00db CFRunLoopRunInMode + 123\ 20 com.apple.HIToolbox 0x93dafdb6 RunCurrentEventLoopInMode + 268\ 21 com.apple.HIToolbox 0x93dafba2 ReceiveNextEventCommon + 494\ 22 com.apple.HIToolbox 0x93daf99b _BlockUntilNextEventMatchingListInModeWithFilter + 83\ 23 com.apple.AppKit 0x9257b641 _DPSNextEvent + 1227\ 24 com.apple.AppKit 0x92cdf878 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1742\ 25 com.apple.AppKit 0x92cdf1a2 -[NSApplication(NSEvent) nextEventMatchingMask:untilDate:inMode:dequeue:] + 132\ 26 com.apple.AppKit 0x925702dc -[NSApplication run] + 943\ 27 com.cycling74.Max 0x00453118 -[MaxCefApplication run] + 56\ 28 com.cycling74.chromium 0x01080c6e 0xf54000 + 1231982\ 29 com.cycling74.chromium 0x0108054c 0xf54000 + 1230156\ 30 com.cycling74.chromium 0x010c3fd2 0xf54000 + 1507282\ 31 com.cycling74.chromium 0x010dec7e 0xf54000 + 1617022\ 32 com.cycling74.chromium 0x010c39ba 0xf54000 + 1505722\ 33 com.cycling74.chromium 0x00fccade 0xf54000 + 494302\ 34 com.cycling74.Max 0x005a5ee2 juce::MessageManager::runDispatchLoop() + 574\ 35 com.cycling74.Max 0x0046ca82 juce::JUCEApplication::main(juce::StringArray const&) + 62\ 36 com.cycling74.Max 0x0046cb99 juce::JUCEApplication::main(int, char const**) + 73\ 37 com.cycling74.Max 0x000f3235 start + 53\ \ Thread 1:: NetworkConfigWatcher\ 0 libsystem_kernel.dylib 0x9f8ac8be mach_msg_trap + 10\ 1 libsystem_kernel.dylib 0x9f8abe33 mach_msg + 51\ 2 com.apple.CoreFoundation 0x946b1746 __CFRunLoopServiceMachPort + 214\ 3 com.apple.CoreFoundation 0x946b0b78 __CFRunLoopRun + 1576\ 4 com.apple.CoreFoundation 0x946b02ea CFRunLoopRunSpecific + 506\ 5 com.apple.CoreFoundation 0x946b00db CFRunLoopRunInMode + 123\ 6 com.apple.Foundation 0x95d942f0 -[NSRunLoop(NSRunLoop) runMo

    • Feb 14 2018 | 8:34 pm
      since your running in 32 bit mode, there's a good chance you're running out of memory. you could try running in 64 bit mode instead.
      most long term installations will schedule daily restarts, to avoid these kinds of crashes.
    • Feb 14 2018 | 10:11 pm
      Thanks! I will try running in 64-bit. I'm not sure why it wasn't already doing this.
      I definitely plan to schedule daily restarts, but hoping to avoid an unexpected crash! The exhibit will be running for 6 months.
    • Feb 15 2018 | 11:51 pm
      I discovered that running 64 bit was no good for qt engine. Using avf or viddll caused crashes sooner!
    • Feb 16 2018 | 5:31 pm
      would be happy to take a look at the crashing if you can strip down to essential elements, bundle everything together and email to me with exact steps to setup and reproduce the crash (starting with which patch to open, number of monitors attached, etc)
      robr at cycling74.com
    • Feb 16 2018 | 7:06 pm
      Thanks, Rob! I really appreciate it! I will pull everything together. Apologize in advance for the rather messy patch though - accumulation of different folks working over years. Generally works great to do what we want though! I'll need to strip down the movie elements as the full set are high-res movies and the files are pretty large.
      Justine