Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 03:00:35 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-threads@freebsd.org
Subject:   Wine and CURRENT
Message-ID:  <200408200300.43060.mistry.7@osu.edu>

next in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

=46atal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line =
474=20
in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno =3D 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 ()=20
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=3D0x77f24000,=20
    geometry=3D0x77f07270 "800x600") at x11drv.h:376
#16 0x00bf9ce0 in DllMain (hinst=3D0xbc0000, reason=3D1, reserved=3D0x0)
    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=3D0x1b2188, reason=3D1, lpReserved=3D0=
x0)
    at loader.c:741
=2D ---Type <return> to continue, or q <return> to quit---
#20 0x0003d1c2 in process_attach (wm=3D0x1b2188, lpReserved=3D0x0) at loade=
r.c:814
#21 0x0003dac7 in LdrLoadDll (path_name=3D0x1b2050, flags=3D0, libname=3D0x=
5bfa40,=20
    hModule=3D0x5bfa3c) at loader.c:1575
#22 0x002f6915 in LoadLibraryExW (libnameW=3D0x9802ac00, hfile=3D0x0, flags=
=3D0)
    at module.c:667
#23 0x002f6a4e in LoadLibraryExA (libname=3D0x5bfcb0 "x11drv", hfile=3D0x0,=
=20
    flags=3D0) at module.c:703
#24 0x002f6a78 in LoadLibraryA (libname=3D0x5bfcb0 "x11drv") at module.c:741
#25 0x00666f2e in DllMain (inst=3D0x5e0000, reason=3D1, reserved=3D0x1)
    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=3D0x180868, reason=3D1, lpReserved=3D0=
x1)
    at loader.c:741
#29 0x0003d1c2 in process_attach (wm=3D0x180868, lpReserved=3D0x1) at loade=
r.c:814
#30 0x0003d224 in process_attach (wm=3D0x180730, lpReserved=3D0x1) at loade=
r.c:806
#31 0x0003d5a1 in LdrInitializeThunk (main_file=3D0x18, unknown2=3D0, unkno=
wn3=3D0,=20
    unknown4=3D0) at loader.c:1912
#32 0x002ffde6 in start_process (arg=3D0x0) at process.c:983
#33 0x97f3c38d in wine_switch_to_stack () at port.c:38

Any suggestions?  Thanks.

=2D --=20
Anish Mistry
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBJaGaxqA5ziudZT0RApPsAKCZcG4KMmUO+AxbuKRXIkX3gXpyvACeIVti
1Ie9cvuBLDfkQWcWIfDFqgs=3D
=3DS3wK
=2D----END PGP SIGNATURE-----



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