Constant segmentation fault while trying to use Wine 1.2 from ports

Leonidas Tsampros ltsampros at upnet.gr
Fri Jul 30 11:45:11 UTC 2010


Hello all,

I', using FreeBSD 9-CURRENT on i386 built from sources of Jul/15:

FreeBSD 9.0-CURRENT #0: Thu Jul 15 11:50:07 EEST 2010

I built and installed port emulators/wine with WITH_DEBUG="YES":

$ file /usr/local/lib/libwine.so.1
/usr/local/lib/libwine.so.1: ELF 32-bit LSB shared object, Intel 80386,
 version 1 (FreeBSD), dynamically linked, not stripped

Running wine as seen below I get the following:

[ltsampros at bifteki]Starcraft $ wine StarCraft.exe 
Segmentation fault: 11 (core dumped)

[ltsampros at bifteki]Starcraft $ gdb wine wine.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or 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.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `wine'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libwine.so.1...done.
Loaded symbols for /usr/local/lib/libwine.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/wine/ntdll.dll.so...done.
Loaded symbols for /usr/local/lib/wine/ntdll.dll.so
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x7e2510b2 in thread_init () at thread.c:289
289         user_shared_data->SystemTime.LowPart = now.u.LowPart;
[New Thread 7e404140 (LWP 100290)]
(gdb) bt
#0  0x7e2510b2 in thread_init () at thread.c:289
#1  0x7e222407 in __wine_process_init () at loader.c:2852
#2  0x7df4d40d in wine_init (argc=2, argv=0x7fbfe5c4, error=0x7fbfe170
"", error_size=1024) at loader.c:711
#3  0x7bf00dba in main (argc=2, argv=0x7fbfe5c4) at main.c:218
(gdb) 

I have the following settings in my /boot/loader.conf:

kern.maxdsiz="44003200"
vm.kmem_size="800M"
vm.kmem_size_max="800M"
vfs.zfs.arc_max="150M"
vfs.zfs.vdev.cache.size="20M"
vfs.zfs.prefetch_disable="1"

I have updated my ports tree and wine is at the latest version (1.2).

Has anyone faced any problem like this ? 

Best Regards,
Leonidas Tsampos



More information about the freebsd-emulation mailing list