Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2007 13:16:52 -0400 (EDT)
From:      "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>
To:        freebsd-emulation@freebsd.org
Subject:   Re: Signal 12 on simple ldd / Linux
Message-ID:  <200709271716.l8RHGqK5019085@himinbjorg.tucs-beachin-obx-house.com>
In-Reply-To: <200709271700.l8RH0gtu018698@himinbjorg.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 82825: linux_open("/lib/libgcc_s.so.1",0x0,027757762100) = 3 (0x3)
> 82825: read(0x3,0xbfbfe3a0,0x200)                = 512 (0x200)
> 82825: linux_fstat64(0x3,0xbfbfe2d0,0x28153fc4)  = 0 (0x0)
> 82825: linux_mmap(0xbfbfe1a0)                    = 675069952 (0x283cc000)
> 82825: linux_mmap(0xbfbfe1a0)                    = 675106816 (0x283d5000)
> 82825: close(3)                                  = 0 (0x0)
> 82825: linux_mmap(0xbfbfe78c)                    = 675110912 (0x283d6000)
> 82825: linux_mmap(0xbfbfe82c)                    = 675115008 (0x283d7000)
> 82825: #243()                                    ERR#78 'Function not implemente
> d'
> SIGNAL 12 (SIGSYS)
> SIGNAL 12 (SIGSYS)
> Process stopped because of:  16
> process exit, rval = 140
> Bad system call
> 
On a working system, I get :

19038: linux_open("/lib/libgcc_s.so.1",0x0,027757762100) = 3 (0x3)^M
19038: read(0x3,0xbfbfe3a0,0x200)                = 512 (0x200)^M
19038: linux_fstat64(0x3,0xbfbfe2d0,0x28153fc4)  = 0 (0x0)^M
19038: linux_mmap(0xbfbfe1a0)                    = 675074048 (0x283cd000)^M
19038: linux_mmap(0xbfbfe1a0)                    = 675110912 (0x283d6000)^M
19038: close(3)                                  = 0 (0x0)^M
19038: linux_mmap(0xbfbfe78c)                    = 675115008 (0x283d7000)^M
19038: linux_mmap(0xbfbfe82c)                    = 675119104 (0x283d8000)^M
19038: #243()                                    ERR#78 'Function not implemente
d'^M
19038: linux_modify_ldt(0x1,0xbfbfe8ac,0x10)     = 0 (0x0)^M
19038: mprotect(0x283c7000,8192,(0x1)PROT_READ)  = 0 (0x0)^M
19038: mprotect(0x2826a000,4096,(0x1)PROT_READ)  = 0 (0x0)^M
19038: mprotect(0x28259000,4096,(0x1)PROT_READ)  = 0 (0x0)^M
19038: mprotect(0x28153000,4096,(0x1)PROT_READ)  = 0 (0x0)^M
19038: munmap(0x28155000,0x2c9b)                 = 0 (0x0)^M
19038: linux_getrlimit(0x3,0xbfbfe99c)           = 0 (0x0)^M
19038: linux_setrlimit(0x3,0xbfbfe99c)           = 0 (0x0)^M
19038: linux_getpid()                            = 19038 (0x4a5e)^M
	(etc)


	Was it the "#243" that killed it, or "linux_modify_ldt"?

			Thanks, Tuc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709271716.l8RHGqK5019085>