Error on Brand New Install of 3.0.1013.8

Greetings:

I just downloaded and installed smartFTP 3 (version 3.0.1013.8) and when I attempt to run the application I get the following error:

SmartFTP.exe - Application Error

(Big Red X) The Application failed to initialize properly (0xc0000005). Click on OK to terminate the application.

All you can do is click ok.

I have redownloaded the MSI and completely removed the application in control panel 3 times now. It seems nothing can clear out whatever is up with the application.

This is on Windows XP SP2 and it has run before without incidence. I removed it initially to try CuteFTP 8.2 Professional and after I removed Cute FTP and rebooted went to reinstall smartftp because I like it a little better.

What can we do to fix this? Thanks.

Try to delete the registry key at:
HKEY_CURRENT_USER\Software\SmartFTP

using regedit.exe

Then try again.

Regards,
Mat

Try to delete the registry key at:
HKEY_CURRENT_USER\Software\SmartFTP

using regedit.exe

Then try again.

Regards,
Mat

Hi Mat:

Tried this and no dice. The new installation has also not re-created the key I deleted. Still getting exactly the same result.

What else?

Thanks,

Mike

Please install the latest version from:
https://www.smartftp.com/download

If it crashes please send us the crash dump:
https://www.smartftp.com/support/kb/how- ... f2594.html

Thank you.

Regards,
Mat

Mat:

Here is the output of the two files in the dump directory:

Adplus:

ADPlus Version: 6.03.004
ADPlus Version Date: 08/23/2006
OS Version: 5.1
OS Build: 2600
DateTimeStamp: Date_04-24-2008__Time_06-35-20AM
ADPlus was run on: MIKE
Debuggers Installation Directory: C:\Program Files\Debugging Tools for Windows

Command line arguments used were:
-crash -FullOnFirst -pn SmartFTP.exe -o C:\Dump
Script engine Version: 5.6.8820
WARNING! An '_NT_SYMBOL_PATH' environment variable is not set, as a result ADPlus will be forced to use 'export' symbols (if present) to resolve function names in the stack trace information for each thread listed in the log file for the processes being debugged. To resolve this warning, please copy the appropriate symbols to a directory on the server and then create an environment variable with a name of '_NT_SYMBOL_PATH' and a value containing the path to the proper symbols (i.e. c:\winnt\symbols) before running ADPlus in quick or crash modes again. NOTE: After creating the '_NT_SYMBOL_PATH' system environment variable you will need to close the current command shell and open a new one before running ADPlus again.
Selected debugger: cdb.exe
Output Directory: C:\Dump\Crash_Mode__Date_04-24-2008__Time_06-35-20AM


g_Debug_Log = True
g_CheckFreeSpace = True
------ Current Actions for Exceptions ----
AccessViolation [av] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
InvalidHandle [ch] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
IllegalInstruction [ii] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
IntegerDivide [dz] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
FloatingDivide [c000008e] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
IntegerOverflow [iov] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
InvalidLockSequence [lsq] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
StackOverflow [sov] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
CPlusPlusEH [eh] return: GN GN
1st chance: FullDump;Log;Time;Stack
2nd chance: Log;Time;Stack;FullDump;EventLog
UnknownException [*] return: GN GN
1st chance: FullDump;Log;Time;Stack
2nd chance: Log;Time;Stack;FullDump;EventLog
NET_CLR [clr] return: GN GN
1st chance: FullDump;VOID
2nd chance: Log;Time;Stack;FullDump;EventLog
CONTRL_C_OR_Debug_Break [bpe] return: Q GN
1st chance: Log;Time;EventLog;Stacks;LoadedModules;MatchingSymbols;MiniDump
2nd chance:
Wake_Debugger [wkd] return: Q GN
1st chance: FullDump;Log;Time;EventLog;Stacks;LoadedModules;MatchingSymbols;
2nd chance:
DLL_Load [ld] return: GN GN
1st chance: Log
2nd chance: Log
DLL_UnLoad [ud] return: GN GN
1st chance: Log
2nd chance: Log
Process_Shut_Down [epr] return: VOID VOID
1st chance: Log;Time;EventLog;Stacks;FullDump
2nd chance:
Application_hang [aph] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
Ctl_C_Console_app [cce] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
Data_misaligned [dm] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
Guard_page_violation [gp] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
In_page_IO_error [ip] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
Invalid_system_call [isc] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
Stack_buffer_overflow [sbo] return: GN GN
1st chance: FullDump;Log;Time;Stack;
2nd chance: Log;Time;Stack;FullDump;EventLog
*** ERROR ***
*** ERROR ***
*** ERROR ***
The following requested processes are not executing:
SMARTFTP.EXE;

