program stuck at "read"
Mahmood Naderan
nt_mahmood at yahoo.com
Sat Apr 14 12:49:23 UTC 2012
Dear all developers,
I use strace to see what is wrong with my binary files. The command I use is:
strace -o out <bin file>
The output file contains:
execve("./leslie3d_base.amd64-m64-gcc44-nn", ["./leslie3d_base.amd64-m64-gcc44-"...], [/* 38 vars */]) = 0
uname({sys="Linux", node="orca", ...}) = 0
brk(0) = 0x16e5000
brk(0x16e6180) = 0x16e6180
arch_prctl(ARCH_SET_FS, 0x16e5860) = 0
brk(0x1707180) = 0x1707180
brk(0x1708000) = 0x1708000
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
getcwd("/home/spec-cpu2006-x86_64/benchspec/CPU2006/437.leslie3d/exe", 4096) = 69
read(0,
Problem is the program stuck at the last line and the process is lost. I mean, on another terminal, ps command doesn't show this process.
What is the problem?
// Naderan *Mahmood;
More information about the Strace-devel
mailing list