Description
BambuStudio 2.7.1.57 crashes on launch on macOS 26.5.1 (Apple Silicon M1). The app launches but crashes within ~21 seconds, before the UI becomes usable.
This is a more severe manifestation of the same root cause as #10968 — where most users experience a long hang during WebView initialization, some users (including myself and @spoco2 in that thread) hit an outright crash.
Environment
- BambuStudio: 02.07.01.57 (official release)
- macOS: 26.5.1 (25F80)
- Hardware: MacBookAir10,1 (M1, ARM64)
- Safari/WebKit: 26.5 (21624.2.5.11.4)
Crash Details
Exception: EXC_BAD_ACCESS (SIGSEGV)
Subtype: KERN_INVALID_ADDRESS at 0xa53a6f61dbbf3a83 → possible pointer authentication failure
The crash is an Apple Silicon Pointer Authentication Code (PAC) failure — a lambda callback scheduled via wxAsyncMethodCallEventFunctor attempts to call a method on a wxWebView* that has already been destroyed (use-after-free).
Thread 0 (main thread) crashing frames:
0 BambuStudio WebView::CreateWebView(...)::$_0::operator()(wxWebView*) const + 240
1 BambuStudio wxAsyncMethodCallEventFunctor<...>::Execute() + 156
2 BambuStudio wxEvtHandler::ProcessEventLocally(wxEvent&) + 172
3 BambuStudio wxEvtHandler::ProcessEvent(wxEvent&) + 56
4 BambuStudio wxEvtHandler::ProcessPendingEvents() + 236
...
The address 0xa53a6f61dbbf3a83 has an invalid PAC signature. Stripped to bare address 0x6f61dbbf3a83, it is "not in any VM region" — confirming this is a dangling pointer.
Connection to #10968
Issue #10968 describes the same WebView::CreateWebView → RunScript → YieldFor call path blocking the main thread during startup. In most cases this results in a long hang (30s+, memory climbing to 1GB+); in this case the WebView object is destroyed before the async callback executes, triggering the PAC failure on ARM64.
The minimize/maximize workaround from #10968 does not apply here because the app crashes before the UI window is responsive.
Full Crash Report
Complete macOS crash report (704 lines, including all thread backtraces, register state, and VM region summary):
https://gist.github.com/E-R-Butch/d9661f29c43fc86b86ab8a0fc8d40049
Description
BambuStudio 2.7.1.57 crashes on launch on macOS 26.5.1 (Apple Silicon M1). The app launches but crashes within ~21 seconds, before the UI becomes usable.
This is a more severe manifestation of the same root cause as #10968 — where most users experience a long hang during WebView initialization, some users (including myself and @spoco2 in that thread) hit an outright crash.
Environment
Crash Details
Exception:
EXC_BAD_ACCESS (SIGSEGV)Subtype:
KERN_INVALID_ADDRESS at 0xa53a6f61dbbf3a83 → possible pointer authentication failureThe crash is an Apple Silicon Pointer Authentication Code (PAC) failure — a lambda callback scheduled via
wxAsyncMethodCallEventFunctorattempts to call a method on awxWebView*that has already been destroyed (use-after-free).Thread 0 (main thread) crashing frames:
The address
0xa53a6f61dbbf3a83has an invalid PAC signature. Stripped to bare address0x6f61dbbf3a83, it is "not in any VM region" — confirming this is a dangling pointer.Connection to #10968
Issue #10968 describes the same
WebView::CreateWebView → RunScript → YieldForcall path blocking the main thread during startup. In most cases this results in a long hang (30s+, memory climbing to 1GB+); in this case the WebView object is destroyed before the async callback executes, triggering the PAC failure on ARM64.The minimize/maximize workaround from #10968 does not apply here because the app crashes before the UI window is responsive.
Full Crash Report
Complete macOS crash report (704 lines, including all thread backtraces, register state, and VM region summary):
https://gist.github.com/E-R-Butch/d9661f29c43fc86b86ab8a0fc8d40049