Version: 0.9.2 (using KDE 4.3.2) OS: Linux Installed from: Unlisted Binary Package kde and okular packages come from http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ under jaunty okular: 4:4.3.2-0ubuntu1~ppa1~jaunty1 After loading the file pdf okular closes echoing on the console "Bogus memory allocation size" Using gdb: --------------------------------------------------------------- Starting program: /usr/bin/okular [Thread debugging using libthread_db enabled] [New Thread 0x7ffe1a2be750 (LWP 21310)] Bogus memory allocation size kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /build/buildd/kde4libs-4.3.2/kio/kio/kdirwatch.cpp line 901) Cancelled INotify (fd 13, 1) for "/home/monfardini/.local/share" Program exited with code 01. (gdb) backtrace No stack. --------------------------------------------------------------- Note: using pdfinfo I've seen that the file has been created by OpenOffice Impress: --------------------------------------------------------------- Creator: Impress Producer: OpenOffice.org 3.1 CreationDate: Thu Oct 22 10:13:30 2009 Tagged: no Pages: 1 Encrypted: no Page size: 842 x 1191 pts (A3) File size: 111384 bytes Optimized: no PDF version: 1.4 ----------------------------------------------------------------- The file is handled correctly by xpdf I'd glad to upload the file pdf if it is possible (I cannot find a way to do it during report wizard)
Upload the PDF using this link: https://bugs.kde.org/attachment.cgi?bugid=211526&action=enter Thanks
Created attachment 37761 [details] A pdf causing "bogus memory allocation size" File that allows to reproduce the bug
Mh, here using: Qt: 4.6.0 (Qt git branch 4.6 commit 52aef13521af2137db15ee878893f5c5150471e5 Date: Mon Oct 12 14:18:51 2009 +1000) KDE: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015)) kdelibs svn rev. 1038788 / kdebase svn rev. 1038788 on ArchLinux i686 - Kernel 2.6.30.6 With: kdegraphics svn rev. 1037976 poppler and poppler-qt 0.10.7 and with: kdegraphics svn rev. 1039462 poppler and poppler-qt 0.12.1 The file is opened properly without closing with such an error message.
Created attachment 37764 [details] Another pdf that triggers the same bug
@Dario Andres Can you please test also this file? If you can open it without problems, a.k.a. it is fixed in SVN, it's ok for me to close the ticket
Please check again the upgrades of the Poppler library of your distro, as this can be another case of bug #211376. (In reply to comment #5) > If you can open it without problems, a.k.a. it is fixed in SVN, it's ok for me > to close the ticket ... and even if it wouldn't be bug #211376, the "Bogus memory allocation size" message comes from the Poppler library, and should not cause crashes nor hangs, anyway.
I've updated poppler from 0.10.5-1ubuntu2.4 to 0.10.5-1ubuntu2.5 The packet changelog reports of a segfault in Okular with security update (LP: #457985) and refers to CVE-2009-3605 Now the files are opened correctly, even if multiple "Bogus memory allocation size" still appear on the terminal.
*** This bug has been marked as a duplicate of bug 211376 ***