Date: Mon, 16 Feb 1998 13:48:25 +1030 From: Greg Lehey <grog@lemis.com> To: The Hermit Hacker <scrappy@hub.org>, emulation@FreeBSD.ORG Subject: Re: wine 980215 Message-ID: <19980216134825.02381@freebie.lemis.com> In-Reply-To: <Pine.BSF.3.96.980215230351.261n-100000@thelab.hub.org>; from The Hermit Hacker on Sun, Feb 15, 1998 at 11:05:09PM -0400 References: <Pine.BSF.3.96.980215230351.261n-100000@thelab.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980216134825.02381>