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.63k stars 1.92k forks source link

Crash with "Arrange" and no printable items #10241

Closed MattBlissett closed 1 year ago

MattBlissett commented 1 year ago

Description of the bug

When opening a project with only non-printable objects, clicking the "Arrange" button causes a crash.

Project file & How to reproduce

test.zip

Steps:

  1. New project
  2. Add a cube
  3. Change it to non-printing
  4. Save project
  5. Exit
  6. Open project
  7. Click arrange — crash!

Checklist of files included above

Version of PrusaSlicer

2.6.0-alpha6

Operating system

Ubuntu 22.04

Printer model

Prusk Mk3S

foreachthing commented 1 year ago

My PS (2.6.0-a6) does not crash - on Windows 10.

MattBlissett commented 1 year ago

I have a 620MB core dump, with a backtrace:

Core was generated by `/tmp/.mount_prusa-kL6peR/usr/bin/bin/prusa-slicer test.3mf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000007aaba7 in ?? ()
[Current thread is 1 (LWP 1410574)]
(gdb) backtrace
#0  0x00000000007aaba7 in ?? ()
#1  0x0000000002dcc4d8 in ?? ()
#2  0x3fdae147ae147ae1 in ?? ()
#3  0x000000000824f700 in ?? ()
#4  0x0000000000000000 in ?? ()

but I don't know if that's any use.

foreachthing commented 1 year ago

Can you start PS with prusa-slicer-console --loglevel=9 on Linux?

MattBlissett commented 1 year ago

I am running the AppImage, but I created a symlink prusa-slicer-console -> PrusaSlicer-2.6.0-alpha6+linux-x64-GTK2-202303311518.AppImage in case that helps. I have a similar link prusa-gcodeviewer -> PrusaSlicer-2.6.0-alpha6+linux-x64-GTK2-202303311518.AppImage and prusa-gcodeviewer does launch into the G-code viewer.

Initial output
> prusa-slicer-console --loglevel=9 test.3mf
[2023-04-03 14:31:21.276044] [0x00007f81a2b18880] [trace]   Initializing StaticPrintConfigs
[2023-04-03 14:31:21.425026] [0x00007f81a2b18880] [trace]   App updater default download path: "/home/matt/"
[2023-04-03 14:31:21.425896] [0x00007f81a2b18880] [debug]   full path: 853089106416610175
[2023-04-03 14:31:21.425906] [0x00007f81a2b18880] [debug]   single instance: undefined. other params: /tmp/.mount_prusa-KU7u2h/usr/bin/bin/prusa-slicer;--loglevel=9;test.3mf
[2023-04-03 14:31:21.425911] [0x00007f81a2b18880] [debug]   full lock path: /home/matt/.config/PrusaSlicer-alpha/cache/853089106416610175.lock
[2023-04-03 14:31:21.425930] [0x00007f81a2b18880] [debug]   Not creating lockfile.
[2023-04-03 14:31:21.425934] [0x00007f81a2b18880] [info]    Instance check: Another instance not found or single-instance not set.

(prusa-slicer:1420419): Gtk-WARNING **: 14:31:21.466: Unable to locate theme engine in module_path: "adwaita",
[2023-04-03 14:31:21.468949] [0x00007f81a2b18880] [trace]   System language detected (user locales and such): en_IE
[2023-04-03 14:31:21.477476] [0x00007f81a2b18880] [trace]   Best translation language detected (may be different from user locales): en
[2023-04-03 14:31:21.478695] [0x00007f81a2b18880] [trace]   Switching wxLocales to en
[2023-04-03 14:31:21.685256] [0x00007f81a2b18880] [info]    Checking if indices need to be installed from resources...
[2023-04-03 14:31:22.346102] [0x00007f81a2b18880] [info]    Undo / Redo snapshot taken: New Project, Undo / Redo stack memory: 0MB Resident memory: 170MB; Shared memory: 92MB; Private memory: 78MB; Peak memory usage: 170MB
[2023-04-03 14:31:22.347649] [0x00007f8166ffd640] [error]   Not primary owner of DBus name - probably another PrusaSlicer instance is running.
[2023-04-03 14:31:22.347664] [0x00007f8166ffd640] [error]   Dbus Messages listening terminating.
[2023-04-03 14:31:22.401507] [0x00007f81a2b18880] [debug]   BuildVolume bed_shape clasified as: Rectangle
[2023-04-03 14:31:22.934443] [0x00007f81a2b18880] [trace]   'Noto Sans 10'font descriptor string param of load_wxFont()
[2023-04-03 14:31:22.934460] [0x00007f81a2b18880] [trace]   'Noto Sans 10' wx string descriptor
[2023-04-03 14:31:22.934519] [0x00007f81a2b18880] [trace]   loaded font is 'Noto Sans'.
[2023-04-03 14:31:22.957405] [0x00007f81a2b18880] [trace]   'Noto Sans 10' wx string get from GetNativeFontInfoDesc. wxFont IsOk(true), isNull(false)IsFixedWidth(false), IsUsingSizeInPixels(false), Encoding(43), 
[2023-04-03 14:31:23.024743] [0x00007f81a2b18880] [debug]   TriangleMesh::repair() started
[2023-04-03 14:31:23.025614] [0x00007f81a2b18880] [debug]   TriangleMesh::repair() finished
[2023-04-03 14:31:24.103406] [0x00007f81a2b18880] [info]    Undo / Redo snapshot taken: Load Project: test, Undo / Redo stack memory: 0MB Resident memory: 645MB; Shared memory: 132MB; Private memory: 513MB; Peak memory usage: 756MB
[2023-04-03 14:31:24.198302] [0x00007f81a2b18880] [info]    Checking for cached configuration updates...
[2023-04-03 14:31:24.198335] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Artillery, skipping: 
[2023-04-03 14:31:24.198349] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor LulzBot, skipping: 
[2023-04-03 14:31:24.198360] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor BIQU, skipping: 
[2023-04-03 14:31:24.198372] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Voron, skipping: 
[2023-04-03 14:31:24.198384] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Jubilee, skipping: 
[2023-04-03 14:31:24.198395] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Geeetech, skipping: 
[2023-04-03 14:31:24.198409] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor RatRig, skipping: 
[2023-04-03 14:31:24.202791] [0x00007f81a2b18880] [debug]   Vendor: Templates, version installed: 1.0.1, version cached: 1.0.1
[2023-04-03 14:31:24.202811] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Anker, skipping: 
[2023-04-03 14:31:24.202823] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Anycubic, skipping: 
[2023-04-03 14:31:24.202835] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor MakerGear, skipping: 
[2023-04-03 14:31:24.202847] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Print4Taste, skipping: 
[2023-04-03 14:31:24.202858] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Elegoo, skipping: 
[2023-04-03 14:31:24.202872] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor INAT, skipping: 
[2023-04-03 14:31:24.202886] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Ultimaker, skipping: 
[2023-04-03 14:31:24.202901] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Zonestar, skipping: 
[2023-04-03 14:31:24.202915] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor FLSun, skipping: 
[2023-04-03 14:31:24.202929] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor BIBO, skipping: 
[2023-04-03 14:31:24.202943] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor TriLAB, skipping: 
[2023-04-03 14:31:24.226656] [0x00007f81a2b18880] [debug]   Vendor: Prusa Research, version installed: 1.9.0-alpha1, version cached: 1.9.0-alpha1
[2023-04-03 14:31:24.226693] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Snapmaker, skipping: 
[2023-04-03 14:31:24.226709] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor gCreate, skipping: 
[2023-04-03 14:31:24.226724] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Rigid3D, skipping: 
[2023-04-03 14:31:24.226746] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Infinity3D, skipping: 
[2023-04-03 14:31:24.226758] [0x00007f81a2b18880] [info]    Confing bundle not installed for vendor Creality, skipping: 
[2023-04-03 14:31:24.226765] [0x00007f81a2b18880] [info]    No configuration updates available.
[2023-04-03 14:31:24.383644] [0x00007f819bfff640] [info]    Syncing configuration cache
[2023-04-03 14:31:24.383665] [0x00007f819bfff640] [info]    Downloading vedor profiles archive zip from https://files.prusa3d.com/wp-content/uploads/repository/vendor_indices.zip
[2023-04-03 14:31:24.383928] [0x00007f819bfff640] [info]    Get: `https://files.prusa3d.com/wp-content/uploads/repository/vendor_indices.zip`
        -> `/home/matt/.config/PrusaSlicer-alpha/cache/vendor_indices.zip`
        via tmp path `/home/matt/.config/PrusaSlicer-alpha/cache/vendor_indices.zip.1420419.download`
*   Trying 185.115.1.124:443...
*   Trying 185.115.1.124:443...
* Connected to files.prusa3d.com (185.115.1.124) port 443 (#0)
* ALPN, offering http/1.1
* Connected to files.prusa3d.com (185.115.1.124) port 443 (#0)
* ALPN, offering http/1.1
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=files.prusa3d.com
*  start date: Mar  6 01:56:13 2023 GMT
*  expire date: Jun  4 01:56:12 2023 GMT
*  subjectAltName: host "files.prusa3d.com" matched cert's "files.prusa3d.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
> GET /wp-content/uploads/repository/PrusaSlicer-settings-master/live/PrusaSlicer.version HTTP/1.1
Host: files.prusa3d.com
User-Agent: PrusaSlicer/2.6.0-alpha6+linux-x64-GTK2
Accept: */*

* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=files.prusa3d.com
*  start date: Mar  6 01:56:13 2023 GMT
*  expire date: Jun  4 01:56:12 2023 GMT
*  subjectAltName: host "files.prusa3d.com" matched cert's "files.prusa3d.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
> GET /wp-content/uploads/repository/vendor_indices.zip HTTP/1.1
Host: files.prusa3d.com
User-Agent: PrusaSlicer/2.6.0-alpha6+linux-x64-GTK2
Accept: */*

* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 03 Apr 2023 12:31:24 GMT
< Content-Type: text/plain;charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< Vary: Accept-Encoding
< 
* Connection #0 to host files.prusa3d.com left intact
[2023-04-03 14:31:24.609335] [0x00007f8137c6e640] [info]    Got PrusaSlicer online version: `2.6.0-alpha6`. Sending to GUI thread...
[2023-04-03 14:31:24.609368] [0x00007f8137c6e640] [info]    parsing version string: url: https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.5.0/PrusaSlicer-2.5.0+linux-x64-GTK3-202209060725.AppImage
[2023-04-03 14:31:24.609381] [0x00007f8137c6e640] [info]    parsing version string: expected size: 69489856
[2023-04-03 14:31:24.609398] [0x00007f8137c6e640] [info]    Got PrusaSlicer online version: `2.5.2`. Sending to GUI thread...
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 03 Apr 2023 12:31:24 GMT
< Content-Type: application/zip
< Content-Length: 10687
< Connection: keep-alive
< Last-Modified: Mon, 03 Apr 2023 12:00:05 GMT
< ETag: "29bf-5f86d4cb58bf3"
< Accept-Ranges: bytes
< 
* Connection #0 to host files.prusa3d.com left intact
[2023-04-03 14:31:24.617589] [0x00007f819bfff640] [debug]   No such vendor: Artillery
[2023-04-03 14:31:24.617602] [0x00007f819bfff640] [debug]   No such vendor: LulzBot
[2023-04-03 14:31:24.617611] [0x00007f819bfff640] [debug]   No such vendor: BIQU
[2023-04-03 14:31:24.617619] [0x00007f819bfff640] [debug]   No such vendor: Voron
[2023-04-03 14:31:24.617627] [0x00007f819bfff640] [debug]   No such vendor: Jubilee
[2023-04-03 14:31:24.617635] [0x00007f819bfff640] [debug]   No such vendor: Geeetech
[2023-04-03 14:31:24.617642] [0x00007f819bfff640] [debug]   No such vendor: RatRig
[2023-04-03 14:31:24.617684] [0x00007f819bfff640] [debug]   PresetUpdater: Copying "/home/matt/.config/PrusaSlicer-alpha/cache/vendor/Templates.idx" -> "/home/matt/.config/PrusaSlicer-alpha/cache/Templates.idx"
[2023-04-03 14:31:24.617710] [0x00007f819bfff640] [debug]   boost::filesystem::permisions before copy error message (this could be irrelevant message based on file system): No such file or directory
[2023-04-03 14:31:24.618939] [0x00007f819bfff640] [debug]   Got index for vendor: Templates: current version: 1.0.1, recommended version: 1.0.1
[2023-04-03 14:31:24.618953] [0x00007f819bfff640] [debug]   No such vendor: Anker
[2023-04-03 14:31:24.618964] [0x00007f819bfff640] [debug]   No such vendor: Anycubic
[2023-04-03 14:31:24.618971] [0x00007f819bfff640] [debug]   No such vendor: MakerGear
[2023-04-03 14:31:24.618978] [0x00007f819bfff640] [debug]   No such vendor: Print4Taste
[2023-04-03 14:31:24.618984] [0x00007f819bfff640] [debug]   No such vendor: Elegoo
[2023-04-03 14:31:24.618991] [0x00007f819bfff640] [debug]   No such vendor: INAT
[2023-04-03 14:31:24.618997] [0x00007f819bfff640] [debug]   No such vendor: Ultimaker
[2023-04-03 14:31:24.619003] [0x00007f819bfff640] [debug]   No such vendor: Zonestar
[2023-04-03 14:31:24.619009] [0x00007f819bfff640] [debug]   No such vendor: FLSun
[2023-04-03 14:31:24.619016] [0x00007f819bfff640] [debug]   No such vendor: BIBO
[2023-04-03 14:31:24.619027] [0x00007f819bfff640] [debug]   No such vendor: TriLAB
[2023-04-03 14:31:24.619549] [0x00007f819bfff640] [debug]   PresetUpdater: Copying "/home/matt/.config/PrusaSlicer-alpha/cache/vendor/PrusaResearch.idx" -> "/home/matt/.config/PrusaSlicer-alpha/cache/PrusaResearch.idx"
[2023-04-03 14:31:24.619581] [0x00007f819bfff640] [debug]   boost::filesystem::permisions before copy error message (this could be irrelevant message based on file system): No such file or directory
[2023-04-03 14:31:24.621635] [0x00007f819bfff640] [debug]   Got index for vendor: Prusa Research: current version: 1.9.0-alpha1, recommended version: 1.9.0-alpha1
[2023-04-03 14:31:24.621650] [0x00007f819bfff640] [debug]   No such vendor: Snapmaker
[2023-04-03 14:31:24.621661] [0x00007f819bfff640] [debug]   No such vendor: gCreate
[2023-04-03 14:31:24.621671] [0x00007f819bfff640] [debug]   No such vendor: Rigid3D
[2023-04-03 14:31:24.621679] [0x00007f819bfff640] [debug]   No such vendor: Infinity3D
[2023-04-03 14:31:24.621685] [0x00007f819bfff640] [debug]   No such vendor: Creality
[2023-04-03 14:31:24.629396] [0x00007f819bfff640] [info]    Resource TriLAB / AQI_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629465] [0x00007f819bfff640] [info]    Resource TriLAB / AQD_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629515] [0x00007f819bfff640] [info]    Resource TriLAB / DQ2_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629564] [0x00007f819bfff640] [info]    Resource TriLAB / DQ2P_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629614] [0x00007f819bfff640] [info]    Resource TriLAB / DQ2+FP2_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629661] [0x00007f819bfff640] [info]    Resource TriLAB / DQ2P+FP2_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629702] [0x00007f819bfff640] [info]    Resource TriLAB / DQ2+FP_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629742] [0x00007f819bfff640] [info]    Resource TriLAB / DQ2P+FP_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629783] [0x00007f819bfff640] [info]    Resource TriLAB / DQM_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629826] [0x00007f819bfff640] [info]    Resource TriLAB / DQL_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.629868] [0x00007f819bfff640] [info]    Resource TriLAB / DQXL_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.656392] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk4.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.656472] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk4_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.656517] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK4_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.656561] [0x00007f819bfff640] [info]    Resource PrusaResearch / mini.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.656603] [0x00007f819bfff640] [info]    Resource PrusaResearch / mini_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.656641] [0x00007f819bfff640] [info]    Resource PrusaResearch / MINI_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.656662] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.657108] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.657992] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK3S_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.658153] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.658195] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.658375] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK3_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.658429] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.658451] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.658520] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK3SMMU2S_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.658599] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.658622] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.658670] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK3MMU2_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.658724] [0x00007f819bfff640] [info]    Resource PrusaResearch / xl.svg found in vendor folder. No need to download.
[2023-04-03 14:31:24.658752] [0x00007f819bfff640] [info]    Resource PrusaResearch / xl_bed.stl found in vendor folder. No need to download.
[2023-04-03 14:31:24.658767] [0x00007f819bfff640] [info]    Resource PrusaResearch / XL_thumbnail.png found in vendor folder. No need to download.
[2023-04-03 14:31:24.658785] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.658801] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.658843] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK2.5S_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.658862] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.658879] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.658916] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK2.5_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.658934] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.658951] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.658989] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK2.5SMMU2S_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.659008] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.659024] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.659112] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK2.5MMU2_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.659154] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk2.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.659196] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk2_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.659236] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK2S_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.659257] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk2.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.659275] [0x00007f819bfff640] [info]    Resource PrusaResearch / mk2_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.659313] [0x00007f819bfff640] [info]    Resource PrusaResearch / MK2SMM_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.659355] [0x00007f819bfff640] [info]    Resource PrusaResearch / sl1.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.659397] [0x00007f819bfff640] [info]    Resource PrusaResearch / sl1_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.659438] [0x00007f819bfff640] [info]    Resource PrusaResearch / SL1_thumbnail.png found in resources folder. No need to download.
[2023-04-03 14:31:24.659480] [0x00007f819bfff640] [info]    Resource PrusaResearch / sl1s.svg found in resources folder. No need to download.
[2023-04-03 14:31:24.659522] [0x00007f819bfff640] [info]    Resource PrusaResearch / sl1s_bed.stl found in resources folder. No need to download.
[2023-04-03 14:31:24.659562] [0x00007f819bfff640] [info]    Resource PrusaResearch / SL1S_thumbnail.png found in resources folder. No need to download.

Then click the Arrange button:

[2023-04-03 14:31:28.684912] [0x00007f81a2b18880] [info]    Undo / Redo snapshot taken: Arrange, Undo / Redo stack memory: 0MB Resident memory: 324MB; Shared memory: 147MB; Private memory: 178MB; Peak memory usage: 756MB
zsh: segmentation fault (core dumped)  prusa-slicer-console --loglevel=9 test.3mf
monkeydave commented 1 year ago

I am also getting a crash to desktop when clicking arrange the same as the OP.

Crash happened to me another way originally and the most reliable way I have found to trigger it is.

  1. Add multiple different files to print area
  2. Move one model outside of print area
  3. Delete the model that is inside the printable area
  4. Click arrange

I tried this method in 2.5 and 2.6 alpha 5 and neither causes this crash if that helps. I am also using windows

lukasmatena commented 1 year ago

@monkeydave Thanks, we can now reproduce and fix it. SPE-1637