dtmoodie / EagleEye

BSD 3-Clause "New" or "Revised" License
13 stars 5 forks source link

ConvertDataType causes segfault on RCC recompile #8

Open dtmoodie opened 9 years ago

dtmoodie commented 9 years ago

ConvertDataType (CDT) causes a segfault on RCC recompile. It looks like one of the shared pointers pointing to CDT has been deleted without properly notifying CDT for removal. Thus when CDT tries to updateNotifiers(), it attempts to access deleted memory.

Perhaps this is due to a shared_ptr being updated to point to a null object, then being deleted. Thus the shared_ptr never deregisters from CDT, in which case CDT segfaults when trying to access the freed memory. There is no evidence of a shared_ptr failing to deregister though.