-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Segfaults on Linux after connected to Mainsail/fluidd #7210
Comments
Idem in LinuxMint 22. |
Hi, I confirm this, Orca Slicer 2.2 RC (and maybe older versions) It seems to be a problem with the network plugin. I have to disable my eth network when switching from printers to avoid the segfault. Maybe due to a recent update to the BBL plugin, it was working right before. |
debug_Sat_Oct_26_11_26_02_55407.log.txt here is my most recent log similar behavior |
debug_Sat_Oct_26_03_10_16_36610.log.txt ok I was able to use my Duet profile fine but as soon as a chose to use my stealth changer which is klipper it crashed |
Problem HOST Conection |
well as I did updates yesterday that broke it there was a bunch of webkit packages updated I am trying to find a txt file to copy and paste 2024-10-24 17:08:56 startup archives unpack |
I just updated webkit on my LM22 just now hoping previous issues were addressed. Now on the RC, it flashes the home screen and it goes dark. Followed OP instructions and it worked, also device tab is working now???? Thxs Bro! |
@broncosis . Hello. You are using LM Debian Edition? or LM Cinnamon |
@el-quique Cinnamon |
as long as I don't have a hostname or ip in the Json file it seams to work ok |
In the host for the printer connection use: "ip or host":7125 7125 is the port for moonraker (control in moonraker.cfg file). You can upload gcode files to the printer, but we will not have them displayed in the device tab. It might be a good idea to install: |
ok I have been just exporting gcode and uploading it manually |
updating web kit to version 6 like you suggested seems to have done the trick with out the port number |
@el-quique |
@el-quique I can send gcode to the printer over the network using :7125 and OrcaSlicer works just fine. |
Thank you very much, this have made my day! |
I think that has to be a bug in webkit (or libwebkit2gtk) because I can put any valid url as the printer's host and it works perfectly well, as long as the url does not point to mainsail: And as soon as I change the host to mainsail it crashes immediately. I found this issue Side note: this also happens with BambuStudio and PrusaSlicer as well. |
Mine points at fluid which also crashes
Makes me kinda feel like the bug is in mainsail and fluid as it's the only thing that fails.
Get BlueMail for Android
…On Oct 30, 2024, 7:54 AM, at 7:54 AM, Noisyfox ***@***.***> wrote:
I think that has to be a bug in webkit (or libwebkit2gtk) because I can
put any valid url as the printer's host and it works perfectly well, as
long as the url does not point to mainsail:


And as soon as I change the host to mainsail it crashes immediately.
mainsail-crew/mainsail#1922
--
Reply to this email directly or view it on GitHub:
#7210 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
They might share similar designs that triggered this issue. |
Moved up to 2.2.0.4 release build and adding the Moonraker port 7125 to the address alleviates the SEGFAULT and allows the networking to function for sending files. However, this causes the Device tab to attempt to connect with Mainsail instead of Fluidd with a Mainsail info screen instead of the main Mainsail UI. |
I had similar issue with Cinnamon 21.3 and the solution is to avoid any network interaction, otherwise, the slicer gets into a crash loop, and fresh start with a few catches. I got 2.2.0 official running on Mint Cinnamon 21.3 but without network, Mainsail/browser is better than no slicer at all. |
Just like isaac, im also on NixOS (Unstable) and have the exact same issue as well. |
I discovered this issue recently when I reloaded my system and went from KDE NEON on Ubuntu 22.04 to the latest KDE NEON on Ubuntu 24.04. I am fine until I enter the IP address of the printer (Ender 3 v2 on Klipper Raspberry Pi). As soon as I enter the IP, Orca crashes with a segment fault. I tried the latest nightly build, and the problem is there also. |
I encountered this on Ubuntu 24.04 with all possible images, including the daily build. I have a Voron configured and in the file And that stopped the crashing. So @el-quique's fix works. |
I'm having this problem both with flatpak and appImage install of nightly and latest versions. |
I'm encountering this with the flatPak and Appimage on Manjaro. |
@svenakela Yes, that's how I'm using it right now. But it was nice to have the mainsail screen. So it is a temporary clutch at best. |
Encountering problems when using fluidds port! With my k1 max still! Moonraker works, but the device tab is useless then! |
Same problem when using mainsail or fluid port. I don't use the device tab often, and change to moonraker port fix my problem for now. Nix OS 24.11 and Orca Slicer 2.2.0 |
Thank you for the work around |
Putting machine IP in crashes Orca. No work around works. EDIT: It works, you just can't see the camera etc with :7125 workaround. |
Having the same issue on NixOS stable 24.11 (plasma wayland). The port was already there in my json. Orcaslicer crashed a couple of seconds after launching after adding the mainsail ip of my k1 max. Tried to use unstable but orcaslicer wouldnt even launch (happened even before i added the k1 max though, so that appears to be a separate issue) |
Same issue on Linux Mint LDME 6, segfaults if IP address put in for Neptune 4+ printer, fluidd interface. Same whether normal user or sudo. |
Same occurring on Kubuntu 24.10 out of the blue until I manually edited the machine config (after a LOT of trial and error) to use the direct port on the slicer URL. So from I am not sure what changed as just a few hours ago it was working, but I presume it's something to do with a package update to webkit, which seems to be the absolute bane of slicers lately. Annoying as someone who doesn't even use the device tab and just has a browser bookmark to the web interface instead 🤷 |
This was driving me nuts. I can confirm pointing it at :7125 is a great workaround for now. I will say, I NEVER use the device tab and it's just a memory suck for me. I would love to be able to disable it entirely. |
Just want to confirm that I have this same issue using 2.3.0 Dev (or Beta) flatpak file. I am seeing this error message
Additionally, using :7125 still does not allow me to upload and print. Not sure if upgrading to the gtk version might help here, per #7210 (comment) |
I'm experiencing this (or at least it appears to be the same) on the 2.3.0 Flatpak Beta on Fedora 41, Ryzen 5, Nvidia 1060 with proprietary drivers. |
This is happening to me on my main workstation (CachyOS (Arch) + RTX A2000 (Nvidia proprietary drivers)), but not on my Framework 13 AMD laptop (CachyOS (Arch) + AMD M780 (kernel drivers)) it works perfectly fine. |
getting the following with ubuntu 22.04 app image on pop os
|
does anyone know what is the specific bug in webkit causing this? |
I can also confirm that issue persist on 2.3.0-beta2. My workstation setup is - i7-4790K + GTX960 on Ubuntu 24.04. NVIDIA pattern also present here. Putting IP causes instant crash. Also adding flag |
I'm seeing the same thing with a locally built AppImage and app, using both the 2.3.0-beta2 tag and the latest source (as of a day or two ago). My system is Ubuntu 24.10 running on Intel with an NVIDIA GPU. I'm a newcomer to gdb so I may be completely on the wrong track, but got it to generate the trace below. Interestingly the references to
|
In my case at-least, this appears to relate to #8373 - though since this issue predates that PR by several months it's clearly not the full story. Regardless, a fix or workaround that has proved robust for me is simply commenting out
I've just tested against the new v2.3.0-rc tag, running the app directly and in an AppImage, and it works flawlessly, with hardware accelerated views in the Prepare and Preview tabs, plus the Web UI in the Device tab. If you're not building the app yourself you can edit the file that that code ends up in, Paging @klylabs - do you have any thoughts about this? It seems like your PR mostly fixed this issue, and getting rid of |
Is there an existing issue for this problem?
OrcaSlicer Version
OrcaSlicer_Linux_Ubuntu2404_V2.2.0-rc
Operating System (OS)
Linux
OS Version
GNU/Linux Mint 22
Additional system information
AMD Ryzen 5600G, NVIDIA 1660 GPU.
Printer
Sovol SV06 and Rook MK1
How to reproduce
Backup and then delete ~/.config/OrcaSlicer dir;
Run orcaslicer and go thru the setup wizard;
Click the Connection icon next to the printer's name and setup "Hostname, IP or URL", hit OK;
Orcaslicer freezes and segfaults.
Go to ~/.config/OrcaSlicer/user/default/machine and edit the printer's .json config file by setting the "print_host" parameter to "".
Orcaslicer is working again!
Actual results
Orcaslicer freezes and segfaults.
Expected results
Orcaslicer should run normaly and gain access to my printer over the network inside de DEVICE tab.
Project file & Debug log uploads
Cube.3mf.zip
log.zip
Checklist of files to include
Anything else?
I've tested it with and without the plugin blob and stealthmode active/disabled. Same results.
The text was updated successfully, but these errors were encountered: