[Debian-astro-maintainers] Bug#779046: Crash when clicking "Lookup locations on network" checkbox in Locations window

Tomasz Buchert tomasz.buchert at inria.fr
Tue Feb 24 22:36:25 UTC 2015


On 24/02/15 16:54, Tomasz Buchert wrote:
> Control: tag -1 confirmed
> 
> Ok, I didn't understand your first instructions.
> It is reproducible by me as well. I'll take a look at it
> later today.
> 

I found the problem - Location dialog launches Network Request
asynchronously on every click of the checkbox. However each request
uses the same global variable which creates a race condition. Our
problem happens, because QNetworkReply that was already deleted is
used by another async. request.
I attach a patch that fixes this for me and I'm contacting stellarium
devs to tell them about it.

Thanks Adam,
Tomasz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test.patch
Type: text/x-diff
Size: 1777 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20150224/5969b885/attachment.patch>


More information about the Debian-astro-maintainers mailing list