Global Queue is crashing

maxbear
Posts: 3
Joined: Mon Jul 14, 2003 11:17 am

Global Queue is crashing

Post by maxbear » Mon Jul 14, 2003 12:27 pm

I used smartftp for a real long time and I found it's getting worse and worse.

I used to upload a lot of files to the server by using global queue. But I always got error message. I am using winxp pro and running 24 threads at the same time. Here is the message:

+-- OS --------------------------------------------
PlatformID = 2
Version = 5.1.2600

+-- SmartFTP --------------------------------------
Version = 1.0.978.2
Build Date = 2003-07-10 19:55:40

+-- Crash -----------------------------------------
Time Stamp = 20030713201901
hWnd = 0x0 (0)
nMsg = 0x0 (0)
wParam = 0x0 (0)
lParam = 0x0 (0)

Window Class = ''
Window Title = ''

Exception Code = 0xC0000005 (Access Violation)
Exception Flags = 0x0 (0)
Additional Exceptions = no
Address of Exception = 0x475E71 (4677233)
Number of additional parameters = 2
Parameter[0] = 0x0 (0)
Parameter[1] = 0x0 (0)

Call Stack:

0x00475e71

I used to use smartftp and found that it's a great program. But the recent development really make me disappointed.

By the way, your message board is full of problem too. It always said Invalid_session.

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Global Queue is crashing

Post by mb » Mon Jul 14, 2003 2:40 pm

Hello ..

Please post a detailed bugreport with step-by-step how to reproduce the problem. Try to decrease the number of threads during your tests.

>By the way, your message board is full of problem too. It always said Invalid_session
For phpbb problems please make a bug report at http://www.phpbb.org

Regards,
SmartFTP.com

danse
Posts: 1
Joined: Tue Jul 15, 2003 5:32 pm

Re: Global Queue is crashing

Post by danse » Wed Jul 16, 2003 1:54 am

I got the same problem. While transfering files, no matter whether downloading or uploading, using global queue i got the same error. i coulnd reproduce the error step by step, but one thing is interessting. smartftp keeps downloading the files in the global queue even the error window is on top. In addition, the error seems to occure when global queue is under heavy stress with several threads on directory structure checking. it goes through all the folders and without any reason it goes pop and crashes.

Louie
Posts: 337
Joined: Wed Sep 19, 2001 10:00 pm

Re: Global Queue is crashing

Post by Louie » Fri Jul 18, 2003 6:12 am

Yep I saw one crash happen, out of about 10 tests already with 25+ threads.

Not a very easy one to produce, I can't find a pattern to cause the exception.

If any of you guys can find a exact way on how-to crash the G-Queue,
then please by all means reply with the results you have, thank you.

maxbear
Posts: 3
Joined: Mon Jul 14, 2003 11:17 am

Re: Global Queue is crashing

Post by maxbear » Thu Jul 24, 2003 9:31 pm

If you put more than 100 files in the GQ and each files are at least 10MB large. And you running 24 or even 30 threads at the same time. I think you will have the same problem. Sometimes, I even got buffer overflow error. But whenever which error, the upload process is still running.

This problem is not only in this version, but also some previous version. I just thought it will be fixed but it seems it never got fixed.

Some very old version don't have this problem.

Louie
Posts: 337
Joined: Wed Sep 19, 2001 10:00 pm

Re: Global Queue is crashing

Post by Louie » Fri Jul 25, 2003 12:40 pm

Hi Maxbear,

We think the problem is nailed, will reply after some extensive testing.

Louie
Posts: 337
Joined: Wed Sep 19, 2001 10:00 pm

Re: Global Queue is crashing

Post by Louie » Wed Aug 06, 2003 7:53 pm

Some buffer overflows were fixed for the "Global Queue".

Please install the 978.4 developer build, to verify that the
crashing is gone. I myself haven't seen any. Thank you.

https://www.smartftp.com/download

maxbear
Posts: 3
Joined: Mon Jul 14, 2003 11:17 am

Re: Global Queue is crashing

Post by maxbear » Thu Aug 07, 2003 4:50 am

