http://bugs.winehq.org/show_bug.cgi?id=24250
Summary: Sam and Max 304 aborts on unimplemented function msvcr80.dll.getenv_s Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Created an attachment (id=30528) --> (http://bugs.winehq.org/attachment.cgi?id=30528) perl script to dig for imports of a particular dll in all modules in current directory tree
http://gamedaily.newaol.com/pub/SamMax304_BigDownload.exe.zip (sha1sum 5d3cefcf0c654d3646105e14cb3d06c61feb32f3 ) installs, but when you run it, it dies with
wine: Call from 0x7b836523 to unimplemented function msvcr80.dll.getenv_s, aborting
Using a little script to look for other possible problems:
perl imports.pl msvcr80.dll | sort -n -u | awk '/[0-9]/ {print $2}' | sort -u
syms
grep -wf syms ~/wine-git/dlls/msvcr80/*.spec | grep stub
yields
@ stub -arch=win32 ?_type_info_dtor_internal_method@type_info@@QAEXXZ # public: void __thiscall type_info::_type_info_dtor_internal_method(void) @ stub _crt_debugger_hook @ stub _fseeki64 @ stub _ftelli64 @ stub _get_tzname @ stub _localtime64_s @ stub _putenv_s @ stub _wassert @ stub getenv_s
Same analysis on msvcp80 yields
@ stub -arch=win32 ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDI@Z @ stub -arch=win32 ??0?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@ABV01@@Z @ stub -arch=win32 ??0?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@XZ @ stub -arch=win32 ??1?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@XZ @ stub -arch=win32 ?begin@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE?AV?$_String_iterator@GU?$char_traits@G@std@@V?$allocator@G@2@@2@XZ @ stub ?max@?$numeric_limits@I@std@@SAIXZ @ stub ?quiet_NaN@?$numeric_limits@N@std@@SANXZ @ stub -arch=win32 ?resize@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAEXI@Z @ stub ?uncaught_exception@std@@YA_NXZ @ stub _FInf @ stub _Inf @ stub _Nan
So that's 20 stubs max that might need to be dealt with, who knows which of them are really needed in normal operation.