Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Anonymous wrote:

I'm using the same version, and had the same problem. I'm calling "cmd /c WinSCP.com /command ..." in my script, and if it fails to connect, I simply have it retry for a few more times before quitting. Therefore, I'd like to disable the error message popup, so that it doesn't hang my script (as the previous quote points out in the last line). I've read the FAQ and Documentation, and haven't found any solution. Could you point me where to look further? Thanks.

The random_active >= 0 bug was fixed in 4.2.7. Just upgrade.
Guest

Anonymous wrote:

hi prikryl,

Am using Winscp 4.2.6 to connect to my test (FreeSSHDService), through a SSIS package and so i have configured the process task as mentioned in your guidelines.

If the SFTP service is running, then everything goes fine, but i bring the Service down (to mimic server unavailability), then the package/ task fails, but it pops up some errors/ warning-
1st popup: assertion failed: random_active >= 0, file putty\SSHRAND.C, line 242
2nd popup: Abnormal program termination.

And so if i run the package as SQL agent job, the job never ends when a failure happens- i think because the popups are not supressed!


I'm using the same version, and had the same problem. I'm calling "cmd /c WinSCP.com /command ..." in my script, and if it fails to connect, I simply have it retry for a few more times before quitting. Therefore, I'd like to disable the error message popup, so that it doesn't hang my script (as the previous quote points out in the last line). I've read the FAQ and Documentation, and haven't found any solution. Could you point me where to look further? Thanks.
Guest

mail sent. On your public* address

thanks
Ali
martin

Anonymous wrote:

If the SFTP service is running, then everything goes fine, but i bring the Service down (to mimic server unavailability), then the package/ task fails, but it pops up some errors/ warning-
1st popup: assertion failed: random_active >= 0, file putty\SSHRAND.C, line 242
2nd popup: Abnormal program termination.

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.
Guest

hi prikryl,

Am using Winscp 4.2.6 to connect to my test (FreeSSHDService), through a SSIS package and so i have configured the process task as mentioned in your guidelines.

If the SFTP service is running, then everything goes fine, but i bring the Service down (to mimic server unavailability), then the package/ task fails, but it pops up some errors/ warning-
1st popup: assertion failed: random_active >= 0, file putty\SSHRAND.C, line 242
2nd popup: Abnormal program termination.

And so if i run the package as SQL agent job, the job never ends when a failure happens- i think because the popups are not supressed!
martin

Re: Abnormal program termination when FTP'in to Novell serve

This been resolved already. The fix will be included into the next release.
martin

Re: Abnormal program termination when FTP'in to Novell serve

I have sent you an email with a link to a debug version.
Hasufin

Re: Abnormal program termination when FTP'in to Novell serve

martin wrote:

I'll send you a debug version soon.


Hey -- thanks so much.
martin

Re: Abnormal program termination when FTP'in to Novell server

I'll send you a debug version soon.
Hasufin

Abnormal program termination when FTP'in to Novell server

I'm attempting to login to our Novell server with FTP services turned on.
Login happens successfully and a directory listing is successful, but then I get a a gui WinSCP.exe dialog box with the message: Abnormal program termination (and an OK button).

Attached is the Debug Level 2 log:

. 2007-10-05 10:38:55.528 --------------------------------------------------------------------------
. 2007-10-05 10:38:55.528 WinSCP Version 4.0.4 (Build 346) (OS 5.1.2600 Service Pack 2)
. 2007-10-05 10:38:55.528 Login time: Friday, October 05, 2007 10:38:55 AM
. 2007-10-05 10:38:55.528 --------------------------------------------------------------------------
. 2007-10-05 10:38:55.528 Session name: cmgath001@cchasn001
. 2007-10-05 10:38:55.528 Host name: cchasn001 (Port: 21)
. 2007-10-05 10:38:55.528 User name: cmgath001 (Password: Yes, Key file: No)
. 2007-10-05 10:38:55.528 Tunnel: No
. 2007-10-05 10:38:55.528 Transfer Protocol: FTP
. 2007-10-05 10:38:55.528 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2007-10-05 10:38:55.528 Proxy: none
. 2007-10-05 10:38:55.528 FTP: Passive: Yes
. 2007-10-05 10:38:55.528 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2007-10-05 10:38:55.528 Cache directory changes: Yes, Permanent: Yes
. 2007-10-05 10:38:55.528 DST mode: 1
. 2007-10-05 10:38:55.528 --------------------------------------------------------------------------
. 2007-10-05 10:38:55.858 Connecting to cchasn001 ...
. 2007-10-05 10:38:56.067 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x01d328d0
. 2007-10-05 10:38:56.067 Connected with cchasn001. Waiting for welcome message...
. 2007-10-05 10:38:56.117 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01d328d0
< 2007-10-05 10:38:56.117 220 Service Ready for new User
> 2007-10-05 10:38:56.117 USER cmgath001
. 2007-10-05 10:39:03.140 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x01d328d0
< 2007-10-05 10:39:03.140 331 Password Needed for Login
> 2007-10-05 10:39:03.140 PASS **********
. 2007-10-05 10:39:04.768 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x01d328d0
< 2007-10-05 10:39:04.768 230 User cmgath001 Logged in Successfully
> 2007-10-05 10:39:04.768 SYST
. 2007-10-05 10:39:04.838 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x01d328d0
< 2007-10-05 10:39:04.838 215 NETWARE Type: L8
> 2007-10-05 10:39:04.838 FEAT
. 2007-10-05 10:39:04.918 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01d328d0
< 2007-10-05 10:39:04.918 500 'FEAT' : Unknown Command
. 2007-10-05 10:39:04.918 Connected
. 2007-10-05 10:39:04.918 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=1 OpState=-13 caller=0x01d328d0
. 2007-10-05 10:39:04.918 Got reply 1 to the command 1
. 2007-10-05 10:39:04.918 --------------------------------------------------------------------------
. 2007-10-05 10:39:04.918 Using FTP protocol.
. 2007-10-05 10:39:04.918 Doing startup conversation with host.
. 2007-10-05 10:39:04.918 FtpControlSocket.cpp(1269): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01d328d0
> 2007-10-05 10:39:04.918 PWD
. 2007-10-05 10:39:05.007 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d328d0
< 2007-10-05 10:39:05.007 257 "/vol1/Shared" is Current Directory
. 2007-10-05 10:39:05.007 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01d328d0
. 2007-10-05 10:39:05.007 Got reply 1 to the command 16
. 2007-10-05 10:39:05.007 Getting current directory name.
. 2007-10-05 10:39:05.007 FtpControlSocket.cpp(1276): List(FALSE,0,"/vol1/Shared/","",1) OpMode=0 OpState=-1 caller=0x01d328d0
. 2007-10-05 10:39:05.007 Retrieving directory listing...
> 2007-10-05 10:39:05.007 TYPE A
. 2007-10-05 10:39:05.077 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x01d328d0
< 2007-10-05 10:39:05.077 200 TYPE Command OK A
. 2007-10-05 10:39:05.077 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x01d328d0
> 2007-10-05 10:39:05.087 PASV
. 2007-10-05 10:39:05.147 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x01d328d0
< 2007-10-05 10:39:05.147 227 Entering Passive Mode (10,10,10,97,109,217)
. 2007-10-05 10:39:05.147 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x01d328d0
. 2007-10-05 10:39:05.147 TransferSocket.cpp(597): SetActive() caller=0x01d56224
> 2007-10-05 10:39:05.147 LIST -a
. 2007-10-05 10:39:05.207 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=9 caller=0x01d328d0
< 2007-10-05 10:39:05.207 150 Opening data connection for -a (10.10.10.97,28121)
. 2007-10-05 10:39:05.207 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x01d328d0
. 2007-10-05 10:39:05.217 TransferSocket.cpp(481): OnConnect(0) caller=0x01d56224
. 2007-10-05 10:39:05.277 TransferSocket.cpp(557): OnClose(0) caller=0x01d56224
. 2007-10-05 10:39:05.277 TransferSocket.cpp(1179): Close() caller=0x01d56224
. 2007-10-05 10:39:05.277 TransferSocket.cpp(1179): Close() caller=0x01d56224
. 2007-10-05 10:39:05.277 FtpControlSocket.cpp(2070): TransferEnd(4) OpMode=4 OpState=10 caller=0x01d328d0
. 2007-10-05 10:39:05.277 FtpControlSocket.cpp(1276): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x01d328d0
. 2007-10-05 10:39:05.277 total 0
. 2007-10-05 10:39:05.277 d [RWCEAFMS] adbranni 512 Sep 10 16:30 Integration
. 2007-10-05 10:39:05.277 TransferSocket.cpp(108): ~CTransferSocket() caller=0x01d56224
. 2007-10-05 10:39:05.277 TransferSocket.cpp(1179): Close() caller=0x01d56224
. 2007-10-05 10:39:05.457 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=10 caller=0x01d328d0
< 2007-10-05 10:39:05.457 226 Transfer Complete
. 2007-10-05 10:39:05.457 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x01d328d0
. 2007-10-05 10:39:05.457 Directory listing successful


This happens everytime -- and on more than one computer. I've never been able to login via FTP ... v4.0.4 is the first time I've tried to do it........ I've tried regular and passive mode both to no avail. I'm using Norton Commander style and explorer style both.

Any help would be appreciated!

Thanks,
Glen