Skip to content

linuxcnc: deferred findings from pre2 review round 2 #171

Open

Description

@b0czek

Deferred from review round 2 of #164 (full list: #164 (comment)). Found by reading the code; not reproduced. Line numbers refer to v2.10.0-pre2 + the series at 28896de.

  • M11 (0019): custom homing modules without get_home_is_exclusive / get_home_sequence_is_active make motmod fail to load, with no clear message. Consider weak references with a fall back to one home at a time. command.c:1794.
  • M15 (0010): preview uses stale tool data after M6/M61/G10: entry 0 is not updated, and G10 edits are lost at the next table reload. recordingcanon.cc:441-458.
  • M12 remainder (native/HAL): other readers of 64-bit HAL pins through hal_get_si32/hal_get_ui32 wrap out-of-range values accepted by gRPC, including halcompile si32 pins. Recording a declared width in HAL would cover them. axis.N.jog-counts is left as it is: upstream master already reads it with hal_get_sint, so it should be fixed at the next tag.
  • L2 (0009/0004): Pause during STOPPING can stall a G76 Stop whose retract has not reached motion. emctaskmain.cc:3481, tp.c:4380.
  • L4 (0017): overrides and similar non-motion commands are refused during an availability operation. emctaskmain.cc:1296-1320.
  • L5 (0020): a power-jog release during E-stop or machine off is lost, so the next press is refused once. halui_power_feed.hh:47.
  • L6 (0019 tests): no state-machine error isolation case, absolute-encoder case, queued G28.2 refusal or homecomp coverage in tests/homing-concurrent.
  • L14 (0012): random changer with a missing table: tool create always fails because zeroed slots look occupied. tooldata_mmap.cc:159.
  • L15 (0007): a 510-character CRLF line is refused, and an over-long comment-only line blocks saves. tooldata_common.cc:401.
  • L17 (0007/0012): comment-only lines are dropped on the first save; document it.
  • L18 (docs): halui.program.stop is the resumable Stop and does nothing outside an active AUTO program. Pendant configs wired to its old abort meaning (the xhc-hb04 samples) should use halui.abort.

Activity

  1. added
    bug
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions