From owner-freebsd-emulation Fri Feb 19 10:37: 7 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from nebraska.utcorp.com (unknown [146.145.135.14]) by hub.freebsd.org (Postfix) with ESMTP id 95843114D1 for ; Fri, 19 Feb 1999 10:37:01 -0800 (PST) (envelope-from kseel@utcorp.com) Received: from utcorp.com (x-kspc.utcorp.com [146.145.135.17]) by nebraska.utcorp.com (8.8.5/8.8.5) with ESMTP id SAA05383 for ; Fri, 19 Feb 1999 18:17:26 -0500 (EST) Message-ID: <36CDAF76.AD7148D0@utcorp.com> Date: Fri, 19 Feb 1999 13:37:43 -0500 From: User Kseel X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: emulation@freebsd.org Subject: Re: glibc2? References: <36CC7204.A152046C@utcorp.com> <36CC841C.3487D111@scc.nl> <36CD7298.ADBDD89C@utcorp.com> <36CD8524.891E3A61@scc.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar wrote: > User Kseel wrote: > > > > > I am trying to run scriptics tclpro for linux under the linux emulator > > > > and I get core dumps. > > > > > It's a 2.2.7 system with the linux emulation emulation package installed. > > What other details should I get? I really don't understand the particulars > > of the linux emulator, I know there is a redirected file heirarchy > > (/compat/linux). > > I also know that I am running a linux version of wordperfect, flawlessly > > (so far). > > There is one situation I know of that could cause coredumps on 2.2.7 and 3.0 > systems. It has to do with using the setgroups and getgroups system call. You > can ktrace tclpro and see, by using linux_kdump from the ports collection, > whether tclpro uses getgroups/setgroups. > > marcel What might this indicate? 11746 pwlin CALL mprotect(0x28249000,0x8e44,0x7) 11746 pwlin RET mprotect 0 11746 pwlin CALL linux_open(0xefbfd71c,0,0) 11746 pwlin NAMI "/compat/linux/usr/lib/libc.so.6" 11746 pwlin NAMI "/usr/lib/libc.so.6" 11746 pwlin RET linux_open JUSTRETURN 11746 pwlin CALL linux_open(0xefbfd71c,0,0) 11746 pwlin NAMI "/compat/linux/usr/lib/ld-linux.so.2" 11746 pwlin NAMI "/usr/lib/ld-linux.so.2" 11746 pwlin RET linux_open JUSTRETURN 11746 pwlin CALL linux_open(0xefbfd71c,0,0) 11746 pwlin NAMI "/compat/linux/usr/lib/libc.so.6" 11746 pwlin NAMI "/usr/lib/libc.so.6" 11746 pwlin RET linux_open JUSTRETURN 11746 pwlin CALL linux_open(0xefbfd71c,0,0) 11746 pwlin NAMI "/compat/linux/usr/lib/ld-linux.so.2" 11746 pwlin NAMI "/usr/lib/ld-linux.so.2" 11746 pwlin RET linux_open JUSTRETURN 11746 pwlin CALL munmap(0x2810a000,0x1371) 11746 pwlin RET munmap 0 11746 pwlin CALL mprotect(0x8048000,0xc0ecf,0x5) 11746 pwlin RET mprotect 0 11746 pwlin CALL mprotect(0x2810c000,0x12e8,0x5) 11746 pwlin RET mprotect 0 11746 pwlin CALL mprotect(0x2810f000,0x1742f,0x5) 11746 pwlin RET mprotect 0 11746 pwlin CALL mprotect(0x28128000,0x771e5,0x5) 11746 pwlin RET mprotect 0 11746 pwlin CALL mprotect(0x281a5000,0x9046d,0x5) 11746 pwlin RET mprotect 0 11746 pwlin CALL mprotect(0x28249000,0x8e44,0x5) 11746 pwlin RET mprotect 0 11746 pwlin CALL getpid 11746 pwlin RET getpid 11746/0x2de2 11746 pwlin PSIG SIGSEGV SIG_DFL 11746 pwlin NAMI "pwlin.core" -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message