[Bug 48275] Amapi 3D v6.1 crashes on unimplemented function winhttp.dll.winInitChimera (Wine's 'winhttp.dll' is preferred over native, causing failure to load app provided library with same name)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jan 17 07:09:59 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48275

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                URL|                            |https://archive.org/downloa
                   |                            |d/tucows_196100_Amapi_3D/Am
                   |                            |api3D61TEEnglish.exe
            Summary|Amapi v6.1 needs            |Amapi 3D v6.1 crashes on
                   |unimplemented function      |unimplemented function
                   |winhttp.dll.winInitChimera  |winhttp.dll.winInitChimera
                   |                            |(Wine's 'winhttp.dll' is
                   |                            |preferred over native,
                   |                            |causing failure to load app
                   |                            |provided library with same
                   |                            |name)
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
           Keywords|                            |download

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

adding stable download link via Internet Archive:

https://archive.org/details/tucows_196100_Amapi_3D

Prerequisite: 'winetricks -q mfc42'

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/EOVIA/Amapi 3D

$ file *.{exe,dll}
amapi.exe:     PE32 executable (GUI) Intel 80386, for MS Windows
apirun.dll:    PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
bmap.dll:      PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
C3SImport.dll: PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
FlashLib.dll:  PE32 executable (DLL) (console) Intel 80386, for MS Windows
TCL75.dll:     PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
TOOLSRUN.dll:  PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
winhttp.dll:   PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
zlib.dll:      PE32 executable (DLL) (GUI) Intel 80386, for MS Windows

$ wine ./amapi.exe 
wine: Call from 0x7bc74ef9 to unimplemented function
winhttp.dll.winInitChimera, aborting
wine: Unimplemented function winhttp.dll.winInitChimera called at address
7BC74EF9 (thread 003a), starting debugger...
--- snip ---

--- snip --
$ winedump -j import amapi.exe | sed -n '/winhttp.dll/,/^$/p'

  offset 0021444c winhttp.dll
  Hint/Name Table: 0021600C
  TimeDateStamp:   00000000 (Thu Jan  1 01:00:00 1970)
  ForwarderChain:  00000000
  First thunk RVA: 001F2A58
   Thunk    Ordn  Name
  001f2a58     9  ParseURL
  001f2a5c     1  CreateURLParts
  001f2a60    18  winCloseChimera
  001f2a64    19  winInitChimera
  001f2a68    12  chimera_CloseWait
  001f2a6c    13  chimera_DoWait
  001f2a70    14  chimera_InitWait
  001f2a74    15  chimera_abort
  001f2a78    16  chimera_getenv
  001f2a7c    11  WriteCache
  001f2a80    10  ReadCache
  001f2a84     6  IsCached
  001f2a88     7  LoadDocument
  001f2a8c     5  InitCache
  001f2a90     0  CleanCache
  001f2a94     4  DupURLParts
  001f2a98     3  DestroyURLParts
  001f2a9c     8  MakeURL
  001f2aa0     2  DestroyDocument
--- snip --

Workaround:

--- snip ---
$ WINEDLLOVERRIDES=winhttp=n wine ./amapi.exe
--- snip ---

$ sha1sum Amapi3D61TEEnglish.exe 
ec33d3549d9e11487fd5986cff97b48fc82a8514  Amapi3D61TEEnglish.exe

$ du -sh Amapi3D61TEEnglish.exe 
13M    Amapi3D61TEEnglish.exe

$ wine --version
wine-5.0-rc5

Regards

-- 
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