Linux/Flatpak] 2.4.2 crash (ColorRGBA assertion) when changing printer or nozzle with 4 project filaments on a single-extruder printer
Is this crash reproducible in the latest nightly build?
- I have checked the latest nightly build and the crash is still reproducible
Is there an existing issue for this crash?
- I have searched the existing issues
OrcaSlicer Version
2.4.2
Regression compared to a previous version
No response
Operating System (OS)
Linux
OS Version
Fedora 44 KDE plasma
Printer
Creality ender3 v3 SE
When does the crash happen?
While changing printer, filament or process settings
How often does it happen?
Every time
Does it still crash with a fresh configuration?
I have not tried this
How to reproduce
Title: [Linux/Flatpak] 2.4.2 crash (ColorRGBA assertion) when changing printer or nozzle with 4 project filaments on a single-extruder printer
OrcaSlicer Version
2.4.2, Flathub com.orcaslicer.OrcaSlicer (stable, system install)
Operating System
Fedora Linux 44, KDE Plasma 6.7, session: x11
Printer
Creality Ender-3 V3 SE (single extruder)
Is this crash reproducible in the latest nightly build?
Not tested yet, only the 2.4.2 Flathub release.
Does it still crash with a fresh configuration?
Yes. The crash first occurred right after a fresh start ("New Flatpak data dir" was printed at launch).
How to reproduce
- Launch OrcaSlicer with a project that has 4 filaments in the Filament panel (this was the state after first launch).
- Either: a. Select "Creality Ender-3 V3 SE" from the printer combobox, or b. With the Ender-3 V3 SE selected, change the nozzle combobox from 0.2 to 0.4.
- OrcaSlicer aborts immediately.
Selecting the same printer through the "Printer selection" dialog does NOT crash.
Actual results
Abort (SIGABRT) with this assertion:
stl_vector.h:1263: reference std::vector<Slic3r::ColorRGBA>::operator[](size_type)
[_Tp = Slic3r::ColorRGBA, _Alloc = std::allocator<Slic3r::ColorRGBA>]:
Assertion '__n < this->size()' failed.The Flatpak build has libstdc++ assertions enabled, so an out-of-range index into a ColorRGBA vector aborts instead of silently reading out of bounds.
Expected results
The printer/nozzle change succeeds and the number of project filaments is adjusted to the printer's single extruder.
Workaround
Remove filaments 2, 3 and 4 so that only one filament remains, then change the printer or nozzle. No crash.
Logs
Debug log attached. The coredump has no usable stack trace (the Flatpak binary has no build-id / debug symbols).
Additional system information
CPU i7 4790 32 Gb Ram R7 240
Project file, logs and crash report uploads
Checklist of files to include
- Log folder
- Project file
- Operating system crash report (macOS and Linux)
Anything else?
No response
Source: OrcaSlicer/OrcaSlicer