[Poppler-bugs] [Bug 50992] library should be thread-safe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 17 11:52:20 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=50992

--- Comment #85 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #84)
> Created attachment 70196 [details] [review]
> Try to solve #82
> 
> (In reply to comment #82)
> > I found a deadlock when running your pdftoppm over the pdf at
> > http://ompldr.org/vOWlsbQ
> > 
> 
> First of all: Thanks that You start testing it. In the meantime I thought
> that there is no really interest at all. But now to this comment:
> I'm wondering why this can happens: GfxResources should be copied for every
> thread. So a dead lock shouldn't occur never here.
> But instead of searching where I missed to copy it, I locked GfxResources in
> the this patch too. I hope, it helps, but I'll have a deeper look into it
> tomorrow. Would be nice if You are able to regtest it in the meantime, I'm
> not really sure if I can provide a better solution tomorrow.

Sorry, this patch probably doesn't help. I fear, that the new dict->copy() is
not deep enough, because it copies just the dict entries. But I'm too tired
today evening to upload a better solution. I'll try to do it tomorrow
afternoon, but I can't promise that, I'll have several dates tomorrow!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121117/3bb4ecbe/attachment.html>


More information about the Poppler-bugs mailing list