From owner-freebsd-emulation Sun Feb 15 19:18:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA12188 for freebsd-emulation-outgoing; Sun, 15 Feb 1998 19:18:47 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA12176 for ; Sun, 15 Feb 1998 19:18:43 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id NAA25775; Mon, 16 Feb 1998 13:48:26 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id NAA08437; Mon, 16 Feb 1998 13:48:26 +1030 (CST) (envelope-from grog) Message-ID: <19980216134825.02381@freebie.lemis.com> Date: Mon, 16 Feb 1998 13:48:25 +1030 From: Greg Lehey To: The Hermit Hacker , emulation@FreeBSD.ORG Subject: Re: wine 980215 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from The Hermit Hacker on Sun, Feb 15, 1998 at 11:05:09PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 15 February 1998 at 23:05:09 -0400, The Hermit Hacker wrote: > > This problem seems to be unresolved for the last several releases...I know > nothing at all about assembly, and wouldn't even know where to start, > so...does anyone know of a fix for this? :( > > # gdb /usr/local/bin/wine wine.core > GDB is free software and you are welcome to distribute copies of it > under certain conditions; type "show copying" to see the conditions. > There is absolutely no warranty for GDB; type "show warranty" for details. > GDB 4.16 (i386-unknown-freebsd), > Copyright 1996 Free Software Foundation, Inc... > Core was generated by `wine'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/libexec/ld.so...done. > Reading symbols from /usr/X11R6/lib/libXpm.so.4.9...done. > Reading symbols from /usr/X11R6/lib/libSM.so.6.0...done. > Reading symbols from /usr/X11R6/lib/libICE.so.6.3...done. > Reading symbols from /usr/X11R6/lib/libXext.so.6.3...done. > Reading symbols from /usr/X11R6/lib/libX11.so.6.1...done. > Reading symbols from /usr/lib/libm.so.2.0...done. > Reading symbols from /usr/lib/libc.so.3.0...done. > #0 0x162835 in NtCurrentTeb () at ./sysdeps.c:139 > 139 __asm__( ".byte 0x64\n\tmovl (%1),%0" > (gdb) list > 134 GET_FS( fs ); > 135 if (!fs) return NULL; > 136 GET_DS( ds ); > 137 if (fs == ds) return NULL; /* FIXME: should be an assert */ > 138 /* Get the TEB self-pointer */ > 139 __asm__( ".byte 0x64\n\tmovl (%1),%0" > 140 : "=r" (teb) : "r" (&((TEB *)0)->self) ); > 141 return teb; > 142 #else > 143 if (!pCurrentThread) return NULL; > (gdb) Could you go back into the core and try this, please: (gdb) x/10i $eip (gdb) i reg That will save a lot of head-scratching about what these instructions are. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message