dvgrab saving damaged data, unreadable files after capture from miniDV-tape

Bug #482296 reported by dacone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvgrab (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dvgrab

System:
dmesg:
Linux version 2.6.24-24-generic (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Fri Sep 18 16:49:39 UTC 2009 (Ubuntu 2.6.24-24.61-generic)
Vendor ID: "AuthenticAMD"; CPUID level 1 AMD-specific functions Version 00050ff3:
(...)
Detected 2210.316 MHz processor.
1151MB HIGHMEM available.
  896MB LOWMEM available.
(...)
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00004c0107001054]

Description: Ubuntu 8.04.3 LTS
Release: 8.04

dvgrab:
  Installiert:3.0-1
  Mögliche Pakete:3.0-1
  Versions-Tabelle:
 *** 3.0-1 0
        500 http://de.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Scenario and setup:

we have a JVC miniDV camcorder (MODEL.NO.: GR-D23E),
attached to "01:09.0 FireWire (IEEE 1394): NEC Corporation uPD72874 IEEE1394 OHCI 1.1 3-port PHY-Link Ctrlr (rev 01) (prog-if 10 [OHCI])"

when using dvgrab -i:

Found AV/C device with GUID 0x0080880304e8040a
Going interactive. Press '?' for help.
"Playing Paused" ff:ff:ff:ff "" sec
"stdout": buffer underrun near: timecode 00:00:00.00 date 1999.11.30 00:00:00
This error means that the frames could not be written fast enough.

except for the warning everything (play,pause,wind,rewind,trickykeys) everything works fine.

but the warning persists on each action.

when it comes to dumping the AV data from tape via firewire i invoke dvgrab using the following option switches:

dvgrab -a -f dv2 -opendml -showstatus streamdump

1. if invoked like this dvgrab does actually write the files, but it "randomly" writes/produces/dumps unreadable data
    we couln't find out wich format the damaged files are "file" sais "data" and neither vlc nor mplayer can read the files dumped,
    even tried with windows videoedit software.

2. dvgrab crashes after scene ends(bluescreen) and writes an error dump so stdout:
"Winding stopped" 00:02:27:05 "" sec
unuser@missinformation:~$ sudo dvgrab -a -f dv2 -t -showstatus test
Found AV/C device with GUID 0x0080880304e8040a

