vdr-addon-noad: Broken file I/O in --online, segfaults
thomas schorpp
thomas.schorpp at googlemail.com
Sat Jan 30 00:03:27 UTC 2010
Package: vdr-addon-noad
Version: 0.7.0+update1-1
Severity: normal
The new file I/O code is broken for Online Scans, segfaults triggered by reentrant fopen() loop:
tom1:~# grep noad /var/log/syslog
Jan 29 15:01:30 tom1 cron-apt: vdr-addon-noad vdr-plugin-dvd vdr-plugin-epgsearch vdr-plugin-femon
Jan 29 15:01:30 tom1 cron-apt: Get:2 http://e-tobi.net sid/addons vdr-addon-noad 0.7.0+update1-1 [121kB]
Jan 30 00:27:32 tom1 vdr: [5006] executing command '>/dev/null 2>/dev/null /usr/bin/noad --online=2 --comments --jumplogo --ac3 --overlap before "/var/lib/video.00/WAS_GUCKST_DU#3F!/Sam_30.01.2010-00#3A15/2010-01-30.00.13.70.99.rec"'
Jan 30 00:27:33 tom1 noad[15362]: noad arg[0]: /usr/bin/noad
Jan 30 00:27:33 tom1 noad[15362]: noad arg[1]: --online=2
Jan 30 00:27:33 tom1 noad[15362]: noad arg[2]: --comments
Jan 30 00:27:33 tom1 noad[15362]: noad arg[3]: --jumplogo
Jan 30 00:27:33 tom1 noad[15362]: noad arg[4]: --ac3
Jan 30 00:27:33 tom1 noad[15362]: noad arg[5]: --overlap
Jan 30 00:27:33 tom1 noad[15362]: noad arg[6]: before
Jan 30 00:27:33 tom1 noad[15362]: noad arg[7]: /var/lib/video.00/WAS_GUCKST_DU#3F!/Sam_30.01.2010-00#3A15/2010-01-30.00.13.70.99.rec
Jan 30 00:27:33 tom1 noad[15362]: noad args done
Jan 30 00:27:33 tom1 noad[15362]: noad forked to pid 15363
Jan 30 00:27:33 tom1 noad[15363]: wait 60 secs for vdr creating directory
Jan 30 00:28:33 tom1 noad[15363]: Saturday,30.01.2010 00:28:33 start noad-0.7.0 online for /var/lib/video.00/WAS_GUCKST_DU#3F!/Sam_30.01.2010-00#3A15/2010-01-30.00.13.70.99.rec
Jan 30 00:29:38 tom1 noad[15363]: [15363] ERROR: max number of files (255) exceeded <---------------------
Jan 30 00:29:38 tom1 noad[15363]: noad aborted by signal Segmentation fault
Jan 30 00:29:38 tom1 noad[15363]: [bt] Execution path:
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(_Z15show_stackframeb+0x1a) [0x41a23a]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad [0x4189bf]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /lib/libc.so.6 [0x7ffc75c97fd0]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(_Z10demuxFrameP9cFileNametlii+0x36) [0x425a06]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(_Z13detect_ac3_51i+0x13e) [0x40c46e]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(_Z8scanLoopP6cMarks+0x642) [0x414752]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(_Z12doOnlineScanP8noadDataPKcP6cMarks+0x12c) [0x414fcc]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(_Z6doNoadbPKc+0xa1) [0x418cf1]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad(main+0x734) [0x4195c4]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /lib/libc.so.6(__libc_start_main+0xfd) [0x7ffc75c84abd]
Jan 30 00:29:38 tom1 noad[15363]: [bt] /usr/bin/noad [0x409e99]
tom1:~#
tom1:~# zcat /var/log/syslog.5.gz |grep noad
Jan 23 14:49:37 tom1 vdr: [4196] executing command '>/dev/null 2>/dev/null /usr/bin/noad --online=2 --comments --jumplogo --ac3 --overlap before "/var/lib/video.00/Knight_Rider/Knight_and_the_City/2010-01-23.14.43.99.99.rec"'
Jan 23 14:49:37 tom1 noad[32116]: noad arg[0]: /usr/bin/noad
Jan 23 14:49:37 tom1 noad[32116]: noad arg[1]: --online=2
Jan 23 14:49:37 tom1 noad[32116]: noad arg[2]: --comments
Jan 23 14:49:37 tom1 noad[32116]: noad arg[3]: --jumplogo
Jan 23 14:49:37 tom1 noad[32116]: noad arg[4]: --ac3
Jan 23 14:49:37 tom1 noad[32116]: noad arg[5]: --overlap
Jan 23 14:49:37 tom1 noad[32116]: noad arg[6]: before
Jan 23 14:49:37 tom1 noad[32116]: noad arg[7]: /var/lib/video.00/Knight_Rider/Knight_and_the_City/2010-01-23.14.43.99.99.rec
Jan 23 14:49:37 tom1 noad[32116]: noad args done
Jan 23 14:49:37 tom1 noad[32116]: noad forked to pid 32117
Jan 23 14:49:37 tom1 noad[32117]: wait 60 secs for vdr creating directory
Jan 23 14:50:37 tom1 noad[32117]: Saturday,23.01.2010 14:50:37 start noad-0.6.1 online for /var/lib/video.00/Knight_Rider/Knight_and_the_City/2010-01-23.14.43.99.99.rec
Jan 23 14:50:37 tom1 noad[32117]: [32117] INFO--->: sizeof(tIndexTs) 8, sizeof(tIndexPes) 8
Jan 23 14:50:39 tom1 noad[32117]: [32117] current Marks:
Jan 23 14:50:39 tom1 noad[32117]: [32117] Mark: 3108 0:02:04.09 ac3 start #frames 3108 duration 0:02:04
Jan 23 14:50:39 tom1 noad[32117]: [32117] current Marks end
Jan 23 14:50:39 tom1 noad[32117]: [32117] current Marks:
Jan 23 14:50:39 tom1 noad[32117]: [32117] Mark: 3108 0:02:04.09 ac3 start #frames 3108 duration 0:02:04
Jan 23 14:50:39 tom1 noad[32117]: [32117] current Marks end
Jan 23 14:52:31 tom1 noad[32117]: [32117] ERROR: max number of files (255) exceeded <---------------------------------
Jan 23 14:52:31 tom1 noad[32117]: noad aborted by signal Segmentation fault
Jan 23 14:52:31 tom1 noad[32117]: [bt] Execution path:
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad(_Z15show_stackframeb+0x1a) [0x41a25a]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad [0x4189df]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /lib/libc.so.6 [0x7effd438bfd0]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad(_Z8scanLoopP6cMarks+0x7b3) [0x4148e3]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad(_Z12doOnlineScanP8noadDataPKcP6cMarks+0x126) [0x414fe6]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad(_Z6doNoadbPKc+0xa1) [0x418d11]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad(main+0x734) [0x4195e4]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /lib/libc.so.6(__libc_start_main+0xfd) [0x7effd4378abd]
Jan 23 14:52:31 tom1 noad[32117]: [bt] /usr/bin/noad [0x409e79]
Jan 23 15:53:03 tom1 vdr: [4196] executing command '>/dev/null 2>/dev/null /usr/bin/noad --online=2 --comments --jumplogo --ac3 --overlap before "/var/lib/video.00/Knight_Rider/Happy_Knight#3F/2010-01-23.15.38.99.99.rec"'
Jan 23 15:53:03 tom1 noad[5810]: noad arg[0]: /usr/bin/noad
Jan 23 15:53:03 tom1 noad[5810]: noad arg[1]: --online=2
Jan 23 15:53:03 tom1 noad[5810]: noad arg[2]: --comments
Jan 23 15:53:03 tom1 noad[5810]: noad arg[3]: --jumplogo
Jan 23 15:53:03 tom1 noad[5810]: noad arg[4]: --ac3
Jan 23 15:53:03 tom1 noad[5810]: noad arg[5]: --overlap
Jan 23 15:53:03 tom1 noad[5810]: noad arg[6]: before
Jan 23 15:53:03 tom1 noad[5810]: noad arg[7]: /var/lib/video.00/Knight_Rider/Happy_Knight#3F/2010-01-23.15.38.99.99.rec
Jan 23 15:53:03 tom1 noad[5810]: noad args done
Jan 23 15:53:03 tom1 noad[5810]: noad forked to pid 5811
Jan 23 15:53:03 tom1 noad[5811]: wait 60 secs for vdr creating directory
Jan 23 15:54:03 tom1 noad[5811]: Saturday,23.01.2010 15:54:03 start noad-0.6.1 online for /var/lib/video.00/Knight_Rider/Happy_Knight#3F/2010-01-23.15.38.99.99.rec
Jan 23 15:54:03 tom1 noad[5811]: [5811] INFO--->: sizeof(tIndexTs) 8, sizeof(tIndexPes) 8
Jan 23 15:54:05 tom1 noad[5811]: [5811] current Marks:
Jan 23 15:54:05 tom1 noad[5811]: [5811] Mark: 15 0:00:00.16 ac3 start #frames 15 duration 0:00:00
Jan 23 15:54:05 tom1 noad[5811]: [5811] Mark: 4395 0:02:55.21 ac3 lost #frames 4380 duration 0:02:55
Jan 23 15:54:05 tom1 noad[5811]: [5811] Mark: 4659 0:03:06.10 ac3 start #frames 264 duration 0:00:10
Jan 23 15:54:05 tom1 noad[5811]: [5811] current Marks end
Jan 23 15:54:05 tom1 noad[5811]: [5811] del Mark: 4395
Jan 23 15:54:05 tom1 noad[5811]: [5811] current Marks:
Jan 23 15:54:05 tom1 noad[5811]: [5811] Mark: 15 0:00:00.16 ac3 start #frames 15 duration 0:00:00
Jan 23 15:54:05 tom1 noad[5811]: [5811] current Marks end
Jan 23 15:55:17 tom1 noad[5811]: [5811] ERROR: max number of files (255) exceeded <-------------------------------
Jan 23 15:55:17 tom1 noad[5811]: noad aborted by signal Segmentation fault
Jan 23 15:55:17 tom1 noad[5811]: [bt] Execution path:
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad(_Z15show_stackframeb+0x1a) [0x41a25a]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad [0x4189df]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /lib/libc.so.6 [0x7f6d4d58dfd0]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad(_Z8scanLoopP6cMarks+0x7b3) [0x4148e3]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad(_Z12doOnlineScanP8noadDataPKcP6cMarks+0x126) [0x414fe6]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad(_Z6doNoadbPKc+0xa1) [0x418d11]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad(main+0x734) [0x4195e4]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /lib/libc.so.6(__libc_start_main+0xfd) [0x7f6d4d57aabd]
Jan 23 15:55:17 tom1 noad[5811]: [bt] /usr/bin/noad [0x409e79]
tom1:~#
y
tom
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.3 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vdr-addon-noad depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii gawk 1:3.1.6.dfsg-4 GNU awk, a pattern scanning and pr
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-9 GCC support library
ii libmpeg2-4 0.4.1-3 MPEG1 and MPEG2 video decoder libr
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii vdr 1.6.0-13ctvdr3 Video Disk Recorder for DVB cards
vdr-addon-noad recommends no packages.
vdr-addon-noad suggests no packages.
-- debconf information:
* vdr-addon-noad/auto: false
More information about the pkg-vdr-dvb-devel
mailing list