Package: ltrace
Version: 0.5.3-2.1
Severity: important

>From what I can tell this package is totally broken on armel. I seem to 
>remember that it once worked,
but don't quote me on that.

For example, it hangs when starting a program that uses libc:

# ltrace true
__libc_start_main(36268, 1, 0xbe825844, 45056, 45052

<hang>

compared to on x86_64:

$ ltrace true
__libc_start_main(0x401090, 1, 0x7fff77b5f288, 0x4034f0, 0x403580 <unfinished 
...>
exit(0 <unfinished ...>
+++ exited (status 0) +++

strace still works:

# strace true
execve("/bin/true", ["true"], [/* 19 vars */]) = 0
brk(0)                                  = 0x27d000
uname({sys="Linux", node="plug", ...})  = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb6f8b000
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=47022, ...}) = 0
mmap2(NULL, 47022, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f5c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0XX\1\0004\0\0\0"..., 
512) = 512
lseek(3, 1211164, SEEK_SET)             = 1211164
read(3, "\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\0\0\0\0"..., 
1400) = 1400
lseek(3, 1210724, SEEK_SET)             = 1210724
read(3, "A'\0\0\0aeabi\0\1\35\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 
40) = 40
fstat64(3, {st_mode=S_IFREG|0755, st_size=1212564, ...}) = 0
mmap2(NULL, 1254688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb6e29000
mprotect(0xb6f4f000, 28672, PROT_NONE)  = 0
mmap2(0xb6f56000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x125) = 0xb6f56000
mmap2(0xb6f59000, 9504, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f59000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb6f8a000
set_tls(0xb6f8a6d0, 0xb6f8ada7, 0xb6f8ada8, 0xb6f8a6d0, 0xb6f8d000) = 0
mprotect(0xb6f56000, 8192, PROT_READ)   = 0
mprotect(0x13000, 4096, PROT_READ)      = 0
mprotect(0xb6f8c000, 4096, PROT_READ)   = 0
munmap(0xb6f5c000, 47022)               = 0
exit_group(0)                           = ?

As does:

# ltrace postsuper
+++ exited (status 0) +++


Also, when i try to attach to an already running process, I get only garbage:

#ltrace -p 13627
unexpected instruction 0xe5bcf6fc at 0xeb9c
unexpected instruction 0xe5bcf6fc at 0xeb9c

....etc...

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (101, 'unstable'), (1, 'experimental')
Architecture: armel (armv5tel)

Kernel: Linux 3.4.0-tomoyo-00006-gfd64aac (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ltrace depends on:
ii  libc6     2.13-33
ii  libelfg0  0.8.13-3em1
ii  libgcc1   1:4.7.0-11

ltrace recommends no packages.

ltrace suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to