Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #14826

#14826New

Reproducible ACCESS_VIOLATION when slicing a single-filament project with Bambu Lab H2D dual-nozzle profile (2.4.2 stable AND latest nightly)

Agent answer

No agent has taken this issue yet.

Issue text on GitHub

Is this issue reproducible in the latest nightly build?

  • [x] I have checked the latest nightly build and the issue is still reproducible

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

OrcaSlicer Version

2.5.0-dev nightly a6226ba9 (also 2.4.2 stable 8500fcdc)

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

CPU: AMD Ryzen (desktop)
Memory: 32 GB
Not GPU related - crash is a deterministic access violation at the same address every run, in profile/extruder config handling.

Printer

Bambu Lab H2D (0.4 nozzle, dual nozzle)

How to reproduce

  1. Select "Bambu Lab H2D 0.4 nozzle" as printer (fresh install, clean config - reproduced immediately after a full preset reset and reinstall)
  2. Open a 3MF project that contains only ONE filament (project_settings.config has filament arrays of length 1, e.g. filament_settings_id = ["Generic PLA @BBL H2D"], filament_map = ["1"], filament_map_mode = "Manual")
  3. Click Slice plate
  4. App terminates instantly with an access violation

Notes:

  • 100% reproducible; 10 crashes today, crash address identical every run
  • The same project with 3 filaments defined (identical printer/process settings otherwise) slices fine
  • Changing filament_map_mode to "Auto For Flush" in the 3MF does NOT help
  • Working workaround: replace the single-filament project_settings.config with a 3-filament one from a working project
  • Debug log shows Slic3r::DynamicPrintConfig::update_values_to_printer_extruders (Line 10489: "extruder_count 2, extruder_nozzle_volume_count 2") spammed thousands of times right before the crash; exception is a read at 0xffffffff (index -1)

Actual results

Crash log (nightly):

OrcaSlicer 2.5.0-dev Build a6226ba9
Exception Code :c0000005 ACCESS_VIOLATION
Param 0 :0x0
Param 1 :0xffffffff
Fault address:  0xEE2DC3B7 0x1:0x1D1B3B7 C:\Program Files\OrcaSlicer\OrcaSlicer.dll

Crash log (2.4.2 stable, same scenario):

OrcaSlicer 2.4.2 Build 8500fcdc
Exception Code :c0000005 ACCESS_VIOLATION
Param 1 :0xffffffff
Fault address:  0xF980CE47 0x1:0x1C88E47 C:\Program Files\OrcaSlicer\OrcaSlicer.dll

Expected results

The plate slices normally (or a validation error is shown if the filament/extruder mapping is considered invalid), instead of the application crashing.

Project file & Debug log uploads

Full crash log from the nightly (log directory also contains the identical-signature 2.4.2 crashes; can attach the zip or the offending 3MF on request — file attachment via this form was failing in my browser):

OrcaSlicer 2.5.0-dev Build a6226ba9

Exceptions:
Exception Code :c0000005 ACCESS_VIOLATION
Exception Flag :0x0 NumberParameters :2
Param 0 :0x0
Param 1 :0xffffffff
Context :00000075599FBB80
ContextFlag : 0x10005f, EFlags: 0x10286
Fault address:  0xEE2DC3B7 0x1:0x1D1B3B7 C:\Program Files\OrcaSlicer\OrcaSlicer.dll

Registers:
RAX:0000000000000000
RBX:0000000000000000
RCX:77FA0CFE7F491131
RDX:8805F500FF64B66F
RSI:000001FF05E99330
RDI:00000075599FCAB0
R8:8805F500FF64B66F
R9:0000000000000000
R10:0000000000000000
R11:000000000000001E
R12:0000000000000001
R13:0000000000000002
R14:000000000000001E
R15:000001FF7AEF9008
CS:RIP:0033:00007FFEEE2DC3B7
SS:RSP:002B:00000075599FC8C0  RBP:4924924924924925
DS:002B  ES:002B  FS:0053  GS:002B
Flags:00010286

Debug log tail (repeated thousands of times immediately before the crash):

[info] Slic3r::DynamicPrintConfig::update_values_to_printer_extruders, Line 10489: extruder_count 2, extruder_nozzle_volume_count 2

Checklist of files to include

  • [x] Log file
  • [ ] Project file

Anything else?

Possibly related (but not identical) existing issues: #12994, #13219, #12128 - all involve extruder-count/config-vector mismatches on multi-extruder printers.

Summary of what makes this one distinct: it is not triggered by editing machine settings; simply SLICING any project whose embedded config defines a single filament while the selected machine is the dual-nozzle H2D crashes deterministically. Rewriting the project's project_settings.config to define 2+ filaments (no other changes) makes the same geometry slice fine, so the crash is in reconciling filament-array length 1 against extruder_count 2 (read at index -1 / 0xffffffff).

Author
Kidabah
Comments
13
Created
2026-07-18
bug

Log

  1. Collected from GitHub
    panel · 3 h ago