cpu destroyer
curious how long someone can go w/o this crashing max:
(there's an OTT in there that i forgot to take out but helps get a more consistent signal) open in presentation mode load serum turn on dsp and play on your computer keyboard
Hi James, you could make this thread more actionable and useful by putting "Serum" in the title, change "cpu destroyer" to "crashing" and automatically loading Serum with the "plug_vst Serum" message to your vst~ object. Also... a 4mb .maxpat is never going to be a pleasant experience to deal with. Also if we're talking crashes... your platform / CPU / Version for Max and Serum probably also helps.
Anyway, after getting through those hurdles I was able to try this. I had "total chaos" on and it ran like death (just awful distorted noise and chops, maybe 2 UI refreshes per second) after loading Serum, and then as soon as I opened the plugin window Max crashed. The crashed thread backtrace looks like Serum's drawing code.
*** CONFIG
macOS 12.2.1 running on Intel
Max 8.1.11 (not sure why I haven't updated this computer...)
Serum build 1.346
Translated Report (Full Report Below)
-------------------------------------
Process: Max [5742]
Path: /Applications/Max Versions/*/Max.app/Contents/MacOS/Max
Identifier: com.cycling74.Max
Version: 8.1.11 (17de540) (8.1.11)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2022-09-12 13:39:48.7540 -0400
OS Version: macOS 12.2.1 (21D62)
Report Version: 12
Bridge OS Version: 6.2 (19P744)
Anonymous UUID: A51A057F-F6AB-324C-C356-26A61318C451
Sleep/Wake UUID: 493F91FE-89AE-4B5F-AF10-A6715D222284
Time Awake Since Boot: 69000 seconds
Time Since Wake: 1370 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 0x00007f9300baa000
Exception Codes: 0x0000000000000001, 0x00007f9300baa000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [5742]
VM Region Info: 0x7f9300baa000 is not in any region. Bytes after previous region: 17123752116225 Bytes before following region: 8182390784
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Stack 700011890000-700011912000 [ 520K] rw-/rwx SM=PRV thread 40
---> GAP OF 0xf94d6dee000 BYTES
MALLOC_LARGE 7f94e8700000-7f94e870f000 [ 60K] rw-/rwx SM=COW
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 Serum 0x1475ac277 DoSpecialWarpDraw(bool, int, VSTGUI::CGraphicsPath*, long, float, float, int, void const*, float, float*, float*) + 2007
1 Serum 0x1475a7f85 WavformOverview::draw(VSTGUI::CDrawContext*) + 1365
2 Serum 0x147788d8e VSTGUI::CViewContainer::drawRect(VSTGUI::CDrawContext*, VSTGUI::CRect const&) + 3294
3 Serum 0x1477b7eb2 VSTGUI::CLayeredViewContainer::drawViewLayer(VSTGUI::CDrawContext*, VSTGUI::CRect const&) + 978
4 Serum 0x1477b3b4b VSTGUI_CALayer_DrawInContext(objc_object*, objc_selector*, CGContext*) + 491
5 QuartzCore 0x7ff82652930e CABackingStoreUpdate_ + 613
6 QuartzCore 0x7ff82658e3bd invocation function for block in CA::Layer::display_() + 53
7 QuartzCore 0x7ff8265286a0 -[CALayer _display] + 2268
8 QuartzCore 0x7ff826527619 CA::Layer::display_if_needed(CA::Transaction*) + 867
9 QuartzCore 0x7ff82667772b CA::Context::commit_transaction(CA::Transaction*, double, double*) + 717
10 QuartzCore 0x7ff82650924a CA::Transaction::commit() + 704
11 AppKit 0x7ff8220267d2 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
12 AppKit 0x7ff82276f0d4 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
13 CoreFoundation 0x7ff81f48bcb7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
14 CoreFoundation 0x7ff81f48bb54 __CFRunLoopDoObservers + 543
15 CoreFoundation 0x7ff81f48afe7 __CFRunLoopRun + 841
16 CoreFoundation 0x7ff81f48a5dd CFRunLoopRunSpecific + 563
17 HIToolbox 0x7ff8280c74f1 RunCurrentEventLoopInMode + 292
18 HIToolbox 0x7ff8280c7247 ReceiveNextEventCommon + 587
19 HIToolbox 0x7ff8280c6fe5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
20 AppKit 0x7ff821eb9d88 _DPSNextEvent + 886
21 AppKit 0x7ff821eb83f4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
22 AppKit 0x7ff821eaa919 -[NSApplication run] + 586
23 Chromium Embedded Framework 0x11afc9a0c cef_time_delta + 2877996
24 Chromium Embedded Framework 0x11afc87d3 cef_time_delta + 2873331
25 Chromium Embedded Framework 0x11af85f7a cef_time_delta + 2600858
26 Chromium Embedded Framework 0x11af57f1e cef_time_delta + 2412350
27 Chromium Embedded Framework 0x11ac84d33 ChromeAppModeStart_v6 + 6537459
28 Max 0x1042f5b0e MaxCefEventLoopHandler::runMessageLoop() + 18
29 Max 0x1046ce3b5 juce::JUCEApplicationBase::main(int, char const**) + 245
30 dyld 0x10e31d4fe start + 462
Thanks, Tyler. You might consider posting it to Customer Support - they'll love you for the clear report.