From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 14 08:20:34 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC0611065678 for ; Sun, 14 Sep 2008 08:20:34 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8C48FC15 for ; Sun, 14 Sep 2008 08:20:34 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 309641B696E; Sun, 14 Sep 2008 12:20:32 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from dchagin.dialup.corbina.ru ([78.107.232.239] verified) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1123974679; Sun, 14 Sep 2008 12:20:32 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.2/8.14.2) with ESMTP id m8E8KUqj002837; Sun, 14 Sep 2008 12:20:30 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.2/8.14.2/Submit) id m8E8KPFf002836; Sun, 14 Sep 2008 12:20:25 +0400 (MSD) (envelope-from root) Date: Sun, 14 Sep 2008 12:20:25 +0400 From: Chagin Dmitry To: Jose Garcia Juanino Message-ID: <20080914082025.GA2792@dchagin.dialup.corbina.ru> Mail-Followup-To: Jose Garcia Juanino , freebsd-emulation@freebsd.org References: <20080912205202.GA83925@sanabria> <20080913070920.GA1440@dchagin.dialup.corbina.ru> <20080913084412.GA1263@sanabria> <20080913085108.GA2308@dchagin.dialup.corbina.ru> <20080913205515.GA6158@sanabria> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080913205515.GA6158@sanabria> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: sqlplus segfaults when receiving INT signal X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 14 Sep 2008 08:20:34 -0000 On Sat, Sep 13, 2008 at 10:55:17PM +0200, Jose Garcia Juanino wrote: > El s?bado 13 de septiembre a las 10:51:08 CEST, Chagin Dmitry escribi?: > > On Sat, Sep 13, 2008 at 10:44:13AM +0200, Jose Garcia Juanino wrote: > > > > > > Thank you for your response. > > > > > > The output is: > > > > > > # uname -vp > > > FreeBSD 7.0-RELEASE-p4 #3: Thu Sep 4 08:54:56 CEST 2008 root@:/usr/obj/src/sys/MK2008Jun06 i386 > > > > > > [ .... ] > > > > > > > thnx, I believe you problem already fixed at 07.09.08, > > please cvsup and try yet... > > I have done that now, but sadly, there is no difference with 7.0: > > $ uname -r > 7.1-PRERELEASE > > $ /compat/linux/usr/lib/oracle/10.2.0.3/client/bin/sqlplus /nolog > > SQL*Plus: Release 10.2.0.3.0 - Production on Sat Sep 13 20:47:47 2008 > > Copyright (c) 1982, 2006, Oracle. All Rights Reserved. > > SQL> [hit CTRL+C] > Segmentation fault > thnx! on amd64 I can't repeat this: dchagin# chroot /compat/linux /bin/bash bash-3.2# bash-3.2# uname -a Linux dchagin.dialup.corbina.ru 2.6.16 FreeBSD 8.0-CURRENT #2: Fri Sep 12 10:36: 07 MSD 2008 i686 i686 i386 GNU/Linux bash-3.2# bash-3.2# sqlplus /nolog SQL*Plus: Release 10.2.0.3.0 - Production on Sun Sep 14 08:10:40 2008 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. SQL> ^C SQL> but I see strange behaviour of read() call: 1428 sqlplus 6.276496 CALL write(0x1,0x28066000,0x5) 1428 sqlplus 6.276514 GIO fd 1 wrote 5 bytes "SQL> " 1428 sqlplus 6.276526 RET write 5 1428 sqlplus 6.276545 CALL read(0,0x28067000,0x1000) 1428 sqlplus 21.321774 RET read -1 errno 1 (EPERM) Operation not permitted 1428 sqlplus 21.321832 PSIG SIGINT caught handler=0x28c06c2c code=0x0 1428 sqlplus 21.321856 CALL linux_rt_sigprocmask(SIG_BLOCK,0xffff8de8,0,0x8) 1428 sqlplus 21.321867 RET linux_rt_sigprocmask 0 1428 sqlplus 21.321877 CALL linux_rt_sigprocmask(SIG_UNBLOCK,0xffff8de8,0,0x8) 1428 sqlplus 21.321886 RET linux_rt_sigprocmask 0 1428 sqlplus 21.321896 CALL linux_rt_sigreturn(0xffff8f4c) 1428 sqlplus 21.321905 RET linux_rt_sigreturn -1 errno 2 (ENOENT) No such fil 1428 sqlplus 21.321913 CALL read(0,0x28067000,0x1000) 1428 sqlplus 23.893183 GIO fd 0 read 1 byte at least, EPERM is not EINTR :) I will check up it on i386 later. thnx Jose :) -- Have fun! chd