[SoC] Week 8 - report on "Multithread Support on QGIS Toolbox"

Marcus Santos mvcs at me.com
Mon Jul 20 08:08:08 PDT 2015


Thanks Victor!

Ok, I’ll do it later then. 
Maybe I’ll focus on a temporary fix I did in the multithread implementation. What do you suggest?

You may have noticed that I have a sleep after starting the worker thread. 
Without this sleep the QGIS crashes due to a segfault. I believe that the worker thread is trying to access something in the processing that no longer exists when the main thread leaves the processing. I can’t see exactly where it crashes because it is not easy to debug with multiple threads using Eclipse. I tried to use pyCharm but I was not able to configure the remote debugging.
It can take some time to figure out what is happening here.

Let me know if everything is ok with the single execution.

Cheers,
Marcus


> On 20 Jul 2015, at 05:48, Victor Olaya <volayaf at gmail.com> wrote:
> 
> Marcus
> 
> Great work!
> 
> Just one suggestion. The run iterative mode is not urgent, since it is
> not often used, and it's nothing but a batch process, so I would
> recommend not working on that, leaving that for later, once the single
> execution is working fine. That should be the priority.
> 
> I will test your code later today and let you know what i see.
> 
> Thanks!
> 
> 2015-07-20 1:24 GMT+02:00 Marcus Santos <mvcs at me.com>:
>> Hi all,
>> 
>> Here is the eighth report on my GSoC project [1].
>> You can find the code on the master branch [2].
>> 
>> Have a nice week,
>> Marcus Santos
>> 
>> [1] -
>> https://qgisgsoc2015.wordpress.com/2015/07/19/eighth-gsoc-report-multithreading-on-processing/
>> [2] - https://github.com/mvcsantos/QGIS
>> 



More information about the SoC mailing list