Hello,
I'm encountering a crash when trying to install Mozilla 1.7.7 under wine. I am using a fresh CVS checkout, but I've tried older revisions with the same result. Here is a backtrace. It's falling over trying to write to 0x99806858.
Backtrace: =>1 0x557581df wine_cp_wcstombs(table=0x5584855c, flags=0x0, src=0x55c08a38, srclen=0x12, dst=0x99806858, dstlen=0x20, defchar=0x0, used=0x0) [/var/tmp/portage/wine-cvs-1.1/work/wine/libs/unicode/wctomb.c:161] in libwine_unicode.so.1 (0x55c08934) 2 0x55a3a4f1 WideCharToMultiByte+0xe1(page=0x0, flags=0x0, src=0x55c08a38, srclen=0xffffffff, dst=0x99806858, dstlen=0x20, defchar=0x0, used=0x0) [/var/tmp/portage/wine-cvs-1.1/work/wine/dlls/kernel/locale.c:1651] in kernel32 (0x55c08970) 3 0x60f61cfd PR_AttachThread+0x56a in nspr4 (0x55c08ae0) 4 0x60f62956 in nspr4 (+0x12956) (0x55c08b08) 5 0x61d42e13 NS_GetMemoryManager+0x1b in xpcom (0x55c08b30) 6 0x61d7680a public: virtual int __thiscall nsCaseInsensitiveCStringComparator::operator()(char,char)const +0x716 in xpcom (0x55c08b5c) 7 0x61d548ff in xpcom (+0x148ff) (0x55c08b88) 8 0x61d566ed NS_NewNativeLocalFile+0x53 in xpcom (0x55c08ce4) 9 0x00416296 in setup (+0x16296) (0x55c0cd44) 10 0x00405958 in setup (+0x5958) (0x55c0ee5c) 11 0x00415e2f in setup (+0x15e2f) (0x55c0fe94) 12 0x00424375 EntryPoint+0xce in setup (0x55c0ff20) 13 0x55a4e645 start_process+0xf5(arg=0x0) [/var/tmp/portage/wine-cvs-1.1/work/wine/dlls/kernel/process.c:1044] in kernel32 (0x55c0fff4) 14 0x55585c71 wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000)
I've created a +relay trace, which shows the following stuff happening just before things go pear shaped:
0011:Ret ntdll.RtlAllocateHeap() retval=559752b0 ret=572beb67 0011:Ret msvcrt.calloc() retval=559752b0 ret=60f53690 0011:Call msvcrt._strdup(60f68130 "shma") ret=60f536a2 0011:Call ntdll.RtlAllocateHeap(558c0000,00000000,00000005) ret=572bebe7 0011:Ret ntdll.RtlAllocateHeap() retval=559752d0 ret=572bebe7 0011:Ret msvcrt._strdup() retval=559752d0 ret=60f536a2 0011:Call msvcrt.getenv(60f664f4 "NSPR_LOG_MODULES") ret=60f58ed1 0011:Ret msvcrt.getenv() retval=00000000 ret=60f58ed1 0011:Call kernel32.GetVersionExA(55c089a0) ret=60f61cbc 0011:Call ntdll.RtlGetVersion(55c0877c) ret=55a71f38 0011:Ret ntdll.RtlGetVersion() retval=00000000 ret=55a71f38 0011:Ret kernel32.GetVersionExA() retval=00000001 ret=60f61cbc 0011:Call kernel32.GetTimeZoneInformation(55c08a34) ret=60f61cd6 0011:Call ntdll.RtlQueryTimeZoneInformation(55c08a34) ret=55a6fae5 0011:Ret ntdll.RtlQueryTimeZoneInformation() retval=00000000 ret=55a6fae5 0011:Call ntdll.NtQuerySystemTime(55c08874) ret=55a6ebc5 0011:Ret ntdll.NtQuerySystemTime() retval=00000000 ret=55a6ebc5 0011:Ret kernel32.GetTimeZoneInformation() retval=00000000 ret=60f61cd6 0011:Call kernel32.WideCharToMultiByte(00000000,00000000,55c08a38 L"GMT Standard Time",ffffffff,99806858,00000020,00000000,00000000) ret=60f61cfd
So, it's probably worth saying that I'm on UK time. Possibly also worth noting that I am using an x86_64, with wine -m32 compiled. Any ideas?
Cheers.
If I change my winver from winxp to win95, I don't get this problem.