Process List:

0 32 0 System Process
Command Line:
0 32 4 System
Command Line:
0 32 776 smss.exe
Command Line: \SystemRoot\System32\smss.exe
0 32 856 csrss.exe Title:
Command Line: C:\WINDOWS\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
0 32 888 winlogon.exe
Command Line: winlogon.exe
0 32 932 services.exe Svcs: Eventlog,PlugPlay
Command Line: C:\WINDOWS\system32\services.exe
0 32 944 lsass.exe Svcs: PolicyAgent,ProtectedStorage,SamSs
Command Line: C:\WINDOWS\system32\lsass.exe
0 32 1108 svchost.exe Svcs: DcomLaunch,TermService
Command Line: C:\WINDOWS\system32\svchost -k DcomLaunch
0 32 1176 svchost.exe Svcs: RpcSs
Command Line: C:\WINDOWS\system32\svchost -k rpcss
0 32 1268 svchost.exe Svcs: AudioSrv,BITS,CryptSvc,Dhcp,dmserver,ERSvc,EventSystem,FastUserSwitchingCompatib
ility,helpsvc,HidServ,lanmanserver,lanmanworkstation,Nla,Schedule,seclogon,SENS,S
hellHWDetection,srservice,Themes,TrkWks,W32Time,winmgmt,wscsvc,wuauserv,WZCSVC
Command Line: C:\WINDOWS\System32\svchost.exe -k netsvcs
0 32 1328 svchost.exe Svcs: Dnscache
Command Line: C:\WINDOWS\system32\svchost.exe -k NetworkService
0 32 1420 svchost.exe Svcs: LmHosts,RemoteRegistry,WebClient
Command Line: C:\WINDOWS\system32\svchost.exe -k LocalService
0 32 1780 explorer.exe Title: Program Manager
Command Line: C:\WINDOWS\Explorer.EXE
0 32 1816 spoolsv.exe Svcs: Spooler
Command Line: C:\WINDOWS\system32\spoolsv.exe
0 32 268 jusched.exe Title: OleMainThreadWndName
Command Line: "C:\Program Files\Java\jre1.6.0_05\bin\jusched.exe"
0 32 292 egui.exe Title:
Command Line: "C:\Program Files\ESET\ESET Smart Security\egui.exe" /hide /waitservice
0 32 304 PWRISOVM.EXE Title:
Command Line: "C:\Program Files\PowerISO\PWRISOVM.EXE"
0 32 316 Acrotray.exe Title: AcrobatTrayIcon
Command Line: "C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Acrotray.exe"
0 32 332 TrueImageMonitor.exe Title: Acronis True Image
Command Line: "C:\Program Files\Acronis\TrueImageHome\TrueImageMonitor.exe"
0 32 344 TimounterMonitor.exe Title:
Command Line: "C:\Program Files\Acronis\TrueImageHome\TimounterMonitor.exe"
0 32 352 schedhlp.exe Title: Acronis Scheduler2 Helper
Command Line: "C:\Program Files\Common Files\Acronis\Schedule2\schedhlp.exe"
0 32 364 ctfmon.exe Title:
Command Line: "C:\WINDOWS\system32\ctfmon.exe"
0 32 376 YahooMessenger.exe Title:
Command Line: "C:\Program Files\Yahoo!\Messenger\YahooMessenger.exe" -quiet
0 32 388 Skype.exe Title:
Command Line: "C:\Program Files\Skype\Phone\Skype.exe" /nosplash /minimized
0 32 464 soffice.exe
Command Line: "C:\Program Files\OpenOffice.org 2.4\program\soffice.exe" -quickstart
0 32 472 soffice.bin Title:
Command Line: "C:\Program Files\OpenOffice.org 2.4\program\soffice.exe" -quickstart
0 32 624 schedul2.exe Svcs: AcrSch2Svc
Command Line: "C:\Program Files\Common Files\Acronis\Schedule2\schedul2.exe"
0 32 264 apache.exe Svcs: Apache2.2
Command Line: "c:\xampp\apache\bin\apache.exe" -k runservice
0 32 720 AppleMobileDeviceService.exe Svcs: Apple Mobile Device
Command Line: "C:\Program Files\Common Files\Apple\Mobile Device Support\bin\AppleMobileDeviceService.exe"
0 32 736 mDNSResponder.exe Svcs: Bonjour Service
Command Line: "C:\Program Files\Bonjour\mDNSResponder.exe"
0 32 792 ekrn.exe Svcs: ekrn
Command Line: "C:\Program Files\ESET\ESET Smart Security\ekrn.exe"
0 32 1012 mysqld-nt.exe Svcs: mysql
Command Line: C:\xampp\mysql\bin\mysqld-nt.exe --defaults-file=c:\xampp\mysql\bin\my.cnf mysql
0 32 1496 TrueImageTryStartService.exe Svcs: TryAndDecideService
Command Line: "C:\Program Files\Common Files\Acronis\Fomatik\TrueImageTryStartService.exe"
0 32 2356 apache.exe
Command Line: C:\xampp\apache\bin\apache.exe -d C:/xampp/apache
0 32 2416 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 2576 FNPLicensingService.exe Svcs: FLEXnet Licensing Service
Command Line: "C:\Program Files\Common Files\Macrovision Shared\FLEXnet Publisher\FNPLicensingService.exe"
0 32 2812 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 2976 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 2996 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 3032 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 3056 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 3076 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 3096 php-cgi.exe
Command Line: "C:\Program Files\Zend\Core\bin\php-cgi.exe"
0 32 752 skypePM.exe Title:
Command Line: "C:\Program Files\Skype\Plugin Manager\skypePM.exe" /SILENT
0 32 1720 firefox.exe Title: How to collect crash reports - Mozilla Firefox
Command Line: "C:\PROGRA~1\Mozilla Firefox\firefox.exe"
0 32 3088 msiexec.exe Svcs: MSIServer
Command Line: C:\WINDOWS\system32\msiexec.exe /V
0 32 1380 cmd.exe Title: C:\WINDOWS\system32\cmd.exe - cscript "C:\Program Files\Debugging Tools for Windows\adplus.vbs" -crash -FullOnFirst -pn SmartFT
Command Line: "C:\WINDOWS\system32\cmd.exe"
0 32 3020 cscript.exe Title:
Command Line: cscript "C:\Program Files\Debugging Tools for Windows\adplus.vbs" -crash -FullOnFirst -pn SmartFTP.exe -o C:\Dump
0 32 2660 cmd.exe Title: C:\WINDOWS\system32\cmd.exe
Command Line: "C:\WINDOWS\system32\cmd.exe" /c tlist.exe -v >"C:\Dump\Crash_Mode__Date_04-24-2008__Time_06-35-20AM\Process_List.txt"
0 32 1484 tlist.exe
Command Line: tlist.exe -v

