Package: vdr-plugin-xineliboutput Version: 1.1.0+cvs20150907-3 Followup-For: Bug #704259
Hi, I'm not yet completely sure I've found a way to solve the issue, or even less that it's a clean way, but I wanted to be sure it doesn't get lost. The attached patch is actually on vdr-plugin-imonlcd, which isn't in Debian, so I leave the bug on the current package as well. KR, Eric -- System Information: Debian Release: 8.2 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: amd64 (x86_64) Kernel: Linux 3.16.7-ckt20+vdr12 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages vdr-plugin-xineliboutput depends on: ii libc6 2.19-18+deb8u1 ii libextractor3 1:1.3-2+b1 ii libgcc1 1:4.9.2-10 ii libstdc++6 4.9.2-10 ii vdr [vdr-abi-2.2.0-multipatch-1] 2.2.0-5~etobi1 vdr-plugin-xineliboutput recommends no packages. vdr-plugin-xineliboutput suggests no packages. -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "en_GB.UTF-8", LC_MONETARY = "en_IE.UTF-8", LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("de_DE.UTF-8"). locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
Index: vdr-plugin-imonlcd-1.0.1/watch.c =================================================================== --- vdr-plugin-imonlcd-1.0.1.orig/watch.c +++ vdr-plugin-imonlcd-1.0.1/watch.c @@ -737,6 +737,7 @@ eReplayState ciMonWatch::ReplayMode() co bool ciMonWatch::ReplayPosition(int ¤t, int &total, double& dFrameRate) const { + try { if (cControl::Control() && cControl::Control()->GetIndex(current, total, false)) { total = (total == 0) ? 1 : total; #if VDRVERSNUM >= 10703 @@ -744,6 +745,9 @@ bool ciMonWatch::ReplayPosition(int &cur #endif return true; } + } catch (...) { + return false; + } return false; }