-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on start - SIGSEGV in ImFont::CalcTextSizeA #9774
Comments
Seems to be related to #9780. |
The backtrace would indicate that the call to |
Hello, for those who compile from git, there is a branch dk_hints_public with commit 6cb9947. Hopefully this fixes the issue. For the rest, Im going to prepare a custom build and share it under this issue. |
Please try this build. It is alpha4 build with just fix of this issue. If it works and you are downloading from Printables.com, please try starting PrusaSlicer via the download button there. Unfortunately we do not poses a computer with this bug and I would like to test this works as well. |
Previous url might not work due security. These should: |
Hi, In console I can see many errors with glew initialization.
This is not an issue with pre-compiled binaries. Probably because the pre-compiled binary is not linked to glew library.
|
Probably it could be this: wxWidgets/wxWidgets#22710 I'm not sure what exactly I should do when in Gentoo I have x11-libs/wxGTK-3.2.2.1 installed. Update: I've recompiled wxGTK with EGL disabled as mentioned in wxWidgets/wxWidgets#22710 (comment) and prusaslicer works correctly. So it is different issue. |
@mkyral Could you please test this with 2.6.0-alpha5? Thanks. |
Hi @lukasmatena.
|
Locally built alpha6 with wxGTK 3.2 and glew 2.2.0 it fails the same for me. Since now you use
The appimage However because you do not publish any build scripts how those AppImage images are put together I have no way to find what you do there to make it work. Would be really great if you could share those. Here's backtrace with debug symbols
|
@lukasmatena I followed up with your comment regarding show_hints from #9780 and if I modify PrusaSlicer.ini to have show_hints set to 0, locally built 2.6.0_alpha6 does start up, however it does not render at all the Plater tab though I can interact with UI elements and switch tabs.
|
For the glew errors as mentioned above probably the easiest option is to build wxGTK with EGL disabled; that does look like how the binaries are built: 25b2ff5 With GLEW being built for either EGL or GLX there is no easy solution. Building media-libs/glew for EGL is only possible if there is nothing else installed that uses GLEW with GLX. Possibly the ideal solution would if PrusaSlicer followed GNOME, Firefox and Libreoffice and used epoxy instead of GLEW. I suggest that isn't going to happen immediately before a major release. |
Just tested 2.6.0-beta1 and issue remains. No 3D view. I have to recompile wxGTK with |
Following the example of Fedora[1] I will force the GLCanvas GLX in Gentoo along with PrusaSlicer 2.6.0. I can confirm that it works in full, though still requires a handful of patches to make it build, and the wxWidgets new asserts are noisy as well, patched it out. Perhaps the README of repo should state to disable the GLCanvas EGL as requirement and then this issue could be closed. [1] https://src.fedoraproject.org/rpms/wxGTK/c/4b153842efce56595f3320fa9d888741060a2464 |
Thanks. In the next release, this information will be added into |
Description of the bug
PrusaSlicer 2.6.0-alpha4 compiled from sources on my Gentoo is crashing on start. The pre-compilled binary downloaded from github works well. I've tested start with clean profile, but still crashing.
Backtrace:
Config:
(note, I'm using some patches to make PrusaSlicer correctly build, but should not cause the issue)
Project file & How to reproduce
Checklist of files included above
Version of PrusaSlicer
2.6.0-alpha4
Operating system
Gentoo Linux
Printer model
MK3S
The text was updated successfully, but these errors were encountered: