Summary: | kpdf crash during opening file | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Wojciech Wierchoła <w2p> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Wojciech Wierchoła
2006-07-15 02:22:16 UTC
SVN commit 563106 by aacid: don't crash when we can not process a GfxImageColorMap correctly BUGS: 130846 M +3 -0 GfxState.cc --- branches/KDE/3.5/kdegraphics/kpdf/xpdf/xpdf/GfxState.cc #563105:563106 @@ -3209,6 +3209,9 @@ obj.free(); err1: ok = gFalse; + for (k = 0; k < gfxColorMaxComps; ++k) { + lookup[k] = NULL; + } } GfxImageColorMap::GfxImageColorMap(GfxImageColorMap *colorMap) { It works by ~1-2 seconds (longer than formerly) and crash :/ (different computer at this time) OS: Gentoo Linux Compiler: i686-pc-linux-gnu-3.4.6/vanilla APP: KPDF 0.5.4 (KDE 3.5.4) [OT] KGhostScript (0.20) does not crash but it displays some part of this PDF incorrectly - as empty. [/OT] Can you please do this? ldd `kde-config --prefix`/lib/kde3/libkpdfpart.so | grep poppler If it appears something like libpoppler.so.1 => /usr/lib/libpoppler.so.1 (0x00002aaaab686000) It means your distribution is patching kpdf to make it worse. Discuss with them why they decided to do that. # ldd `kde-config --prefix`/lib/kde3/libkpdfpart.so | grep poppler libpoppler.so.1 => /usr/lib/libpoppler.so.1 (0xb6964000) [OT update] KGhostScript works fine when switched off antialiasing (in app). [/OT] Type of bug: SIGABRT. Crash: (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1231694160 (LWP 17507)] [New Thread -1238951008 (LWP 17508)] 0xffffe410 in __kernel_vsyscall () #0 0xffffe410 in __kernel_vsyscall () #1 0xb6cd602b in __read_nocancel () from /lib/libpthread.so.0 #2 0xb6c097be in XWriteBitmapFile () from /usr/lib/libX11.so.6 #3 0xb7581d38 in ?? () from /usr/qt/3/lib/libqt-mt.so.3 #4 0xb6c09796 in XWriteBitmapFile () from /usr/lib/libX11.so.6 #5 0x00000014 in ?? () #6 0xb6c0d7b8 in _XRead () from /usr/lib/libX11.so.6 #7 0xb695d690 in ?? () #8 0xb6c09756 in XWriteBitmapFile () from /usr/lib/libX11.so.6 #9 0x0805eba0 in ?? () #10 0xb6c0f9a7 in _XEventsQueued () from /usr/lib/libX11.so.6 #11 0x0000000c in ?? () #12 0x0814c578 in ?? () #13 0x00000000 in ?? () Talk to gentoo developers and tell them not to use poppler in kpdf or update their poppler sources, this patch is fixed in REAL kpdf, but not in what gentoo ships and says it's kpdf. |