But I still got the exception handler error.

Louie
Posts: 337
Joined: Wed Sep 19, 2001 10:00 pm

Re: Global Queue is crashing

Post by Louie » Thu Aug 07, 2003 11:28 am

Hi maxbear!

I have spent some more time testing, and still can't crash the Global Queue, even with 50+ threads processing.

Can you please supply as much information as you can, that you haven't supplied to us yet.

Read Me:
https://www.smartftp.com/forums/viewtopic.php?t=6046

And what FTP server software is this occuring on?

And last, what file formats are being transferred?

monaco-o
Posts: 64
Joined: Sat Sep 13, 2003 3:12 pm

Re: Global Queue is crashing

Post by monaco-o » Sun Sep 14, 2003 11:28 pm

Hi

I've the same problem when I'm downloading large amount of file. File type RAR, ZIP... on 2 servers :

1) Reply "Serv-U FTP Server v4.0 for WinSock ready" on connect

2) Reply of SYST and FEAT commands :
>SYST
215 UNIX Type: L8
>FEAT
211-Extension supported
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ] filename
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
211 End


This is the exception report :
=============EXCEPTION=============
+-- OS --------------------------------------------
PlatformID = 2
Version = 5.0.2195

+-- SmartFTP --------------------------------------
Version = 1.0.979.0
Build Date = 2003-09-08 16:55:26

+-- Crash -----------------------------------------
Time Stamp = 20030915012815
hWnd = 0x0 (0)
nMsg = 0x0 (0)
wParam = 0x0 (0)
lParam = 0x0 (0)

Window Class = ''
Window Title = ''

Exception Code = 0xC0000005 (Access Violation)
Exception Flags = 0x0 (0)
Additional Exceptions = no
Address of Exception = 0x4751B1 (4673969)
Number of additional parameters = 2
Parameter[0] = 0x0 (0)
Parameter[1] = 0xC (12)

Call Stack:

0x004751b1 0x00474070 0x7c4e987c
==========END OF EXCEPTION===========

My connection is an ADSL connection and pass throw a BlackICE firewall. Downloaded data are verified by the McAfee VirusScan 6 Web Engine.

When I try to continu execution, program close.

My system information :
==============SYSTEM===============
+- System -----------------------------

Microsoft Windows 2000 Professional
Service Pack 4 (Build 2195)

CPU Speed : 1004 MHz
Total Memory : 785952 KB
Free Memory : 540452 KB

+- SmartFTP ---------------------------

Version : 1.0.979.0
Time Stamp : 2003-09-08 16:55:26

+- Application DLL --------------------

controls.dll : 1.6.979.0
ftpapi.dll : 2.0.979.0
language.dll : 1.0.979.0
reseng.dll : 1.3.979.0
smarthook.dll : 1.0.2.1

+- System DLL -------------------------

shell32.dll : 5.00.3700.6705
shlwapi.dll : 6.00.2800.1226
comctl32.dll : 5.81
riched20.dll : 5.30.23.1215
schannel.dll : 5.00.2195.6705

+- Internet Explorer ------------------

Version : 6.0.2800.1106

+- Winsock ----------------------------

Winsock : 2.2
===========END OF SYSTEM=============

If this can help you :

I've tried to debug program using Microsoft Debugging Tools (WinDbg). WinDbg report the following information with an exception on 004751b1 offset and loop on this exception without result :

===============WINDBG==============
(165c.1654): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=01c8fc2c ebx=00000000 ecx=011a651c edx=ffffffff esi=00000000 edi=011a651c
eip=004751b1 esp=01c8fbec ebp=01c8ff68 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
*** WARNING: Unable to verify checksum for C:Program FilesInternetSmartFTPSmartFTP.exe
*** ERROR: Module load completed but symbols could not be loaded for C:Program FilesInternetSmartFTPSmartFTP.exe
SmartFTP+0x751b1:
004751b1 8b460c mov eax,[esi+0xc] ds:0023:0000000c=????????
============END OF WINDBG===========

Olivier

PS : sorry for my bad english...

Locked