SmartFTP Crashes on Startup

Problem
A few weeks ago (for whatever reason, SmartFTP was idle) SmartFTP gave an error message and crashed out.
Since then, SmartFTP has been able to open but refuses to open any remote browser - returning an 'Unspecified Error' and an 'Invalid Argument'.

I uninstalled, removed the registry entries and local settings as per the Help section's instructions, and reinstalled. Same issue, no error messages - SmartFTP simply sat there doing squat all.

I decided to update to the latest version and bought a maintainence renewal. I uninstalled the previous version and installed the latest download (x64). Now SmartFTP simply crashes on startup (I was able to enter my new key, but crashed right after).

I collected some dump files for you, but they are about 150mb each and total 6.6GB!
I've only uploaded one of them. If you want any more of them... well, I'll have to work something out.

https://skydrive.live.com/redir.aspx?ci ... parid=root

Thank you. Did you already try to move (rename) the application data folder away?
%appdata%SmartFTP

Indeed, I deleted the folder before I installed this new version.

I have deleted the folder again, it asked me to re-enter the key (which works) and then crashes.

I have contacted you by email.

Hi,

I have the same problem. Could you help me?

Grtz

Anthony: The stack track looks like that:


> riched20.dll!CCharFormatArray::Cache() + 0x421b bytes
riched20.dll!CTxtEdit::Init() + 0x311 bytes
riched20.dll!CreateTextServices() + 0x3c3 bytes
riched20.dll!CTxtWinHost::CreateTextServices() + 0x25 bytes
riched20.dll!CTxtWinHost::Init() + 0x10f bytes
riched20.dll!CTxtWinHost::OnNCCreate() + 0xe7 bytes
riched20.dll!RichEditWndProc() + 0x16278 bytes
user32.dll!UserCallWinProcCheckWow() + 0x11d bytes
user32.dll!CallWindowProcAorW() + 0x78 bytes
user32.dll!CallWindowProcW() + 0x18 bytes
mfc100u.dll!CWnd::DefWindowProcW(unsigned int nMsg=0x00000081, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x00000000648a9beb) Line 1096 C++
mfc100u.dll!CWnd::WindowProc(unsigned int message=0x0019d8d0, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x0000000006861200) Line 2088 + 0x14 bytes C++
mfc100u.dll!AfxCallWndProc(CWnd * pWnd=0x0000000000000081, HWND__ * hWnd=0x000000006488f6f9, unsigned int nMsg=0x0019d678, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x000000000019d8d0) Line 257 + 0x15 bytes C++
mfc100u.dll!AfxWndProc(HWND__ * hWnd=0x000000000019d8d0, unsigned int nMsg=0x00050832, unsigned __int64 wParam=0x0000000000000081, __int64 lParam=0x000007fee058ac28) Line 419 + 0x16 bytes C++
mfc100u.dll!AfxWndProcBase(HWND__ * hWnd=0x0000000000000000, unsigned int nMsg=0x00000000, unsigned __int64 wParam=0x0000000000000001, __int64 lParam=0x0000000000000002) Line 420 + 0x10 bytes C++
user32.dll!UserCallWinProcCheckWow() - 0x1143 bytes
user32.dll!DispatchClientMessage() + 0x5f bytes
user32.dll!__fnINLPCREATESTRUCT() + 0x85 bytes
ntdll.dll!KiUserCallbackDispatcherContinue()
user32.dll!ZwUserCreateWindowEx() + 0xa bytes
user32.dll!VerNtUserCreateWindowEx() + 0x267 bytes
user32.dll!_CreateWindowEx() + 0x1b4 bytes
user32.dll!CreateWindowExW() + 0x70 bytes
mfc100u.dll!AfxCtxCreateWindowExW(unsigned long dwExStyle=0x06861200, const wchar_t * lpClassName=0x0000000006861200, const wchar_t * lpWindowName=0x0000000000000000, unsigned long dwStyle=0xdfdef788, int X=0x00000000, int Y=0x00000000, int nWidth=0x00000000, int nHeight=0x00000000, HWND__ * hWndParent=0x00000000000d0804, HMENU__ * hMenu=0x0000000006861200, HINSTANCE__ * hInstance=0x000000013f2e0000, void * lpParam=0x0000000000000000) Line 426 + 0xc0 bytes C++
mfc100u.dll!CWnd::CreateEx(unsigned long dwExStyle=0x06861200, const wchar_t * lpszClassName=0x0000000040000080, const wchar_t * lpszWindowName=0x0000000064771b1e, unsigned long dwStyle=0x40000080, int x=0x00000000, int y=0x00000000, int nWidth=0x00000000, int nHeight=0x00000000, HWND__ * hWndParent=0x00000000000d0804, HMENU__ * nIDorHMenu=0x0000000000000000, void * lpParam=0x0000000000000000) Line 725 + 0x54 bytes C++
mfc100u.dll!CWnd::Create(const wchar_t * lpszClassName=0x0000000006889ae0, const wchar_t * lpszWindowName=0x0000000040000080, unsigned long dwStyle=0x06861200, const tagRECT & rect={...}, CWnd * pParentWnd=0x0000000006889ae0, unsigned int nID=0x00000000, CCreateContext * pContext=0x0000000000000000) Line 780 C++
ToolkitPro.dll!CXTPCommandBarEditCtrl::CreateEdit(unsigned long dwStyle=0x06853788, CWnd * pParentWnd=0x0000000006853788) Line 189 + 0x44 bytes C++
ToolkitPro.dll!CXTPControlComboBox::SetRect(CRect rcControl={...}) Line 583 C++
ToolkitPro.dll!CXTPControls::CalcDynamicSize(CDC * pDC=0x000000000019e1f8, int nLength=0x000003b0, unsigned long dwMode=0x0000004b, const CRect & rcBorder={...}, int nWidth=0x0000001a) Line 1518 + 0x5d bytes C++
ToolkitPro.dll!CXTPToolBar::CalcDockingLayout(int nLength=0x01e50288, unsigned long dwMode=0x774b3488, int nWidth=0x0000001a) Line 776 + 0x2a bytes C++
ToolkitPro.dll!CXTPDockBar::_AdjustRow(CArray<CXTPToolBar *,CXTPToolBar *> & arrRow={...}, CPoint pt={...}, int nLength=0x647f11ea, int bHorz=0x00000002, AFX_SIZEPARENTPARAMS * lpLayout=0x000000000019e530, int & nRemove=0xffffffff) Line 327 C++
ToolkitPro.dll!CXTPDockBar::AdjustRow(CArray<CXTPToolBar *,CXTPToolBar *> & arrRow={...}, CPoint pt={...}, int nLength=0x00000019, int bHorz=0x00000002, AFX_SIZEPARENTPARAMS * lpLayout=0x000000000019e530) Line 354 C++
ToolkitPro.dll!CXTPDockBar::CalcDynamicLayout(int nLength=0x00000000, unsigned long nMode=0x00002000, AFX_SIZEPARENTPARAMS * lpLayout=0x000000000019ec68) Line 412 + 0x24 bytes C++
ToolkitPro.dll!CXTPDockBar::OnSizeParent(unsigned __int64 __formal=0x000007fedf803730, __int64 lParam=0x000000000007080e) Line 480 C++
mfc100u.dll!CWnd::OnWndMsg(unsigned int message=0x00000000, unsigned __int64 wParam=0x000000000019ec68, __int64 lParam=0x00000000002cce30, __int64 * pResult=0x000000000019e7e0) Line 2384 C++
mfc100u.dll!CWnd::WindowProc(unsigned int message=0x0019ec68, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x00000000068688a0) Line 2087 + 0x24 bytes C++
mfc100u.dll!AfxCallWndProc(CWnd * pWnd=0x0000000000000361, HWND__ * hWnd=0x000000006488f6f9, unsigned int nMsg=0x0019e908, unsigned __int64 wParam=0xfffffffffffffffe, __int64 lParam=0x000000000019ec68) Line 257 + 0x15 bytes C++
mfc100u.dll!AfxWndProc(HWND__ * hWnd=0x000000000019ec68, unsigned int nMsg=0x000707c2, unsigned __int64 wParam=0x0000000000000361, __int64 lParam=0x0000000000000000) Line 419 + 0x16 bytes C++
mfc100u.dll!AfxWndProcBase(HWND__ * hWnd=0x0000000000000000, unsigned int nMsg=0x000707c2, unsigned __int64 wParam=0x0000000000000001, __int64 lParam=0x0000000001f50080) Line 420 + 0x10 bytes C++
user32.dll!UserCallWinProcCheckWow() + 0x11d bytes
user32.dll!DispatchClientMessage() + 0x5f bytes
user32.dll!__fnDWORD() + 0x2d bytes
ntdll.dll!KiUserCallbackDispatcherContinue()
user32.dll!NtUserMessageCall() + 0xa bytes
user32.dll!SendMessageWorker() - 0x3118 bytes
user32.dll!SendMessageW() + 0x5d bytes
mfc100u.dll!CWnd::RepositionBars(unsigned int nIDFirst=0x06889ae0, unsigned int nIDLast=0x0688ed90, unsigned int nIDLeftOver=0x0685b580, unsigned int nFlags=0x00000000, tagRECT * lpRectParam=0x0000000000000000, const tagRECT * lpRectClient=0x0000000000000000, int bStretch=0x00000001) Line 3156 C++
ToolkitPro.dll!CXTPCommandBarsSiteBase<CMDIFrameWnd>::DockRightOf(CXTPToolBar * pBarToDock=0x0000000000000000, CXTPToolBar * pBarOnLeft=0x0000000000000000) Line 93 C++
SmartFTP.exe!CMainFrame::OnCreate(tagCREATESTRUCTW * lpCreateStruct=0x000000013f483e40) Line 1593 C++
mfc100u.dll!CWnd::OnWndMsg(unsigned int message=0x00000000, unsigned __int64 wParam=0x000000000019f490, __int64 lParam=0x000000000019f110, __int64 * pResult=0x000000000019f110) Line 2265 + 0x10 bytes C++
ToolkitPro.dll!CXTPCommandBarsSiteBase<CMDIFrameWnd>::OnWndMsg(unsigned int message=0x00000001, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x000000000019f490, __int64 * pResult=0x000000000019f110) Line 217 C++
mfc100u.dll!CWnd::WindowProc(unsigned int message=0x0019f490, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x000000000685b580) Line 2087 + 0x24 bytes C++
mfc100u.dll!AfxCallWndProc(CWnd * pWnd=0x0000000000000001, HWND__ * hWnd=0x000000006488f6f9, unsigned int nMsg=0x0019f238, unsigned __int64 wParam=0x0000000000000000, __int64 lParam=0x000000000019f490) Line 257 + 0x15 bytes C++
mfc100u.dll!AfxWndProc(HWND__ * hWnd=0x000000000019f490, unsigned int nMsg=0x0007080e, unsigned __int64 wParam=0x0000000000000001, __int64 lParam=0x0000000000000000) Line 419 + 0x16 bytes C++
mfc100u.dll!AfxWndProcBase(HWND__ * hWnd=0x0000000000000000, unsigned int nMsg=0x00000000, unsigned __int64 wParam=0x0000000000000001, __int64 lParam=0x00000000649dbc84) Line 420 + 0x10 bytes C++
user32.dll!UserCallWinProcCheckWow() - 0x1143 bytes
user32.dll!DispatchClientMessage() + 0x5f bytes
user32.dll!__fnINLPCREATESTRUCT() + 0x85 bytes
ntdll.dll!KiUserCallbackDispatcherContinue()
user32.dll!ZwUserCreateWindowEx() + 0xa bytes
user32.dll!VerNtUserCreateWindowEx() + 0x267 bytes
user32.dll!_CreateWindowEx() + 0x1b4 bytes
user32.dll!CreateWindowExW() + 0x70 bytes
mfc100u.dll!AfxCtxCreateWindowExW(unsigned long dwExStyle=0x0685b580, const wchar_t * lpClassName=0x0000000006854e88, const wchar_t * lpWindowName=0x0000000000000000, unsigned long dwStyle=0x70725e48, int X=0x80000000, int Y=0x80000000, int nWidth=0x80000000, int nHeight=0x80000000, HWND__ * hWndParent=0x0000000000000000, HMENU__ * hMenu=0x00000000000d052f, HINSTANCE__ * hInstance=0x000000013f2e0000, void * lpParam=0x0000000000000000) Line 426 + 0xc0 bytes C++
mfc100u.dll!CWnd::CreateEx(unsigned long dwExStyle=0x06854e88, const wchar_t * lpszClassName=0x000000000685b580, const wchar_t * lpszWindowName=0x000000000685b580, unsigned long dwStyle=0x00cf8000, int x=0x80000000, int y=0x80000000, int nWidth=0x80000000, int nHeight=0x80000000, HWND__ * hWndParent=0x0000000000000000, HMENU__ * nIDorHMenu=0x00000000000d052f, void * lpParam=0x0000000000000000) Line 725 + 0x54 bytes C++
mfc100u.dll!CFrameWnd::Create(const wchar_t * lpszClassName=0x000000000000179c, const wchar_t * lpszWindowName=0x000000000685b580, unsigned long dwStyle=0x02048378, const tagRECT & rect={...}, CWnd * pParentWnd=0x0000000000000000, const wchar_t * lpszMenuName=0x000000000000179c, unsigned long dwExStyle=0x00000000, CCreateContext * pContext=0x0000000000000000) Line 613 + 0x74 bytes C++
mfc100u.dll!CFrameWnd::LoadFrame(unsigned int nIDResource=0x0685b580, unsigned long dwDefaultStyle=0x0019fe09, CWnd * pParentWnd=0x000000013f481274, CCreateContext * pContext=0x0000000000000000) Line 745 + 0x41 bytes C++
mfc100u.dll!CMDIFrameWnd::LoadFrame(unsigned int nIDResource=0x647f11ea, unsigned long dwDefaultStyle=0x00000000, CWnd * pParentWnd=0x0000000000005340, CCreateContext * pContext=0x0000000000000000) Line 276 + 0x12 bytes C++
ToolkitPro.dll!CXTPFrameWndBase<CMDIFrameWnd>::LoadFrame(unsigned int nIDResource=0x0019fda8, unsigned long dwDefaultStyle=0x00000000, CWnd * pParentWnd=0x000000000019fe09, CCreateContext * pContext=0x0000000000000000) Line 257 C++
SmartFTP.exe!CSmartFTPApp::InitInstance() Line 1730 + 0x1c bytes C++
mfc100u.dll!AfxWinMain(HINSTANCE__ * hInstance=0x0000000000000001, HINSTANCE__ * hPrevInstance=0x0000000000000000, wchar_t * lpCmdLine=0x0000000000000000, int nCmdShow=0x00000000) Line 37 + 0xd bytes C++
SmartFTP.exe!__tmainCRTStartup() Line 547 + 0x24 bytes C
kernel32.dll!BaseThreadInitThunk() + 0xd bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes

Unhandled exception at 0x000007fee050bd1b in PID-5568__SMARTFTP.EXE__1st_chance_IllegalInstruction__full_1628_2012-01-03_12-19-53-528_15c0.dmp: 0xC000001D: Illegal Instruction.

We don't know where the problem is. Try to replicate the problem on a fresh installation of Windows 7.

The best I can do for you on that front, is to install it on a machine that has never had SmartFTP on it.

Replication could be hard, as I don't know what caused it in the first place. I'll post back later.

It might be a bug with the gfx card driver. Try to upgrade to the latest version.