Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Crash in debugger on Windows
icon4.gif  Crash in debugger on Windows [message #45481] Sun, 22 November 2015 23:26 Go to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
TheIDE is crashing in debugger after SVN rev. 9201. I guess, this is related to a change introduced in SVN rev. 9202.

Thanks.


Regards,
Novo
Re: Crash in debugger on Windows [message #45482 is a reply to message #45481] Mon, 23 November 2015 00:06 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Sun, 22 November 2015 23:26
TheIDE is crashing in debugger after SVN rev. 9201. I guess, this is related to a change introduced in SVN rev. 9202.

Thanks.


More details? PDB debugger? Situation?

Mirek
Re: Crash in debugger on Windows [message #45483 is a reply to message #45482] Mon, 23 November 2015 06:05 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
mirek wrote on Sun, 22 November 2015 18:06
Novo wrote on Sun, 22 November 2015 23:26
TheIDE is crashing in debugger after SVN rev. 9201. I guess, this is related to a change introduced in SVN rev. 9202.

Thanks.


More details? PDB debugger? Situation?

Mirek


Ide is compiled with MSC 2015 x64 Optimal GUI MT.
Open up a project, compile it with MSC 2015, put a breakpoint, press F5. Actually, it crashes even without breakpoints.
Call stack:
>	ide.exe!Pdb::Byte(unsigned __int64 addr=0) Line 9	C++
 	ide.exe!Pdb::CdbHexView::Byte(__int64 addr=0) Line 59	C++
 	ide.exe!Upp::HexView::RefreshInfo() Line 261	C++
 	ide.exe!Upp::HexView::SetTotal(__int64 _total=2147483648) Line 238	C++
 	ide.exe!Pdb::CdbHexView::CdbHexView() Line 61	C++
 	ide.exe!Pdb::Pdb() Line 200	C++
 	ide.exe!Upp::One<Debugger>::Create<Pdb>() Line 48	C++
 	ide.exe!PdbCreate(Upp::One<Host> && host={...}, const Upp::String & exefile={...}, const Upp::String & cmdline={...}) Line 367	C++
 	ide.exe!Ide::BuildAndDebug(bool runto=false) Line 295	C++
 	ide.exe!Upp::CallbackMethodActionArg<Ide,void (__cdecl Ide::*)(bool) __ptr64,bool>::Execute() Line 26	C++
 	ide.exe!Upp::Callback::Execute() Line 8	C++
 	ide.exe!Upp::Callback::operator()() Line 63	C++
 	ide.exe!Upp::Bar::ScanKeys::Do(unsigned long k=65652) Line 460	C++
 	ide.exe!Upp::Bar::Scan(Upp::Callback1<Upp::Bar &> proc={...}, unsigned long key=65652) Line 470	C++
 	ide.exe!Upp::TopSubMenuItem::HotKey(unsigned long key=65652) Line 560	C++
 	ide.exe!Upp::Ctrl::HotKey(unsigned long key=65652) Line 126	C++
 	ide.exe!Upp::Ctrl::HotKey(unsigned long key=65652) Line 126	C++
 	ide.exe!Upp::MenuBar::HotKey(unsigned long key=65652) Line 403	C++
 	ide.exe!Upp::Ctrl::HotKey(unsigned long key=65652) Line 126	C++
 	ide.exe!Upp::Ctrl::HotKey(unsigned long key=65652) Line 126	C++
 	ide.exe!Ide::HotKey(unsigned long key=65652) Line 981	C++
 	ide.exe!Upp::Ctrl::DispatchKey(unsigned long keycode=65652, int count=1) Line 104	C++
 	ide.exe!Upp::Ctrl::WindowProc(unsigned int message=256, unsigned __int64 wParam=116, __int64 lParam=4128769) Line 289	C++
 	ide.exe!Upp::TopWindow::WindowProc(unsigned int message=256, unsigned __int64 wParam=116, __int64 lParam=4128769) Line 66	C++
 	ide.exe!Upp::Ctrl::WndProc(HWND__ * hWnd=0x00000000011310b0, unsigned int message=256, unsigned __int64 wParam=116, __int64 lParam=4128769) Line 676	C++
 	user32.dll!00007fff5bac250d()	Unknown
 	user32.dll!00007fff5bac2367()	Unknown
 	ide.exe!Upp::Ctrl::sProcessMSG(tagMSG & msg={...}) Line 771	C++
 	ide.exe!Upp::Ctrl::ProcessEvent(bool * quit=0x0000001c46f2f400) Line 794	C++
 	ide.exe!Upp::Ctrl::ProcessEvents(bool * quit=0x0000001c46f2f400) Line 808	C++
 	ide.exe!Upp::Ctrl::EventLoop(Upp::Ctrl * ctrl=0x0000001c46f2fc90) Line 842	C++
 	ide.exe!Upp::TopWindow::Run(bool appmodal=false) Line 321	C++
 	ide.exe!GuiMainFn_() Line 1099	C++
 	ide.exe!Upp::AppExecute__(void (void) * app=0x00007ff7fa5d1a34) Line 322	C++
 	ide.exe!WinMain(HINSTANCE__ * hInstance=0x00007ff7fa5a0000, HINSTANCE__ * __formal=0x0000000000000000, char * lpCmdLine=0x0000001c47181476, int nCmdShow=10) Line 724	C++
 	ide.exe!invoke_main() Line 109	C++
 	ide.exe!__scrt_common_main_seh() Line 264	C++
 	ide.exe!__scrt_common_main() Line 309	C++
 	ide.exe!WinMainCRTStartup() Line 17	C++
 	kernel32.dll!00007fff5b9213d2()	Unknown
 	ntdll.dll!00007fff5deb5454()	Unknown

"this" is invalid inside of the last Pdb::Byte call.


Regards,
Novo
Re: Crash in debugger on Windows [message #45484 is a reply to message #45483] Mon, 23 November 2015 10:21 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you, should be now fixed.
Previous Topic: MSC15 build method
Next Topic: MINGW 64, the compiled .rc file can not be linked properly
Goto Forum:
  


Current Time: Tue Apr 23 13:58:17 CEST 2024

Total time taken to generate the page: 0.01896 seconds