From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 13 15:38:06 2003 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 912CF37B401 for ; Fri, 13 Jun 2003 15:38:06 -0700 (PDT) Received: from gandalf.midgard.liu.se (gandalf.midgard.liu.se [130.236.244.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C7B943F75 for ; Fri, 13 Jun 2003 15:38:05 -0700 (PDT) (envelope-from n96andha@midgard.liu.se) Received: from gandalf (gandalf [130.236.244.6])h5DMc0OK021521 for ; Sat, 14 Jun 2003 00:38:03 +0200 (CEST) (envelope-from n96andha@midgard.liu.se) Date: Sat, 14 Jun 2003 00:38:00 +0200 (CEST) From: Nils Andreas Hakansson To: freebsd-emulation@freebsd.org Message-ID: <20030613235223.R20893@gandalf.midgard.liu.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Subject: nsrexecd core dumps X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 22:38:06 -0000 Linux version 6.0.1 and 6.1.3 of nsrexecd dies with a segmentation fault on FreeBSD 5.1-RELEASE. The application works on FreeBSD 4.8-RELEASE. I've tried all linux_base variants from ports with the same result. After creating a linux_nosys that doesn't send a SIGSYS on 5.1-RELEASE I was able to upgrade linux_base-debian to sid (libc-2.3.1.so). So all in all I've tried with libc-2.1.3.so libc-2.2.5.so libc-2.3.1.so with a segmentation fault at the sameplace. The application dies at the same address (check with gdb). Ktrace is identical up to the SIGSEGV. On 4.8 the application continues after linux_getrlimit by closing file descriptors (prepareing to fork). There is no access to proc. Assistance and suggestions are appreciated. I think it has something to do with the elf_loader or possibly the stacksegment but I don't know howto debug those things. From=20gdb: #0 0x080b1c05 in __lgto_xdr_rmtcallres () #1 0x080a6d51 in __lgto_xdr_rmtcallres () #2 0x080a6dc6 in __lgto_xdr_rmtcallres () #3 0x08055e8b in svcexec_parms () #4 0x2813614f in ?? () From=20ktrace (read with linux_kdump): 20965 nsrexecd CALL getegid 20965 nsrexecd RET getegid 0 20965 nsrexecd CALL linux_getpid 20965 nsrexecd RET linux_getpid 20965/0x51e5 20965 nsrexecd CALL geteuid 20965 nsrexecd RET geteuid 0 20965 nsrexecd CALL linux_getrlimit(0x7,0xbfbffa90) 20965 nsrexecd RET linux_getrlimit 0 20965 nsrexecd PSIG SIGSEGV SIG_DFL By the way using nwclient602 from ports is not an option. /Andreas H=E5kansson