Topic "Invalid Access to Memory - when trying to save a file"

Author Message
Jakobud
[View user's profile]

Joined: 2010-09-26
Posts: 2
I WinSCP to a server and edit some PHP files using a text editor. There is this one particular file that I've been working on for weeks without any problems like this at all. A few minutes ago, when I saved it, in WinSCP I got the following error:

Code:
Invalid Access to Memory


If I attempt to open up any more files after that, I get more
Code:
Invalid access to memory
errors and then
Code:
External exception EEFFACE
errors.

I'm not sure what has changed here from an hour ago when the file was saving just fine. I've restarted my computer, erased WinSCP's temp files, now I've trying the portable configuration with the same result.

It only seems to happen with this ONE file on this ONE server. Like I said before, I've been working with this file for weeks in this way without any errors like this...

Is there anything I can do to fix this?

The only way I've figured out how to get rid of the error is to erase my winscp.ini file and start from scratch. When I connect back to the same server, I'm able to save the file without getting the error. When I realized this I reverted back to the original winscp.ini and when opening WinSCP I simply deleted the saved entry for this server and recreated it, thinking this would fix it. But the error came back again. So there is definitely something in my winscp.ini that is causing this problem but I have no idea what it could be. Where should I start? I would really like to not have to recreate my WinSCP.ini from scratch because I have a lot of saved servers on it.

Note the log below: The file DOES in fact save, its after the save that the error takes place.

Code:
. 2010-09-26 13:25:21.296 File: "/www/peaksales/system/application/views/lead/view.php"
. 2010-09-26 13:25:21.298 Copying "/www/peaksales/system/application/views/lead/view.php" to local directory started.
. 2010-09-26 13:25:21.299 Ascii transfer mode selected.
. 2010-09-26 13:25:21.299 Starting download of /www/peaksales/system/application/views/lead/view.php
> 2010-09-26 13:25:21.300 TYPE A
< 2010-09-26 13:25:21.328 200 TYPE is now ASCII
> 2010-09-26 13:25:21.328 PORT 192,168,1,201,5,38
< 2010-09-26 13:25:21.356 200 PORT command successful
> 2010-09-26 13:25:21.357 RETR view.php
< 2010-09-26 13:25:21.414 150 Connecting to port 1318
< 2010-09-26 13:25:21.415 226-File successfully transferred
< 2010-09-26 13:25:21.415 226 0.000 seconds (measured here), 34.69 Mbytes per second
. 2010-09-26 13:25:21.416 Download successful
. 2010-09-26 13:25:23.354 [Background 1] Copying 1 files/directories to remote directory "/www/peaksales/system/application/views/lead/"
. 2010-09-26 13:25:23.354 [Background 1]   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask:
. 2010-09-26 13:25:23.354 [Background 1]   TM: A; ClAr: No; CPS: 0; ExclM(No):
. 2010-09-26 13:25:23.354 [Background 1]   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2010-09-26 13:25:23.354 [Background 1] File: "C:\PortableApps\WinSCP\scp25202\www\peaksales\system\application\views\lead\view.php"
. 2010-09-26 13:25:23.354 [Background 1] Copying "C:\PortableApps\WinSCP\scp25202\www\peaksales\system\application\views\lead\view.php" to remote directory started.
. 2010-09-26 13:25:23.354 [Background 1] Ascii transfer mode selected.
. 2010-09-26 13:25:23.355 [Background 1] Starting upload of C:\PortableApps\WinSCP\scp25202\www\peaksales\system\application\views\lead\view.php
> 2010-09-26 13:25:23.355 [Background 1] TYPE A
< 2010-09-26 13:25:23.382 [Background 1] 200 TYPE is now ASCII
> 2010-09-26 13:25:23.383 [Background 1] PORT 192,168,1,201,5,39
< 2010-09-26 13:25:23.411 [Background 1] 200 PORT command successful
> 2010-09-26 13:25:23.411 [Background 1] STOR view.php
< 2010-09-26 13:25:23.468 [Background 1] 150 Connecting to port 1319
< 2010-09-26 13:25:23.505 [Background 1] 226-File successfully transferred
< 2010-09-26 13:25:23.505 [Background 1] 226 0.037 seconds (measured here), 60.47 Kbytes per second
. 2010-09-26 13:25:23.505 [Background 1] Upload successful
. 2010-09-26 13:25:23.505 [Background 1] Retrieving directory listing...
> 2010-09-26 13:25:23.506 [Background 1] TYPE A
< 2010-09-26 13:25:23.538 [Background 1] 200 TYPE is now ASCII
> 2010-09-26 13:25:23.539 [Background 1] PORT 192,168,1,201,5,40
< 2010-09-26 13:25:23.570 [Background 1] 200 PORT command successful
> 2010-09-26 13:25:23.570 [Background 1] LIST -a
< 2010-09-26 13:25:23.628 [Background 1] 150 Connecting to port 1320
< 2010-09-26 13:25:23.628 [Background 1] 226-Options: -a -l
< 2010-09-26 13:25:23.629 [Background 1] 226 5 matches total
. 2010-09-26 13:25:23.629 [Background 1] Directory listing successful
* 2010-09-26 13:25:23.849 (EAccessViolation) Access violation at address 007A9DBC in module 'WinSCP.exe'. Read of address 00000004
. 2010-09-26 13:25:34.790 Disconnected from server
. 2010-09-26 13:25:34.796 [Background 1] Disconnected from server
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
What version of WinSCP are you using?
_________________
Martin Prikryl
Guest




The latest version 4.2.9. I originally got the error in 4.2.7 and then figured maybe it was a bug fixed in 4.2.9 so I downloaded and ran it, but got the same error.

Are there any particular parts of my winscp.ini I should be looking at to troubleshoot the problem? It's not clear to me which parts of the winscp.ini I can just start deleting to see if it makes a difference.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
Guest




Email has been sent.
Jakobud
[View user's profile]

Joined: 2010-09-26
Posts: 2
FYI, still haven't received the debug build from you.
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