I instrumented thumbnailer to print some text when it is created and called. Then I copied images to the Pictures directory and clicked around. It turns out that ThumbnailGenerator::requestImage is never called. The generated thumbnails do not appear in ~/.cache/thumbnails either (which they should, unless gallery-app is requesting large enough images).
I wrote a thread torture test for thumbnailer and ran it under helgrind for 15 minutes or so and it produced no thread errors.
Even more strangely I can't reproduce this any more. Tapping on an image while others are loading works just fine.
All of this, combined with bug #1375238, makes me suspect that there is a threading bug/buffer overrun somewhere else in the stack and it just happens to manifest itself as this bug.
I instrumented thumbnailer to print some text when it is created and called. Then I copied images to the Pictures directory and clicked around. It turns out that ThumbnailGenera tor::requestIma ge is never called. The generated thumbnails do not appear in ~/.cache/thumbnails either (which they should, unless gallery-app is requesting large enough images).
I wrote a thread torture test for thumbnailer and ran it under helgrind for 15 minutes or so and it produced no thread errors.
Even more strangely I can't reproduce this any more. Tapping on an image while others are loading works just fine.
All of this, combined with bug #1375238, makes me suspect that there is a threading bug/buffer overrun somewhere else in the stack and it just happens to manifest itself as this bug.