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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 12 02:22:26 PDT 2012


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

--- Comment #5 from Albert Astals Cid <tsdgeos at terra.es> 2012-06-12 02:22:26 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > Hi, Okular and Poppler maintainer here.
> > Didn't open a bug to myself since well, it's a well known thing that you can't
> > use more than one thread on poppler.
> > 
> > Thomas, I can't really parse your answer :D Not sure if you are saying that you
> > think poppler is thread safe or not, but it's clearly not, do this and see the
> > explosions
> > 
> With splash?

Yes

> > * Create doc
> > * Create thread that renders page 1 of doc
> > * Create thread that renders page 2 of doc
> With the same splashoutput device? 

Nope

> Of course You can't do that: You need a
> different splashOut for every thread at least because of the state. And I
> forgot one other point: if You use little cms the poppler isn't thread safe, > it
> will crashes in that area. One of the points I want to solve somewhere in
> futur.

Last time i tried it crashed in the Parser (since you are sharing the same
doc/parser/lexer from different threads)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list