[Bug 24250] New: Sam and Max 304 aborts on unimplemented function msvcr80.dll.getenv_s

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 3 01:54:26 CDT 2010


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 at winehq.org
        ReportedBy: dank at 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 at 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 at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at PBDI@Z
@ stub -arch=win32
??0?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@QAE at ABV01@@Z
@ stub -arch=win32
??0?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@QAE at XZ
@ stub -arch=win32
??1?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@QAE at XZ
@ stub -arch=win32
?begin@?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@QAE?AV?$_String_iterator at GU?$char_traits at G@std@@V?$allocator at G@2@@2 at XZ
@ stub ?max@?$numeric_limits at I@std@@SAIXZ
@ stub ?quiet_NaN@?$numeric_limits at N@std@@SANXZ
@ stub -arch=win32
?resize@?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@QAEXI at Z
@ stub ?uncaught_exception at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list