Bug 156717

Summary: okular hangs when try to open a pdf file and pdf bakend is not build
Product: [Applications] okular Reporter: pepone <pepone.onrez>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description pepone 2008-01-26 15:20:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.1.2 
OS:                Linux

Hi i build okular with out the pdf bakend enabled and when try to open a pdf file in it the programs bloks whith the error that there isn't a bakend for this filetype, and at this point program don't respond more.

I later recompile with the pdf bakend and pdf opens with out problems.
Comment 1 Pino Toscano 2008-01-26 16:47:41 UTC
Removed all the files (.so and .desktop's) belnging to the poppler backend; run kbuildsycoca4 --noincremental and it worked (as in, error message and application working).

Can you try install gdb and do the following (warning, it can take some memory if you compiled with debug or debugfull option):
$ gdb --args okular any_document.pdf
(gdb) run
...
then when it's stucked, hit Ctrl+C, then
(gdb) thread apply all bt
and attach in a file the output you got from gdb. (To quit from gdb, type 'quit'.)
Comment 2 Pino Toscano 2008-02-06 16:30:55 UTC
Any news?
Comment 3 Pino Toscano 2008-03-06 15:25:39 UTC
No news, and not reproduceable issue.

In case anyone can reproduce it, please reopen with more information.
Thanks.