Skip to content

KCL memory crash #7588

Open
@adamchalmers

Description

@adamchalmers

Program:

sketch001 = startSketchOn(XY)
profile001 = circle(sketch001, center = [0, 0], radius = 2)
extrude001 = extrude(profile001, length = 5)
extrudes = patternLinear3d(
  extrude001,
  instances = 3,
  distance = 5,
  axis = [1, 1, 0],
)
clone001 = map(extrudes, f = clone)

Produces

thread 'simulation_tests::crash::kcl_test_execute' panicked at kcl-lib/src/execution/memory.rs:360:28:
index out of bounds: the len is 8 but the index is 18446744073709551615

Metadata

Metadata

Assignees

Labels

kclLanguage and compiler features

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions