Crash of Max 8 with latest ossia-max

Hi

follwing these steps will crash max:

  1. open ossia.attribute.maxhelp
  2. via ‘?’ open ossia.remote
  3. via ‘?’ open ossia.view

here an excerpt of the crashreport:

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libossia-max.dylib 0x0000000121a1b5b9 0x121a0c000 + 62905
1 libossia-max.dylib 0x0000000121a45629 0x121a0c000 + 235049
2 libossia-max.dylib 0x0000000121a45d0f 0x121a0c000 + 236815
3 libossia-max.dylib 0x0000000121a45989 0x121a0c000 + 235913
4 libossia-max.dylib 0x0000000121a29ae8 0x121a0c000 + 121576
5 libossia-max.dylib 0x0000000121a0ea35 0x121a0c000 + 10805
6 com.cycling74.Max 0x000000010e44667b clock_execute + 56
7 com.cycling74.Max 0x000000010e484b05 sched_takepoll + 621
8 com.cycling74.Max 0x000000010e6ffff6 MainThreadEventHandler::invoke() + 228
9 libdispatch.dylib 0x00007fff584f95fa _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff584f1db8 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff584fd395 _dispatch_main_queue_callback_4CF + 1148
12 com.apple.CoreFoundation 0x00007fff30637b39 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
13 com.apple.CoreFoundation 0x00007fff305f9cda __CFRunLoopRun + 2586
14 com.apple.CoreFoundation 0x00007fff305f9033 CFRunLoopRunSpecific + 483
15 com.apple.HIToolbox 0x00007fff2f8e3d96 RunCurrentEventLoopInMode + 286
16 com.apple.HIToolbox 0x00007fff2f8e3b06 ReceiveNextEventCommon + 613
17 com.apple.HIToolbox 0x00007fff2f8e3884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
18 com.apple.AppKit 0x00007fff2db93a73 _DPSNextEvent + 2085
19 com.apple.AppKit 0x00007fff2e329e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
20 com.apple.AppKit 0x00007fff2db88885 -[NSApplication run] + 764
21 com.cycling74.Max 0x000000010e7c0b6d -[MaxCefApplication run] + 77
22 org.chromium.ContentShell.framework 0x00000001111ac0dc 0x10f2ee000 + 32235740
23 org.chromium.ContentShell.framework 0x00000001111aadbe 0x10f2ee000 + 32230846
24 org.chromium.ContentShell.framework 0x00000001111c9dc5 0x10f2ee000 + 32357829
25 org.chromium.ContentShell.framework 0x0000000110ecd4af 0x10f2ee000 + 29226159
26 com.cycling74.Max 0x000000010e7c989a MaxCefEventLoopHandler::runMessageLoop() + 18
27 com.cycling74.Max 0x000000010ea3eebb juce::JUCEApplicationBase::main(int, char const**) + 251
28 libdyld.dylib 0x00007fff5852b015 start + 1

Hi ! We will do our best to look into this ASAP. Did you have other similar crashes in other use cases ?

no, I thought I wait until you fixed that one before I venture into ossia-land…

well, that’s maybe some weird interaction that you’ll never face in other situations, so I’d say go ahead if you’re curious

I tried on Max7 and couldn’t reproduce the problem (I don’t think I have the latest version, though)

Could you reproduce it with Max7 ?

thanks for the detailed report,

could you reproduce it on the official issue tracker ?
it would be easier to not forget it :slightly_smiling_face:

@bltzr: It crashes both on the latest max 7 and max 8

well, that’s maybe some weird interaction that you’ll never face in other situations, so I’d say go ahead if you’re curious

well, I disagree. crashes by just opening the help files doesn’t give me much confidence in the stability of this library.

@avilleret: [ossia-max] another crash · Issue #475 · ossia/libossia · GitHub

Sure, I understand - though, there’s no way this can be investigated before March…