Abnormal Program Termination

Getting MS Visual C++ Runtime error "Abnormal Program Termination" when exiting application 2.5.1008.6 I have removed and re-installed SFTPMSI.exe.
The program is working OK, just the runtime error upon exit.
Operating system XP Prof SP2

Hello ..

Please post the system information from the menu: Help->About "System Information" dialog.

Can you post a screenshot showing SmartFTP right before you close it?

Do you get the Runtime error everytime?

Thank you
Regards,
Mat

Runtime error is every time the program closes. Here's the system info:

+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)

CPU Speed : 2533 MHz
Total Memory : 511 MB
Free Memory : 79 MB

+- SmartFTP ---------------------------
Version : 2.5.1008.6
Time Stamp : 2007-11-08 01:32:37
Platform : x86

+- Application DLL --------------------
sfFTPLib.dll : 1.5.11.5
sfFavorites.dll : 1.0.4.6
SmartHook.dll : 1.0.2.2

+- Language ---------------------------
SmartFTP.exe : 2.5.1008.6

+- Internet Explorer ------------------
Version : 6.0.2900.2180

+- Winsock ----------------------------
Winsock : 2.2

I can e-mail you copy of screenshot image. Thanks!




Hello ..

Please post the system information from the menu: Help->About "System Information" dialog.

Can you post a screenshot showing SmartFTP right before you close it?

Do you get the Runtime error everytime?

Thank you
Regards,
Mat

I have a similar error every time I exit via 'File | Exit':

First popup:-

[indent]Microsoft Visual C++ Debug Library

Debug Error!
Program: C:\Program Files\SmartFTP Client\SmartFTP.exe
abnormal program termination
(Press Retry to debug application)

Abort, Retry, Ignore?
[/indent]
Selecting Ignore gives second popup:-

[indent]Microsoft Visual C++ Debug Library

Runtime Error!
Program: C:\Program Files\SmartFTP Client\SmartFTP.exe
abnormal program termination

Ok?
[/indent]
System Info:

+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)

CPU Speed : 2732 MHz
Total Memory : 1023 MB
Free Memory : 498 MB

+- SmartFTP ---------------------------
Version : 2.5.1008.27
Time Stamp : 2007-12-15 05:00:40
Platform : x86

+- Application DLL --------------------
sfFTPLib.dll : 1.5.11.20
sfFavorites.dll : 1.0.4.27
sfFavoritesShellExtension.dll : 1.0.1.4
sfTransferQueue.dll : 1.0.1.27
SmartHook.dll : 1.0.2.2

+- Language ---------------------------
SmartFTP.exe : 2.5.1008.27

+- Internet Explorer ------------------
Version : 7.0.5730.13

+- Winsock ----------------------------
Winsock : 2.2

Appears to be harmless, but I would like to know for sure.

Hello ..

Could you please provide step by step instructions on how to reproduce this on a new installation of SmartFTP?

Thank you
Regard,s
Mat

I'm having the same problem. SmartFTP exits with VC++ runtime error every time. Step-by-step instructions? Install, start, exit through 'x' or file/exit.

system info
+- System -----------------------------

Microsoft Windows Vista Business Edition 

 (Build 6000)



CPU Speed		 : 2133 MHz

Total Memory	  : 4094 MB

Free Memory	   : 3027 MB



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

Version		   : 2.5.1008.22

Time Stamp		: 2007-12-07 03:20:49

Platform		  : x64



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

sfFTPLib.dll : 1.5.11.17

sfFavorites.dll : 1.0.4.22

sfFavoritesShellExtension.dll : 1.0.1.4

sfTransferQueue.dll : 1.0.1.22

SmartHook.dll : 1.0.2.2



+- Language ---------------------------

SmartFTP.exe	  : 2.5.1008.22



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

Version		   : 7.0.6000.16575



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

Winsock		   : 2.2

event log entry 1
Log Name:	  Application

Source:		Application Error

Date:		  2008.01.20. 5:55:39

Event ID:	  1000

Task Category: (100)

Level:		 Error

Keywords:	  Classic

User:		  N/A

Computer:	  X

Description:

