From nobody@FreeBSD.org  Fri Mar  9 07:33:55 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id EB20337B71A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Mar 2001 07:33:54 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f29FXsS15658;
	Fri, 9 Mar 2001 07:33:54 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103091533.f29FXsS15658@freefall.freebsd.org>
Date: Fri, 9 Mar 2001 07:33:54 -0800 (PST)
From: jose.l.rodriguez@getronics.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
X-Send-Pr-Version: www-1.0

>Number:         25634
>Category:       kern
>Synopsis:       I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 07:40:01 PST 2001
>Closed-Date:    Mon Jul 2 12:50:09 PDT 2001
>Last-Modified:  Mon Jul 02 12:50:59 PDT 2001
>Originator:     Jose Luis Rodriguez Garcia
>Release:        4.2
>Organization:
>Environment:
FreeBSD pc-jose.getronics.com 4.2-RELEASE FreeBSD 4.2-RELEASE #5: Fri Feb 16 21:31:31 CET 2001 root@pc-jose.getronics.com/usr/src/sys/compile/WINE i386
>Description:
When I execute wine I sometimes obtain the next message:
wine core dumps seconds more later.

an 31 20:16:17 pc-jose /kernel: kernel trap 9 with interrupts disabled
Jan 31 20:16:26 pc-jose /kernel: pid 72905 (wine), uid 0: exited on signal 4 (core dumped)
Jan 31 20:18:03 pc-jose /kernel: kernel trap 9 with interrupts disabled
Jan 31 20:18:09 pc-jose /kernel: pid 73073 (wine), uid 0: exited on signal 4 (core dumped)
Jan 31 20:33:11 pc-jose /kernel: kernel trap 9 with interrupts disabled
Jan 31 20:33:18 pc-jose /kernel: pid 74218 (wine), uid 0: exited on signal 4 (core dumped)
Jan 31 20:36:54 pc-jose /kernel: kernel trap 9 with interrupts disabled
Jan 31 20:36:59 pc-jose /kernel: pid 74630 (wine), uid 0: exited on signal 4 (core dumped)
Jan 31 21:10:31 pc-jose /kernel: pid 79712 (wine), uid 0: exited on signal 4 (core dumped)
Jan 31 21:13:18 pc-jose /kernel: kernel trap 9 with interrupts disabled
Jan 31 21:13:36 pc-jose /kernel: pid 80057 (wine), uid 0: exited on signal 4 (core dumped)


>How-To-Repeat:
Executing windows programs under wine
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Mon Mar 12 18:20:31 PST 2001 
State-Changed-Why:  
Awaiting response 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25634 

From: Kris Kennaway <kris@obsecurity.org>
To: jose.l.rodriguez@getronics.com
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/25634: I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
Date: Mon, 12 Mar 2001 18:20:53 -0800

 --NMuMz9nt05w80d4+
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Fri, Mar 09, 2001 at 07:33:54AM -0800, jose.l.rodriguez@getronics.com wrote:
 
 > When I execute wine I sometimes obtain the next message:
 > wine core dumps seconds more later.
 
 Signal 4 is "illegal instruction" -- perhaps you compiled the Wine
 binary with CPU-specific optimizations which are inappropriate for the
 CPU you are running on, or perhaps it includes ASM code which doesn't
 run on your CPU?
 
 What type of machine are you running on?
 
 Kris
 
 --NMuMz9nt05w80d4+
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.4 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE6rYPqWry0BWjoQKURAgunAKDkuORidtG++BuWJWLfXm7YUZYLjQCgyuTL
 bYmQCb7b5cGDPKuII3wqp1M=
 =/IcB
 -----END PGP SIGNATURE-----
 
 --NMuMz9nt05w80d4+--

From: Dag-Erling Smorgrav <des@ofug.org>
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/25634: I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
Date: 13 Mar 2001 03:46:23 +0100

 Kris Kennaway <kris@obsecurity.org> writes:
 >  Signal 4 is "illegal instruction" -- perhaps you compiled the Wine
 >  binary with CPU-specific optimizations which are inappropriate for the
 >  CPU you are running on, or perhaps it includes ASM code which doesn't
 >  run on your CPU?
 
 That, or - much more likely - he forgot to add 'options USER_LDT' to
 his kernel config.
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org

From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To: <freebsd-gnats-submit@freebsd.org>
Cc: Dag-Erling Smorgrav <des@ofug.org>,
	<jose.l.rodriguez@getronics.com>
Subject: Re: kern/25634: I obtain kernel trap 9 with interrupts disabled when
 I execute the wine emulator
Date: Wed, 14 Mar 2001 14:51:55 +0100 (CET)

 Dag-Erling Smorgrav wrote:
 > That, or - much more likely - he forgot to add 'options USER_LDT' to
 > his kernel config.
 
 I believe the change to support USER_LDT in the generic kernel still has
 not been MFCed, or have I just missed that?
 
 Perhaps that would be a proper ``fix'' for this PR, namely to perform that
 MFC now.
 
 (Linux has had this feature for a couple of years now.)
 
 Gerald
 -- 
 Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
 

From: Dag-Erling Smorgrav <des@ofug.org>
To: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Cc: <freebsd-gnats-submit@freebsd.org>,
	<jose.l.rodriguez@getronics.com>
Subject: Re: kern/25634: I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
Date: 14 Mar 2001 22:19:17 +0100

 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
 > Dag-Erling Smorgrav wrote:
 > > That, or - much more likely - he forgot to add 'options USER_LDT' to
 > > his kernel config.
 > I believe the change to support USER_LDT in the generic kernel still has
 > not been MFCed, or have I just missed that?
 
 If you're referring to the fact that USER_LDT is no longer optional in
 -CURRENT, then no, it hasn't been MFCed. Don't think it will either.
 
 > (Linux has had this feature for a couple of years now.)
 
 Yes, well, we've had it since January 1994.
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org

From: "Rodriguez Garcia, Jose Luis" <jose.l.rodriguez@getronics.com>
To: "Kris Kennaway " <kris@obsecurity.org>,
	"Rodriguez Garcia, Jose Luis" <jose.l.rodriguez@getronics.com>
Cc: <freebsd-gnats-submit@FreeBSD.org>
Subject: RE: kern/25634: I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
Date: Fri, 16 Mar 2001 18:39:45 +0100

  Thx by your fast response. (sorry by late response to you.. I didn't
 can go to the
 work computer for response your e-mail... very busy with customers...)
 
 I didn't use any CPU-specific optimization. I compiled it using the
 ports from
 www.freebsd.org. I download the last port and executed: cd
 emulators/wine; make; make install
 
 I am using a PentiumIII
 
 The machine is a Dell Optiplex GX110.
 I use XFree86 4.02 and the graphics card is 815i.
 
 -----Original Message-----
 From: Kris Kennaway
 To: jose.l.rodriguez@getronics.com
 Cc: freebsd-gnats-submit@FreeBSD.org
 Sent: 3/13/01 3:20 AM
 Subject: Re: kern/25634: I obtain kernel trap 9 with interrupts disabled
 when I execute the wine emulator
 
 On Fri, Mar 09, 2001 at 07:33:54AM -0800, jose.l.rodriguez@getronics.com
 wrote:
 
 > When I execute wine I sometimes obtain the next message:
 > wine core dumps seconds more later.
 
 Signal 4 is "illegal instruction" -- perhaps you compiled the Wine
 binary with CPU-specific optimizations which are inappropriate for the
 CPU you are running on, or perhaps it includes ASM code which doesn't
 run on your CPU?
 
 What type of machine are you running on?
 
 Kris

From: "Rodriguez Garcia, Jose Luis" <jose.l.rodriguez@getronics.com>
To: "Gerald Pfeifer " <pfeifer@dbai.tuwien.ac.at>,
	<freebsd-gnats-submit@freebsd.org>
Cc: "Dag-Erling Smorgrav " <des@ofug.org>,
	"Rodriguez Garcia, Jose Luis" <jose.l.rodriguez@getronics.com>
Subject: RE: kern/25634: I obtain kernel trap 9 with interrupts disabled when I execute the wine emulator
Date: Fri, 16 Mar 2001 18:46:23 +0100

  I didn't forgot to include the 'options USER_LDT' to my kernl config.
 
 wine works for me (from 30 seconds to 1 hour without core), but it
 crashes with my previus message (first trap 9 and after of that the wine
 core dumps)
 
 -----Original Message-----
 From: Gerald Pfeifer
 To: freebsd-gnats-submit@freebsd.org
 Cc: Dag-Erling Smorgrav; jose.l.rodriguez@getronics.com
 Sent: 3/14/01 2:51 PM
 Subject: Re: kern/25634: I obtain kernel trap 9 with interrupts disabled
 when I execute the wine emulator
 
 Dag-Erling Smorgrav wrote:
 > That, or - much more likely - he forgot to add 'options USER_LDT' to
 > his kernel config.
 
 I believe the change to support USER_LDT in the generic kernel still has
 not been MFCed, or have I just missed that?
 
 Perhaps that would be a proper ``fix'' for this PR, namely to perform
 that
 MFC now.
 
 (Linux has had this feature for a couple of years now.)
 
 Gerald
 --=20
 Gerald "Jerry" pfeifer@dbai.tuwien.ac.at
 http://www.dbai.tuwien.ac.at/~pfeifer/

From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To: "Rodriguez Garcia, Jose Luis" <jose.l.rodriguez@getronics.com>
Cc: <freebsd-gnats-submit@freebsd.org>,
	Dag-Erling Smorgrav <des@ofug.org>
Subject: RE: kern/25634: I obtain kernel trap 9 with interrupts disabled when
 I execute the wine emulator
Date: Fri, 16 Mar 2001 18:59:49 +0100 (CET)

 On Fri, 16 Mar 2001, Rodriguez Garcia, Jose Luis wrote:
 > wine works for me (from 30 seconds to 1 hour without core), but it
 > crashes with my previus message (first trap 9 and after of that the wine
 > core dumps)
 
 I submitted an update for the Wine port yesterday, you could give that one
 a try. (Hopefully that patch will be installed soon.)
 
   http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25825
 
 Gerald
 -- 
 Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
 
State-Changed-From-To: feedback->analyzed 
State-Changed-By: kris 
State-Changed-When: Tue Mar 27 11:01:10 PST 2001 
State-Changed-Why:  
A diagnosis and fix has been proposed, awaiting submitter ACK/NAK of 
solution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25634 
State-Changed-From-To: analyzed->closed 
State-Changed-By: kris 
State-Changed-When: Mon Jul 2 12:50:09 PDT 2001 
State-Changed-Why:  
Submitter can no longer reproduce problem and requests closure. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25634 
>Unformatted:
