<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - library should be thread-safe"
href="https://bugs.freedesktop.org/show_bug.cgi?id=50992#c58">Comment # 58</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - library should be thread-safe"
href="https://bugs.freedesktop.org/show_bug.cgi?id=50992">bug 50992</a>
from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=50992#c55">comment #55</a>)
<span class="quote">> 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</span >
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,</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>