A document specific hang. Reproducible: Always Steps to Reproduce: 1. Find and download one of the following articles: - IEEE-MTT 1992-12 vol40no12 New stability criterion (Edwards, Sinsky).pdf (867.716 KB) - IEEE-MTT 1995-07 vol43no7 Deterministic amplifier design(Edwards, Cheng, Sinsky).pdf (737.989 KB) You may have to be member of IEEE to do this. I can't send it as attachment because of copyrights. 2. Open one of them. => Hangs while opening. Actual Results: Okular hangs, doesn't start up. Expected Results: Open the document, without hanging. Opening with 'evince' (Gnome Doc Viewer) works without problems. Any other document I tried in my life did work with 'okular'.
Without a file it's impossible to fix.
(In reply to comment #1) > Without a file it's impossible to fix. I understand, but I can't infringe copyright...
Works fine, no hangs here for both files (poppler 0.24.2, Okular 0.17.60, default settings). Ca you play with "Performance" configuration a bit to see if it helps? http://docs.kde.org/stable/en/kdegraphics/okular/configperformance.html
(In reply to comment #3) > Works fine, no hangs here for both files (poppler 0.24.2, Okular 0.17.60, > default settings). > > Ca you play with "Performance" configuration a bit to see if it helps? > > http://docs.kde.org/stable/en/kdegraphics/okular/configperformance.html I tried about every possible configuration in the "Performance" tab, but still no change. I also tested it on another computer with Okular from KDE 4.10.5 (Fedora 18, latest updates installed) and poppler 20.2: that works. Any other suggestions? (logs, etc.)
(In reply to comment #4) > Any other suggestions? (logs, etc.) Please try to temporarily move to other folder the following data: 1. Folder ~/.kde/share/apps/okular 2. File ~/.kde/share/config/okularrc It may happen that there is some corruption in the configuration files.
(In reply to comment #5) > (In reply to comment #4) > > Any other suggestions? (logs, etc.) > > Please try to temporarily move to other folder the following data: > > 1. Folder ~/.kde/share/apps/okular > 2. File ~/.kde/share/config/okularrc > > It may happen that there is some corruption in the configuration files. No, still no go: I removed: ~/.kde/share/config/okularpartrc ~/.kde/share/config/okularrc and ~/.kde/share/apps/okular
Changing the filename doesn't work either.
I don't understand, now it works... The only thing I did was: - I opened Okular, opened a working pdf file via the File->Open menu, and than tried to open one of the above mentioned files via the File->Open menu, that worked! After that, I could open the file without Okular running yet, this time without problems!
After a reboot, the problem has returned. The only way to circumvent the problem, is the way I mentioned in my previous comment: - Open Okular, open a working pdf file via the File->Open menu, and than open one of the above mentioned files via the File->Open menu
I tried this with Okular 0.16.5 from current Debian testing, and it worked flawlessly.
I have the same problem with a certain file: http://radare.org/get/radare.pdf Okular hangs on opening the file. When launched from terminal the program ends with the segmentation fault message. Evince and others work nice. I run openSUSE 12.2 with KDE 4.11.3.
(In reply to comment #11) > I have the same problem with a certain file: > http://radare.org/get/radare.pdf > Okular hangs on opening the file. When launched from terminal the program > ends with the segmentation fault message. Evince and others work nice. > I run openSUSE 12.2 with KDE 4.11.3. For me, that file works...
Ok, since we don't have a file that produces the problem i'll have to close the bug, please if someone can provide a file that causes Elias' problem attach it and reopen the bug.
OK, I managed to find another file that exhibits the same problem, this time a public one: http://www.nrao.edu/meetings/isstt/papers/1994/1994802810.pdf I also found out that if you wait long enough, the file will be opened. Afterwards, if you scroll down until you reach the middle of the current page and the middle of the next page, Okular seems to hang again. However, I you wait long enough, you can scroll until the next mid-of-page, and so on. The same happens when you scroll up. There is something common with the pdfs that exhibit these problems: they are often older and contain scanned text (instead of latex-written text) that is afterwards OCR-ed.
That file is fine here, which poppler version do you have?
KDE 4.11.3 Okular 0.17.3 PDF Backend 0.6.3 poppler 0.22.1-5.fc19.x86_64
poppler 0.24 had a huge speed improvement in some files. Since it works fine for me i'm going to close it, if you still have this problem after updating to poppler 0.24 please reopen the bug.