Cannot create shortcut - CreateDesktopShortCut
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.17.10
Error message:
Cannot create shortcut.
Invalid access to memory.
Stack trace:
(0004A4AB) ntdll.dll
(00F8A13A) C5296_0
(00F8C1A2) ____ExceptionHandler
(00F88F5C) __ExceptionHandler
(0008788F) ntdll.dll
(00073EC1) ntdll.dll.KiUserExceptionDispatcher
(00050498) ntdll.dll.RtlEqualUnicodeString
(0005D634) ntdll.dll
(0005D303) ntdll.dll
(0004D7AB) ntdll.dll
(0004D207) ntdll.dll
(0004CE91) ntdll.dll.LdrLoadDll
(0010EAB0) KERNELBASE.dll.LoadLibraryExW
(00003705) srvcli.dll.NetShareEnum
(00009447) ntshrui.dll
(00009370) ntshrui.dll
(0002FFFD) ntdll.dll.RtlRunOnceExecuteOnce
(00118DA1) KERNELBASE.dll.InitOnceExecuteOnce
(0000960E) ntshrui.dll.GetNetResourceFromLocalPathW
(00001040) LINKINFO.dll
(00000A5E) LINKINFO.dll.CreateLinkInfoW
(000CDBF3) windows.storage.dll
(000CD81B) windows.storage.dll
(000BEFCD) windows.storage.dll
(000B632B) CreateDesktopShortCut
(000B6884) CreateAppDesktopShortCut
(000B6E3A) CreateDesktopSessionShortCut
(0009C384) C16_0
(000A685B) UpdateJumpList
(000E0566) TWinConfiguration::UpdateEntryInJumpList
(000E06F7) TWinConfiguration::AddSessionToJumpList
(000E0879) TWinConfiguration::UpdateJumpList
(000A6631) SetupInitialize
(00F8814D) __wstartup
(00066A7C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066A49) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(000B65D5) CreateDesktopShortCut
(000B6884) CreateAppDesktopShortCut
(000B6E3A) CreateDesktopSessionShortCut
(0009C384) C16_0
(000A685B) UpdateJumpList
(000E0566) TWinConfiguration::UpdateEntryInJumpList
(000E06F7) TWinConfiguration::AddSessionToJumpList
(000E0879) TWinConfiguration::UpdateJumpList
(000A6631) SetupInitialize
(00F8814D) __wstartup
(00066A7C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066A49) ntdll.dll.RtlGetAppContainerNamedObjectPath
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.17.10
Error message:
Cannot create shortcut.
Invalid access to memory.
Stack trace:
(0004A4AB) ntdll.dll
(00F8A13A) C5296_0
(00F8C1A2) ____ExceptionHandler
(00F88F5C) __ExceptionHandler
(0008788F) ntdll.dll
(00073EC1) ntdll.dll.KiUserExceptionDispatcher
(00050498) ntdll.dll.RtlEqualUnicodeString
(0005D634) ntdll.dll
(0005D303) ntdll.dll
(0004D7AB) ntdll.dll
(0004D207) ntdll.dll
(0004CE91) ntdll.dll.LdrLoadDll
(0010EAB0) KERNELBASE.dll.LoadLibraryExW
(00003705) srvcli.dll.NetShareEnum
(00009447) ntshrui.dll
(00009370) ntshrui.dll
(0002FFFD) ntdll.dll.RtlRunOnceExecuteOnce
(00118DA1) KERNELBASE.dll.InitOnceExecuteOnce
(0000960E) ntshrui.dll.GetNetResourceFromLocalPathW
(00001040) LINKINFO.dll
(00000A5E) LINKINFO.dll.CreateLinkInfoW
(000CDBF3) windows.storage.dll
(000CD81B) windows.storage.dll
(000BEFCD) windows.storage.dll
(000B632B) CreateDesktopShortCut
(000B6884) CreateAppDesktopShortCut
(000B6E3A) CreateDesktopSessionShortCut
(0009C384) C16_0
(000A685B) UpdateJumpList
(000E0566) TWinConfiguration::UpdateEntryInJumpList
(000E06F7) TWinConfiguration::AddSessionToJumpList
(000E0879) TWinConfiguration::UpdateJumpList
(000A6631) SetupInitialize
(00F8814D) __wstartup
(00066A7C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066A49) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(000B65D5) CreateDesktopShortCut
(000B6884) CreateAppDesktopShortCut
(000B6E3A) CreateDesktopSessionShortCut
(0009C384) C16_0
(000A685B) UpdateJumpList
(000E0566) TWinConfiguration::UpdateEntryInJumpList
(000E06F7) TWinConfiguration::AddSessionToJumpList
(000E0879) TWinConfiguration::UpdateJumpList
(000A6631) SetupInitialize
(00F8814D) __wstartup
(00066A7C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066A49) ntdll.dll.RtlGetAppContainerNamedObjectPath
The problem happens rarely. I cannot reproduce it.