Skip to content

Sometimes Crashes After Slicing on Arch #14176

Open
@EmilEmilchen

Description

@EmilEmilchen

Description of the bug

The Slicer crashes after slicing, the progress bar from in the bottom right goes through and as soon as slicing is finished the program crashes. This doesn't happen always but just starts happening at some point and then only stops happening after I reboot my system. This is really weird in my opinion and unfortunately I can't completely rule out that this issue is specific to my installation.
Heres the relevant output (loglevel 5):

...
[2025-02-21 17:39:41.007462] [0x00007c184b7fd6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.007467] [0x00007c184b7fd6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 246.
[2025-02-21 17:39:41.007612] [0x00007c18661fc6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.007621] [0x00007c18661fc6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.007626] [0x00007c18661fc6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 86.
[2025-02-21 17:39:41.009105] [0x00007c1849bf66c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.009110] [0x00007c1849bf66c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.010227] [0x00007c1849bf66c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 48.
[2025-02-21 17:39:41.010300] [0x00007c18659fb6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.010338] [0x00007c18659fb6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.010343] [0x00007c18659fb6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 8.
[2025-02-21 17:39:41.010788] [0x00007c18659fb6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.010797] [0x00007c18659fb6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.010802] [0x00007c18659fb6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 28.
[2025-02-21 17:39:41.010859] [0x00007c1849bf66c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.010863] [0x00007c1849bf66c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.010866] [0x00007c1849bf66c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 50.
[2025-02-21 17:39:41.011746] [0x00007c18659fb6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.011755] [0x00007c18659fb6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.011759] [0x00007c18659fb6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 6.
[2025-02-21 17:39:41.011773] [0x00007c184b7fd6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.011782] [0x00007c184b7fd6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.011786] [0x00007c184b7fd6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 46.
[2025-02-21 17:39:41.012133] [0x00007c18659fb6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.012141] [0x00007c18659fb6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.012145] [0x00007c18659fb6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 46.
[2025-02-21 17:39:41.012741] [0x00007c184b7fd6c0] [trace]   Applying the Redistribute meta-strategy with outer-wall width = 407079, inner-wall width = 407079.
[2025-02-21 17:39:41.012751] [0x00007c184b7fd6c0] [trace]   Applying the Widening Beading meta-strategy with minimum input width 100000 and minimum output width 340000.
[2025-02-21 17:39:41.012756] [0x00007c184b7fd6c0] [trace]   Applying the Limited Beading meta-strategy with maximum bead count = 48.
[2025-02-21 17:39:41.014411] [0x00007c1848bf26c0] [debug]   Filling layers in parallel - end
[2025-02-21 17:39:41.014425] [0x00007c1848bf26c0] [debug]   Ironing in parallel - start
[2025-02-21 17:39:41.014450] [0x00007c1848bf26c0] [debug]   Ironing in parallel - end
[2025-02-21 17:39:41.014458] [0x00007c1848bf26c0] [debug]   Searching support spots - start
[2025-02-21 17:39:41.014490] [0x00007c1848bf26c0] [debug]   SupportSpotsGenerator: applying filament type: NYLON
[2025-02-21 17:39:41.103456] [0x00007c1848bf26c0] [debug]   Searching support spots - end
[2025-02-21 17:39:41.103467] [0x00007c1848bf26c0] [debug]   psAlertWhenSupportsNeeded - start
[2025-02-21 17:39:41.103490] [0x00007c1848bf26c0] [debug]   psAlertWhenSupportsNeeded - end
[2025-02-21 17:39:41.103518] [0x00007c1848bf26c0] [debug]   BuildVolume bed_shape clasified as: Custom
[2025-02-21 17:39:41.103531] [0x00007c1848bf26c0] [info]    Processing support tree mesh group 1 of 1 containing 1 meshes.
[2025-02-21 17:39:41.104629] [0x00007c1848bf26c0] [debug]   Estimating areas with curled extrusions - start
[2025-02-21 17:39:41.104640] [0x00007c1848bf26c0] [debug]   SupportSpotsGenerator: applying filament type: NYLON
[2025-02-21 17:39:41.162430] [0x00007c1848bf26c0] [debug]   Estimating areas with curled extrusions - end
[2025-02-21 17:39:41.162441] [0x00007c1848bf26c0] [debug]   Calculating overhanging perimeters - start
[2025-02-21 17:39:41.183544] [0x00007c1848bf26c0] [debug]   Calculating overhanging perimeters - end
[2025-02-21 17:39:41.184162] [0x00007c1848bf26c0] [info]    Slicing process finished. Resident memory: 598MB; Shared memory: 183MB; Private memory: 415MB; Peak memory usage: 1,068MB
[2025-02-21 17:39:41.184292] [0x00007c1848bf26c0] [info]    Exporting G-code... Resident memory: 598MB; Shared memory: 183MB; Private memory: 415MB; Peak memory usage: 1,068MB

(prusa-slicer:381058): Gdk-WARNING **: 17:39:41.215: The program 'prusa-slicer' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 0 error_code 11 request_code 150 (GLX) minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Project file & How to reproduce

Heres the project file although it happens on any project:
Part.zip

Reproduction:

  1. Install Arch Linux with Wayland+KDE on A Nvidia Hybrid GPU Laptop with Intel Xe.
  2. Install PrusaSlicer
  3. Use PrusaSlicer
  4. Click Slice

Checklist of files included above

  • Project File Provided
  • Screenshot

Version of PrusaSlicer

PrusaSlicer-2.9.0+UNKNOWN (from AUR)

Operating system

Arch Linux, KDE+Wayland

Printer model

Prusa i3 MK3S+

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions