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 / #14914

#14914New

Invalid M106 fan speed value (>255) when printing PETG with PLA support interface

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.4.2

Operating System (OS)

Linux

OS Version

Linux (64-bit)

Additional system information

No response

Printer

FlashForge ad5x

How to reproduce

  1. Open OrcaSlicer 2.4.2
  2. Load any model requiring supports
  3. Set main filament to PETG
  4. Set support/interface filament to PLA (different from main material)
  5. In the PETG filament profile, go to Cooling settings
  6. Set Interface fan speed (or similar parameter for support interface cooling) to -1
  7. Slice the model
  8. Open the generated G-code and search for M106 commands
  9. Observe invalid values like M106 S2383706846

Actual results

The slicer generates invalid M106 commands with integer overflow values exceeding 255. Specifically, M106 S2383706846 appears in the G-code during inner wall printing when Interface fan speed is set to -1.

Expected results

When Interface fan speed is set to -1 in the filament profile, the slicer should:

  1. Either treat -1 as a special value meaning "inherit from main cooling settings" and generate valid M106 commands with values in the 0-255 range
  2. Or display a validation error/warning that -1 is not a valid value for fan speed
  3. Under no circumstances should the slicer generate integer overflow values like M106 S2383706846

Project file & Debug log uploads

zacep_v2_PETG_1h31m.zip

Checklist of files to include

  • [ ] Log file
  • [x] Project file

Anything else?

G-code snippet showing the bug:

42903 ;TYPE:Inner wall
42904 ;WIDTH:0.62
42905 ;HEIGHT:0.3
42906 G1 F8998.964
42907 M106 S2383706846  ; <-- Invalid value (integer overflow from -1)
42908 G1 X128.97 Y150.14 E2.62924
Author
DimitriyKost
Comments
4
Created
2026-07-23
bugstale

Log

  1. Collected from GitHub
    panel · 3 h ago