Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 1998 23:41:38 +0100
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Donn Miller <dmm125@bellatlantic.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: latest wine && seg-faults on freebsd
Message-ID:  <19980204234138.08387@mi.uni-koeln.de>
In-Reply-To: <Pine.NEB.3.96.980204142536.12743A-100000@myname.my.domain>; from Donn Miller on Wed, Feb 04, 1998 at 02:44:32PM %2B0000
References:  <Pine.NEB.3.96.980204142536.12743A-100000@myname.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-02-04 14:44 +0000, Donn Miller <dmm125@bellatlantic.net> wrote:
> I just compiled the latest wine (wine980201) and it compiled great, except
> that I got seg-faults and dropped core every time I tried to run it.  So
> then I compiled with the -g flag and debugged it.  Here is the output of
> gdb:
> 
> Reading symbols from /usr/libexec/ld.so...done.
> Reading symbols from /usr/X11R6/lib/libXpm.so.4.10...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  0x1be651 in NtCurrentTeb () at sysdeps.c:140
> 140         __asm__( ".byte 0x64\n\tmovl (%1),%0"
> (gdb) 
> 
> I compiled this ``straight out of the box'' instead of using FreeBSD's
> port collection and was interested in hearing from the person doing the
> latest ports to FreeBSD on what he/she did to correct this.  I guessing
> that it has something to do with threading (not X-windows threads but
> libc).

Yes, there have been core dumps in NtCurrentTeb as
delivered with Wine for the last three releases.

I had put in a work-around for this problem for the
latest Wine "port" (980104) commited to FreeBSD: 
Just return NULL unconditionally (see patch-au).

When I tried to upgrade the port to Wine-980118, I
found that I could not get the Emulator to start.
It dumped core immediately, even though I had put
in the NtCurrentTeb() work-around.

I have already fetched Wine-980201, but did not
yet find the time to build that version. Maybe I
get around to try it next weekend.

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980204234138.08387>