[Bug 9056] Mono 1.2.4 fails to find mscorlib.dll on startup
http://bugs.winehq.org/show_bug.cgi?id=9056 --- Comment #16 from Anastasius Focht <focht(a)gmx.net> 2007-09-15 18:48:34 --- Hello, well i looked into their svn repository using viewcvs: http://anonsvn.mono-project.com/viewcvs/tags/mono-1-2-5/mono/mono/utils/mono... File: [mono] / tags / mono-1-2-5 / mono / mono / utils / mono-dl.c (download) Revision: 84900, Mon Aug 27 17:56:04 2007 UTC (2 weeks, 5 days ago) by wade File size: 9730 byte(s) tag p6 (final) from branch --- snip --- static char* w32_dlerror (void) { char* ret = NULL; wchar_t* buf = NULL; DWORD code = GetLastError (); if (FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), buf, 0, NULL)) { ret = g_utf16_to_utf8 (buf, wcslen(buf), NULL, NULL, NULL); LocalFree (buf); } return ret; } --- snip --- The patch was applied against trunk: http://anonsvn.mono-project.com/viewcvs/trunk/mono/mono/utils/mono-dl.c?rev=... (notice the older revision than 1.2.5 tag) I actually have no clue how the manage their repository e.g. merge patches. Anyway, wine trace log (+resource) and using debugging/disassembler on native windows mono 1.2.5 show there is clearly NULL ptr as buf parameter passed. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org