Bug 418691 - Okular hangs when trying to open specific file from Samba share
Summary: Okular hangs when trying to open specific file from Samba share
Status: RESOLVED DUPLICATE of bug 409852
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.9.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 07:35 UTC by Barafu Albino Cheetah
Modified: 2020-03-10 21:28 UTC (History)
1 user (show)

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


Attachments
Affected DJVU file (1.76 MB, image/vnd.djvu)
2020-03-10 07:35 UTC, Barafu Albino Cheetah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barafu Albino Cheetah 2020-03-10 07:35:11 UTC
Created attachment 126707 [details]
Affected DJVU file

SUMMARY

I have a NAS connected to my PC with Samba protocol (mounted by mount.cifs in /etc/fstab, not Dolphin). Some (but not all) DJVU files on it can not be opened in Okular. When I find such a file in Dolphin and doubleclick it, Okular window appears and just stays empty (as in: displays what is underneath it) for infinite time. It does not generate high CPU load. 

However, the same file can be opened without problems in these cases:
1) If a NAS is connected with NFS or SSHFS. 
2) If a file was copied from the share to a local folder and opened from there. 

Not all DJVU files are affected, but those that are affected are affected every time. 

if started from CLI, okular prints "# of pages:173" and nothing else. 


STEPS TO REPRODUCE
1. Put an affected file on a Samba share
2. Mount the share on Linux machine
3. Try to open in Okular. 



SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.5.8-zen1-1-zen
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM


ADDITIONAL INFORMATION
An example of an affected file is in attachment.
Comment 1 Barafu Albino Cheetah 2020-03-10 07:37:19 UTC
Sometimes, after waiting for about 10 minutes, Okular does open the file and continues to work. Nothing is printed in CLI.
Comment 2 Albert Astals Cid 2020-03-10 21:28:13 UTC

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