Page MenuHome

Crash in image_listener
Closed, ResolvedPublic

Description

System Information
Win7 x64, GTX 560

Blender Version
Broken: git latest (6c329304)
Worked: unknown

Short description of error
The WM notification listener image_listener does this:

Object *ob = (Object *)wmn->reference;
if (ob && (ob->mode & OB_MODE_EDIT))

If this is happening after a Python script has run, it's entirely possible that wmn->reference is a hanging pointer.

Other listener functions check whether reference == NULL without actually trying to dereference it.

Exact steps for others to reproduce the error
Unfortunately I don't have a simple repro for this. I can trigger the crash reliably by running a very complex script on a very complex file; the crash happens when the Image Editor tries to refresh after the script finishes.

Event Timeline

Tom Edwards (artfunkel) raised the priority of this task from to 90.
Tom Edwards (artfunkel) updated the task description. (Show Details)
Tom Edwards (artfunkel) edited a custom field.
Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Jan 29 2014, 8:36 PM

Closed by commit rBdd684f5a0414.