Wine and CURRENT

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

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/
#1  0x97f913c2 in raise () from /lib/
#2  0x98003717 in abort () from /lib/
#3  0x00d94550 in pthread_testcancel () from /usr/lib/
#4  0x00d87f08 in _pthread_mutex_trylock () from /usr/lib/
#5  0x00d895a3 in _pthread_mutex_lock () from /usr/lib/
#6  0x00d86cb0 in pthread_once () from /usr/lib/
#7  0x97fd5e5b in __res_randomid () from /lib/
#8  0x97fd5f11 in _ () from /lib/
#9  0x97fe1a59 in gethostbyname () from /lib/
#10 0x00c89f67 in _X11TransSocketINETConnect () 
from /usr/X11R6/lib/
#11 0x00c8b17b in _X11TransConnect () from /usr/X11R6/lib/
#12 0x00c53dfd in _X11TransConnectDisplay () from /usr/X11R6/lib/
#13 0x00c63046 in XOpenDisplay () from /usr/X11R6/lib/
#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/
#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/
#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
Version: GnuPG v1.2.4 (FreeBSD)


More information about the freebsd-threads mailing list