Wine and CURRENT

Anish Mistry mistry.7 at osu.edu
Thu Aug 19 23:59:19 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've managed to get the post May versions on wine to be able to mmap their 
memory properly by patching our mmap implementation (see current mailling 
list), but I'm having the following problem that I can't figure out:

Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line 474 
in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0)

Here is a backtrace if it helps.

(gdb) bt
#0  0x97f9c2cf in kill () from /lib/libc.so.5
#1  0x97f913c2 in raise () from /lib/libc.so.5
#2  0x98003717 in abort () from /lib/libc.so.5
#3  0x00d94550 in pthread_testcancel () from /usr/lib/libpthread.so.1
#4  0x00d87f08 in _pthread_mutex_trylock () from /usr/lib/libpthread.so.1
#5  0x00d895a3 in _pthread_mutex_lock () from /usr/lib/libpthread.so.1
#6  0x00d86cb0 in pthread_once () from /usr/lib/libpthread.so.1
#7  0x97fd5e5b in __res_randomid () from /lib/libc.so.5
#8  0x97fd5f11 in _ () from /lib/libc.so.5
#9  0x97fe1a59 in gethostbyname () from /lib/libc.so.5
#10 0x00c89f67 in _X11TransSocketINETConnect () 
from /usr/X11R6/lib/libX11.so.6
#11 0x00c8b17b in _X11TransConnect () from /usr/X11R6/lib/libX11.so.6
#12 0x00c53dfd in _X11TransConnectDisplay () from /usr/X11R6/lib/libX11.so.6
#13 0x00c63046 in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
#14 0x00bf8d26 in x11drv_init_thread_data () at x11drv_main.c:470
#15 0x00bd1612 in X11DRV_create_desktop (desktop_vi=0x77f24000, 
    geometry=0x77f07270 "800x600") at x11drv.h:376
#16 0x00bf9ce0 in DllMain (hinst=0xbc0000, reason=1, reserved=0x0)
    at x11drv_main.c:391
#17 0x00bc86cc in __wine_dll_main () from /usr/local/lib/wine/x11drv.dll.so
#18 0x0003a4ee in call_dll_entry_point () at loader.c:53
#19 0x0003d0a1 in MODULE_InitDLL (wm=0x1b2188, reason=1, lpReserved=0x0)
    at loader.c:741
- ---Type <return> to continue, or q <return> to quit---
#20 0x0003d1c2 in process_attach (wm=0x1b2188, lpReserved=0x0) at loader.c:814
#21 0x0003dac7 in LdrLoadDll (path_name=0x1b2050, flags=0, libname=0x5bfa40, 
    hModule=0x5bfa3c) at loader.c:1575
#22 0x002f6915 in LoadLibraryExW (libnameW=0x9802ac00, hfile=0x0, flags=0)
    at module.c:667
#23 0x002f6a4e in LoadLibraryExA (libname=0x5bfcb0 "x11drv", hfile=0x0, 
    flags=0) at module.c:703
#24 0x002f6a78 in LoadLibraryA (libname=0x5bfcb0 "x11drv") at module.c:741
#25 0x00666f2e in DllMain (inst=0x5e0000, reason=1, reserved=0x1)
    at user_main.c:75
#26 0x005f12c0 in __wine_dll_main () from /usr/local/lib/wine/user32.dll.so
#27 0x0003a4ee in call_dll_entry_point () at loader.c:53
#28 0x0003d0a1 in MODULE_InitDLL (wm=0x180868, reason=1, lpReserved=0x1)
    at loader.c:741
#29 0x0003d1c2 in process_attach (wm=0x180868, lpReserved=0x1) at loader.c:814
#30 0x0003d224 in process_attach (wm=0x180730, lpReserved=0x1) at loader.c:806
#31 0x0003d5a1 in LdrInitializeThunk (main_file=0x18, unknown2=0, unknown3=0, 
    unknown4=0) at loader.c:1912
#32 0x002ffde6 in start_process (arg=0x0) at process.c:983
#33 0x97f3c38d in wine_switch_to_stack () at port.c:38

Any suggestions?  Thanks.

- -- 
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBJaGaxqA5ziudZT0RApPsAKCZcG4KMmUO+AxbuKRXIkX3gXpyvACeIVti
1Ie9cvuBLDfkQWcWIfDFqgs=
=S3wK
-----END PGP SIGNATURE-----


More information about the freebsd-threads mailing list