[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc6:m68k 2.28-1



On Tue, 4 Dec 2018, John Paul Adrian Glaubitz wrote:

> On 12/3/18 8:13 AM, Finn Thain wrote:
> > The problem turns out to be dash. I got things working again by replacing 
> > /bin/sh and /bin/dash with symlinks to bash and then running
> > 'apt --fix-broken install' to finish the upgrade.
> 
> Thanks for the heads-up! I just ran into this problem with qemu-system but
> not with qemu-user. I wonder whether it's related to [1].
> 

It happens in aranym too. I tried strace,

execve("/root/dash", ["/root/dash", "-c", "/bin/echo"], ["PWD=/", 
"HOME=/", "BOOT_IMAGE=vmlinux", "TERM=linux", "SHLVL=1", 
"_=/usr/bin/strace"]) = 0

[...]

get_thread_area()                       = 0xc0022490
get_thread_area()                       = 0xc0022490
get_thread_area()                       = 0xc0022490
get_thread_area()                       = 0xc0022490
get_thread_area()                       = 0xc0022490
get_thread_area()                       = 0xc0022490
get_thread_area()                       = 0xc0022490
clone(child_stack=NULL, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=NULL) = 415
wait4(-1, 
0xefdaba3e, 0, NULL)          = -1 ECHILD (No child processes)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=415, si_uid=0, 
si_status=0, si_utime=0, si_stime=2} ---
rt_sigreturn({mask=[]})                 = -1 ECHILD (No child processes)
get_thread_area()                       = 0xc0022490
wait4(-1, 0xefdaba3e, 0, NULL)          = -1 ECHILD (No child processes)
get_thread_area()                       = 0xc0022490
wait4(-1, 0xefdaba3e, 0, NULL)          = -1 ECHILD (No child processes)
get_thread_area()                       = 0xc0022490
wait4(-1, 0xefdaba3e, 0, NULL)          = -1 ECHILD (No child processes)
get_thread_area()                       = 0xc0022490
wait4(-1, 0xefdaba3e, 0, NULL)          = -1 ECHILD (No child processes)

The last two lines loop indefinitely, and dash never teminates, even 
though the child process has terminated already (SIGCHLD can be seen 
above).

-- 

> Adrian
> 
> > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903514
> 
> 


Reply to: