https://bugs.winehq.org/show_bug.cgi?id=42209
Bug ID: 42209 Summary: Native Instruments Native Access crashes on load Product: Wine Version: 2.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kim.ake@gmail.com Distribution: ---
Created attachment 56847 --> https://bugs.winehq.org/attachment.cgi?id=56847 Error message content
I have Visual C++ 2015 redistributables installed. WhenI try to run the program, I get the error message.
https://bugs.winehq.org/show_bug.cgi?id=42209
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- Unhandled exception: unimplemented function concrt140.dll.??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ called in 64-bit code (0x000000007b450b6a).
You should include that unimplemented function name at title.
Does overriding concrt140 via winecfg libraries native, builtin fix the crash?
https://bugs.winehq.org/show_bug.cgi?id=42209
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.native-instrume | |nts.com/fileadmin/downloads | |/Native_Access_Installer.zi | |p Keywords| |download CC| |xerox_xerox2000@yahoo.co.uk Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Hi, I downloaded this from added downloadlink. I guess that`s the program?
It doesnt start at all for me, because it needs virtdisk.dll. I made a stub dll, I`ll attach hereafter. With that in place it crashes the same way:
Unhandled exception: unimplemented function concrt140.dll.??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ
@Kim, dont you get that missing virtdisk error, or did you copy a native one?
Note: there`s another bugreport about this missing dll but that was closed.
https://bugs.winehq.org/show_bug.cgi?id=42209
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 56938 --> https://bugs.winehq.org/attachment.cgi?id=56938 stub dll for virtdisk
https://bugs.winehq.org/show_bug.cgi?id=42209
--- Comment #4 from winetest@luukku.com --- (In reply to Louis Lenders from comment #3)
Created attachment 56938 [details] stub dll for virtdisk
Virtdisk patch got merged.
http://source.winehq.org/git/wine.git/commit/e0d4b6896aa4158407826faf4775bed...
https://bugs.winehq.org/show_bug.cgi?id=42209
--- Comment #5 from Kim Åke kim.ake@gmail.com --- Hi, sorry for not replying, something went very very ill when I removed my whole Wine install and was following some apparently weird tutorials on some forum, and apt-get autoremove that basically everything on my installation was unneeded :/ So I ended up removing my whole Linux installation, didn't have time yet to put it up again.
No, I don't remember anything about virtdisk. I am pretty sure I overrode concrt140, I think I coped it by hand from my Windows installtion and then selected it as overriden in Winetricks if my memory server right.
I'm pretty new to Linux.
https://bugs.winehq.org/show_bug.cgi?id=42209
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Native Instruments Native |Native Instruments Native |Access crashes on load |Access 1.0.25 (R37) crashes | |on unimplemented function | |concrt140.dll.??1_Reentrant | |BlockingLock@details@Concur | |rency@@QAE@XZ Component|-unknown |msvcp
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
please don't mix different issues here.
The original issue is indeed:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Native Instruments/Native Access
$ wine ./Native\ Access.exe ... fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33ecfc 1 C) semi-stub fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2 wine: Call from 0x7b445e53 to unimplemented function concrt140.dll.??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ, aborting wine: Unimplemented function concrt140.dll.??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ called at address 0x7b445e53 (thread 0009), starting debugger... --- snip ---
Making it a dupe of bug 42240 (apps are from same vendor, same VC++ runtime used)
Happens with both, 32-bit and 64-bit version of the app.
To avoid this being a dupe, I'll re-target it for one of the next imports:
--- snip --- ... 23. ImageImportDescriptor: OriginalFirstThunk: 0x00AF2BA8 TimeDateStamp: 0x00000000 (GMT: Thu Jan 01 00:00:00 1970) ForwarderChain: 0x00000000 Name: 0x00B009FA ("CONCRT140.dll") FirstThunk: 0x0066A050
Ordinal/Hint API name ------------ --------------------------------------- 0x00E0 "?_Release@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ" 0x000D "??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ" 0x0056 "??1_ReentrantBlockingLock@details@Concurrency@@QAE@XZ" 0x00A6 "?_Acquire@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ" --- snip ---
The app already bundles VC++ 2015 runtime, there is no need to run winetricks - but you need the native overrides.
You could do a forced VC++ runtime re-install using 'winetricks -q --force vcrun2015' to avoid manual setting of overrides.
With manual overrides:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Native Instruments/Native Access
$ WINEDLLOVERRIDES=concrt140=n wine ./Native\ Access.exe ... wine: Call from 0x7b445e53 to unimplemented function msvcp140.dll.__crtCreateThreadpoolTimer, aborting wine: Unimplemented function msvcp140.dll.__crtCreateThreadpoolTimer called at address 0x7b445e53 (thread 0009), starting debugger...
$ WINEDLLOVERRIDES=concrt140,msvcp140=n wine ./Native\ Access.exe ... <error window> --- snip ---
With that in place you get an error window:
--- snip --- You cannot start Native Access from the mounted disk. Please drag and drop Native Access.app to your 'Applications' folder and then start it from there. --- snip ---
I found this reference: https://support.native-instruments.com/hc/en-us/community/posts/115000255005...
The comments indicate this is happening on the Mac version of the app too (OP mentioned ".dmg" file). So we are Mac-compatible at least ;-)
$ sha1sum Native_Access_Installer.zip c963db1fac9ed580703dcfab3f4d9ce9d1a285e8 Native_Access_Installer.zip
$ du -sh Native_Access_Installer.zip 58M Native_Access_Installer.zip
$ sha1sum Native\ Access\ 1.0.25\ Setup\ PC.exe 0ea4ad6e84258a6b9583d0f91efd9b67d059c858 Native Access 1.0.25 Setup PC.exe
$ du -sh Native\ Access\ 1.0.25\ Setup\ PC.exe 59M Native Access 1.0.25 Setup PC.exe
$ wine --version wine-2.1-126-g06c5a9a
Regards
https://bugs.winehq.org/show_bug.cgi?id=42209
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=42240
https://bugs.winehq.org/show_bug.cgi?id=42209
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #7 from fjfrackiewicz@gmail.com --- Does this commit fix the bug?
http://source.winehq.org/git/wine.git/commit/2682f9e67c78172039de4abc690b33b...
https://bugs.winehq.org/show_bug.cgi?id=42209
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com Fixed by SHA1| |2682f9e67c78172039de4abc690 | |b33b3a20742f0 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Piotr Caban piotr.caban@gmail.com --- Next function it crashes on is: msvcp140.dll.?_LogScheduleTask@_TaskEventLogger@details@Concurrency@@QAEX_N@Z (bug 42575)
I've also sent implementation of msvcp140.dll.__crtCreateThreadpoolTimer: https://source.winehq.org/patches/data/131328
https://bugs.winehq.org/show_bug.cgi?id=42209
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.4.
https://bugs.winehq.org/show_bug.cgi?id=42209
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=42209
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.2.