I can confirm this bug.

(gdb) run  if=/dev/hdc of=/tmp.dvd.iso bs=2048 conv=noerror,sync,fsync,fdatasync
Starting program: /tmp/coreutils-5.93/coreutils-5.93/src/dd if=/dev/hdc 
of=/tmp/dvd.iso bs=2048 conv=noerror,sync,fsync,fdatasync
[Thread debugging using libthread_db enabled]
[New Thread -1209678144 (LWP 7728)]
[Switching to Thread -1209678144 (LWP 7728)]

/tmp/coreutils-5.93/coreutils-5.93/src/dd: reading `/dev/hdc': Input/output 
error
445462+0 records in
445462+0 records out

Program received signal SIGSEGV, Segmentation fault.
0xb7eda2a3 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7eda2a3 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7eae2e4 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7eaad7c in cuserid () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7eaafbb in vfprintf () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7eb36af in fprintf () from /lib/tls/i686/cmov/libc.so.6
#5  0x080497b2 in print_stats () at dd.c:553
#6  0x0804ac14 in dd_copy () at dd.c:1435
#7  0x0804b3ee in main (argc=5, argv=0xbfbcedc4) at dd.c:1691
(gdb)

Also see Jon Grant's mail to bug-coreutils.
http://www.mail-archive.com/bug-coreutils@gnu.org/msg07689.html

He's also using Ubuntu, coreutils 5.97 and gets exactly the same dd bug.

-- 
dd segv's unless status=noxfer flag used
https://launchpad.net/bugs/59624

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to