Subject: Re: kern/33733 (can't run ORBit in linux emulation mode, so firefox
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: =?ISO-8859-2?Q?M=E1ty=E1s_J=E1nos?= <jani@xeebioneurope.de>
List: netbsd-bugs
Date: 10/09/2006 21:10:05
The following reply was made to PR kern/33733; it has been noted by GNATS.
From: =?ISO-8859-2?Q?M=E1ty=E1s_J=E1nos?= <jani@xeebioneurope.de>
To: gnats-bugs@NetBSD.org
Cc: christos@zoulas.com
Subject: Re: kern/33733 (can't run ORBit in linux emulation mode, so firefox
doesn't starts)
Date: Mon, 9 Oct 2006 23:06:12 +0200
I did the following steps to reproduce the bug, maybe this helps to
fix it:
1. pkg_add firefox-bin
2. cd /usr/pkg/lib/firefox-linux
3. mv firefox-bin f
4. vi firefox-bin:
#!/bin/sh
ktrace /usr/pkg/lib/firefox-linux/f $@
5. chmod +x firefox-bin
6. cd /tmp
7. run firefox-linux
8. after 10-20 seconds, if it already doesn't loads anything, stop it
with control-c
9. kdump|less
The end of output on my machine:
4073 f NAMI "/emul/linux/tmp/gconfd-root/lock/ior"
4073 f NAMI "/tmp/gconfd-root/lock/ior"
4073 f RET open 19/0x13
4073 f CALL fstat64(0x13,0xbfbfc9dc)
4073 f RET fstat64 0
4073 f CALL old_mmap(0xbfbfc9c4)
4073 f RET old_mmap -1125650432/0xbce7f000
4073 f CALL read(0x13,0xbce7f000,0x2000)
4073 f GIO fd 19 read 601 bytes
"3492:IOR:010000001600000049444c3a436f6e666967536572766572323a312e30000000030000000054424f5
\
00000000101020005000000554e495800000000080000006b372e686f6d6500290000002f746d702f6f7262697
\
42d726f6f742f6c696e632d6461342d302d343837306539646135376162380000000000000000caaedfba54000
\
00001010200290000002f746d702f6f726269742d726f6f742f6c696e632d6461342d302d34383730653964613
\
537616238000000001c000000000000000a6ea430bc45e8a8282828282828282801000000c39f235b010000004
\
80000000100000002000000050000001c000000000000000a6ea430bc45e8a8282828282828282801000000c39
\ f235b01000000140000000100000001000105000000000901010000000000"
4073 f RET read 601/0x259
4073 f CALL read (0x13,0xbce7f000,0x2000)
4073 f GIO fd 19 read 0 bytes ""
4073 f RET read 0
4073 f CALL close(0x13)
4073 f RET close 0
4073 f CALL munmap(0xbce7f000,0x2000)
4073 f RET munmap 0
4073 f CALL socketcall(1,0xbfbfd120)
4073 f RET socketcall 19/0x13
4073 f CALL fcntl64 (0x13,4,0x800)
4073 f RET fcntl64 0
4073 f CALL fcntl64 (0x13,2,1)
4073 f RET fcntl64 0
4073 f CALL socketcall(3,0xbfbfd120)
4073 f NAMI "/tmp/orbit-root/linc-da4-0-4870e9da57ab8"
4073 f RET socketcall -1 errno -111 Connection refused
4073 f CALL close(0x13)
4073 f RET close 0
4073 f CALL socketcall(1,0xbfbfd120)
4073 f RET socketcall 19/0x13
4073 f CALL fcntl64(0x13,4,0x800)
4073 f RET fcntl64 0
4073 f CALL fcntl64(0x13,2,1)
4073 f RET fcntl64 0
4073 f CALL socketcall(3,0xbfbfd120)
4073 f NAMI "/tmp/orbit-root/linc-da4-0-4870e9da57ab8"
4073 f RET socketcall -1 errno -111 Connection refused
4073 f CALL close(0x13)
4073 f RET close 0
4073 f CALL pipe(0xbfbfd48c)
4073 f RET pipe 0, 20/0x14
4073 f CALL pipe(0xbfbfd2f4)
4073 f RET pipe 0, 22/0x16
4073 f CALL pipe(0xbfbfd2ec)
4073 f RET pipe 0, 24/0x18
4073 f CALL fork
4073 f RET fork 3130/0xc3a
4073 f CALL close(0x16)
4073 f RET close 0
4073 f CALL close(0x18)
4073 f RET close 0
4073 f CALL waitpid(0xc3a,0xbfbfd318,0)
4073 f RET waitpid 3130/0xc3a
4073 f CALL read(0x15,0xbfbfd2e4,8)
4073 f GIO fd 21 read 0 bytes
""
4073 f RET read 0
4073 f CALL read(0x17,0xbfbfd2e4,4)
4073 f GIO fd 23 read 4 bytes
" \r\0\0"
4073 f RET read 4
4073 f CALL read(0x17,0xbfbfd2e8,0)
4073 f GIO fd 23 read 0 bytes
""
4073 f RET read 0
4073 f CALL close(0x15)
4073 f RET close 0
4073 f CALL close(0x17)
4073 f RET close 0
4073 f CALL read(0x13,0xbfbfd49b,1)
4073 f RET read -1 errno -3 No such process
4073 f PSIG SIGINT SIG_DFL