Faulting application SmartFTP.exe, version 2.5.1008.22, time stamp 0x47590e5b, faulting module SmartFTP.exe, version 2.5.1008.22, time stamp 0x47590e5b, exception code 0x40000015, fault offset 0x00000000003e7922, process id 0x858, application start time 0x01c85add9d950b10.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

	<Provider Name="Application Error" />

	<EventID Qualifiers="0">1000</EventID>

	<Level>2</Level>

	<Task>100</Task>

	<Keywords>0x80000000000000</Keywords>

	<TimeCreated SystemTime="2008-01-19T20:55:39.000Z" />

	<EventRecordID>2145</EventRecordID>

	<Channel>Application</Channel>

	<Computer>X</Computer>

	<Security />

  </System>

  <EventData>

	<Data>SmartFTP.exe</Data>

	<Data>2.5.1008.22</Data>

	<Data>47590e5b</Data>

	<Data>SmartFTP.exe</Data>

	<Data>2.5.1008.22</Data>

	<Data>47590e5b</Data>

	<Data>40000015</Data>

	<Data>00000000003e7922</Data>

	<Data>858</Data>

	<Data>01c85add9d950b10</Data>

  </EventData>

</Event>

event log entry 2
Log Name:	  Application

Source:		Application Error

Date:		  2008.01.20. 5:55:13

Event ID:	  1000

Task Category: (100)

Level:		 Error

Keywords:	  Classic

User:		  N/A

Computer:	  X

Description:

Faulting application SmartFTP.exe, version 2.5.1008.22, time stamp 0x47590e5b, faulting module SmartFTP.exe, version 2.5.1008.22, time stamp 0x47590e5b, exception code 0x40000015, fault offset 0x00000000003e7922, process id 0x824, application start time 0x01c85adcf2f52460.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

	<Provider Name="Application Error" />

	<EventID Qualifiers="0">1000</EventID>

	<Level>2</Level>

	<Task>100</Task>

	<Keywords>0x80000000000000</Keywords>

	<TimeCreated SystemTime="2008-01-19T20:55:13.000Z" />

	<EventRecordID>2144</EventRecordID>

	<Channel>Application</Channel>

	<Computer>X</Computer>

	<Security />

  </System>

  <EventData>

	<Data>SmartFTP.exe</Data>

	<Data>2.5.1008.22</Data>

	<Data>47590e5b</Data>

	<Data>SmartFTP.exe</Data>

	<Data>2.5.1008.22</Data>

	<Data>47590e5b</Data>

	<Data>40000015</Data>

	<Data>00000000003e7922</Data>

	<Data>824</Data>

	<Data>01c85adcf2f52460</Data>

  </EventData>

</Event>

Kukac:
1. Test with the 32-bit version from: https://www.smartftp.com/download
2. Then provide the crash dumps: https://www.smartftp.com/support/kb/how- ... f2594.html

Regards,
Mat

I did what you asked.

1. Installed version 2.5.1008.33 from the link provided by you. In order to avoid problems due to funny settings, I removed my settings folder prior to installation, though I didn't touch my registry. Got the same VC++ error on exit.

2. I'll edit this post to include links to the crash report on rapidshare. For now, I'm still uploading all the rar'ed ~200 MBs (uncompressed around 500M). Here're the links to the report:

I'd like to suggest a few clarifications/corrections to the "how to collect crash reports" page.

A/ On Vista x64 and using 64-bit debug tools, the correct path to the script is %systemdrive%\Program Files\Debugging Tools for Windows 64-bit\adplus.vbs. There're 2 problems with the one shown on the page, first %programfiles% sometimes resolves to the program files (x86) dir, second there's the "64-bit" at the end of the directory path.

B/ When smartftp wasn't running when the script was executed, I got an error indicating so and the debug report looked quite empty except for a process list (check the first, older folder in the rar). To get a full crash report I had to start the client first and then run the script.

C/ On running the script a window pops up telling me about some missing symbols path variable. If this is to be ignored, please indicate so. I wouldn't want to redo the whole process, especially the uploading to rapidshare (which still hasn't finished, instead it has failed once already

edit: used A) ... C), turned out B ) was
edit2: typos, grammar
edit3: finally, here're the links. good luck

Hello ..

Thank you. I have updated the article accordingly.

The %ProgramFiles% variable resolves to the 64-bit program files folder if you run it in a 64-bit process (e.g. 64-bit command line).

I will look at the crash dumps and post any updates here.

Regards,
Mat

Hello ..

I wasn't able to debug the problem with the 64-bit dumps. Can you create the crash dumps again with the 32-bit version of the debugging tools for windows?

Thank you
Regards,
Mat

Here you go.

Hello ..

Thank you. I believe I have found and fixed the bug. Please try it with the latest version:
https://www.smartftp.com/download

Regards,
Mat

Installed .35 beta, problem is gone. Thank you. Any chance for an x64 version? Actually, does it have any sense at all to make it 64-bit?

Thanks for testing ;-)

The 32-bit version works just fine on x64. It comes with the required 64-bit shell extensions (sfShellTools64.dll, SmartHook64.dll).
The 64-bit version will be released in a couple of days. The latest version can always be found at:
https://www.smartftp.com/get/SFTPMSI64.exe

Regards,
Mat