Topic "Bug report"

Author Message
Guest

Guest



---------------------------
WinSCP2__v220.exe
---------------------------
Assertion failed: Terminal->Files->IndexOf(ITEMFILE) >= 0, file C:\Martin\Projekty\WinSCP2\components\UnixDirView.cpp, line 297
---------------------------
OK
---------------------------


Working in terminal window, then executed
ps xauf (sshd on FreeBSD) then executed cd ~, pwd and so on... Then WinSCP showed this error and then terminated abnormally.
Version 2.20
Advertisements
Guest

Guest


Almost forgot:
I also executed
reset
and
clear
in terminal before getting this error. Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Are you able to reproduce the error with latest version 3.0 beta?
_________________
Martin Prikryl
Guest

Guest


Version 3beta just doesn't crashes, but the eror remains I think. I mean the erorr where Winscp terminal is confused by some commands output. It seems set confuses it.

After executing set winscp shows

---------------------------
Error
---------------------------
Error occured during logging. It's been turned off.
---------------------------
'0'' is not a valid integer value
OK
---------------------------

and then

---------------------------
Error
---------------------------
Error getting name of current remote directory.
---------------------------
Command "pwd ; echo "WinSCP: this is end-of-file:$?"" failed with invalid output "".
OK
---------------------------

and then

---------------------------
Error
---------------------------
Can't detect command return code.
---------------------------
OK
---------------------------


---------------------------
Error
---------------------------
Error listing directory "USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND".
---------------------------
Unexpected directory listing line "/stud/2000/username123".
'/dapu1102' is not a valid integer value

OK
---------------------------

Maybe these winscp logs will help tracking the bug (zipped and base64 encoded, real hostnames and usernames changed Smile)


MIME-Version: 1.0
Content-Type: application/octet-stream; name="winscp.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="winscp.zip"

UEsDBBQAAAAIAKZh4i7p6NiUuQsAACRbAAAKAAAAd2luc2NwLmxvZ+1be3PiOBL/f6v2O/RRO5Xk
Ljh+8YhnuTkCngk7vAqT7M7uXlHCFsEXY3N+hOQ+8X2Ma8k2MYRJgCFXs7MmKZBl+aefWt0tWVIL
UDzY5/vvBPjZdo1GH66pH9ieC4ogCiI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qP1wBL+Hv7u8kR8HF6VGg6OI91WxolZNfuy03fvAM9fo
dOqNSw7JxBtntNqfoX+W2Ah3TZ3OqHFZHxj6sNYyetVq6bwoccReu9n/ufmMBHr9oT4Y1KQk3eo2
k7Sx3rZ+fXj5OS6oXlr8xVRumVjqXnz5iyQNyvHlMzBrJR9x/mXdSoIkVM8SL9Bv9XU2dF0ZiRKL
sfr1cbSr8cGEXxlq7ehvwLvjeVEYl3obpc1MhY0pyywUi1Eb+8Sk9H6O9qhN0ZCI42g8hoWYoX1H
i8xW0Y8E8VPt63aNay6LYmi0W3p3WDtKIyFUVWXREKBWxBKOGEfLcr1uV28MudFsLLseSpE8ix3Y
qQURT3b6aEi1s3DG3emKEbHpwLrCXevdZm9QYw1Bv7v+d+hT8a8Q6SVroqop8rcX6cVCfPJArzzQ
Kw/0ygO98kCvPNArD/TKA73yQK880CsP9MoDvfJArzzQKw/0eoFWHui14wCYB3rlgV55oFce6JUH
euWBXnmgVx7olQd65YFeeaBXHuiVB3rlgV6HCfRiJy3rfHvm2vYcXvAE4gy4S3OAhEAsi+1Zgyiq
zXJd19lO2MyzIofC0YLzUUYjrEwRxzQko9EoJqkI9J4esaV8YrHNi0cY9inlR63yo1avedTqWz1J
pcjK+dd+kkpRtz9JhWVf+yTV/wBQSwECFAAUAAAACACmYeIu6ejYlLkLAAAkWwAACgAAAAAAAAAB
ACAAgIEAAAAAd2luc2NwLmxvZ1BLBQYAAAAAAQABADgAAADhCwAAAAA=
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your report. The 'set' command fails even for me, so it should not be problem to track down the bug. Unfortunatelly I would not have time to release fix within next two weeks or so Sad
_________________
Martin Prikryl
CooLynX
[View user's profile]

Joined: 2003-02-10
Posts: 11
Location: Latvia
looks like this problem is still not solved in the last version 3.0 build 159. as it was reported before https://winscp.net/forum/viewtopic.php?p=910
now program does not crash but insted acts quite strange.

to produce this error you need a linux box with groups. make one file owner a person A and group A and file permissions rw-rw-r--
now as a user B that exists in group A you should be able to overwrite this file since it has u,g - rw permissions even if the owner is user A from the same A group with you (user B), right?
when you try to overwrite the file the error message appears
scp: /usr/local/apache/htdocs/public_html/images/style.css: set mode: Operation not permitted
you can click whatever button you like but you will get only one message
Unexpected directory listing line "
after that the program does not crash but shows clear window with no directory listing at all.
if you click refresh it shows another message
Command "pwd ; echo "WinSCP: this is end-of-file:$?"" failed with invalid output "".
and nothing happends again...
_________________
who cares anyway
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