dd segv's unless status=noxfer flag used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: coreutils
# dpkg -s coreutils
Package: coreutils
Essential: yes
Status: install ok installed
Priority: required
Section: utils
Installed-Size: 8228
Maintainer: Michael Stone <email address hidden>
Architecture: i386
Version: 5.93-5ubuntu4
# ls -l /tmp/index ; strace dd if=/tmp/index of=/tmp/index1 bs=10k ; ls -l /tmp/index1 ; cmp -l /tmp/index /tmp/index1
-rw-r--r-- 1 jc jc 10240 2006-09-09 10:11 /tmp/index
execve("/bin/dd", ["dd", "if=/tmp/index", "of=/tmp/index1", "bs=10k"], [/* 34 vars */]) = 0
uname({sys="Linux", node="icebox", ...}) = 0
brk(0) = 0x8052000
old_mmap(NULL, 4096, PROT_READ|
access(
old_mmap(NULL, 4096, PROT_READ|
access(
old_mmap(NULL, 4096, PROT_READ|
open("/
fstat64(3, {st_mode=
old_mmap(NULL, 46187, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f06000
close(3) = 0
access(
open("/
read(3, "\177ELF\
old_mmap(NULL, 30888, PROT_READ|
old_mmap(
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
old_mmap(NULL, 1238972, PROT_READ|
old_mmap(
old_mmap(
close(3) = 0
access(
open("/
read(3, "\177ELF\
old_mmap(NULL, 71064, PROT_READ|
old_mmap(
old_mmap(
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|
set_thread_
munmap(0xb7f06000, 46187) = 0
set_tid_
rt_sigaction(
rt_sigaction(
rt_sigprocmask(
getrlimit(
_sysctl({{CTL_KERN, KERN_VERSION, 0, 20ac9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbfd286fc, 38, (nil), 0}) = 0
brk(0) = 0x8052000
brk(0x8073000) = 0x8073000
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 4096, PROT_READ|
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f11000, 4096) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 366, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f11000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 4096, PROT_READ|
read(3, "# GNU libc iconv configuration.
read(3, "lias\tJS/
read(3, "ule\tINTERNAL\
read(3, "lias\tISO-
read(3, "\t\tto\
read(3, "ule\t\
read(3, "lias\tCP864/
read(3, "module\
read(3, "\tEUC-
read(3, "module\
read(3, "-BOX//
read(3, "module\
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f10000, 4096) = 0
futex(0xb7efac4c, FUTEX_WAKE, 2147483647) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f10000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 56, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0f000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 127, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0e000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0d000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0c000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
close(3) = 0
open("/
fstat64(3, {st_mode=
mmap2(NULL, 52, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0b000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 290, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0a000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 880086, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ce5000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 2451, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f09000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f08000
close(3) = 0
open("/
open("/
fstat64(3, {st_mode=
mmap2(NULL, 208464, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7cb2000
close(3) = 0
close(0) = 0
open("/tmp/index", O_RDONLY|
_llseek(0, 0, [0], SEEK_CUR) = 0
close(1) = 0
open("/tmp/index1", O_WRONLY|
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
read(0, "Tape label for Sat Sep 9 01:26:"..., 10240) = 10240
write(1, "Tape label for Sat Sep 9 01:26:"..., 10240) = 10240
read(0, "", 10240) = 0
close(0) = 0
close(1) = 0
clock_gettime(
open("/
open("/
open("/
fstat64(0, {st_mode=
mmap2(NULL, 239094, PROT_READ, MAP_PRIVATE, 0, 0) = 0xb7c77000
close(0) = 0
open("/
open("/
open("/
write(2, "1+0 records in\n1+0 records out\n", 311+0 records in
1+0 records out
) = 31
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
-rw-r--r-- 1 root root 10240 2006-09-09 10:47 /tmp/index1
# env | grep LANG
LANG=en_GB.UTF-8
LANGUAGE=
Changed in coreutils: | |
status: | Needs Info → Confirmed |
Thanks for reporting this. Can you please get a backtrace with debug symbols? http:// wiki.ubuntu. com/DebuggingPr ogramCrash describes how this can be done.