[Bug 46428] New: Application crashes: Antscope2.exe
https://bugs.winehq.org/show_bug.cgi?id=46428 Bug ID: 46428 Summary: Application crashes: Antscope2.exe Product: Wine Version: 3.0.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: coccusmatins(a)gmail.com Distribution: --- Created attachment 63202 --> https://bugs.winehq.org/attachment.cgi?id=63202 error log Application (Antscope2.exe) crashes on startup. Source: https://rigexpert.com/products/software/antscope2/ -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46428 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com Keywords| |download URL| |https://rigexpert.com/produ | |cts/software/antscope2/ --- Comment #1 from Zebediah Figura <z.figura12(a)gmail.com> --- Something is broken with the software. A +module trace yields: 0009:warn:module:import_dll No implementation for Qt5Gui.dll._ZN14QImageIOPluginC2EP7QObject imported from L"C:\\Program Files\\RigExpert AntScope2\\imageformats\\qjp2.dll", setting to 0xf40276 qjp2.dll and some others seem to be trying to import symbols using a different C++ name mangling scheme than Qt5Gui.dll and others are using to export symbols. For example, the one in question should be: 237 0x697f0 ??0QImageIOPlugin@@QAE(a)PAVQObject@@@Z The Qt5 DLLs seem to have been incorrectly built or distributed. I guess it works on Windows since the offending DLLs are imported with LoadLibrary() rather than linked directly, in which case I believe that LoadLibrary() simply fails. I'm not sure, though. In any case WINEDLLOVERRIDES="qjp2=d;qmng.dll=d" is sufficient to let the application launch for me. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46428 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #2 from winetest(a)luukku.com --- (In reply to Zebediah Figura from comment #1)
Something is broken with the software. A +module trace yields:
0009:warn:module:import_dll No implementation for Qt5Gui.dll._ZN14QImageIOPluginC2EP7QObject imported from L"C:\\Program Files\\RigExpert AntScope2\\imageformats\\qjp2.dll", setting to 0xf40276
qjp2.dll and some others seem to be trying to import symbols using a different C++ name mangling scheme than Qt5Gui.dll and others are using to export symbols. For example, the one in question should be:
237 0x697f0 ??0QImageIOPlugin@@QAE(a)PAVQObject@@@Z
The Qt5 DLLs seem to have been incorrectly built or distributed.
I guess it works on Windows since the offending DLLs are imported with LoadLibrary() rather than linked directly, in which case I believe that LoadLibrary() simply fails. I'm not sure, though. In any case WINEDLLOVERRIDES="qjp2=d;qmng.dll=d" is sufficient to let the application launch for me.
sounds similar to bug 47112 which was closed as invalid. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 KRosUser <kyle.kcsoftwares@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.kcsoftwares@gmail.com --- Comment #3 from KRosUser <kyle.kcsoftwares@gmail.com> --- Created attachment 80515 --> http://bugs.winehq.org/attachment.cgi?id=80515 Works in Wine 11.3 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 --- Comment #4 from KRosUser <kyle.kcsoftwares@gmail.com> --- Works fine in Wine 11.3. To be closed as FIXED / RESOLVED -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |xerox.xerox2000x@gmail.com --- Comment #5 from Louis Lenders <xerox.xerox2000x@gmail.com> --- (In reply to KRosUser from comment #4)
Works fine in Wine 11.3. To be closed as FIXED / RESOLVED
Hi, It's not clear what version of the program was tested. I downloaded the oldest available from the site (from 2018): https://rigexpert.com/files/software/Antscope/antscope2forwindows/Old/SetupR... An then there's still that crash so let's keep this on e open. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 --- Comment #6 from KRosUser <kyle.kcsoftwares@gmail.com> --- Does the same old version work correctly in Windows ? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 --- Comment #7 from KRosUser <kyle.kcsoftwares@gmail.com> --- Created attachment 80516 --> http://bugs.winehq.org/attachment.cgi?id=80516 Error message in Windows 11 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 --- Comment #8 from KRosUser <kyle.kcsoftwares@gmail.com> --- MSVCP140.DLL related error message in Windows -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 --- Comment #9 from Louis Lenders <xerox.xerox2000x@gmail.com> --- (In reply to KRosUser from comment #7)
Created attachment 80516 [details] Error message in Windows 11
Hmmm, strange. I guess it might run on an older windows version? I cannot imagine a company is distributing software that doesn't even start on Windows ;) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://rigexpert.com/produ |https://web.archive.org/web |cts/software/antscope2/ |/20260308191502/https://rig | |expert.com/files/software/A | |ntscope/antscope2forwindows | |/Old/SetupREAntScope2-1.0.6 | |.exe --- Comment #10 from Louis Lenders <xerox.xerox2000x@gmail.com> --- I added a backup at webarchive to the old version SetupREAntScope2-1.0.6.exe -- 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.
http://bugs.winehq.org/show_bug.cgi?id=46428 Andrew Nguyen <arethusa26@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #11 from Andrew Nguyen <arethusa26@gmail.com> --- (In reply to Louis Lenders from comment #9)
(In reply to KRosUser from comment #7)
Created attachment 80516 [details] Error message in Windows 11
Hmmm, strange. I guess it might run on an older windows version? I cannot imagine a company is distributing software that doesn't even start on Windows ;)
AntScope 1.0.6 does require the Visual C++ 2015 redist, but the installer neglects to actually run the redist installation if needed even on Windows. This explains the possible failure to start on Windows 11, but the developers appear to have realized this issue because the redist installation is performed by the installer starting from the 1.0.11 version. If I ensure that the Visual C++ 2015 redist is installed, I can launch AntScope 1.0.6 successfully on Windows 11. I noticed that AntScope 1.0.5 (installed with SetupREAntScope2_ver_010005.exe) starts successfully on Wine without having to disable qjp2.dll and qmng.dll. The imageformats libraries from 1.0.5 have the following last modified timestamps and checksums: $ ls -al imageformats/{qjp2,qjpeg,qmng}.dll -rw-r--r--. 1 arethusa arethusa 517120 Feb 17 2015 imageformats/qjp2.dll -rw-r--r--. 1 arethusa arethusa 247296 Feb 17 2015 imageformats/qjpeg.dll -rw-r--r--. 1 arethusa arethusa 367104 Feb 17 2015 imageformats/qmng.dll $ sha256sum imageformats/{qjp2,qjpeg,qmng}.dll 75045ea16a06b0bd921bc774f5814c06afb1d3caa6aa9a3a910faa89de8b328d imageformats/qjp2.dll c966558228b6f587ddaa08e71484fdcc1706116a632bee74c7e36d594928742c imageformats/qjpeg.dll 117d2e6e6cb9baac84924698b88039c90d35b6b9c2919ddd9ad0c79f3934f885 imageformats/qmng.dll I note that the problematic qjp2.dll and qmng.dll libraries in 1.0.6 have the same checksum as the ones in 1.0.5 and the same last modified timestamps from 1.0.5 that are discrepant with other imageformats libraries in 1.0.6: $ ls -al imageformats/{qjp2,qjpeg,qmng}.dll -rw-r--r--. 1 arethusa arethusa 517120 Feb 17 2015 imageformats/qjp2.dll -rw-r--r--. 1 arethusa arethusa 245248 Mar 3 2016 imageformats/qjpeg.dll -rw-r--r--. 1 arethusa arethusa 367104 Feb 17 2015 imageformats/qmng.dll $ sha256sum imageformats/{qjp2,qjpeg,qmng}.dll 75045ea16a06b0bd921bc774f5814c06afb1d3caa6aa9a3a910faa89de8b328d imageformats/qjp2.dll cd9a3c92bf35cf06b8466f5888187eabddcb142c89650805598056a0394c51fe imageformats/qjpeg.dll 117d2e6e6cb9baac84924698b88039c90d35b6b9c2919ddd9ad0c79f3934f885 imageformats/qmng.dll I suspect that the build process for 1.0.6 and some later versions either failed to exclude qjp2.dll and qmng.dll from imageformats or failed to rebuild them properly if they were meant to be included. I agree with Zeb that this release mistake is harmless on Windows because my testing shows that LoadLibrary() on Windows of either qjp2.dll or qmng.dll fails with last error ERROR_PROC_NOT_FOUND when the expected imports cannot be resolved. Consistent with the resolution of bug 47112, I'm resolving this bug as invalid. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla