Hi, All!<br><br>I&#39;ve just commited a new update scheduler for projection updates. It works like an alternative to KisProjection, but with a framework for optimization of the update queue. It is intended to run updates in several threads, but it faced with some problems with reentrancy of our code.<br>

<br>There are at least three places, where concurrency causes a crash:<br><br>1) KoColorSpaceRegistry::grabColorSpace<br><br><a href="http://pastebin.com/c1FqGLS9" target="_blank">http://pastebin.com/c1FqGLS9</a><br><a href="http://pastebin.com/HYfPEE9E" target="_blank">http://pastebin.com/HYfPEE9E</a><br>

<br>2)  &lt;some unknown  place for me&gt;<br><a href="http://pastebin.com/rbqLRwJS" target="_blank">http://pastebin.com/rbqLRwJS</a><br clear="all"><br>3) KisMementoManager::removeMemento<br>I&#39;ll try to work this crash out.<br>
<br>How to reproduce:<br>
1) First you have to disable workaround that limits the number of concurrent threads by 1: comment out the line in kis_updater_context.cpp:35 that hardcodes the number of threads.<br>2) Then run image/tests/KisUpdateSchedulerTest several times (on multicore PC, of course)<br>

<br>And you&#39;ll see these crashes... :(<br><br><br><br>-- <br>Dmitry Kazakov<br>