Crash with Images/SKImages on different threads

hi,

when working with image data on other threads than the main application it is quite easy to crash VVVV hard. i’m very much aware that doing this is in general not thread safe, however in case one knows what he/her is doing it is quite cumbersome when one just (maybe accidentially) hovers just a pin of a node with an skimage/iimage, the widget trys to display the image and the VVVV editor goes “poof”.

the issue could likely be handled if the hover-widget checks if the image is safe to display the image and otherwise chooses not to.
here is a mini demo that immediately crashes my editor.

grafik

crash_image_on_different_thread.vl (5.3 KB)

2 Likes

Good suggestion. Tooltips will now show a text that they refuse to display the image:

image

4 Likes