Thank you but we need the dmp/mdmp files in the C:\Dump folder. Can you zip/rar them and upload them to rapidshare.com for example?

Thank you

Thank you but we need the dmp/mdmp files in the C:\Dump folder. Can you zip/rar them and upload them to rapidshare.com for example?

Thank you

HI Mat:

As I stated, the only things in the dump folder were the two text files that I uploaded the contents of. SmartFTP.exe does not run long enough to even give me a crash... it simply gives the error dialog immediately that I stated in the original post... no matter which version I try to install.

There are no dmp files in the dump directory.

Not sure how we can fix this.

Here is the chain of events:

1 -- had smartftp running on my box
2 -- uninstalled smartftp
3 -- installed cuteftp 8 professional (which I tried a reinstall of to see if would work and it does)
4 -- don't like cuteftp so removed
5 -- tried the first reinstall of smartftp
6 -- got the error
7 -- unistalled smartftp, rebooted
8 -- reinstalled smartftp , got the error
9 -- 3 more consecutive trys using both the latest and the next to latest build
10 -- still get error, tried repair option on smartftp install files
11 -- still get error
12 -- ran microsoft safety scan from onecare site, fixed some registry errors
13 -- tried to run smartftp, still get error
14 -- tried to use the debug tool suggested here, no dmp files generated, still get error

