On Wed, 6 Oct 2010 14:52:35 +0300, Peter Pentchev <[email protected]>
wrote:
> Ah.  Now I have a suspicion... low-probability, but who knows.
> Once more, please? :)  Sorry if I'm bothering you too much

Don't worry, I'm pleased to help solve bugs! Thank you for *your* work, by
the way ;-)


> So... can you build this one - without hardening would be enough?

# ./dma-migrate -v
RDBG 001 before srandom()
RDBG 002 before getopt()
RDBG 002v
Internal problem: unexpected getopt() return value: 255

# strace ./dma-migrate -v
execve("./dma-migrate", ["./dma-migrate", "-v"], [/* 26 vars */]) = 0
brk(0)                                  = 0x100ce000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x48020000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=22107, ...}) = 0
mmap(NULL, 22107, PROT_READ, MAP_PRIVATE, 3, 0) = 0x48023000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3,
"\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\370\340\0\0\0004"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1503336, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x48029000
mmap(0xfe6f000, 1574172, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xfe6f000
mprotect(0xffd8000, 65536, PROT_NONE)   = 0
mmap(0xffe8000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x169000) = 0xffe8000
mmap(0xffed000, 9500, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffed000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4802a000
mprotect(0xffe8000, 16384, PROT_READ)   = 0
mprotect(0x48021000, 4096, PROT_READ)   = 0
munmap(0x48023000, 22107)               = 0
write(2, "RDBG 001 before srandom()\n", 26RDBG 001 before srandom()
) = 26
time(NULL)                              = 1286368149
getpid()                                = 1359
write(2, "RDBG 002 before getopt()\n", 25RDBG 002 before getopt()
) = 25
write(2, "RDBG 002v\n", 10RDBG 002v
)             = 10
write(2, "Internal problem: unexpected get"..., 56Internal problem:
unexpected getopt() return value: 255
) = 56
exit_group(1)                           = ?

Sounds like a progress…

  Matteo



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to