Bug#433187: 433187: not fixed completely
Hi,
after applying 179c85ea53bef807621f335767e41e23f86f01df building
packages using libc6 from Lenny is possible again, but there's still a
broken behaviour:
>From stracing aptitude:
libc6 from Etch:
2129 write(1, "\rBuilding tag database... Done\r", 31) = 31
2129 write(1, "\n", 1) = 1
2129 munmap(0xf6f68000, 532480) = 0
2129 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024,
rlim_max=RLIM_INFINITY}) = 0
2129 pipe([13, 14]) = 13
2129 clone(child_stack=0x77c5c0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND) = 2191
2129 rt_sigprocmask(SIG_SETMASK, ~[TRAP RT_1], NULL, 8) = 0
2129 read(13,
The straced aptitude stops working here, the process must be killed with
-9, same for it's childs. On an Ultrasparc II machine aptitude (seems
to) work(s) well without the strace, our Ultrasparc III machine freezes
if you run aptitude without strace, but only if you have used su/sudo to
become root or you're runnign it within a vserver
libc6 from lenny, same kernel:
7084 write(1, "\rBuilding tag database... Done\r", 31) = 31
7084 write(1, "\n", 1) = 1
7084 munmap(0xf679c000, 1056768) = 0
7084 mmap(NULL, 8388608, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6120000
7084 mprotect(0xf6120000, 8192, PROT_NONE) = 0
7084 clone(child_stack=0xf691f470,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE
_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0xf691fbd8, tls=0xf691fb90, child_tidptr=0xf691fbd8) =
7085
7084 SYS_300(0xf691fbe0, 0xc, 0, 0, 0xf691fdf4) = 0
7084 futex(0x200, FUTEX_WAIT, 1, NULL <unfinished ...>
7084 +++ killed by SIGABRT +++
*** glibc detected *** aptitude: double free or corruption (fasttop):
0x0041ca28 ***
aptitude doesn't die badly anymore except for the double free if you
strace it. We got a few 'bus errors', though.
amd64 (libc6/lenny) - to compare with the output from above:
10796 write(1, "\rBuilding tag database... Done\r", 31) = 31
10796 write(1, "\n", 1) = 1
10796 clone(child_stack=0x40800250,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x408009e0, tls=0x40800950, child_tidptr=0x408009e0) = 10807
10796 brk(0x1d4b000) = 0x1d4b000
10807 set_robust_list(0x408009f0, 0x18) = 0
10807 futex(0x1484c7c, FUTEX_WAIT, 1, NULL <unfinished ...>
10796 futex(0x1484c7c, 0x4 /* FUTEX_??? */, 1) = 1
10807 <... futex resumed> ) = 0
10807 futex(0x1484c50, FUTEX_WAKE, 1) = 0
10807 futex(0x1484c7c, FUTEX_WAIT, 3, NULL <unfinished ...>
10796 exit_group(0) = ?
10807 <... futex resumed> ) = ? ERESTARTSYS (To be restarted)
aptitude works well here, with and without strace.
--
Bernd Zeimetz
<bernd@bzed.de> <http://bzed.de/>
Reply to: