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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 8 05:41:24 PST 2013


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

--- Comment #129 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #128)
> Adding -f 30 -l 30 actually makes it not crash anymore.
> 
> Note i have a slight change over your pdftoppm code, i've changed the
> Sleep(1) in the linux code to usleep(100000), that may be introducing the
> races you don't see.
> 
Hmmh, I ignored that at the beginning, because I changed it, too, a long time
ago, but to usleep(10000). But if I'm giving it a Zero more, I get also these
suspicious crashes.

I already looked into it with valgrind, but the only thing it detects is that I
forgot a "delete pageDict" at the end of Page::replaceXRef.

And I can also see that the second backtrace is definitely in one of my
changes, but I can't imagine, why.

So I decide now to give clang a chance to help me. Unfortunately I got a new
laptop after solving the Coldwind problems, therefore this means a lot of more
work as just doing it on my old laptop :-(

-- 
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/20130108/3a259766/attachment.html>


More information about the Poppler-bugs mailing list