"": buffer underrun near: timecode 00:02:27.15 date 2001.09.03 06:39:36
This error means that the frames could not be written fast enough.
Capture Started
"test2001.09.03_06-39-37.avi": 94.47 MB 653 frames timecode 163303668:-51490816:-1280131064.159928976 date 2009.11.13 19:49:45*** stack smashing detected ***: dvgrab terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7cb3138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7cb30f0]
dvgrab[0x8053232]
dvgrab[0x80551f0]
dvgrab[0x80558b4]
dvgrab[0x8055b11]
/lib/tls/i686/cmov/libpthread.so.0[0xb7e7f4fb]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7c9ce5e]
======= Memory map: ========
08048000-08083000 r-xp 00000000 08:02 4075293 /usr/bin/dvgrab
08083000-08084000 rw-p 0003a000 08:02 4075293 /usr/bin/dvgrab
08084000-09c1e000 rw-p 08084000 00:00 0 [heap]
b04b9000-b0564000 rw-p b04b9000 00:00 0
b0564000-b0565000 ---p b0564000 00:00 0
b0565000-b0d65000 rw-p b0565000 00:00 0
b0d65000-b0de2000 rw-s 00000000 00:0e 45106 /dev/raw1394
b0de2000-b0e06000 rw-p b0de2000 00:00 0
b0e06000-b0e07000 ---p b0e06000 00:00 0
b0e07000-b7bc6000 rw-p b0e07000 00:00 0
b7bc6000-b7d0f000 r-xp 00000000 08:02 4505627 /lib/tls/i686/cmov/libc-2.7.so
b7d0f000-b7d10000 r--p 00149000 08:02 4505627 /lib/tls/i686/cmov/libc-2.7.so
b7d10000-b7d12000 rw-p 0014a000 08:02 4505627 /lib/tls/i686/cmov/libc-2.7.so
b7d12000-b7d15000 rw-p b7d12000 00:00 0
b7d15000-b7d1f000 r-xp 00000000 08:02 4374902 /lib/libgcc_s.so.1
b7d1f000-b7d20000 rw-p 0000a000 08:02 4374902 /lib/libgcc_s.so.1
b7d20000-b7e08000 r-xp 00000000 08:02 4063588 /usr/lib/libstdc++.so.6.0.9
b7e08000-b7e0b000 r--p 000e8000 08:02 4063588 /usr/lib/libstdc++.so.6.0.9
b7e0b000-b7e0d000 rw-p 000eb000 08:02 4063588 /usr/lib/libstdc++.so.6.0.9
b7e0d000-b7e13000 rw-p b7e0d000 00:00 0
b7e13000-b7e32000 r-xp 00000000 08:02 4067639 /usr/lib/libjpeg.so.62.0.0
b7e32000-b7e33000 rw-p 0001e000 08:02 4067639 /usr/lib/libjpeg.so.62.0.0
b7e33000-b7e36000 r-xp 00000000 08:02 4068446 /usr/lib/librom1394.so.0.3.0
b7e36000-b7e37000 rw-p 00002000 08:02 4068446 /usr/lib/librom1394.so.0.3.0
b7e37000-b7e3a000 r-xp 00000000 08:02 4068445 /usr/lib/libavc1394.so.0.3.0
b7e3a000-b7e3b000 rw-p 00002000 08:02 4068445 /usr/lib/libavc1394.so.0.3.0
b7e3b000-b7e3c000 rw-p b7e3b000 00:00 0
b7e3c000-b7e3e000 r-xp 00000000 08:02 4505631 /lib/tls/i686/cmov/libdl-2.7.so
b7e3e000-b7e40000 rw-p 00001000 08:02 4505631 /lib/tls/i686/cmov/libdl-2.7.so
b7e40000-b7e54000 r-xp 00000000 08:02 4063609 /usr/lib/libz.so.1.2.3.3
b7e54000-b7e55000 rw-p 00013000 08:02 4063609 /usr/lib/libz.so.1.2.3.3
b7e55000-b7e78000 r-xp 00000000 08:02 4505633 /lib/tls/i686/cmov/libm-2.7.so
b7e78000-b7e7a000 rw-p 00023000 08:02 4505633 /lib/tls/i686/cmov/libm-2.7.so
b7e7a000-b7e8e000 r-xp 00000000 08:02 4505723 /lib/tls/i686/cmov/libpthread-2.7.so
b7e8e000-b7e90000 rw-p 00013000 08:02 4505723 /lib/tls/i686/cmov/libpthread-2.7.so
b7e90000-b7e92000 rw-p b7e90000 00:00 0
b7e92000-b7f5b000 r-xp 00000000 08:02 4075291 /usr/lib/libquicktime.so.1.0.0
b7f5b000-b7f5e000 rw-p 000c9000 08:02 4075291 /usr/lib/libquicktime.so.1.0.0
b7f5e000-b7f5f000 rw-p b7f5e000 00:00 0
b7f5f000-b7f78000 r-xp 00000000 08:02 4068455 /usr/lib/libdv.so.4.0.3
b7f78000-b7f7a000 rw-p 00019000 08:02 4068455 /usr/lib/libdv.so.4.0.3
b7f7a000-b7f87000 rw-p b7f7a000 00:00 0
b7f87000-b7f93000 r-xp 00000000 08:02 4068461 /usr/lib/libiec61883.so.0.1.0
b7f93000-b7f94000 rw-p 0000b000 08:02 4068461 /usr/lib/libiec61883.so.0.1.0
b7f94000-b7f99000 r-xp 00000000 08:02 4063844 /usr/lib/libraw1394.so.8.2.0
b7f99000-b7f9a000 rw-p 00004000 08:02 4063844 /usr/lib/libraw1394.so.8.2.0
b7fad000-b7faf000 rw-p b7fad000 00:00 0
b7faf000-b7fb0000 r-xp b7faf000 00:00 0 [vdso]
b7fb0000-b7fca000 r-xp 00000000 08:02 4505642 /lib/ld-2.7.so
b7fca000-b7fcc000 rw-p 00019000 08:02 4505642 /lib/ld-2.7.so
bfdf7000-bfe0c000 rw-p bffeb000 00:00 0 [stack]
Aborted
unuser@missinformation:~$

3. "dvgrab -i" exits 1 saying: *** stack smashing detected ***: dvgrab terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c48138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7c480f0]
dvgrab[0x805452e]
dvgrab[0x8055824]
dvgrab[0x8055b11]
/lib/tls/i686/cmov/libpthread.so.0[0xb7e144fb]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7c31e5e]
======= Memory map: ========
(...)

please dont hesitate to contact me for further information.

-c11

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.