Comment 3 for bug 943539

I looked at the stacktraces in that file above and the behavior is odd. The failure is actually in w3m, which appears to be horrible broken:

root@caprica:~# w3m
Absurd stack bottom value
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)

It appears that w3m is calling futex and is being told "not implemented":

root@caprica:~# qemu-arm-static -strace /usr/bin/w3m
9923 brk(NULL) = 0x00114000
9923 uname(0x40800058) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x40820000
9923 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
9923 open("/etc/ld.so.cache",O_RDONLY) = 5
9923 fstat64(5,0x407ffc58) = 0
9923 mmap2(NULL,10077,PROT_READ,MAP_PRIVATE,5,0) = 0x40821000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libm.so.6",O_RDONLY) = 5
9923 read(5,0x407ffd74,512) = 512
9923 fstat64(5,0x407ffc90) = 0
9923 mmap2(NULL,438440,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40824000
9923 mprotect(0x40887000,28672,PROT_NONE) = 0
9923 mmap2(0x4088e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x62) = 0x4088e000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libnsl.so.1",O_RDONLY) = 5
9923 read(5,0x407ffd5c,512) = 512
9923 fstat64(5,0x407ffc78) = 0
9923 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x40890000
9923 mmap2(NULL,100104,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40891000
9923 mprotect(0x4089f000,28672,PROT_NONE) = 0
9923 mmap2(0x408a6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0xd) = 0x408a6000
9923 mmap2(0x408a8000,5896,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x408a8000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libdl.so.2",O_RDONLY) = 5
9923 read(5,0x407ffd44,512) = 512
9923 fstat64(5,0x407ffc60) = 0
9923 mmap2(NULL,41136,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x408aa000
9923 mprotect(0x408ac000,28672,PROT_NONE) = 0
9923 mmap2(0x408b3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x1) = 0x408b3000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/usr/lib/libgc.so.1",O_RDONLY) = 5
9923 read(5,0x407ffd2c,512) = 512
9923 fstat64(5,0x407ffc48) = 0
9923 mmap2(NULL,178364,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x408b5000
9923 mprotect(0x408cc000,28672,PROT_NONE) = 0
9923 mmap2(0x408d3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x16) = 0x408d3000
9923 mmap2(0x408d5000,47292,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x408d5000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libssl.so.0.9.8",O_RDONLY) = 5
9923 read(5,0x407ffd14,512) = 512
9923 fstat64(5,0x407ffc30) = 0
9923 mmap2(NULL,211980,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x408e1000
9923 mmap2(0x40911000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x30) = 0x40911000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libcrypto.so.0.9.8",O_RDONLY) = 5
9923 read(5,0x407ffcfc,512) = 512
9923 fstat64(5,0x407ffc18) = 0
9923 mmap2(NULL,1054024,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40915000
9923 mprotect(0x409f6000,32768,PROT_NONE) = 0
9923 mmap2(0x409fe000,90112,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0xe1) = 0x409fe000
9923 mmap2(0x40a14000,9544,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x40a14000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/usr/lib/libgpm.so.2",O_RDONLY) = 5
9923 read(5,0x407ffce4,512) = 512
9923 fstat64(5,0x407ffc00) = 0
9923 mmap2(NULL,50300,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40a17000
9923 mprotect(0x40a1b000,28672,PROT_NONE) = 0
9923 mmap2(0x40a22000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x3) = 0x40a22000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libncurses.so.5",O_RDONLY) = 5
9923 read(5,0x407ffccc,512) = 512
9923 fstat64(5,0x407ffbe8) = 0
9923 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x40a24000
9923 mmap2(NULL,207140,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40a25000
9923 mprotect(0x40a4e000,28672,PROT_NONE) = 0
9923 mmap2(0x40a55000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x28) = 0x40a55000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libgcc_s.so.1",O_RDONLY) = 5
9923 read(5,0x407ffcb4,512) = 512
9923 fstat64(5,0x407ffbd0) = 0
9923 mmap2(NULL,69908,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40a58000
9923 mprotect(0x40a61000,28672,PROT_NONE) = 0
9923 mmap2(0x40a68000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x8) = 0x40a68000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libc.so.6",O_RDONLY) = 5
9923 read(5,0x407ffc9c,512) = 512
9923 fstat64(5,0x407ffbb8) = 0
9923 mmap2(NULL,955668,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40a6a000
9923 mprotect(0x40b46000,32768,PROT_NONE) = 0
9923 mmap2(0x40b4e000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0xdc) = 0x40b4e000
9923 mmap2(0x40b51000,9492,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x40b51000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libpthread.so.0",O_RDONLY) = 5
9923 read(5,0x407ffa34,512) = 512
9923 fstat64(5,0x407ff950) = 0
9923 mmap2(NULL,111136,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40b54000
9923 mprotect(0x40b65000,28672,PROT_NONE) = 0
9923 mmap2(0x40b6c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0x10) = 0x40b6c000
9923 mmap2(0x40b6e000,4640,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x40b6e000
9923 close(5) = 0
9923 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory)
9923 open("/lib/libz.so.1",O_RDONLY) = 5
9923 read(5,0x407ff984,512) = 512
9923 fstat64(5,0x407ff8a0) = 0
9923 mmap2(NULL,94524,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,5,0) = 0x40b70000
9923 mprotect(0x40b7f000,28672,PROT_NONE) = 0
9923 mmap2(0x40b86000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,5,0xe) = 0x40b86000
9923 close(5) = 0
9923 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x40b88000
9923 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x40b89000
9923 mprotect(0x40b86000,4096,PROT_READ) = 0
9923 mprotect(0x40b6c000,4096,PROT_READ) = 0
9923 mprotect(0x40b4e000,8192,PROT_READ) = 0
9923 mprotect(0x40a68000,4096,PROT_READ) = 0
9923 mprotect(0x40a55000,8192,PROT_READ) = 0
9923 mprotect(0x40a22000,4096,PROT_READ) = 0
9923 mprotect(0x409fe000,24576,PROT_READ) = 0
9923 mprotect(0x40911000,4096,PROT_READ) = 0
9923 mprotect(0x408d3000,4096,PROT_READ) = 0
9923 mprotect(0x408b3000,4096,PROT_READ) = 0
9923 mprotect(0x408a6000,4096,PROT_READ) = 0
9923 mprotect(0x4088e000,4096,PROT_READ) = 0
9923 mprotect(0x00069000,4096,PROT_READ) = 0
9923 mprotect(0x4081e000,4096,PROT_READ) = 0
9923 munmap(0x40821000,10077) = 0
9923 set_tid_address(1085835496,1082132060,256,1085836608,1,1085722624) = 9923
9923 set_robust_list(1085835504,12,-20,338,1,1085722624) = -1 errno=38 (Function not implemented)
9923 futex(0x408005e4,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,1,0x000000f0,0x00000001,1) = 0
9923 futex(0x408005e4,FUTEX_PRIVATE_FLAG|265,1,NULL,NULL,0) = -1 errno=38 (Function not implemented)
9923 rt_sigaction(320x40800494,NULL) = 0
9923 rt_sigaction(330x40800494,NULL) = -1 errno=22 (Invalid argument)
9923 rt_sigprocmask(SIG_UNBLOCK,0x40800548,NULL) = 0
9923 ugetrlimit(3,1082131920,109,191,1744,1085722624) = 0
9923 brk(NULL) = 0x00114000
9923 brk(0x00135000) = 0x00135000
9923 rt_sigaction(300x40800274,NULL) = 0
9923 rt_sigaction(240x40800274,NULL) = 0
9923 open("/proc/stat",O_RDONLY) = 5
9923 read(5,0x407ff3ac,4096) = 1943
9923 close(5) = 0
9923 open("/proc/self/stat",O_RDONLY) = 5
9923 read(5,0x407ff3d4,4096) = 233
9923 close(5) = 0
9923 brk(0x00145000) = 0x00145000
9923 brk(0x00155000) = 0x00155000
9923 brk(0x00165000) = 0x00165000
qemu: uncaught target signal 11 (Segmentation fault) - core dumped