Bug 190406

Summary: Crash while opening a pdf
Product: [Applications] okular Reporter: Johan <list>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Johan 2009-04-23 07:00:09 UTC
Version:           4:4.1.4-0ubuntu1~intrepid1 (using KDE 4.1.4)
Compiler:          Probably gcc 4.2 It is running on a 64bit system / AMD64
OS:                Linux
Installed from:    Ubuntu Packages

Tried to open a pdf file from the command line:

cj@zap:~$ okular /home/cj/work/Bofinken/Projekt/bofinken-network/bofinken-namn/Bofinken_namn.pdf
ASSERT: "genericServiceTypePtr" in file /build/buildd/kde4libs-4.1.4/kdecore/services/kmimetypetrader.cpp, line 107
KCrash: Application 'okular' crashing...
sock_file=/home/cj/.kde/socket-zap/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.


And the KDE Crash Handler gave this information:

Application: Okular (okular), signal SIGABRT
0x00007f51b60d6fd5 in waitpid () from /lib/libc.so.6

Thread 1 (Thread 0x7f51b898b6f0 (LWP 20232)):
[KCrash Handler]
#4  0x00007f51b6062015 in raise () from /lib/libc.so.6
#5  0x00007f51b6063b83 in abort () from /lib/libc.so.6
#6  0x00007f51b74b06b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#7  0x00007f51b74b07fd in qFatal () from /usr/lib/libQtCore.so.4
#8  0x00007f51b79b88d5 in KMimeTypeTrader::query () from /usr/lib/libkdecore.so.5
#9  0x00007f51aaedd01c in Okular::Document::openDocument () from /usr/lib/libokularcore.so.1
#10 0x00007f51ab185502 in ?? () from /usr/lib/kde4/okularpart.so
#11 0x00007f51b7222048 in KParts::ReadOnlyPart::openUrl () from /usr/lib/libkparts.so.4
#12 0x00007f51ab17ff46 in ?? () from /usr/lib/kde4/okularpart.so
#13 0x0000000000408a60 in _start ()


System information /proc/version:
Linux version 2.6.27-11-generic (buildd@yellow) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Wed Apr 1 2
0:53:41 UTC 2009

Other notes:
The pdf file can be attached if so is needed, 
the pdf could be opened with other programs like evince.


Thanks 
Johan
Comment 1 Johan 2009-04-23 07:03:02 UTC
How strange, I typed gcc 4.2 as compiler version but the kernel thinks 4.3.
Comment 2 Johan 2009-04-23 07:07:25 UTC
Reproducibility is low, the next time I tried to open the same file the crash did not happen.
Comment 3 Pino Toscano 2009-04-24 15:14:44 UTC
In a terminal, run:
$ kbuildsycoca4 --noincremental
Comment 4 Johan 2009-04-24 20:38:09 UTC
cj@zap:~$ kbuildsycoca4 --noincremental
kbuildsycoca4 running...
kbuildsycoca4(7148) KBuildMimeTypeFactory::createEntry: Missing <comment> field in  "/usr/share/mime/audio/x-sbc.xml" 
kbuildsycoca4(7148) KBuildMimeTypeFactory::createEntry: Missing <comment> field in  "/usr/share/mime/application/x-pem-key.xml" 
kbuildsycoca4(7148) KBuildMimeTypeFactory::createEntry: Missing <comment> field in  "/usr/share/mime/application/x-hcidump.xml" 
kbuildsycoca4(7148) KBuildMimeTypeFactory::createEntry: Missing <comment> field in  "/usr/share/mime/application/x-ssh-key.xml" 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/hufo_smoke.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/flux.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/helios.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/flocks.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/colorfire.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/fieldlines.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/spirographx.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/matrixview.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/lattice.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/solarwinds.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/plasma.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/hyperspace.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/euphoria.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/cyclone.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/skyrocket.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/busyspheres.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/hufo_tunnel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/sundancer2.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Actions in "System/ScreenSavers/biof.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/thunderbird.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/audacious.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gcalctool.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/k3b.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/ooo-template.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/speedcrunch.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/mousepad.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/opera.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(7148) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/opera.desktop" is not compliant with XDG standard (missing trailing semicolon). 


Hope it helps

BR
Johan
Comment 5 Pino Toscano 2009-04-24 20:45:29 UTC
(In reply to comment #4)
> cj@zap:~$ kbuildsycoca4 --noincremental
> kbuildsycoca4 running...
> [...]

All is perfectly fine.
Comment 6 Pino Toscano 2009-06-10 19:01:32 UTC

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