Bug 152710 - Crash on folder with PDF documents
Summary: Crash on folder with PDF documents
Status: RESOLVED FIXED
Alias: None
Product: kfile-plugins
Classification: Applications
Component: pdf (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
: 154567 156967 159991 160971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-22 15:26 UTC by Werner Janjic
Modified: 2008-06-09 14:54 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Werner Janjic 2007-11-22 15:26:20 UTC
Version:           0.9.2 (KDE 3.5.8) (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

Hi! 

This problem happens only in one folder (up to now) with PDF documents. It seems that Dolphin crashes when trying to build a preview icon. In Konqueror this does not happen - everything is fine there.

Distribution: Kubuntu Gutsy Gibbon 7.10, KDE 3.5.8, Dolphin 0.9.2

Regards!


(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)
(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 47437302013136 (LWP 10063)]
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002b24dad7e593 in rawmemchr () from /lib/libc.so.6
#6  0x00002b24dad720ea in ?? () from /lib/libc.so.6
#7  0x00002b24dad66825 in vsscanf () from /lib/libc.so.6
#8  0x00002b24dad61b48 in sscanf () from /lib/libc.so.6
#9  0x00002b24ddecd497 in Poppler::Document::getDate ()
   from /usr/lib/libpoppler-qt.so.2
#10 0x00002b24ddcc28a6 in KPdfPlugin::readInfo ()
   from /usr/lib/kde3/kfile_pdf.so
#11 0x00002b24d4cb0bc6 in KFileMetaInfo::init () from /usr/lib/libkio.so.4
#12 0x00002b24d4cb0d60 in KFileItem::metaInfo () from /usr/lib/libkio.so.4
#13 0x000000000044bf66 in ?? ()
#14 0x000000000044cfab in ?? ()
#15 0x000000000045ef6d in ?? ()
#16 0x00002b24d7013d76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#17 0x00002b24d7014910 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#18 0x00002b24d73839a2 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#19 0x00002b24d703a257 in QTimer::event () from /usr/lib/libqt-mt.so.3
#20 0x00002b24d6faf2a2 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#21 0x00002b24d6fb1031 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0x00002b24d5c37248 in KApplication::notify ()
   from /usr/lib/libkdecore.so.4
#23 0x00002b24d6f41d12 in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#24 0x00002b24d6fa255c in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
#25 0x00002b24d6f56443 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#26 0x00002b24d6fc87e7 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0x00002b24d6fc85ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0x00002b24d6fb0d68 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0x000000000044ed0a in ?? ()
#30 0x00002b24dad20b44 in __libc_start_main () from /lib/libc.so.6
#31 0x0000000000426969 in ?? ()
#32 0x00007fffd6a89448 in ?? ()
#33 0x0000000000000000 in ?? ()
Comment 1 Albert Astals Cid 2007-11-22 19:55:14 UTC
Can you reproduce the problem? That is, does it happens always when entering that folder? If so, can you start moving pdf files from another folder and this way find the pdf that is causing the crash? Once you have found it, please attach it to this bug.
Comment 2 Werner Janjic 2007-11-23 11:26:05 UTC
Actually it is not only one PDF that causes the problem. The problem now appears when i hover any of these PDFs (from the same source) with my mouse.

As it is copyrighted material, I cannot attach it here, but you can send me an email so we can exchange information.


Last crash report:

(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)
(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 47193389026512 (LWP 20059)]
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002aec107f1593 in rawmemchr () from /lib/libc.so.6
#6  0x00002aec107e50ea in ?? () from /lib/libc.so.6
#7  0x00002aec107d9825 in vsscanf () from /lib/libc.so.6
#8  0x00002aec107d4b48 in sscanf () from /lib/libc.so.6
#9  0x00002aec1393c497 in Poppler::Document::getDate ()
   from /usr/lib/libpoppler-qt.so.2
#10 0x00002aec137318a6 in KPdfPlugin::readInfo ()
   from /usr/lib/kde3/kfile_pdf.so
#11 0x00002aec0a723bc6 in KFileMetaInfo::init () from /usr/lib/libkio.so.4
#12 0x00002aec0a723d60 in KFileItem::metaInfo () from /usr/lib/libkio.so.4
#13 0x000000000044bf66 in ?? ()
#14 0x000000000044cfab in ?? ()
#15 0x000000000045ef6d in ?? ()
#16 0x00002aec0ca86d76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#17 0x00002aec0ca87910 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#18 0x00002aec0cdf69a2 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#19 0x00002aec0caad257 in QTimer::event () from /usr/lib/libqt-mt.so.3
#20 0x00002aec0ca222a2 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#21 0x00002aec0ca24031 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0x00002aec0b6aa248 in KApplication::notify ()
   from /usr/lib/libkdecore.so.4
#23 0x00002aec0c9b4d12 in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#24 0x00002aec0ca1555c in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
#25 0x00002aec0c9c9443 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#26 0x00002aec0ca3b7e7 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0x00002aec0ca3b5ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0x00002aec0ca23d68 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0x000000000044ed0a in ?? ()
#30 0x00002aec10793b44 in __libc_start_main () from /lib/libc.so.6
#31 0x0000000000426969 in ?? ()
#32 0x00007fffa10179c8 in ?? ()
#33 0x0000000000000000 in ?? ()
Comment 3 Albert Astals Cid 2007-11-23 19:16:25 UTC
SVN commit 740624 by aacid:

sscanf crashes on a NULL pointer so verify s is not empty. Fixes bug 152710, well, not really as the scanner uses poppler, i'll fix poppler in a minute
BUG: 152710


 M  +1 -1      generator_pdf.cpp   [POSSIBLY UNSAFE: scanf]


WebSVN link: http://websvn.kde.org/?view=rev&revision=740624
Comment 4 Albert Astals Cid 2008-01-30 20:51:00 UTC
*** Bug 156967 has been marked as a duplicate of this bug. ***
Comment 5 Pino Toscano 2008-04-19 15:01:05 UTC
*** Bug 160971 has been marked as a duplicate of this bug. ***
Comment 6 Pino Toscano 2008-04-19 15:03:01 UTC
*** Bug 154567 has been marked as a duplicate of this bug. ***
Comment 7 Pino Toscano 2008-06-09 14:54:34 UTC
*** Bug 159991 has been marked as a duplicate of this bug. ***