OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Segmentation fault trying to launch

Open goombah88 opened this issue 1 year ago • 15 comments

OrcaSlicer Version

1.8.1, 1.9.0

OS version

OS: fresh install of Rhino Linux (ubuntu-based)

Additional system information

No response

Printer

Bambu P1S

How to reproduce

Double click to launch the AppImage file or run it in the terminal.

Actual results

I get a black square in the middle of the screen until the segmentation fault and then it disappears.

user@computer:~$ /home/user/Desktop/OrcaSlicer_Linux_V1.9.0.AppImage [2024-01-06 14:22:48.082374] [0x00007573442fcc80] [trace] Initializing StaticPrintConfigs add font of HarmonyOS_Sans_SC_Bold returns 1 add font of HarmonyOS_Sans_SC_Regular returns 1 add font of NanumGothic-Regular returns 1 add font of NanumGothic-Bold returns 1 Gtk-Message: 14:22:48.211: Failed to load module "colorreload-gtk-module"

(orca-slicer:14365): dbind-WARNING **: 14:22:48.212: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files loading network module at /home/goombah/.config/OrcaSlicer/plugins/libbambu_networking.so after dlopen, network_module is 0x584e8f66f100

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.373: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.373: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.373: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.373: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.374: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.374: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.374: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.374: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.374: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.374: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.375: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.375: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.375: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.375: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.376: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.376: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.376: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.376: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.376: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.376: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.377: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.377: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14365): GLib-GObject-CRITICAL **: 14:22:52.377: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.377: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed Could not determine the accessibility bus address

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.432: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.434: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.437: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.438: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.438: gtk_widget_set_size_request: assertion 'width >= -1' failed Gtk-Message: 14:22:52.453: Failed to load module "colorreload-gtk-module"

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.500: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.500: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.506: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.506: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.508: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.508: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.511: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.511: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.513: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.513: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.516: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.516: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.519: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.519: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.522: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14365): Gtk-CRITICAL **: 14:22:52.522: gtk_widget_set_size_request: assertion 'width >= -1' failed Segmentation fault

Expected results

App should open.

Project file & Debug log uploads

log.tar.gz

Checklist of files to include

  • [X] Log file
  • [ ] Project file

goombah88 avatar Jan 06 '24 19:01 goombah88

Other AppImages work fine - PrusaSlicer, kdenlive, etc.

goombah88 avatar Jan 06 '24 21:01 goombah88

Same problem here for both 1.8.1 and 1.9.0.

Tested natively on Endeavour OS (Arch-based). Tested in docker on Debian 11, Ubuntu 23.10 and Fedora 39 with --appimage-extract-and-run option (had run sudo ./BuildLinux.sh -u before).

Debian 11 in-docker

debian@zen:/work$ ./OrcaSlicer_Linux_V1.9.0.AppImage --appimage-extract-and-run
[2024-01-15 21:00:04.786497] [0x0000737bdd9efc80] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
[2024-01-15 21:00:04.796403] [0x0000737bdd9efc80] [error]   boost::filesystem::create_directory: No such file or directory [system:2]: "/home/user/.config/OrcaSlicer"


(process:7534): GLib-GObject-WARNING **: 21:00:04.796: invalid (NULL) pointer instance

(process:7534): GLib-GObject-CRITICAL **: 21:00:04.796: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Ubuntu 23.10 in-docker

ubuntu@zen:/work$ ./OrcaSlicer_Linux_V1.9.0.AppImage --appimage-extract-and-run
[2024-01-15 20:58:21.498662] [0x00007ac78f5b5c80] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
[2024-01-15 20:58:21.509709] [0x00007ac78f5b5c80] [error]   boost::filesystem::create_directory: No such file or directory [system:2]: "/home/ubuntu/.config/OrcaSlicer"


(process:6379): GLib-GObject-CRITICAL **: 20:58:21.509: invalid (NULL) pointer instance

(process:6379): GLib-GObject-CRITICAL **: 20:58:21.509: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Fedora 39 in-docker

[fedora@zen work]$ ./OrcaSlicer_Linux_V1.9.0.AppImage --appimage-extract-and-run
[2024-01-15 21:14:45.013537] [0x0000793050776d40] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
[2024-01-15 21:14:45.028039] [0x0000793050776d40] [error]   boost::filesystem::create_directory: No such file or directory [system:2]: "/home/fedora/.config/OrcaSlicer"


(process:79): GLib-GObject-CRITICAL **: 21:14:45.028: invalid (NULL) pointer instance

(process:79): GLib-GObject-CRITICAL **: 21:14:45.028: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

mtczekajlo avatar Jan 15 '24 21:01 mtczekajlo

I've just confirmed that Cinnamon is the root cause of my issue. Both 1.8.1 and 1.9.0 work on Gnome (both X11 and Wayland) and KDE Plasma (both X11 and Wayland).

I'm about to check the Wayland variant of Cinnamon, yet it is still experimanetal AFAIR.

mtczekajlo avatar Jan 15 '24 22:01 mtczekajlo

I was using KDE with Wayland when I had the issue in Rhino linux. I have no issues back in EndeavourOS (arch based) with XFCE.

On Mon, Jan 15, 2024 at 5:02 PM Marcin Czekajło @.***> wrote:

I've just confirmed that Cinnamon is the root cause of my issue. Both 1.8.1 and 1.9.0 work on Gnome (both X11 and Wayland) and KDE Plasma (both X11 and Wayland).

I'm about to check the Wayland variant of Cinnamon, yet it is still experimanetal AFAIR.

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/3516#issuecomment-1892809635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACODUUSR6ETVLZPU6Y7ICU3YOWROPAVCNFSM6AAAAABBPYFC6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSHAYDSNRTGU . You are receiving this because you authored the thread.Message ID: @.***>

goombah88 avatar Jan 15 '24 22:01 goombah88

After clean reinstalling Cinnamon up to 6.0.4-1 the issue is gone. :)

I hope you'll find your solution soon!

mtczekajlo avatar Jan 15 '24 22:01 mtczekajlo

Seems like a dependency problem. It happens on NixOS too and it should not.

lonyelon avatar Feb 07 '24 16:02 lonyelon

I'm not sure if this is related to the desktop environment, as I have the same issue on NixOS running Gnome under Wayland. Bambu Studio doesn't work either, though Prusa Slicer and Slic3r do work.

On nix, this flake by ovlach seems to have patches specifically to fix a segfault, but it is also 5 months old at the time of writing so I don't know if it addresses the same issue.

holly-hacker avatar Mar 01 '24 10:03 holly-hacker

Same issue running arch

cvanelteren avatar Apr 01 '24 12:04 cvanelteren

I'm not sure if this is related to the desktop environment, as I have the same issue on NixOS running Gnome under Wayland. Bambu Studio doesn't work either, though Prusa Slicer and Slic3r do work.

On nix, this flake by ovlach seems to have patches specifically to fix a segfault, but it is also 5 months old at the time of writing so I don't know if it addresses the same issue.

I tried fixing the nix package using code from that flake and I had no luck.

lonyelon avatar Apr 01 '24 12:04 lonyelon

My error logs are attached

gdb orca-slicer                                                                                                                                                                           2024/04/01 06:33:58 PM
GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from orca-slicer...
Reading symbols from /usr/lib/debug/opt/orca-slicer-unstable/bin/orca-slicer.debug...
(No debugging symbols found in /usr/lib/debug/opt/orca-slicer-unstable/bin/orca-slicer.debug)
(gdb) run
Starting program: /usr/bin/orca-slicer 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[2024-04-01 18:34:09.065795] [0x00007fffe379f480] [trace]   Initializing StaticPrintConfigs
[New Thread 0x7fffe20006c0 (LWP 10314)]
[New Thread 0x7fffe16006c0 (LWP 10315)]
[Thread 0x7fffe20006c0 (LWP 10314) exited]
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
[New Thread 0x7fffe20006c0 (LWP 10316)]
[New Thread 0x7fffe0c006c0 (LWP 10317)]
[New Thread 0x7fffdbe006c0 (LWP 10318)]
[Detaching after vfork from child process 10319]
[Detaching after vfork from child process 10321]
[New Thread 0x7fffdb4006c0 (LWP 10323)]

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.287: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.287: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.288: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.288: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.289: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.289: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.289: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.289: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.290: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.290: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.290: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.290: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.291: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.291: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.292: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.292: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.293: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.293: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:10309): GLib-GObject-CRITICAL **: 18:34:09.293: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.293: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
[New Thread 0x7fffd8a006c0 (LWP 10324)]
[New Thread 0x7fffcd2006c0 (LWP 10325)]
[New Thread 0x7fff6cc006c0 (LWP 10326)]
[New Thread 0x7fff67e006c0 (LWP 10327)]
[New Thread 0x7fff674006c0 (LWP 10328)]
[New Thread 0x7fff66a006c0 (LWP 10329)]
[New Thread 0x7fff660006c0 (LWP 10330)]
[New Thread 0x7fff656006c0 (LWP 10331)]
[New Thread 0x7fff64c006c0 (LWP 10332)]
[New Thread 0x7fff5be006c0 (LWP 10333)]
[New Thread 0x7fff5b4006c0 (LWP 10334)]
[New Thread 0x7fff5aa006c0 (LWP 10335)]
[New Thread 0x7fff5a0006c0 (LWP 10336)]
[New Thread 0x7fff596006c0 (LWP 10337)]
[New Thread 0x7fff58c006c0 (LWP 10338)]
[Thread 0x7fff58c006c0 (LWP 10338) exited]
[Thread 0x7fff596006c0 (LWP 10337) exited]
[Thread 0x7fff5a0006c0 (LWP 10336) exited]
[New Thread 0x7fff5a0006c0 (LWP 10339)]
[New Thread 0x7fff596006c0 (LWP 10340)]
[New Thread 0x7fff58c006c0 (LWP 10341)]
[Detaching after vfork from child process 10342]
[Detaching after vfork from child process 10343]

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.603: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.605: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.605: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.606: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.606: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.606: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.606: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.606: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.606: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.612: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.613: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.613: gtk_widget_set_size_request: assertion 'width >= -1' failed
[New Thread 0x7fffcc8006c0 (LWP 10344)]
[New Thread 0x7fff4de006c0 (LWP 10350)]
[New Thread 0x7fff4ce006c0 (LWP 10356)]
[New Thread 0x7fff43e006c0 (LWP 10357)]
[New Thread 0x7fff434006c0 (LWP 10358)]
[New Thread 0x7fff42a006c0 (LWP 10359)]
[New Thread 0x7fff420006c0 (LWP 10360)]
[New Thread 0x7fff416006c0 (LWP 10361)]
[New Thread 0x7fff40c006c0 (LWP 10362)]
[New Thread 0x7fff37e006c0 (LWP 10363)]

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.686: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.686: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.693: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.693: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.695: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.695: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.701: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.701: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.706: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.706: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.712: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.712: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.717: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.717: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.721: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:10309): Gtk-CRITICAL **: 18:34:09.721: gtk_widget_set_size_request: assertion 'width >= -1' failed

Thread 1 "orcaslicer_main" received signal SIGSEGV, Segmentation fault.
0x000055555734c069 in wxMediaCtrl2::wxMediaCtrl2(wxWindow*) ()

cvanelteren avatar Apr 01 '24 16:04 cvanelteren

OrcaSlicer Versions

2.0.0, 2.1.0 Nightly builds

OS version

MX Linux 23

Additional system information

Desktop Environment: i3wm and XFCE4 (equal symptoms) System uses old sys-v-init initialisation system instead of systemd (I don't know if it affects).

Orca Slicer 2.0.0 and Orca Slicer 2.1.0 Night builds also crushes on start with the same log output as in first message of this thread I've tried to run appimage versions and extracted binaries from appimages on MX Linux 23 with X11? i3 desktop environment and XFCE4 desktop environment.

Alternative solving

Also I've built docker image using DockerBuild.sh scrtipt and run Orca Slicer in docker with DockerRun.sh script. It works fine in docker at least for my system. About dialogue shows me that it was built as Orca Slicer 2.1.0-dev.

Cons

Docker image size is about 12 Gb and it's contain also build utilities that seems doesn't need for running compiled binary.

Appending info

I've tried to make tgz arcive with /OrcaSlicer/build/package/* content inside container, move it to the host machine from container, extract and run main binary file of orca slicer, but got the same segfault as in first message of this issue.

alive-corpse avatar Apr 19 '24 12:04 alive-corpse

I've found solving here: https://github.com/SoftFever/OrcaSlicer/issues/3160

For me installing of gstreamer1.0-x package solved the problem completely. I'm using MX Linux 23 ahs version (it's debian based). Hope it's also will work for other people.

alive-corpse avatar May 05 '24 12:05 alive-corpse

The problem went away for me when they released 2.0.0. I have had no problems since using the AppImage of that version.

Thanks,

Chad

On Sun, May 5, 2024, 8:38 AM Evgeniy Shumilov @.***> wrote:

I've found solving here: #3160 https://github.com/SoftFever/OrcaSlicer/issues/3160

For me installing of gstreamer1.0-x package solved the problem completely. I'm using MX Linux 23 ahs version (it's debian based). Hope it's also will work for other people.

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/3516#issuecomment-2094791704, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACODUUUHHQBHVUTZQRXJOPLZAYR37AVCNFSM6AAAAABBPYFC6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUG44TCNZQGQ . You are receiving this because you authored the thread.Message ID: @.***>

goombah88 avatar May 05 '24 13:05 goombah88

Seems to work again on nixos as well.

holly-hacker avatar May 05 '24 14:05 holly-hacker

Here is the patch in nixos: https://github.com/NixOS/nixpkgs/blob/fc55cdb8340a3258a1ad6f3eb8df52dac36c3e70/pkgs/applications/misc/bambu-studio/0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch

This makes it work.

I would contribute but I don't want to touch a codebase I know nothing about : (

lonyelon avatar May 06 '24 08:05 lonyelon

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Aug 05 '24 00:08 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Aug 12 '24 00:08 github-actions[bot]