Bug 171844 - Okular aborts upon opening a document
Summary: Okular aborts upon opening a document
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 09:27 UTC by Oliver Sander
Modified: 2008-09-29 11:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Sander 2008-09-29 09:27:29 UTC
Version:           compiled from the sources (using KDE 4.1.1)
Compiler:          g++ (Debian 4.3.1-9) 4.3.1 
OS:                Linux
Installed from:    Debian testing/unstable Packages

I have a Debian Lenny machine with the KDE4 packages from the kde4.debian.net backports repository.  In order to test the embedded video feature I downloaded
and installed the sources of poppler 0.9.2 and last friday's okular svn.  Okular
starts up and (upon request) brings on the following information:

Qt: 4.4.0
KDE: 4.1.1 (KDE 4.1.1)
Okular: 0.7.80

However, as soon as I try to load any document the program aborts with

ASSERT: "genericServiceTypePtr" in file /tmp/buildd/kde4libs-4.1.1/kdecore/services/kmimetypetrader.cpp, line 107

I am not convinced that this is an okular bug, but I didn't know where else to file it.
Comment 1 Pino Toscano 2008-09-29 10:54:36 UTC
Please run:
$ kbuildsycoca4 --noincremental
Comment 2 Oliver Sander 2008-09-29 11:00:56 UTC
Doesn't help :-(

sander@haile:~$ kbuildsycoca4 --noincremental                                   
kbuildsycoca4 running...                                                        
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in ".hidden/katefll.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                            
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-app-install.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/ooo-template.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                     
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/icedove.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                            
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/inkscape.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                           
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/kaffeine-iso.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                   
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-writer.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                         
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-calc.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                           
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-draw.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                           
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-impress.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                        
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-math.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                           
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-base.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                           
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ooo-extension.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                      
kbuildsycoca4(13403) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/inkscape.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                     
sander@haile:~$ cd okular-test/okular-inst/bin/                                                                          
sander@haile:~/okular-test/okular-inst/bin$ ./okular ~/okular-test/test-videos/video_test.pdf 
ASSERT: "genericServiceTypePtr" in file /tmp/buildd/kde4libs-4.1.1/kdecore/services/kmimetypetrader.cpp, line 107
Comment 3 Pino Toscano 2008-09-29 11:14:52 UTC
Of course, you did not setup correctly your local environment.
You miss to set KDEDIRS, LD_LIBRARY_PATH, and more.
Please read http://okular.kde.org/download.php and the first link there.
(And in case of more troubles, move the discussion to the ml, it does no more belong to a bug report.)