https://bugs.winehq.org/show_bug.cgi?id=45310
Bug ID: 45310 Summary: Unimplemented function KERNEL32.dll.MoveFileTransactedW Product: Wine Version: 3.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: vicenzi.alexandre@gmail.com Distribution: ---
After closing Ableton Live 9 Lite (without activating it) the application crashes.
The error is because KERNEL32.dll.MoveFileTransactedW function is not implemented.
I think this happens because without activating it, Ableton runs in Demo mode, and after closing it, it will delete the current project.
Ableton can be found here: https://www.ableton.com/en/products/live-lite/
To get it running, it needs VS C++ Redistributable, I installed with winetricks.
I'm using Ubuntu 18 and the stable wine version that is available.
https://bugs.winehq.org/show_bug.cgi?id=45310
--- Comment #1 from Alex vicenzi.alexandre@gmail.com --- I was browsing Wine source code and in fact, MoveFileTransacted functions are not implemented, actually, nothing related with Transactional NTFS is implemented.
The functions CreateTransaction, CommitTransaction, RollbackTransaction are implemented, but they don't do what it should be done. If these functions are dummy, I guess MoveFileTransacted could also be dummy. Dummy in this scenario should be that if we call MoveFileTransacted it could call MoveFileWithProgress.
MoveFileTransacted has almost the same signature as MoveFileWithProgress, the only missing item is the transaction handler.
As MSDN says (https://msdn.microsoft.com/en-us/library/windows/desktop/aa363764(v=vs.85).a...):
Microsoft strongly recommends developers utilize alternative means to achieve your application’s needs. Many scenarios that TxF was developed for can be achieved through simpler and more readily available techniques. Furthermore, TxF may not be available in future versions of Microsoft Windows.
If this solution could be a temporary permanent fix, I would be happy to submit a patch.
https://bugs.winehq.org/show_bug.cgi?id=45310
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unimplemented function |Closing Ableton Live 9 Lite |KERNEL32.dll.MoveFileTransa |wil crash into |ctedW |unimplemented function | |KERNEL32.dll.MoveFileTransa | |ctedW CC| |xerox.xerox2000x@gmail.com
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi ,could you retest this in wine-3.19?
A stub has been added to wine, that most likely will fix the crash, and hopefully is enough keeps program functional. Thanks in advance.
https://bugs.winehq.org/show_bug.cgi?id=45310
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |35f62f644d069a2bb568a17f35a | |1af9a089b585a Resolution|--- |FIXED CC| |infyquest@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Vijay Kamuju infyquest@gmail.com --- should be fixed by commit https://source.winehq.org/git/wine.git/commit/35f62f644d069a2bb568a17f35a1af...
https://bugs.winehq.org/show_bug.cgi?id=45310
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.19.