FTP on 4.1.3.393: Assertion failed: xdrPtr && xdrPtr == *xd

Advertisement

jazzdelightsme
Joined:
Posts:
3

FTP on 4.1.3.393: Assertion failed: xdrPtr && xdrPtr == *xd

WinSCP version 4.1.3 build 393, over FTP, there was some kind of problem. It asked if I wanted to overwrite an existing file (and I'm not sure how there was an existing file, I was copying a new directory), I think I clicked no, and then I got a disconnect notice, and then this assert (followed by abnormal program termination):

Assertion failed: xdrPtr && xdrPtr == *xdrLPP, file xx.cpp, line 2233

I think that's the order everything happened in, anyway; it all went by so fast.

I have enabled logging for future runs.

Reply with quote

Advertisement

jazzdelightsme
Joined:
Posts:
3

Looks like I can repro the problem

It seems to try to download the same file twice, but the size is different? Here is the log:

. 2008-06-09 21:07:09.976 File: "/user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.JPG"
. 2008-06-09 21:07:09.977 Copying "/user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.JPG" to local directory started.
. 2008-06-09 21:07:09.979 Binary transfer mode selected.
. 2008-06-09 21:07:09.980 Starting download of /user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.JPG
> 2008-06-09 21:07:09.981 TYPE I
< 2008-06-09 21:07:10.072 200 Type set to I.
> 2008-06-09 21:07:10.072 PORT 71,112,109,127,77,190
< 2008-06-09 21:07:10.165 200 PORT command successful.
> 2008-06-09 21:07:10.224 RETR PPPPPPPPPP.JPG
< 2008-06-09 21:07:10.409 150  Opening BINARY mode data connection for /user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.JPG  (17335 bytes).
< 2008-06-09 21:07:10.872 226  Transfer complete.
. 2008-06-09 21:07:10.873 Download successful
. 2008-06-09 21:07:10.873 File: "/user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.jpg"
. 2008-06-09 21:07:10.876 Copying "/user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.jpg" to local directory started.
. 2008-06-09 21:07:10.877 Binary transfer mode selected.
. 2008-06-09 21:07:10.878 Starting download of /user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.jpg
. 2008-06-09 21:07:10.879 Asking user:
. 2008-06-09 21:07:10.879 Local file 'PPPPPPPPPP.jpg' already exists. Overwrite?
. 2008-06-09 21:07:10.879  
. 2008-06-09 21:07:10.879 New:         22095 bytes, 2/6/2007
. 2008-06-09 21:07:10.879 Existing:    17335 bytes, 2/6/2007 1:00:00 AM ()
< 2008-06-09 21:13:22.282 421 Timeout (300 seconds): closing control connection.
. 2008-06-09 21:13:22.282 Copying files from remote side failed.
* 2008-06-09 21:13:22.282 (ExtException) Copying files from remote side failed.
* 2008-06-09 21:13:22.283 Timeout (300 seconds): closing control connection.
. 2008-06-09 21:13:22.283 Asking user:
. 2008-06-09 21:13:22.283 Error transferring file '/user/xxxx/yyyyyyyyyy/zzzzzzz/2007/02/PPPPPPPPPP.jpg'. ("Copying files from remote side failed.","Timeout (300 seconds): closing control connection.")
. 2008-06-09 21:13:22.738 Disconnected from server
* 2008-06-09 21:13:22.738 (ESshFatal) Lost connection.
* 2008-06-09 21:13:22.738 Disconnected from server

Reply with quote

jazzdelightsme

Ah, it seems that the problem is a difference in case--there are two files on the server, but one file ends with ".jpg", while the other file ends in ".JPG". 'Tis okay on linux; not so much on Windows.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: FTP on 4.1.3.393: Assertion failed: xdrPtr && xdrPtr ==

Does the problem occur always, e.g. if you answer on the overwrite prompt immediately? Or does it happen only if you keep it idle for a while, so that the server disconnects meanwhile (as can be seen in the log)? Also does it matter what button you click (yes/no).

Reply with quote

Guest

I think it only happens when the connection was idle for a while, so thtat the server disconnects meanwhile. Not sure if it matters if I choose yes or no. Unfortunately, the server I was working against is quite flakey (yahoo); sometimes it disconnects quickly, sometimes not.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

I think it only happens when the connection was idle for a while, so thtat the server disconnects meanwhile. Not sure if it matters if I choose yes or no. Unfortunately, the server I was working against is quite flakey (yahoo); sometimes it disconnects quickly, sometimes not.
I wan't able to reproduce the problem. Can you try to describe into more details when you are doing, step by step.

Reply with quote

Advertisement

You can post new topics in this forum