[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#740707: okular freezes when printer is no longer accessible



Package: okular
Version: 4:4.11.5-1
Severity: normal

In random intervals, okular will hang for minutes. I found that it's
due to it waiting on a socket:

  poll([{fd=15, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)

which goes on for a long time.

According to lsof, it's trying to talk to the print server:

  okular  27987 madduck   15u  IPv4            3586963      0t0      TCP 192.168.43.164:35068->192.168.14.2:ipp (SYN_SENT)

which is unreachable, for obvious reasons (different RFC1918 net).

It may be that this only happens when I start okular in the
192.168.14.0/24 network, then suspend the laptop and move elsewhere.
I have not really had the chance to isolate this.

However, I don't think okular should be talking to the print server
anyway, that's cups' job, and cups properly handles disconnections
and roaming between network, unreachable printers and other
exceptions. Okular should not try to do itself what others are
already doing, especially not if it doesn't end up doing it
properly.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages okular depends on:
ii  kde-runtime         4:4.11.5-1
ii  libc6               2.18-3
ii  libfreetype6        2.5.2-1
ii  libjpeg8            8d-2
ii  libkactivities6     4:4.11.5-1
ii  libkdecore5         4:4.11.5-1
ii  libkdeui5           4:4.11.5-1
ii  libkio5             4:4.11.5-1
ii  libkparts4          4:4.11.5-1
ii  libkprintutils4     4:4.11.5-1
ii  libkpty4            4:4.11.5-1
ii  libokularcore3      4:4.11.5-1
ii  libphonon4          4:4.7.1-1
ii  libpoppler-qt4-4    0.22.5-4
ii  libqca2             2.0.3-5
ii  libqimageblitz4     1:0.0.6-4
ii  libqt4-dbus         4:4.8.5+git209-g718fae5+dfsg-1
ii  libqt4-declarative  4:4.8.5+git209-g718fae5+dfsg-1
ii  libqt4-svg          4:4.8.5+git209-g718fae5+dfsg-1
ii  libqt4-xml          4:4.8.5+git209-g718fae5+dfsg-1
ii  libqtcore4          4:4.8.5+git209-g718fae5+dfsg-1
ii  libqtgui4           4:4.8.5+git209-g718fae5+dfsg-1
ii  libsolid4           4:4.11.5-1
ii  libspectre1         0.2.7-2
ii  libstdc++6          4.8.2-16
ii  phonon              4:4.7.1-1
ii  zlib1g              1:1.2.8.dfsg-1

okular recommends no packages.

Versions of packages okular suggests:
ii  ghostscript            9.05~dfsg-8+b1
pn  jovie                  <none>
pn  okular-extra-backends  <none>
ii  poppler-data           0.4.6-5
ii  texlive-binaries       2013.20130729.30972-2+b2
ii  unrar                  1:5.0.10-1

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Reply to: