-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible segfaults with side-by-side 3D movies
It was possible that the left & right PicturePtr& were reset concurrently by _triggerFrameUpdate() while a getTileImage() was still in progress, causing a segfault in left->getData(texture). Another crash could occur when the 3D movie was looping back and not all processes got the image, causing an invalid access in _splitSideBySide(*image). The first crash could be reproduced within seconds by opening a large 3D movie and moving the window around. The second was harder to reproduce and its causes are not fully understood. Due to the complexity of the movie decoding code there may still be a unresolved underlying problem here; but at least this change suppresses the crashes.
- Loading branch information
Raphael Dumusc
committed
Aug 16, 2018
1 parent
b4f55e1
commit 278bcc6
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters