Skip to content
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

Segmentation fault (core dumped) when opening Physical Printer tab on Linux Mint 21.3 #13835

Open
1 of 2 tasks
gknapp opened this issue Dec 23, 2024 · 2 comments
Open
1 of 2 tasks

Comments

@gknapp
Copy link

gknapp commented Dec 23, 2024

Description of the bug

Opening PrusaSlicer 2.8.1 (using .AppImage) and selecting the Physical Printer tab initially shows the klipper / mainsail Initialising bar but then crashes the whole application. I ran the .AppImage via the terminal to see what console output I'd see, all I get is "Segmentation fault (core dumped)".

I've a separate issue with 2.9.0 using flatpak where PrusaSlicer will not resolve my mDNS hostname (xyz.local) but 2.8.1 will - so it behaves differently (no crash).

Project file & How to reproduce

Opening PrusaSlicer 2.8.1, with a printer configured for Host Type 'Klipper (via Moonraker)' and a hostname specified:

  • Select the Physical Printer tab

image

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.8.1

Operating system

Linux Mint 21.3

Printer model

FlyingBear Ghost 6

@gknapp
Copy link
Author

gknapp commented Dec 23, 2024

This has happened on earlier versions:

Klipper: v0.12.0-404-g80d185c94
Moonraker: v0.9.3-3-gccfe32f2
Mailsail: v2.13.0

Opening the printer host / mailsail in a Chromium browser works without issue.

@SorrelArticulata
Copy link

SorrelArticulata commented Dec 24, 2024

I have the same problem.

Crash occurs when I try to view the Physical Printer tab in:

  • flatpak com.prusa3d.PrusaSlicer 2.9.0 (official build)
  • PrusaSlicer-2.9.0-alpha1-x86_64.AppImage (unofficial build from 2.9.0-rc1 - AppImage #13653)

Crash does NOT occur in:

  • PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage (everything works perfectly)
  • Firefox
  • surf (a webkit/GTK based browser)
  • badwolf (another webkit browser)

My distro is Void Linux x86_64 glibc

Flatpak logs for official 2.9.0 release:

$ flatpak run com.prusa3d.PrusaSlicer && read
--------------------------------------------------------------------------
Message: 18:29:41: Starting PrusaSlicer flatpak with entrypoint script
--------------------------------------------------------------------------

(prusa-slicer:8): IBUS-WARNING **: 18:29:41.135: Unable to connect to ibus: Could not connect: No such file or directory
[2024-12-24 18:29:44.316454] [0x00007ff057e65740] [error]   UserAccount: Failed to read token - no datafile found.
[2024-12-24 18:29:44.418492] [0x00007ff0117fa6c0] [error]   DBus Connection Error: Failed to connect to socket /tmp/dbus-ZvpVNAoaR0: No such file or directory
[2024-12-24 18:29:44.418503] [0x00007ff0117fa6c0] [error]   Dbus Messages listening terminating.
18:29:44: Debug: window wxTreeCtrl@0x55dd497ceca0 ("treeCtrl") lost focus even though it didn't have it
18:29:44: Debug: window wxTreeCtrl@0x55dd497ceca0 ("treeCtrl") lost focus even though it didn't have it
18:29:44: Debug: window wxTreeCtrl@0x55dd497ceca0 ("treeCtrl") lost focus even though it didn't have it
18:29:44: Debug: window wxTreeCtrl@0x55dd497ceca0 ("treeCtrl") lost focus even though it didn't have it
18:29:44: Debug: window wxTreeCtrl@0x55dd497ceca0 ("treeCtrl") lost focus even though it didn't have it
18:29:44: Debug: window wxTreeCtrl@0x55dd497ceca0 ("treeCtrl") lost focus even though it didn't have it

(process:56): pxbackend-WARNING **: 18:29:46.131: Could not access dbus session: Could not connect: No such file or directory
ERROR: WebKit encountered an internal error. This is a WebKit bug.
/buildstream/gnome/sdk/webkit2gtk-4.1.bst/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(562) : internallyFailedLoadTimerFired

Unofficial 2.9.0 appimage from #13653 (doe not have dbus/ibus warnings, but crashes just the same)

$ ./PrusaSlicer-2.9.0-alpha1-x86_64.AppImage && read
fusermount version: 2.9.9
[2024-12-24 18:33:22.775906] [0x00007fbff259e7c0] [error]   UserAccount: Failed to read token - no datafile found.
18:33:23: Debug: window wxTreeCtrl@0x55557346a000 ("treeCtrl") lost focus even though it didn't have it
18:33:23: Debug: window wxTreeCtrl@0x55557346a000 ("treeCtrl") lost focus even though it didn't have it
18:33:23: Debug: window wxTreeCtrl@0x55557346a000 ("treeCtrl") lost focus even though it didn't have it
18:33:23: Debug: window wxTreeCtrl@0x55557346a000 ("treeCtrl") lost focus even though it didn't have it
18:33:23: Debug: window wxTreeCtrl@0x55557346a000 ("treeCtrl") lost focus even though it didn't have it
18:33:23: Debug: window wxTreeCtrl@0x55557346a000 ("treeCtrl") lost focus even though it didn't have it
Segmentation fault
ERROR: WebKit encountered an internal error. This is a WebKit bug.
./Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(562) : internallyFailedLoadTimerFired

System info:

$ # Voidlinux x86_64 glibc

$ uname -a
Linux xxx 6.12.6_3 #1 SMP PREEMPT_DYNAMIC Sat Dec 21 23:48:13 UTC 2024 x86_64 GNU/Linux

$ /usr/lib/libc.so.6 
GNU C Library (GNU libc) stable release version 2.39.
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 13.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
Minimum supported kernel: 3.2.0
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.

 $ xbps-query -s webkit
[*] libwebkit2gtk41-2.44.2_1 GTK+3 port of the WebKit browser engine (soup3)
[*] libwebkitgtk60-2.44.2_1  GTK4 port of the WebKit browser engine
[*] libwpe-1.16.0_1          General-purpose library for WPE WebKit
[*] qt5-webkit-5.212.0_16    Cross-platform application and UI framework (Qt5) - WebKit2 component
[*] webkit2gtk-2.44.2_1      GTK+3 port of the WebKit browser engine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants