SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
6.99k stars 821 forks source link

Print/Send dialog hangs and thread(s) goto 100% on larger models. #3893

Open nick-laird opened 8 months ago

nick-laird commented 8 months ago

OrcaSlicer Version

1.9.0 and greater (also happens in nightly)

OS version

Linux

Additional system information

Two systems both running Linux, one Arch other Ubuntu. One is a Celeron 4x core. Other is a Xeon 8x core. Celeron has 8GB RAM, Xeon has 64GB.

Printer

Bambu X1 Carbon

How to reproduce

  1. Get a fairly large model or models that will take a bit of time to slice.
  2. Slice them so the resulting file is over 10MB
  3. Try to direct send or print to printer using the network plugin.
  4. It works in 1.8.1 and freezes in later versions as the threads get stuck @ around 100%.
  5. sometimes I can click cancel and wait and eventually the dialog closes. other times it doesn't and I have to force terminate the app.

Actual results

Screenshot_20240129_111328

Expected results

The dialog should stop saying "Click Here if You Can't Connect" and should offer AMS, Bed leveling, etc checkboxes. Clicking Print should then start the transfer to the printer.

Project file & Debug log uploads

This appears to be one of hte possible issues. After it does a PrintStatusInit() after I clicked "Print" it starts dumping: 2024-01-29 11:19:27.059810[Thread 0x00007003c3945480]:The values of tray_info_idx and tray_type do not match tray_info_idx tray_type system_type Over and over again. Log attached. log.txt

Checklist of files to include

erpalma commented 8 months ago

I can confirm this issue. Ubuntu 22.04, tested 1.9.0 and nightly.

real-artswan commented 8 months ago

The same. Confirm on Ubuntu 22.04, tested 1.9.0 1.9.1 and nightly. Dialog can be closed however just need to wait some time then the app works as usual.

erpalma commented 7 months ago

Any update on this bug?

CCS86 commented 7 months ago

Same on Windows 10 x64

CCS86 commented 7 months ago

I reported here: https://github.com/SoftFever/OrcaSlicer/issues/3468

github-actions[bot] commented 4 months ago

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

nick-laird commented 4 months ago

Still exists in the 2.1.0-dev nightlies.

mjrider commented 2 months ago

also present in linux mint wilma with orcaslicer 2.1.1

trying to print a simple cube works fine, but a larger/complexer print hangs highlighted the fields which are strange image

model that triggered it https://www.printables.com/model/936619-dice-tower

edit:

if it matters, because it seems a time related thing: AMD Ryzen 7 PRO 4750U with 48gb memory and a wired connection to the network

edit2: the generated 3fm file is 10mb in size, it feels like it has something to do with the bambu cloud

real-artswan commented 1 month ago

confirm with 2.1.1 Ubuntu 22.04.4 LTS, somehow larger models makes the dialog hanging

tak-21 commented 18 hours ago

Same problem here.

When I slice one "ghost" (see attached stl) the "Send print job to" dialogs just works. If I clone the object, hence add a second ghost the dialog "Send print job to" hangs/is not usable.

Ghost_for_LED_light.stl.zip