<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 28.04.2016, at 17:37, Robert Helling <<a href="mailto:helling@atdotde.de" class="">helling@atdotde.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 28.04.2016, at 11:54, Robert Helling <<a href="mailto:helling@atdotde.de" class="">helling@atdotde.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Menlo; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">this looks nasty, and what is worse, the problem seems to be in code that I wrote. Seems like some memory corruption in conjunction with concurrency in image hashing.</span></div></blockquote></div><div class=""><br class=""></div>I have a suspicion what is wrong (I need to lock the QHashs also for reading) but fixing this requires a bit more time than I currently have. I hope for tonight but maybe it will take tomorrow.</div><div class=""><br class=""></div></div></div></blockquote><br class=""></div><div>as you would expect this is a bit of a Heisenbug, but I guess, this patch fixes it (at least it does for me). So far, I though I need to lock the QHashes only for writing but this needs to be done for reading as well when they get written to. This is what this patch does.</div><div><br class=""></div><div></div></body></html>