[PATCH] Segmentation fault without further info

Robert Helling helling at atdotde.de
Tue Mar 15 14:51:55 PDT 2016


Hi,

> On 15.03.2016, at 15:33, Robert Helling <helling at atdotde.de> wrote:
> 
> This turns out to be more complicated to fix. I have to look into how to make the live time long enough for the thread to complete. But in order to do this, I have to understand once more the slightly complicated call sequence that the struct picture is handed along.
> 



I think patch 0001 fixes the issue by giving each thread its own copy of the struct picture. Please test!

Patch 0002 then addresses another problem with loading images from URLs.

Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/1ce722ec/attachment-0003.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-When-handing-off-a-picture-to-a-worker-thread-copy-it-.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/1ce722ec/attachment-0002.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/1ce722ec/attachment-0004.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Fix-loading-images-from-URLs.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/1ce722ec/attachment-0003.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/1ce722ec/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/1ce722ec/attachment-0001.sig>


More information about the subsurface mailing list