Skip to contentSkip to conversation

Sparc32/64 linux-test errors

Qemu-devel Blue Swirl 1 participant 1 message Jul 25, 2006

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

I get this error when running linux-test without any emulation on Sparc32/64:
linux-test.c:477: itimer

Strace output:
setitimer(ITIMER_REAL, {it_interval={0, 10000}, it_value={0, 10000}}, NULL) = 0 getitimer(ITIMER_REAL, {it_interval={0, 10998}, it_value={0, 10998}}) = 0
write(2, "linux-test.c:477: ", 18linux-test.c:477: ) = 18

Shouldn't the test run without errors?

Emulated Sparc32:
linux-test.c:221: No child processes (ret=-1, errno=10)

Strace output:
fork() = 24871
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x40149ff4) = 24871
mprotect(0x22000, 4096, PROT_READ|PROT_EXEC) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- mprotect(0x22000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
rt_sigreturn(0x22b80) = -2073968511
waitpid(3, 0xbfffdd7c, 0) = -1 ECHILD (No child processes)

Problem with waitpid?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/