Crash when opening my session on Mac with Ardour 8.9 and 8.10

Hello,
The session I’m working on crashes when I open it.
I have other sessions which work fine.
Before it stops working, I started to use 3 or 4 plugins, but no crash until I saved and reopen my session the next day.
I don’t know if it is related because even with “safe mode disable all plugin” it doesn’t start.
Any idea of why it is crashing and what I can do to recover my work?

I also opened a bug here: 0009846: Crash when opening session - MantisBT

Here is the start of the crash report. Let me know if you need more :


-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: Ardour8 [1105]
Path: /Applications/Ardour8.app/Contents/MacOS/Ardour8
Identifier: org.ardour.Ardour8
Version: 8.9.0 (8.9.0)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 503

Date/Time: 2024-11-07 08:03:09.6017 -0300
OS Version: macOS 12.7.6 (21H1320)
Report Version: 12
Bridge OS Version: 3.0 (14Y910)
Anonymous UUID: FECBDFA6-258E-08E4-C8D4-0E26038A5FF7

Sleep/Wake UUID: AC6101D8-0E66-4F42-9268-C46C3E53EE47

Time Awake Since Boot: 1900 seconds
Time Since Wake: 158 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_MEMORY_ERROR at 0x000000010a249080
Exception Codes: 0x000000000000000a, 0x000000010a249080
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process: exc handler [1105]

VM Region Info: 0x10a249080 is in 0x10a249000-0x10a24b000; bytes after start: 128 bytes before end: 8063
     REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
     CoreAnimation 10a248000-10a249000 [ 4K] r--/r-- SM=PRV
---> mapped file 10a249000-10a24b000 [ 8K] r--/rwx SM=COW ...t_id=886cd569
     CoreAnimation 10a24b000-10a24d000 [ 8K] rw-/rwx SM=PRV

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x7ff802d17250 _platform_memmove$VARIANT$Haswell + 240
1 libardour.dylib 0x108056998 ARDOUR::AudioSource::read_peaks_with_fpp(ARDOUR::PeakData*, long long, long long, long long, double, long long) const + 2632
2 libardour.dylib 0x108040aa9 ARDOUR::AudioRegion::read_peaks(ARDOUR::PeakData*, long long, long long, long long, unsigned int, double) const + 265
3 libwaveview.dylib 0x106e925cf 0x106e84000 + 58831
4 libwaveview.dylib 0x106e93146 0x106e84000 + 61766
5 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
6 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
7 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
8 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
9 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
10 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
11 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
12 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
13 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
14 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
15 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
16 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
17 libcanvas.dylib 0x10715f6c7 ArdourCanvas::ScrollGroup::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 327
18 libcanvas.dylib 0x107146fae ArdourCanvas::Item::render_children(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 2270
19 libcanvas.dylib 0x1071402ab ArdourCanvas::Container::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const + 107
20 libcanvas.dylib 0x10713989a ArdourCanvas::Canvas::render(ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context> const&) const + 586
21 libcanvas.dylib 0x10713e465 non-virtual thunk to ArdourCanvas::GtkCanvas::render(Cairo::RefPtr<Cairo::Context> const&, _cairo_rectangle*) + 53
22 libgtkmm2ext.dylib 0x1073e8b85 -[ArdourCanvasOpenGLView drawRect:] + 853
23 AppKit 0x7ff805ebc6d3 -[_NSOpenGLViewBackingLayer display] + 824
24 QuartzCore 0x7ff809e9d62b CA::Layer::display_if_needed(CA::Transaction*) + 873
25 QuartzCore 0x7ff809ff4f86 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 640
26 QuartzCore 0x7ff809e7ea89 CA::Transaction::commit() + 777
27 AppKit 0x7ff805973d71 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
28 AppKit 0x7ff8060bbd3c ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
29 CoreFoundation 0x7ff802dca450 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
30 CoreFoundation 0x7ff802dca2e2 __CFRunLoopDoObservers + 543
31 CoreFoundation 0x7ff802dc9774 __CFRunLoopRun + 840
32 CoreFoundation 0x7ff802dc8d6c CFRunLoopRunSpecific + 562
33 HIToolbox 0x7ff80ba7b5e6 RunCurrentEventLoopInMode + 292
34 HIToolbox 0x7ff80ba7b213 ReceiveNextEventCommon + 283
35 HIToolbox 0x7ff80ba7b0e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
36 AppKit 0x7ff805807aa9 _DPSNextEvent + 927
37 AppKit 0x7ff805806166 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
38 libydk.dylib 0x107533a4a poll_func + 186
39 libglib-2.0.0.dylib 0x107c47951 g_main_context_iterate + 433
40 libglib-2.0.0.dylib 0x107c4778d g_main_context_pending + 93
41 libytk.dylib 0x10924663e gtk_events_pending + 30
42 libgtkmm2ext.dylib 0x1073d61e4 Gtkmm2ext::UI::flush_pending(float) + 116
43 Ardour8 0x1059f757d 0x105946000 + 726397
44 Ardour8 0x1059f65ed 0x105946000 + 722413
45 Ardour8 0x105a065a5 0x105946000 + 787877
46 Ardour8 0x105a05c8a 0x105946000 + 785546
47 Ardour8 0x106263177 0x105946000 + 9556343
48 Ardour8 0x10625f428 0x105946000 + 9540648
49 libytkmm.dylib 0x107753bdd 0x10771e000 + 220125
50 libgobject-2.0.0.dylib 0x107b13c6f g_closure_invoke + 287
51 libgobject-2.0.0.dylib 0x107b2a276 signal_emit_unlocked_R + 2934
52 libgobject-2.0.0.dylib 0x107b2af3c g_signal_emit_valist + 2668
53 libgobject-2.0.0.dylib 0x107b2b442 g_signal_emit + 130
54 libytkmm.dylib 0x107753bdd 0x10771e000 + 220125
55 libgobject-2.0.0.dylib 0x107b13c6f g_closure_invoke + 287
56 libgobject-2.0.0.dylib 0x107b2a276 signal_emit_unlocked_R + 2934
57 libgobject-2.0.0.dylib 0x107b2af3c g_signal_emit_valist + 2668
58 libgobject-2.0.0.dylib 0x107b2b442 g_signal_emit + 130
59 Ardour8 0x105c36903 0x105946000 + 3082499
60 libwidgets.dylib 0x1072ca383 sigc::internal::signal_emit0<void, sigc::nil>::emit(sigc::internal::signal_impl*) + 179
61 libwidgets.dylib 0x1072c765b ArdourWidgets::ArdourButton::on_button_release_event(_GdkEventButton*) + 251
62 libytkmm.dylib 0x1077e57ba 0x10771e000 + 817082
63 libytk.dylib 0x109248f48 _gtk_marshal_BOOLEAN__BOXED + 104
64 libgobject-2.0.0.dylib 0x107b13c6f g_closure_invoke + 287
65 libgobject-2.0.0.dylib 0x107b2a024 signal_emit_unlocked_R + 2340
66 libgobject-2.0.0.dylib 0x107b2af8b g_signal_emit_valist + 2747
67 libgobject-2.0.0.dylib 0x107b2b442 g_signal_emit + 130
68 libytk.dylib 0x109379795 gtk_widget_event_internal + 629
69 libytk.dylib 0x109246fa7 gtk_propagate_event + 311
70 libytk.dylib 0x109246b85 gtk_main_do_event + 1109
71 libydk.dylib 0x107533f24 gdk_event_dispatch + 84
72 libglib-2.0.0.dylib 0x107c47618 g_main_context_dispatch + 360
73 libglib-2.0.0.dylib 0x107c479ad g_main_context_iterate + 525
74 libglib-2.0.0.dylib 0x107c47ce2 g_main_loop_run + 210
75 libytk.dylib 0x10924643f gtk_main + 191
76 libgtkmm2ext.dylib 0x1073d397e Gtkmm2ext::UI::run(Receiver&) + 318
77 Ardour8 0x105dfc43c 0x105946000 + 4940860
78 dyld 0x10987752e start + 462

...