That pretty much is where we are at.

Hope this sheds light since it dies IMMEDIATELY.

Thank you. I was able to load the dumb in the debugger but the stack trace doesn't make any sense:
> ntdll.dll!_RtlRaiseStatus@4() + 0x26 bytes
ntdll.dll!__LdrpInitialize@12() + 0x26b95 bytes
ntdll.dll!_KiUserApcDispatcher@20() + 0x7 bytes
ntdll.dll!_NtQueryValueKey@24() + 0xc bytes
kernel32.dll!_BaseThreadStartThunk@8() + 0xb bytes

You can try it again with the latest version 1014.1 but I don't think it helps.

Regards,
Mat

Thank you. I was able to load the dumb in the debugger but the stack trace doesn't make any sense:
> ntdll.dll!_RtlRaiseStatus@4() + 0x26 bytes
ntdll.dll!__LdrpInitialize@12() + 0x26b95 bytes
ntdll.dll!_KiUserApcDispatcher@20() + 0x7 bytes
ntdll.dll!_NtQueryValueKey@24() + 0xc bytes
kernel32.dll!_BaseThreadStartThunk@8() + 0xb bytes

You can try it again with the latest version 1014.1 but I don't think it helps.

Regards,
Mat

That was 1014.1 (I think) what is going on with it though?

Thanks

That was 1014.1 (I think) what is going on with it though?

Thanks

it is 1014.0 correction :-)

No the version you have tested was 1014.0. I have just uploaded the new version.

The new version also has a new feature.
You can set the registry value to 0x1 to show a debug message at the start:
HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
ShowDebugMessage
DWORD
0x1

This will allow you to attach the debugger (adplus) more easily.

Regards,
Mat

No the version you have tested was 1014.0. I have just uploaded the new version.

The new version also has a new feature.
You can set the registry value to 0x1 to show a debug message at the start:
HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
ShowDebugMessage
DWORD
0x1

This will allow you to attach the debugger (adplus) more easily.

Regards,
Mat

what is the link to the new 1014.1 client please :-)

Ok. On the install of the 1014.1 I get this new error during registering files:

Error:

C:\Program Files\SmartFTP Client\sfTransferque.dll
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3
Click Retry to try again, Ignore to proceed anyway (not recommended), or Abort to cancel the installation

You have the three buttons at the bottom.

Mat:

I actually just got the file from the link you posted. The other one I had tried to install was from your links on your postings with NSI not MSI. The MSI installed fine again, but still not working so far. Going to try to do the dump again and upload the new rar file in a bit.

Thanks for all your help.

Mike

Mat:

I actually just got the file from the link you posted. The other one I had tried to install was from your links on your postings with NSI not MSI. The MSI installed fine again, but still not working so far. Going to try to do the dump again and upload the new rar file in a bit.

Thanks for all your help.

Mike

Well We have tried the install and the registry entry for HKLU/Software/SmartFTP is not showing up. I am beginning to suspect the problem lies within my AV software. I am using NOD32 which is a newer anti-Malware software and it may be watching for registry entries to keep from happening though when I tried an install with it disabled, the situation did not change. I have not tried totally shutting it down and redoing the install.

But SmartFTP is not writing that key in any case.

Hello Mike ..

The SmartFTP installer/setup does not write anythign into the HKEY_CURRENT_USER\Software\SmartFTP key.

Regarding the sfTransferQueue.dll registration problem. Try to unregister the dll manually:
regsvr32.exe /u sfTransferQueue.dll

then register it again:
regsvr32.exe sfTransferQueue.dll

Regards,
Mat

Hello Mike ..

The SmartFTP installer/setup does not write anythign into the HKEY_CURRENT_USER\Software\SmartFTP key.

Regarding the sfTransferQueue.dll registration problem. Try to unregister the dll manually:
regsvr32.exe /u sfTransferQueue.dll

then register it again:
regsvr32.exe sfTransferQueue.dll

Regards,
Mat

well, we are still getting the original error. I am totally befuzzled by this. By the way, the backup exe works.

I am out of ideas on this.

Thanks,

Mike

Did you try the latest version (released yesterday) from:
https://www.smartftp.com/download

