From owner-freebsd-emulation Thu Dec 6 15:39:16 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from viruswall.ccf.swri.edu (webshld-in.ccf.swri.edu [129.162.1.34]) by hub.freebsd.org (Postfix) with ESMTP id 29A6C37B417 for ; Thu, 6 Dec 2001 15:39:12 -0800 (PST) Received: from swri.org (localhost [127.0.0.1]) by viruswall.ccf.swri.edu (8.10.2+Sun/8.10.2) with ESMTP id fB6NdAU25862 for ; Thu, 6 Dec 2001 17:39:11 -0600 (CST) Message-ID: <3C100184.12C988C8@swri.org> Date: Thu, 06 Dec 2001 17:38:44 -0600 From: Chris Smith Organization: Southwest Research Institute X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Matlab 12.1 on 4.4-stable Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I've read a several postings in the archives on this issue, but have not seen a solution. I have installed the linux version of Matlab 12.1 under 4.4 stable. The problem i am seeing is that matlab cannot exit. It seems to leave several threads in limbo. cbspc% sysctl -a | grep linux compat.linux.osname: Linux compat.linux.osrelease: 2.2.12 compat.linux.oss_version: 198144 cbspc% uname -a FreeBSD cbspc.electro.swri.edu 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 16 13:42:59 CDT 2001 csmith@cbspc.electro.swri.edu:/usr/obj/usr/src/sys/CBSPC i386 >> version (--matlab--) ans = 6.1.0.450 (R12.1) There was some mention of the unix() and ! commands in the previous postings, both of which work fine for me. I also do not see any errors concerning the non-existant /dev/ptmx device. As far as I can tell the only problem i have is that it does not clean up after itself on a quit (i have not stressed it too much). The kdump is massive, but some of the notable errors that are repeated frequently at the end of the dump are: 83387 matlab RET old.gethostid -1 errno -4 Unknown error: -4 83387 matlab CALL exit(0) 83376 matlab PSIG SIG(null) caught handler=0x28c947ac mask=0xeffef6af code=0xfffffffe 83376 matlab RET kill 0 83376 matlab CALL #119(0x8199350) 83376 matlab RET #119 JUSTRETURN 83376 matlab CALL kill(0x145ba,0x21) 83386 matlab PSIG SIG(null) caught handler=0x28c947ac mask=0x8020006 code=0x0 83386 matlab RET getdomainname -1 errno -4 Unknown error: -4 83386 matlab CALL exit(0) 83376 matlab PSIG SIG(null) caught handler=0x28c947ac mask=0xeffef6af code=0xfffffffe ... 83381 matlab RET #168 -1 errno -4 Unknown error: -4 83381 matlab CALL exit(0) 83376 matlab PSIG SIG(null) caught handler=0x28c947ac mask=0xeffef6af code=0xfffffffe 83376 matlab RET kill 0 83376 matlab CALL #119(0x8199350) 83376 matlab RET #119 JUSTRETURN 83376 matlab CALL kill(0x145b4,0x21) 83380 matlab PSIG SIG(null) caught handler=0x28c947ac mask=0x88020006 code=0x0 83380 matlab RET #179 -1 errno -4 Unknown error: -4 83380 matlab CALL exit(0) 83376 matlab PSIG SIG(null) caught handler=0x28c947ac mask=0xeffef6af code=0xfffffffe ... 83376 matlab CALL old.sendmsg(0x145b1,0,0x80000000,0) 83376 matlab RET old.sendmsg 83377/0x145b1 83376 matlab CALL kill(0x1452f,0x20) 83247 matlab PSIG SIG(null) caught handler=0x28c94e10 mask=0x80000000 code=0x0 83247 matlab RET #179 -1 errno -4 Unknown error: -4 83247 matlab CALL #119(0xbfbfa750) 83247 matlab RET #119 JUSTRETURN 83247 matlab CALL old.sendmsg(0x145b0,0,0x80000000,0) 83376 matlab RET kill 0 83376 matlab CALL exit(0) 83247 matlab PSIG SIGCHLD caught handler=0x28c95460 mask=0x80000000 code=0x0 83247 matlab RET old.sendmsg RESTART 83247 matlab CALL old.sendmsg(0xffffffff,0xbfbfa694,0,0) cbspc% Sorry to post so much of the dump, but I am not sure what is meaningfull here. Has anyone solved this problem or have any suggestions how to? Thanks for whatever help you can give, chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message