U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » theIDE segmentation fault [FIXED]
Re: theIDE segmentation fault [BUG] [message #5149 is a reply to message #5095] Fri, 08 September 2006 09:58 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Well, I had some other things to do during last days, but I would like to resolve this soon now.

The trouble is that I am still unable to reproduce the problem.

Do you think you could do some debuging efforts? Basically, the most effective way how to debug such release problems is to put RLOGs and RDUMPs into the code to find out which code does the crash, e.g.

void SyncTopicFile(const String& link, const String& path)
{
RLOG(path);
	TopicInfo& ti = topic_info().GetAdd(link);
RLOG("1");
	Time tm = FileGetTime(path);
RLIG("2");
	if(ti.path == ":ide:" || ti.path == path && ti.time == tm)
		return;
	String fn = TopicCacheName(path);
RLOG("3");
	if(FileGetTime(fn) > tm) {
RLOG("4");
		ClearLinkRef(link);
RLOG("5");
....etc


This way you can find witch function does the crash, then repeat the process inside that function body...

Might look a bit tedious, but in fact is usually the fastest way how to debug similar release mode problems.

(BTW, I bet that at the end of process, it will be unitialized member variable Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Configurable Layout designer
Next Topic: UPT - Ultimate++ Package Template Documentation available
Goto Forum:
  


Current Time: Mon May 11 00:53:03 GMT+2 2026

Total time taken to generate the page: 0.00709 seconds