Inochi2D/inochi-creator

[BUG] Crash when copying deform from one parameter to another

Closed this issue · 0 comments

Validations

  • I have checked for similar bug reports and could not find any.
  • I have tested and confirmed that this is an issue in an official branded build.

Describe the bug

When copying a deform from one parameter to another, Inochi Creator crashes (SIGILL).

Reproduction

  1. Arm existing parameter
  2. Copy deform
  3. Arm another parameter
  4. Select another mesh
  5. Apply a transform and set to 0 to display the mesh in the parameter
  6. Paste the deform into the parameter
  7. Inochi crashes

System Architecture

x86_64

Operating System

Linux

Version

v0.8.0

Logs

Thread 1 "inochi-creator" received signal SIGILL, Illegal instruction.
0x000055555565f1bc in inochi2d.core.param.binding.ParameterBindingImpl!(inochi2d.core.nodes.defstack.Deformation).ParameterBindingImpl.copyKeypointToBinding(inmath.linalg.Vector!(uint, 2).Vector, inochi2d.core.param.binding.ParameterBinding, inmath.linalg.Vector!(uint, 2).Vector) ()
(gdb) bt
#0  0x000055555565f1bc in inochi2d.core.param.binding.ParameterBindingImpl!(inochi2d.core.nodes.defstack.Deformation).ParameterBindingImpl.copyKeypointToBinding(inmath.linalg.Vector!(uint, 2).Vector, inochi2d.core.param.binding.ParameterBinding, inmath.linalg.Vector!(uint, 2).Vector) ()
#1  0x000055555561e28f in creator.panels.parameters.keypointActions(inochi2d.core.param.Parameter, inochi2d.core.param.binding.ParameterBinding[]) ()
#2  0x000055555561eb53 in creator.panels.parameters.bindingList(inochi2d.core.param.Parameter) ()
#3  0x0000555555622527 in creator.panels.parameters.incParameterView!(true).incParameterView(ulong, inochi2d.core.param.Parameter, immutable(char)[]*, bool, ref inochi2d.core.param.Parameter[], inmath.linalg.Vector!(float, 3).Vector) ()
#4  0x00005555556205f9 in creator.panels.parameters.ParametersPanel.onUpdate() ()
#5  0x00005555556a1391 in app.incUpdate() ()
#6  0x00005555556a124a in D main ()

Additional Context

inochi-crash.webm