Topic "deleting site folder - Invalid access to memory"

Author Message
tproli@...

Guest


When trying to delete a site folder with items in it I get this error message:

Code:
No argument for format 'System error. Code %d.%s%s'


Clicking OK shows the "Invalid access to memory" dialog.

No errors if the folder is empty.

Using WinSCP 5.6.1 beta (latest) portable, default English locale, Windows 7 Hungarian, admin mode.

WinSCP 5.6.1

Error message:
Invalid access to memory.

Stack trace:
[00E9D9C8]
[77287186] ntdll.dll.RtlRaiseStatus
[77287012] ntdll.dll.KiUserExceptionDispatcher
[011FAA50]
Code:
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks for your report. Though I cannot reproduce this.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
OK, I was not able to reproduce this, because it's fixed already:
http://winscp.net/tracker/show_bug.cgi?id=1218
I'm sending you a dev version for testing.
tproli

Guest


Thanks for the reply.

I could not reproduce it with neither the debug nor the beta version, and surprisingly neither with my current version.
So I suppose it is resolved, thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Seeing, you run WinSCP in an admin mode, I assume that you actually did not run it in the admin mode, when the error occurred. Then, when you attempted to change site list (any change would do, not only removing site folder), WinSCP tried to save the change to an INI file (you use portable mode). As you probably have the INI file in your "Program Files" folder (not recommended set up), it failed as described in the bug ("Failure when error occurs while working with local files").
Guest




I missed adding that I tried it in admin mode AND in user mode too, so that couldn't be the culprit.

I had the ini file outside the Programs older, actually in the Dropbox folder. My second thought was that it is the Dropbox sync that caused the violation but apparently not.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Quote:
My second thought was that it is the Dropbox sync that caused the violation but apparently not.

Could be too. If the INI file was locked by Dropbox when WinSCP tried to write it.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License