Jimbythemonkey n00b
Joined: 19 Jun 2002 Posts: 8 Location: Poughkeepsie NY
|
Posted: Tue Jul 30, 2002 8:23 pm Post subject: libsandbox hanging? |
|
|
well it seems that once bootstrap starts, and it recompile bash gcc and python it just hangs so i did and strace on bootstrap.sh here is the last few
linesrt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], = 0
_llseek(255, -1609, [1389], SEEK_CUR) = 0
fork() = 6386
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigaction(SIGCHLD, {0x42e5dc, [], 0}, {0x42e5dc, [], 0}, = 0
close(4) = 0
read(3,
looks like it wants to read something. also python hangs too check this out :
getpid() = 6388
rt_sigaction(SIGRT_0, {0x4002ef90, [], 0}, NULL, = 0
rt_sigaction(SIGRT_1, {0x4002eea4, [], 0}, NULL, = 0
rt_sigaction(SIGRT_2, {0x4002efe4, [], 0}, NULL, = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7ffff628, 36, (nil), 0}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(0) = 0x4d0d10
brk(0x4d0d40) = 0x4d0d40
brk(0x4d1000) = 0x4d1000
brk(0x4d2000) = 0x4d2000
brk(0x4d3000) = 0x4d3000
rt_sigprocmask(SIG_SETMASK, NULL, [RT_0], = 0
rt_sigsuspend([]
it seems that now sleep does not return either :
getpid() = 6390
rt_sigaction(SIGRT_0, {0x401f6f90, [], 0}, NULL, = 0
rt_sigaction(SIGRT_1, {0x401f6ea4, [], 0}, NULL, = 0
rt_sigaction(SIGRT_2, {0x401f6fe4, [], 0}, NULL, = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7ffff638, 36, (nil), 0}) = 0
gettimeofday({1028062953, 173035}, NULL) = 0
brk(0) = 0x404108
brk(0x404138) = 0x404138
brk(0x405000) = 0x405000
rt_sigprocmask(SIG_SETMASK, NULL, [RT_0], = 0
rt_sigsuspend([]
notice anything strage? it seems that the sigsuspend never returns. is this overwrriten in libsandbox? i couldnt figure it out am i over looking something? |
|