Message ID | 20161121164013.8062.14361.malonedeb@soybean.canonical.com |
---|---|
State | New |
Headers | show |
I also notice fd_trans_unregister does not appear in the socketcall implementation which seems like an oversight.
Strace jessie mips groupadd. ** Attachment added: "jessie_mips_groupadd.strace" https://bugs.launchpad.net/qemu/+bug/1643619/+attachment/4783716/+files/jessie_mips_groupadd.strace
Patch applied by James works for me as well. Dropping a qemu-user static binary from Debian qemu 2.1 into the mips chroot can also be used as workaround.
This has been fixed by 40493c5f2b0f124c9b2581e539bba14522e51269, which is exactly the same diff as given here. ** Changed in: qemu Status: New => Fix Committed
** Changed in: qemu Status: Fix Committed => Fix Released
--- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -9331,7 +9331,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, #ifdef TARGET_NR_socket case TARGET_NR_socket: ret = do_socket(arg1, arg2, arg3); - fd_trans_unregister(ret); break; #endif #ifdef TARGET_NR_socketpair