Assertion failure

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
JeffLaing
Posts: 3
Joined: Thu 08 Sep 2011 00:51

Assertion failure

Post by JeffLaing » Wed 12 Oct 2011 15:49

In a production program (SSL client), I keep receiving the error:
Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034).
The error is probably raised by the ScSSHChannel.Connect procedure, and occurs in multiples of four to 8 events.
code is
try
ScsshChannel2.connect
except
on e: exception do
begin
log('FATAL ERROR will re try '+e.message;
disconnectall; // a procedure to close all data chans.
timerdelayconnect.enabled:=true; // wait 6 seconds and retry log on and port forward
end;
end;

typical log file entry
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 FATAL ERROR will re try Assertion failure (D:\Projects\Delphi\SecureBridge\Source\ScSSHChannel.pas, line 1034)
12/10/2011 02:46:06 SSL connected

I don't have source code, and don't have drive D in production machine, or my Delphi machine. Any Idea what is happening. I can't reproduce problem in office.
Jeff

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 13 Oct 2011 15:00

It is a very stange behaviour. This problem can arise when an internal error occurs in the connection.
I cannot reproduce this behaviour. Please send a complete small sample that demonstrates the problem to dmitryg*devart*com.

JeffLaing
Posts: 3
Joined: Thu 08 Sep 2011 00:51

Cant reproduce fault

Post by JeffLaing » Fri 14 Oct 2011 01:35

The only time I see the error is when a production app. is on a client site. I have several other clients using the same program without any error.
I assume that there is some kind of link failure. I can't reproduce fault, and have limited debug facilities on clients machines.

If I bring the client machine to my office I never see the problem. Even using the program on a very poor wireless link won't reproduce the fault.
The only thing that I can think of now is to look for this error and reboot client PC !
Jeff

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 17 Oct 2011 11:12

Do you use SSH or SSL protocol? These are different protocols.

Please try to compose a sample to demonstrate the problem and send it to dmitryg*devart*com.

Post Reply