Bug 2262724

Summary: prusa-slicer: wx widget backtrace on program load
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: prusa-slicerAssignee: Jason Tibbitts <j>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpazdziora, jstanek, j, mhroncok, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: prusa-slicer-2.6.1-2.fc40 prusa-slicer-2.6.1-4.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-22 08:26:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dennis Gilmore 2024-02-05 04:16:21 UTC
ASSERT INFO:
../src/common/sizer.cpp(2299): assert "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL)))" failed in DoInsert(): wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL will be ignored in this sizer: wxEXPAND overrides alignment flags in box sizers

DO NOT PANIC !!

If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.

You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.

If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.

BACKTRACE:
[1] wxBoxSizer::DoInsert(unsigned long, wxSizerItem*)
[2] wxEntry(int&, wchar_t**)
[3] __libc_start_main




Reproducible: Always

Steps to Reproduce:
1. start prusa-slicer
2.
3.
Actual Results:  
crash

Comment 1 Miro HronĨok 2024-02-05 16:26:32 UTC
> If you're an end user running a program not developed by you, please ignore this message, it is harmless, ...
> ...
> crash

That seems... rather suboptimal :/

Comment 2 Dennis Gilmore 2024-02-07 02:02:10 UTC
as a data point I ran "WXSUPPRESS_SIZER_FLAGS_CHECK=1 prusa-slicer" and it seemed to run okay. It seems to be some noise in wx widgets somewhere and without setting WXSUPPRESS_SIZER_FLAGS_CHECK I can not get prusa-slicer to run

Comment 3 Jan Pazdziora (Red Hat) 2024-02-20 11:02:10 UTC
A patch seems to be available in https://github.com/prusa3d/PrusaSlicer/pull/10811. If it does not look like we'd be able to rebase to 2.7 soon, we might want to pull this patch in.

Comment 4 Dennis Gilmore 2024-02-22 05:36:32 UTC
Thanks for the pointer, I built and tested it locally, and it worked so I committed and built it

Comment 5 Fedora Update System 2024-02-22 07:49:15 UTC
FEDORA-2024-906328bc8d (prusa-slicer-2.6.1-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-906328bc8d

Comment 6 Fedora Update System 2024-02-22 08:26:48 UTC
FEDORA-2024-906328bc8d (prusa-slicer-2.6.1-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-03-06 22:07:55 UTC
FEDORA-2024-58f341aac0 (prusa-slicer-2.6.1-4.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-58f341aac0

Comment 8 Fedora Update System 2024-03-06 22:14:37 UTC
FEDORA-2024-58f341aac0 (prusa-slicer-2.6.1-4.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.