From owner-freebsd-emulation Wed Jan 13 21:15:52 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA17626 for freebsd-emulation-outgoing; Wed, 13 Jan 1999 21:15:52 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from opus.cts.cwu.edu (opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA17621 for ; Wed, 13 Jan 1999 21:15:49 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.9.1/8.9.1) with SMTP id VAA24882 for ; Wed, 13 Jan 1999 21:14:42 -0800 (PST) Date: Wed, 13 Jan 1999 21:14:42 -0800 (PST) From: Chris Timmons To: freebsd-emulation@FreeBSD.ORG Subject: TclPro for Linux eval Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org With the most recent 3.0-current emulator, I can run the setup program, interact with dialogue windows, etc ... but then things go sour here, apparantly while creating a pipe (I would guess preparing to execute the unzip program "uzpln86" to uncompress tclpro.1 - something I can do from the command line just fine.) 6781 pwlin CALL linux_access(0xefbfa26c,0) 6781 pwlin NAMI "/compat/linux/usr/local/users/skynyrd/tclpro/tclpro1.1/uzpln86" 6781 pwlin NAMI "/usr/local/users/skynyrd/tclpro/tclpro1.1/uzpln86" 6781 pwlin RET linux_access 0 6781 pwlin CALL linux_access(0xefbfa26c,0) 6781 pwlin NAMI "/compat/linux/usr/local/users/skynyrd/tclpro/tclpro1.1/tclpro.1" 6781 pwlin NAMI "/usr/local/users/skynyrd/tclpro/tclpro1.1/tclpro.1" 6781 pwlin RET linux_access 0 6781 pwlin CALL linux_pipe(0xefbfa738) 6781 pwlin RET linux_pipe 0 6781 pwlin CALL linux_fcntl(0x4,0x2,0x1) 6781 pwlin RET linux_fcntl 0 6781 pwlin CALL linux_fcntl(0x5,0x2,0x1) 6781 pwlin RET linux_fcntl 0 6781 pwlin PSIG SIGSEGV SIG_DFL 6781 pwlin NAMI "pwlin.core" 6765 sh RET linux_waitpid 6781/0x1a7d 6765 sh CALL write(0x2,0x80a3080,0x12) 6765 sh GIO fd 2 wrote 18 bytes "Segmentation fault" 6765 sh RET write 18/0x12 I ran gdb on the core file, and this looks plausible: #0 0x80eda8a in TclpCreatePipe () #1 0x80e1aa3 in TclCreatePipeline () #2 0x80e1f4e in Tcl_OpenCommandChannel () #3 0x80da289 in Tcl_ExecCmd () #4 0x80b28c7 in TclInvokeStringCommand () [...] The linux_fcntl calls just before the SEGV are to set the close-on-exec flag (for the pair of file descriptors returned by pipe, right?) Any ideas? I realize that running an interpreted language like TCL under emulation is goofy to begin with, but I kind of wanted to see if I could at least check out some of the tcl debugging stuff. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message