https://bugs.winehq.org/show_bug.cgi?id=51386
Bug ID: 51386 Summary: ln.exe needs KERNEL32.dll.FindFirstFileNameW Product: Wine Version: 6.12 Hardware: x86-64 URL: https://web.archive.org/web/20210530064017/https://sch inagl.priv.at/nt/ln/ln.html OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: awineuser@mail.com Distribution: Ubuntu
ln.exe, a command line utility that works with hard links and symbolic links, can crash during a "deloreon copy" (incremental backup). Specifically, the command used was this:
ln --backup --unroll --1023safe --progress --delorean <source directory> <previous backup dir> <new backup dir>
When it crashes, the terminal output says:
wine: Call from 7BC2980A to unimplemented function KERNEL32.dll.FindFirstFileNameW, aborting
Sometimes the command completes without crashing, so apparently it doesn't always call this function?
Note: the 32-bit version of ln.exe was used. I haven't tested the 64-bit version.
https://bugs.winehq.org/show_bug.cgi?id=51386
A Wine user awineuser@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
--- Comment #1 from A Wine user awineuser@mail.com --- Source code is available here, in the "ln" subfolder: https://gitlab.com/schinagl/link-shell-extension
https://bugs.winehq.org/show_bug.cgi?id=51386
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51386
Mejituu acgm@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |acgm@qq.com
--- Comment #2 from Mejituu acgm@qq.com --- Created attachment 75073 --> https://bugs.winehq.org/attachment.cgi?id=75073 WeChat KERNEL32.dll.FindFirstFileNameW
WeChat crash log also requires KERNEL32.dll.FindFirstFileNameW
https://bugs.winehq.org/show_bug.cgi?id=51386
--- Comment #3 from Mejituu acgm@qq.com --- Latest version 8.14 winehq-devel winehq-staging and WeChat 3.9.6.32 x86
https://bugs.winehq.org/show_bug.cgi?id=51386
nightwend@163.com nightwend@163.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nightwend@163.com
--- Comment #4 from nightwend@163.com nightwend@163.com --- Same error on: Latest version 8.16 winehq-devel and WeChat 3.9.7.24 x86
https://bugs.winehq.org/show_bug.cgi?id=51386
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 77157 --> https://bugs.winehq.org/attachment.cgi?id=77157 stub for FindFirstFileNameW patch
I guess attached patch with stub might be enough for wechat, but for the first mentioned ln.exe a real implementation would be needed???
Any chance you could try out to attached patch?
https://bugs.winehq.org/show_bug.cgi?id=51386
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77157|0 |1 is obsolete| |
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 77158 --> https://bugs.winehq.org/attachment.cgi?id=77158 stub for FindFirstFileNameW patch fixed spec entry
Here's patch again with fixed copy/paste typo