Page MenuHome

Seperate bug with Curves & Hooks
Closed, ResolvedPublic

Description

System Information
Windows 7 64, HD 5770

Blender Version
Broken: 9337574 (release) & 7c9b8aa

Short description of error
Any Curve object:
Seperate (P in Editmode) crashes Blender when a Hook modifier is in its modifier list.
The Hook modifier need not to be assigned or active.

Exact steps for others to reproduce the error

  • Add any curve.
  • Give it a Hook modifier.
  • Enter Editmode.
  • Select points or segments or whole curve.

Crash: Press P to seperate

Revisions and Commits

Event Timeline

Karja Krähwald (karja) raised the priority of this task from to 90.
Karja Krähwald (karja) updated the task description. (Show Details)
Karja Krähwald (karja) edited a custom field.

I'm able to repeat this problem on Win 7 64 bit. Stepping through the code line by line it seems to be crashing at

static CVKeyIndex *getCVKeyIndex(EditNurb *editnurb, void *cv)
{
	return BLI_ghash_lookup(editnurb->keyindex, cv);
}

in editcurve.c. While editnurb is not null, editnurb->keyindex is, so the downstream functions are referencing a null pointer, and crashing.