[Bug 38585] Campbell scientific Loggernet software 4.x crashes on unimplemented function TAPI32.dll.lineGetTranslateCapsW

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 16 05:30:45 CDT 2019


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|Campbell scientific         |Campbell scientific
                   |Loggernet software needs    |Loggernet software 4.x
                   |TAPI32.dll.lineGetTranslate |crashes on unimplemented
                   |CapsW                       |function
                   |                            |TAPI32.dll.lineGetTranslate
                   |                            |CapsW
                URL|https://www.campbellsci.com |https://web.archive.org/web
                   |/loggernet-overview         |/20190616100642/https://s.c
                   |                            |ampbellsci.com/downloads_lt
                   |                            |bb/LoggerNet_4.5_Trial.exe

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

confirming, still present.

I've snatched a stable download link for testing/reproduce using throwaway:

https://web.archive.org/web/20190616100642/https://s.campbellsci.com/downloads_ltbb/LoggerNet_4.5_Trial.exe

--- quote ---
Version: 4.5
File Size: 314 MB
Updated: 08-18-2017
--- quote ---

The current app version 4.x requires .NET Framework 4.0 hence use Wine-Mono
(default) or 'winetricks -q dotnet40' before running the installer.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Campbellsci/LoggerNet

$ wine ./ToolBar.exe
...
wine: Call from 0x7bc6d1f9 to unimplemented function
TAPI32.dll.lineGetTranslateCapsW, aborting
wine: Unimplemented function TAPI32.dll.lineGetTranslateCapsW called at address
0x7bc6d1f9 (thread 003c), starting debugger...
--- snip ---

Crashing process is 'LoggerNetService.exe' as in the initial bug report.

Wine source:

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/tapi32/tapi32.spec#l68

--- snip ---
  68 @ stdcall lineGetTranslateCaps(long long ptr) lineGetTranslateCapsA
  69 @ stdcall lineGetTranslateCapsA(long long ptr)
--- snip ---

Searching for TAPI32 imports in WINEPREFIX:

--- snip ---
$ grep -ralZ "TAPI32.dll" .wine/drive_c/Program\ Files\ \(x86\)/ | xargs -r0i
bash -c "echo \"{}\" && winedump -j import \"{}\" | sed -n
'/TAPI32.dll/,/^$/p'"
.wine/drive_c/Program Files (x86)/Campbellsci/LoggerNet/coralib3.dll
  offset 0060658c TAPI32.dll
  Hint/Name Table: 006074CC
  TimeDateStamp:   00000000 (Thu Jan  1 01:00:00 1970)
  ForwarderChain:  00000000
  First thunk RVA: 004F9304
   Thunk    Ordn  Name
  004f9304    59  lineDrop
  004f9308   110  lineGetIDA
  004f930c   143  lineMakeCallA
  004f9310   152  lineOpenW
  004f9314   100  lineGetCountryW
  004f9318   103  lineGetDevCapsW
  004f931c   118  lineGetMessage
  004f9320   134  lineGetTranslateCapsW
  004f9324   141  lineInitializeExW
  004f9328   148  lineNegotiateAPIVersion
  004f932c   208  lineShutdown
  004f9330   211  lineTranslateAddressA
  004f9334    53  lineDeallocateCall
  004f9338    39  lineClose
  004f933c    35  lineAnswer
--- snip ---

$ sha1sum LoggerNet_4.5_Trial.exe 
d08dd8e202222cd8533099386515e023f0623b99d  LoggerNet_4.5_Trial.exe

$ du -sh LoggerNet_4.5_Trial.exe 
315M    LoggerNet_4.5_Trial.exe

$ wine --version
wine-4.10-154-gc674ceefe1

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