[Poppler-bugs] [Bug 68438] actual git master crashes in libopenjpeg.so.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 26 07:18:26 PDT 2013


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

Thomas Freitag <Thomas.Freitag at alfa.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #5 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
I finished now my test series:

1. actual ubuntu openjpeg library (1.3.x):
crashes in opj_create_decompress(CODEC_J2K)
2. actual openjpeg 1.5.1, available over
http://code.google.com/p/openjpeg/downloads/list
doesn't display 2 of the JPEG2000 images, gives warnings for each other, but
doesn't crash
3. actual openjpeg 1.5 branch, available over  svn checkout
http://openjpeg.googlecode.com/svn/branches/openjpeg-1.5 (1.5.2 beta)
doesn't display 2 of the JPEG2000 images, gives warnings for each other, but
doesn't crash
4. actual openjpeg 2.0.0, available over
http://code.google.com/p/openjpeg/downloads/list, together with slight modified
patch from Adrian of bug 58906 (changes just to get it compiled with actual
master)
countless error messages, non of the JPEG2000 images are shown, but no crash
5. actual  openjpeg master,  available svn checkout
http://openjpeg.googlecode.com/svn/trunk/ (2.0.1 beta?), together with slight
modified patch from Adrian
stops with assert: xpdfmerge/openjpeg-read-only/src/lib/openjp2/cio.c:555:
opj_stream_get_number_byte_left: Assertion `p_stream->m_user_data_length >=
(OPJ_UINT64)p_stream->m_byte_offset' failed.

I'm not deep enough in JPEG2000 to be really sure, if it's our integration of
openjpeg, if it's an openjpeg bug or if it's a problem of Adobe Indesign CS4
which created the PDF.
But since altona says in the comments it is amongst others a JPEG2000 test
case, the behaviour changes with nearly every version of openjpeg, Adobe
Acrobat Pro opens it without any problems or erreor messages and last but not
least, poppler can render it internally (with openjpeg) without any problems, I
would guess it is an openjpeg bug or openjpeg is benevolent enough.

I for myself decide now to disable openjpeg and continue working with the
internal code.

-- 
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/20130826/43933d80/attachment-0001.html>


More information about the Poppler-bugs mailing list