Not that I think it fixes the problem but it's worth a try. I think the problem is most likely caused by an incompatibility between SmartFTP and another software you have installed. You can try to uninstall antivirus/software firewall products to see if that helps.

Regards,
Mat

Hello Mike ..

If you want you can send us another dump but the first one didn't contain much useful information. The stack trace was very likely corrupted. This time please set the registry key as I described in my previous post. This will allow you to attach the debugger/adsplus right after SmartFTP starts.

You can set the registry value to 0x1 to show a debug message right at the start:
HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
ShowDebugMessage
DWORD
0x1

Regards,
Mat

Hello Mike ..

If you want you can send us another dump but the first one didn't contain much useful information. The stack trace was very likely corrupted. This time please set the registry key as I described in my previous post. This will allow you to attach the debugger/adsplus right after SmartFTP starts.

You can set the registry value to 0x1 to show a debug message right at the start:
HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
ShowDebugMessage
DWORD
0x1

Regards,
Mat

Hi Mat:

I would be glad to do that except as I have mentioned, once we removed the registry key (your initial response) it has never appeared again... that key does not exist in my registry. If that is the issue, we need to create the registry entries by hand because the installer is NOT recreating the key.

Ergo, I can not set the registry value you are requesting.

I have installed and un-installed SFTP now at least 6 times and the key has never been recreated.

What would be our next move?

Thanks,

Mike

Hey Mat:

Was trying to run down some other information and found the following two things -- these may help I hope.

1. Tried a reinstall using the NSI installer from your footer. It comes up with that it can not register sfTransferQueue.dll with error code 0x3. I followed your instructions and get the following when trying to register it manually:

Load Library ("sfTransferQueue.dll") failed -- Invalid access to memory location

2. This is in my event log for applications: SmartFTP Client -- Internal Error 2753. SmartFTP.exe

Still no registry key created under HKLU/Software/SmartFTP

Hoping this will help us figure out what is going on. Naturally, trying to run SFTP yeilds the same old application initialization error as before. I do have another dump created, but since the key doesn't exist, it may be of no help. nonetheless, if you wish I will rar it and upload it... let me know.

Thanks,

Mike

I believe there is a problem with your system. There are too many errors that should not happen. You may want to reinstall your system to fix the problem.

Regards,
Mat

I believe there is a problem with your system. There are too many errors that should not happen. You may want to reinstall your system to fix the problem.

Regards,
Mat

HI Mat:

I would buy that if it wasn't just SFTP acting up. Every other app on this system is fine. I hate to use CuteFTP instead, but it runs fine. I prefer to run SFTP and I need to be up to speed with work, but I am sure that something is awry with the registry entries and I had hoped that I could find the solution here.

Unfortunately, reinstalling my system is NOT an option at this point.

That is the easy fix all to everything.

Guess I am using a competing product and I will make sure to write about all this in my blog. Would have supported this software with a purchase if it re-installed ok.

Thanks,

Mike

What do you want us to do? The problem is clearly with your system. There is something seriously broke when the registration of the dlls does not even succeed (this is automatically generated code that we do not even have control of) and when SmartFTP is not even able to create registry keys.
Maybe you should just accept that the problem is not with SmartFTP but with your system and try to fix it instead.

Regards,
Mat

What do you want us to do? The problem is clearly with your system. There is something seriously broke when the registration of the dlls does not even succeed (this is automatically generated code that we do not even have control of) and when SmartFTP is not even able to create registry keys.
Maybe you should just accept that the problem is not with SmartFTP but with your system and try to fix it instead.

Regards,
Mat

Hi Mat:

Well, I am not having ANY other application throw this kind of problem, it is a ROYAL PAIN to backup and reinstall the system and since SFTP is the ONLY application that is throwing any kind of error, I am not inclined to believe it can be my system. I have a feeling that it may be due to the DES that Microsoft has implemented and they say to have the software vendor fix their program if this error comes up. ONLY SFTP has the problem.

Yes I have talked to Microsoft about the error.

Nothing else I install or deinstall has issues just SmartFTP. I guess I could try an older version install (if I could find it) and try to update that later on?

Where could one even find 2.5 version?

Thanks,

Mike

You can find version 2.5 at:
https://www.smartftp.com/support/kb/smar ... f2599.html

Regards,
Mat