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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 27 00:08:21 PDT 2012


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

--- Comment #58 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #55)
> When opening PDFReference17_reference.pdf with okular it gets stuck in a
> Catalog problem with trying to lock a mutex you already own
> 
> #2  0x00007ffff3089eba in __pthread_mutex_lock (mutex=0x28fae90) at
> pthread_mutex_lock.c:61
> #3  0x00007fffe074120c in Catalog::getDests (this=0x28fad80) at
> /home/tsdgeos/devel/poppler/poppler/Catalog.cc:903
> #4  0x00007fffe073f991 in Catalog::findDest (this=0x28fad80, name=0x4995950)
> at /home/tsdgeos/devel/poppler/poppler/Catalog.cc:441
> #5  0x00007fffe0b8b20f in PDFDoc::findDest (this=0x28fd4f0, name=0x4995950)
> at /home/tsdgeos/devel/poppler/poppler/PDFDoc.h:182
> 
> findDest does lock the mutex and getDests too which is a no go

Upps, I missed that. I'll have an additional look into it and change it in the
next patch. But it will probably again more or less a guess, I'm on a business
trip this week and so I haven't this PDF here, but I want to finish the
annotation iplementation, seems to be quite easy,

-- 
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/20120927/02516036/attachment.html>


More information about the Poppler-bugs mailing list