Bug#947707: vdr: hang/crash when deleting recording that is cut into and played back

Timo Weingärtner timo at tiwe.de
Sun Dec 29 11:53:34 GMT 2019


Package: vdr
Version: 2.4.1-1
Severity: important

Dear Maintainer,

steps to reproduce:
* play a recording (foo)
* set some cut marks (so that the resulting recording needs some time to be written to)
* cut
* play cut resulting recording (%foo) while being written to
* delete (%foo)

results:
* osd hangs
* vdr exits after a while and gets restarted by systemd
* gaps in recordings currently recorded from sat

expected results:
* cutting is aborted
* playback is stopped
* recording (%foo) deleted

excerpts from syslog:
Dec 25 16:41:26 klotze vdr: [1393] loading /var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec/marks
Dec 25 16:41:26 klotze vdr: [1393] recordings handler add 4 '/var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec' '(null
)'
Dec 25 16:41:26 klotze vdr: [1393] loading /var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec/marks
Dec 25 16:41:26 klotze vdr: [1393] info: Schnitt gestartet
Dec 25 16:41:26 klotze vdr: [11655] recordings handler thread started (pid=1393, tid=11655, prio=high)
Dec 25 16:41:26 klotze vdr: [11655] loading /var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec/marks
Dec 25 16:41:26 klotze vdr: [11655] executing '/usr/lib/vdr/vdr-recordingaction editing "/var/lib/video/%Wenn_wir_uns_begegnen/201
9-12-22.14.16.1-0.rec" "/var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec"'
Dec 25 16:41:26 klotze recordingaction: executing shell script /usr/share/vdr/recording-hooks/R90.custom editing /var/lib/video/%W
enn_wir_uns_begegnen/2019-12-22.14.16.1-0.rec /var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec
Dec 25 16:41:26 klotze vdr[1393]: /usr/share/vdr/recording-hooks/R90.custom: 25: /usr/share/vdr/recording-hooks/R90.custom: ,: not
 found
Dec 25 16:41:26 klotze vdr: [11655] creating directory /var/lib/video/%Wenn_wir_uns_begegnen/2019-12-22.14.16.1-0.rec
Dec 25 16:41:26 klotze vdr: [11655] loading /var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec/marks
Dec 25 16:41:26 klotze vdr: [11655] playing '/var/lib/video/Wenn_wir_uns_begegnen/2019-12-22.14.15.1-0.rec/00001.ts'
Dec 25 16:41:26 klotze vdr: [11655] recording to '/var/lib/video/%Wenn_wir_uns_begegnen/2019-12-22.14.16.1-0.rec/00001.ts'
Dec 25 16:41:26 klotze vdr: [11663] video cutting thread started (pid=1393, tid=11663, prio=low)
Dec 25 16:41:31 klotze vdr: [11650] non blocking file reader thread ended (pid=1393, tid=11650)
Dec 25 16:41:31 klotze vdr: [11649] dvbplayer thread ended (pid=1393, tid=11649)
Dec 25 16:41:31 klotze vdr: [1393] replay /var/lib/video/%Wenn_wir_uns_begegnen/2019-12-22.14.16.1-0.rec
Dec 25 16:41:31 klotze vdr: [1393] playing '/var/lib/video/%Wenn_wir_uns_begegnen/2019-12-22.14.16.1-0.rec/00001.ts'
Dec 25 16:41:31 klotze vdr: [11664] dvbplayer thread started (pid=1393, tid=11664, prio=high)
Dec 25 16:41:31 klotze vdr: [11665] non blocking file reader thread started (pid=1393, tid=11665, prio=high)
Dec 25 16:41:41 klotze vdr: [1393] confirm: Aufzeichnung löschen?
Dec 25 16:41:41 klotze vdr: [1393] warning: Aufzeichnung löschen?
Dec 25 16:41:41 klotze vdr: [1393] confirmed
Dec 25 16:41:41 klotze vdr: [1393] confirm: Aufzeichnung wird bearbeitet - trotzdem löschen?
Dec 25 16:41:41 klotze vdr: [1393] warning: Aufzeichnung wird bearbeitet - trotzdem löschen?
Dec 25 16:41:42 klotze vdr: [1393] confirmed
Dec 25 16:41:42 klotze vdr: [11663] video cutting thread ended (pid=1393, tid=11663)
Dec 25 16:41:42 klotze vdr: [11655] editing process has been interrupted
Dec 25 16:42:40 klotze vdr: [1393] PANIC: watchdog timer expired - exiting!
Dec 25 16:42:43 klotze vdr[1393]: exception occured: pthread_mutex_lock failed: errno 22: Das Argument ist ungültig
Dec 25 16:42:43 klotze vdr: [1393] ERROR: ListGarbageCollector destroyed without prior Purge()!
Dec 25 16:42:43 klotze vdr: [11618] osdteletext-receiver thread ended (pid=1393, tid=11618)
Dec 25 16:42:43 klotze vdr: [1393] buffer stats: 0 (0%) used
Dec 25 16:42:43 klotze lircd-0.10.1[860]: Info: removed client
Dec 25 16:42:43 klotze lircd[860]: lircd-0.10.1[860]: Info: removed client
Dec 25 16:42:46 klotze vdr: [1393] ERROR: recordings handler thread 11655 won't end (waited 3 seconds) - canceling it...
Dec 25 16:42:46 klotze systemd[1]: vdr.service: Main process exited, code=exited, status=1/FAILURE

-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vdr depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libcap2                1:2.25-2
ii  libfontconfig1         2.13.1-2
ii  libfreetype6           2.9.1-3+deb10u1
ii  libgcc1                1:8.3.0-6
ii  libjpeg62-turbo        1:1.5.2-2+b1
ii  libstdc++6             8.3.0-6
ii  libsystemd0            241-7~deb10u2
ii  lsb-base               10.2019051400

Versions of packages vdr recommends:
ii  lirc                                     0.10.1-5.2
pn  ttf-bitstream-vera | fonts-freefont-ttf  <none>

Versions of packages vdr suggests:
pn  vdr-plugin-dvbsddevice  <none>

-- Configuration Files:
/etc/vdr/command-hooks/reccmds.custom.conf changed:
Werbung markieren: /usr/bin/markad -b nice

/etc/vdr/conf.d/00-vdr.conf changed:
[vdr]
--video=/var/lib/video
--config=/var/lib/vdr
--lib=/usr/lib/vdr/plugins
--record=/usr/lib/vdr/vdr-recordingaction
--epgfile=/var/cache/vdr/epg.data
--user=vdr
--grab=/tmp
--port=6419
--watchdog=60
--lirc

/etc/vdr/diseqc.conf changed:
1 2 3 4:
S19.2E  11700 V  9750  [E0 10 38 F0]
S19.2E  99999 V 10600  [E0 10 38 F1]
S19.2E  11700 H  9750  [E0 10 38 F2]
S19.2E  99999 H 10600  [E0 10 38 F3]
S13.0E  11700 V  9750  [E0 10 38 F4]
S13.0E  99999 V 10600  [E0 10 38 F5]
S13.0E  11700 H  9750  [E0 10 38 F6]
S13.0E  99999 H 10600  [E0 10 38 F7]

/etc/vdr/keymacros.conf changed:
Red	Timers
Green	Recordings
Yellow	Schedule
Blue	Info
User0	@osdteletext
User1	@femon
User2	@xineliboutput


-- debconf information:
* vdr/create_video_dir: false
* vdr/select_dvb_card: Satellite


More information about the pkg-vdr-dvb-devel mailing list