Threaded access to ToFImageGrabber::GenerateData() may lead to a crash when the camera is disconnected before SetSlice() is called on the images because the internally hold pixel arrays are re-initialized to NULL.
Adding a zero-check would help
Threaded access to ToFImageGrabber::GenerateData() may lead to a crash when the camera is disconnected before SetSlice() is called on the images because the internally hold pixel arrays are re-initialized to NULL.
Adding a zero-check would help
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | None | T8458 Crash in ToFTutorial Step1 | ||
Resolved | None | T8494 Crash in ToFImageGrabber::GenerateData |
[9946a4]: Merge branch 'bug-8494-ToFImageGrabberCrash'
2011-06-14 07:25:42 Alexander Seitel [b1d66c]
Added check for pixel arrays != NULL in GenerateData()
[dbc4c2]: Merge branch 'bug-8494-CrashToFImageGrabber'
2011-07-09 11:30:23 Alexander Seitel [312e8f]
Check should also include call to GetAllImages
[192d86]: Merge branch 'bug-8494-CrashToFImageGrabber'
2011-07-09 11:51:07 Alexander Seitel [6af89a]
COMP: trigger continuous