Bug 216606 - memory corruption when trying to open a PDF with okular
Summary: memory corruption when trying to open a PDF with okular
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 08:00 UTC by Bruno Bigras
Modified: 2009-11-29 22:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (50.40 KB, text/plain)
2009-11-29 19:22 UTC, Bruno Bigras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Bigras 2009-11-29 08:00:27 UTC
Version:            (using Devel)
Compiler:          gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) 
OS:                Linux
Installed from:    Compiled sources

Qt: 4.6.0
KDE: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
poppler: 3a94e8ce90c0a4d11c5c5aa8805c167c8a0434e5

When I try to open a PDF it wait indefinately.

If I start it from the terminal and try to open the pdf I see:

bruno@t61p:~/kdeqt/4.6/src/qt/poppler$ okular
okular(31300): mmap failed for "/var/tmp/kdecache-bruno/kpc/kde-icon-cache.index"
okular(31300): mmap failed for "/var/tmp/kdecache-bruno/kpc/kde-icon-cache.index"
okular(31300)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-bruno/ksycoca4"
okular(31300)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(31300)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(31300)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(31300)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/bruno/.local/share//user-places.xbel"
okular(31300)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
okular(31300)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x1c67740) )
okular(31300)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")
okular(31300)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-bruno/okularH31300.slave-socket"
okular(31300)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/bruno/kdeqt/4.6/src/qt/poppler")
okular(31300)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-bruno/okulary31300.slave-socket"
okular(31300)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/bruno/kdeqt/4.6/src/qt/poppler")
okular(31300)/kio (KDirListerCache) KDirListerCache::forgetDirs: Killing update job for  "file:///home/bruno/kdeqt/4.6/src/qt/poppler"
okular(31300)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/bruno/kdeqt/4.6/src/qt/poppler")
okular(31300)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("trash:/")
okular(31300)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
okular(31300)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/kde4/trunk/kde/share/mime/magic"
okular(31300)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/kde4/trunk/support/share/mime/magic"
okular(31300)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/home/bruno/.local/share/mime/magic"
okular(31300)/kio KNFSShare::KNFSSharePrivate::findExportsFile: Could not find exports file! /etc/exports doesn't exist. Configure it in share/config/knfsshare, [General], exportsFile=....
okular(31300)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/bruno/kdeqt/4.6/src/qt/poppler")
okular(31300)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0x1c9b9d0)  item moved into cache:  KUrl("file:///home/bruno/kdeqt/4.6/src/qt/poppler")
okular(31300)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/bruno/Documents")
okular(31300)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/bruno/Documents")
okular(31300)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/pdf" ,  "okular/Generator"  : returning  1  offers
*** glibc detected *** okular: malloc(): memory corruption: 0x0000000001ab6f80 ***
Comment 1 Pino Toscano 2009-11-29 10:57:48 UTC
Unuseful log, please provide a gdb backtrace.
Comment 2 Albert Astals Cid 2009-11-29 15:22:44 UTC
any pdf or a particular pdf file?
Comment 3 Bruno Bigras 2009-11-29 19:22:54 UTC
Created attachment 38688 [details]
backtrace
Comment 4 Bruno Bigras 2009-11-29 19:24:17 UTC
It could be related to http://www.purinchu.net/wp/2009/11/16/malloc_check_-crashes/
Comment 5 Bruno Bigras 2009-11-29 19:30:06 UTC
(In reply to comment #2)
> any pdf or a particular pdf file?

any pdf
Comment 6 Albert Astals Cid 2009-11-29 22:38:54 UTC
Yeah, evil glibc developers hitting us.

*** This bug has been marked as a duplicate of bug 196207 ***