NULL-ptr crash in image_read_ahead_done_cb()
authorMichael Schwendt <mschwendt@gmail.com>
Tue, 11 Aug 2015 22:21:37 +0000 (23:21 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Tue, 11 Aug 2015 22:23:25 +0000 (23:23 +0100)
commit2c2e0f477a0fb9524235c90f9f7140e60e97319c
tree59738ea87448906c71498092efe948843fa53d0f
parent0dfeec9a9a7298d4c5389bb9151a5ad8a8ab9ed4
NULL-ptr crash in image_read_ahead_done_cb()

It's not easy to reproduce, but if one is mad and follows the steps and
presses the keys a few dozens times, there's a slight chance one can
trigger it. Not much to investigate it further.

Forwarding from Sami Farin 2015-08-07 16:40:44 EDT:

 | to reproduce: quickly keep pressing f (fullscreen) and page down
 | (next file) keys.
 |
 | attached patch is a kind of workaround, I did not inspect further
 | is this threading issue etc

Full backtrace: https://bugzilla.redhat.com/attachment.cgi?id=1027647

Patch: https://bugzilla.redhat.com/attachment.cgi?id=1060482&action=diff&context=patch&collapsed=&headers=1&format=raw
src/image.c