[Okular-devel] [Bug 298561] New: okular 0.14.2 on KDE 4.8.2 fails to open chm files: No plugin for mimetype '"application/octet-stream"'

David gewr at seznam.cz
Sat Apr 21 16:20:24 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=298561

            Bug ID: 298561
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: okular 0.14.2 on KDE 4.8.2 fails to open chm files: No
                    plugin for mimetype '"application/octet-stream"'
    Classification: Unclassified
                OS: Linux
          Reporter: gewr at seznam.cz
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: CHM backend
           Product: okular

valgrind okular /home/dave2/dokumenty/doc/chemie/tox.chm 
==6290== Memcheck, a memory error detector
==6290== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==6290== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==6290== Command: okular /home/dave2/dokumenty/doc/chemie/toxicology_1ed.chm
==6290== 
==6290== Invalid read of size 4
==6290==    at 0xBB93FE3: FcConfigFileExists (fccfg.c:1671)
==6290==    by 0xBB96374: FcConfigFilename (fccfg.c:1828)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290==    by 0xBB9EFD5: FcInitLoadConfigAndFonts (fcinit.c:101)
==6290==    by 0xBB9F1F4: FcInit (fcinit.c:124)
==6290==    by 0x5E4755A: qt_init(QApplicationPrivate*, int, _XDisplay*,
unsigned long, unsigned long) (qapplication_x11.cpp:1709)
==6290==    by 0x5DD7657: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (qapplication.cpp:842)
==6290==    by 0x5DD7D99: QApplication::QApplication(int&, char**, bool, int)
(qapplication.cpp:775)
==6290==    by 0x57BC956: KApplication::KApplication(bool)
(kapplication.cpp:346)
==6290==    by 0x4088A0: main (main.cpp:53)
==6290==  Address 0x10535744 is 20 bytes inside a block of size 22 alloc'd
==6290==    at 0x4C29F0D: malloc (vg_replace_malloc.c:263)
==6290==    by 0xBB93F3C: FcConfigFileExists (fccfg.c:1652)
==6290==    by 0xBB96374: FcConfigFilename (fccfg.c:1828)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290==    by 0xBB9EFD5: FcInitLoadConfigAndFonts (fcinit.c:101)
==6290==    by 0xBB9F1F4: FcInit (fcinit.c:124)
==6290==    by 0x5E4755A: qt_init(QApplicationPrivate*, int, _XDisplay*,
unsigned long, unsigned long) (qapplication_x11.cpp:1709)
==6290==    by 0x5DD7657: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (qapplication.cpp:842)
==6290==    by 0x5DD7D99: QApplication::QApplication(int&, char**, bool, int)
(qapplication.cpp:775)
==6290==    by 0x57BC956: KApplication::KApplication(bool)
(kapplication.cpp:346)
==6290==    by 0x4088A0: main (main.cpp:53)
==6290== 
==6290== Invalid read of size 4
==6290==    at 0xBB93FF8: FcConfigFileExists (fccfg.c:1671)
==6290==    by 0xBB96374: FcConfigFilename (fccfg.c:1828)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290==    by 0xBB9EFD5: FcInitLoadConfigAndFonts (fcinit.c:101)
==6290==  Address 0x1053d760 is 16 bytes inside a block of size 18 alloc'd
==6290==    at 0x4C29F0D: malloc (vg_replace_malloc.c:263)
==6290==    by 0xBB93F3C: FcConfigFileExists (fccfg.c:1652)
==6290==    by 0xBB96374: FcConfigFilename (fccfg.c:1828)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290== 
==6290== Invalid read of size 4
==6290==    at 0xBB93FF8: FcConfigFileExists (fccfg.c:1671)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290==    by 0xBB9EFD5: FcInitLoadConfigAndFonts (fcinit.c:101)
==6290==  Address 0x10558948 is 40 bytes inside a block of size 42 alloc'd
==6290==    at 0x4C29F0D: malloc (vg_replace_malloc.c:263)
==6290==    by 0xBB93F3C: FcConfigFileExists (fccfg.c:1652)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290== 
==6290== Invalid read of size 4
==6290==    at 0xBB93FE3: FcConfigFileExists (fccfg.c:1671)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290==    by 0xBB9EFD5: FcInitLoadConfigAndFonts (fcinit.c:101)
==6290==  Address 0x10562bb4 is 36 bytes inside a block of size 39 alloc'd
==6290==    at 0x4C29F0D: malloc (vg_replace_malloc.c:263)
==6290==    by 0xBB93F3C: FcConfigFileExists (fccfg.c:1652)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBB9EEE6: FcInitLoadConfig (fcinit.c:67)
==6290== 
==6290== Invalid read of size 4
==6290==    at 0xBB93FF8: FcConfigFileExists (fccfg.c:1671)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==  Address 0x105887a8 is 24 bytes inside a block of size 27 alloc'd
==6290==    at 0x4C29F0D: malloc (vg_replace_malloc.c:263)
==6290==    by 0xBB93F3C: FcConfigFileExists (fccfg.c:1652)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290== 
==6290== Invalid read of size 4
==6290==    at 0xBB93FE3: FcConfigFileExists (fccfg.c:1671)
==6290==    by 0xBB96374: FcConfigFilename (fccfg.c:1828)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==  Address 0x10598f64 is 20 bytes inside a block of size 22 alloc'd
==6290==    at 0x4C29F0D: malloc (vg_replace_malloc.c:263)
==6290==    by 0xBB93F3C: FcConfigFileExists (fccfg.c:1652)
==6290==    by 0xBB96374: FcConfigFilename (fccfg.c:1828)
==6290==    by 0xBBA9625: FcConfigParseAndLoad (fcxml.c:2459)
==6290==    by 0xBBA9CED: FcEndElement (fcxml.c:1624)
==6290==    by 0xE3F621B: doContent (xmlparse.c:2532)
==6290==    by 0xE3F7020: contentProcessor (xmlparse.c:2105)
==6290==    by 0xE3F3EB6: doProlog (xmlparse.c:4016)
==6290==    by 0xE3F586A: prologProcessor (xmlparse.c:3739)
==6290==    by 0xE3F8E2C: XML_ParseBuffer (xmlparse.c:1651)
==6290==    by 0xBBA9780: FcConfigParseAndLoad (fcxml.c:2541)
==6290==    by 0xBBA9A87: FcConfigParseAndLoad (fcxml.c:2427)
==6290== 
okular(6290)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6290)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6290)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6290)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6290)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6290)/okular (app) Okular::Document::openDocument: No plugin for
mimetype '"application/octet-stream"'.
okular(6290)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x1c77ee40 deleted
without having been removed from the factory first. This will leak standalone
popupmenus and could lead to crashes. 
==6290== 
==6290== HEAP SUMMARY:
==6290==     in use at exit: 678,439 bytes in 5,140 blocks
==6290==   total heap usage: 273,295 allocs, 268,155 frees, 78,646,728 bytes
allocated
==6290== 
==6290== LEAK SUMMARY:
==6290==    definitely lost: 6,036 bytes in 36 blocks
==6290==    indirectly lost: 373,812 bytes in 1,216 blocks
==6290==      possibly lost: 2,448 bytes in 7 blocks
==6290==    still reachable: 296,143 bytes in 3,881 blocks
==6290==         suppressed: 0 bytes in 0 blocks
==6290== Rerun with --leak-check=full to see details of leaked memory
==6290== 
==6290== For counts of detected and suppressed errors, rerun with: -v
==6290== ERROR SUMMARY: 10 errors from 6 contexts (suppressed: 9 from 7)

Saw it reported for KDE 4.7.4 too.

Reproducible: Always

Steps to Reproduce:
1. Ask Okular to open any .chm file
2.
3.
Actual Results:  
Fails to open file with message: No plugin for mimetype
'"application/octet-stream"'

Expected Results:  
Kchmviewer level of output.

sys-devel/gcc:            4.6.3
sys-libs/glibc:           2.14.1-r3

kde-base/okular-4.8.2 was built with the following:
USE="chm crypt djvu ebook handbook jpeg (multilib) pdf ps tiff (-aqua) -debug"

Should I try a debug build? I am using -ggdb already.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list