By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2953 - KPDF crashes with certain PDF files
Summary: KPDF crashes with certain PDF files
Status: NEW
Alias: None
Product: TDE
Classification: Unclassified
Component: tdegraphics (show other bugs)
Version: 3.5.13.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: 2968
  Show dependency treegraph
 
Reported: 2018-07-31 10:58 CDT by linux
Modified: 2021-04-05 19:47 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Extracted page crashing KPDF (68.28 KB, application/pdf)
2018-07-31 10:58 CDT, linux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description linux 2018-07-31 10:58:11 CDT
Created attachment 2890 [details]
Extracted page crashing KPDF

Got a PDF file which crashes KPDF on page 49. Test PDF attached.

$ kpdf test49.pdf
*** Error in `kpdf': double free or corruption (!prev): 0xb3e02b18 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb5ddc38a]
/lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb5de2fc7]
/lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb5de3806]
/opt/trinity/lib/trinity/libkpdfpart.so(gfree+0x20)[0xb510f0c0]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN5ArrayD1Ev+0x4f)[0xb508cb5f]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN6Object4freeEv+0x49)[0xb50b9c79]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN5ArrayD1Ev+0x3c)[0xb508cb4c]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN6Object4freeEv+0x49)[0xb50b9c79]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN4DictD2Ev+0x44)[0xb508e1c4]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN6Object4freeEv+0xb9)[0xb50b9ce9]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN10GfxCIDFontC2EP4XRefPc3RefP7GStringP4Dict+0xe44)[0xb50a17a4]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN7GfxFont8makeFontEP4XRefPc3RefP4Dict+0x1f6)[0xb50a1f16]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN11GfxFontDictC2EP4XRefP3RefP4Dict+0xfb)[0xb50a233b]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN12GfxResourcesC2EP4XRefP4DictPS_+0x21d)[0xb509246d]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN3GfxC2EP4XRefP9OutputDeviP4DictddP12PDFRectangleS7_iPFiPvES8_+0x60)[0xb5092a30]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN4Page12displaySliceEP9OutputDevddiiiiiiiiP7CatalogPFiPvES4_+0x18e)[0xb50bd18e]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN4Page7displayEP9OutputDevddiiiiP7CatalogPFiPvES4_+0x50)[0xb50bd500]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN6PDFDoc11displayPageEP9OutputDeviddiiiiPFiPvES2_+0x90)[0xb50bb800]
/opt/trinity/lib/trinity/libkpdfpart.so(_ZN24PDFPixmapGeneratorThread3runEv+0x15c)[0xb5083e7c]
/usr/lib/libtqt-mt.so.3(+0x1a8484)[0xb649a484]
/lib/i386-linux-gnu/libglib-2.0.so.0(+0x6f7aa)[0xb5a6b7aa]
/lib/i386-linux-gnu/libglib-2.0.so.0(+0x17b84)[0xb5a13b84]
/lib/i386-linux-gnu/libpthread.so.0(+0x627a)[0xb5caf27a]
Comment 1 Michele Calgaro 2018-11-09 08:58:11 CST
The file also crash Konqueror when trying to copy it to another folder.
Comment 2 Michele Calgaro 2018-11-09 09:00:43 CST
konqueror and kpdf crashes seems to happen in different part. They are probably two different problems
Comment 3 Michele Calgaro 2018-11-09 09:19:29 CST
The original kpdf bug reported here was probably related to poppler library support in tdegraphics (see bug 2974) and does not happen anymore. The current kpdf crash is in a different point. Runnning kpdf in gdb can actually load the pdf.
Comment 4 Michele Calgaro 2021-04-05 19:47:30 CDT
> The file also crash Konqueror when trying to copy it to another folder.

This part was probably due to bug 3008, so unrelated from the pdf crash part.