prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.8k stars 1.94k forks source link

PrusaSlice 2.8.1 crash after Configuration Wizzard while "Installing profiles" #13675

Open madpipeline opened 4 days ago

madpipeline commented 4 days ago

Description of the bug

On first startup of PrusaSlicer 2.8.1 AppImage, on my Fedora 40 KDE system, after completing the Configuration Wizard, the app crashes while the "Installing profiles" window is showing. To note that the contents of the window are all black.

I've configured just the Ender 3 Pro printer that I have with Prusament and Generic PLA and PETG, everything else on the defaults.

If I run it from the terminal I get this output (skipping the lines that repeat a lot):

$ ./bin/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage
Gtk-Message: 21:01:06.246: Failed to load module "appmenu-gtk-module"

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:13.942: gtk_window_resize: assertion 'width > 0' failed

[...]

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:13.997: gtk_widget_set_size_request: assertion 'width >= -1' failed
[2024-11-27 21:01:14.108147] [0x00007f337810d340] [error]   UserAccount: Failed to read token - no datafile found.
[...]

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.373: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.373: gtk_widget_set_size_request: assertion 'width >= -1' failed

[...]

(prusa-slicer:402958): GLib-GObject-CRITICAL **: 21:01:18.423: invalid cast from 'wxPizza' to 'GtkCellLayout'

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.423: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:402958): GLib-GObject-CRITICAL **: 21:01:18.423: invalid cast from 'wxPizza' to 'GtkCellLayout'

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.423: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.556: gtk_widget_set_size_request: assertion 'width >= -1' failed
Gtk-Message: 21:01:18.836: Failed to load module "appmenu-gtk-module"
Gtk-Message: 21:01:18.837: Failed to load module "appmenu-gtk-module"
Gtk-Message: 21:01:22.825: Failed to load module "appmenu-gtk-module"

[...]

(prusa-slicer:402958): Gtk-CRITICAL **: 21:02:11.578: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:02:11.578: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:02:11.578: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed
[2024-11-27 21:02:51.574977] [0x00007f337810d340] [error]   Couldn't locate idx file /home/ovidiu/.config/PrusaSlicer/cache/vendor/PrusaResearch.idx when performing updates.
[1]    402958 segmentation fault (core dumped)  ./bin/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage

Project file & How to reproduce

This happens on startup, I don't even get the chance to open a project.

I can cancel the Configuration wizard, but then I have no printers configured.

Checklist of files included above

Version of PrusaSlicer

2.8.1+linux-x64-newer-distros-GTK3-202409181416

Operating system

Fedora 40 KDE

Printer model

Ender 3 Pro

Jan-Soustruznik commented 3 days ago

Hello, @madpipeline , could you send us your config folder:/home/ovidiu/.config/PrusaSlicer/ missing .idx files should evoke the crash of app.

madpipeline commented 3 days ago

I'm not sure how to want me to send the folder, so here's an ls for now:

-> % ls -lah /home/ovidiu/.config/PrusaSlicer
total 8,0K
drwxr-xr-x. 1 ovidiu ovidiu  238 nov 27 22:12 .
drwxrwxr-x. 1 ovidiu ovidiu 4,1K nov 28 19:31 ..
-rw-r--r--. 1 ovidiu ovidiu 1,3K nov 27 22:09 ArchiveRepositoryManifest.json
drwxr-xr-x. 1 ovidiu ovidiu 1,1K nov 27 22:12 cache
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 filament
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 physical_printer
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 print
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 printer
-rw-r--r--. 1 ovidiu ovidiu 1,5K nov 27 22:12 PrusaSlicer.ini
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 shapes
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 sla_material
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 sla_print
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 vendor
Samueru-sama commented 1 day ago

On first startup of PrusaSlicer 2.8.1 AppImage, on my Fedora 40 KDE system, after completing the Configuration Wizard, the app crashes while the "Installing profiles" window is showing. To note that the contents of the window are all black.

Do you have the issue with this AppImage?

madpipeline commented 7 hours ago
-> % ./PrusaSlicer-2.9.0-alpha1-x86_64.AppImage
fusermount3 version: 3.16.2
An error occured while setting up locale.
You may need to reconfigure the missing locales, likely by running the "locale-gen" and "dpkg-reconfigure locales" commands.
PrusaSlicer will now terminate.

locale::facet::_S_create_c_locale name not valid
Samueru-sama commented 4 hours ago
-> % ./PrusaSlicer-2.9.0-alpha1-x86_64.AppImage
fusermount3 version: 3.16.2
An error occured while setting up locale.
You may need to reconfigure the missing locales, likely by running the "locale-gen" and "dpkg-reconfigure locales" commands.
PrusaSlicer will now terminate.

locale::facet::_S_create_c_locale name not valid

Looks like more locales have to be included in the AppImage.

Does it run if you set LC_ALL=C though?

EDIT: Also unset LOCPATH just in case you have it set.