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 |
|
mirek
Messages: 13980 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
Mirek
|
|
|
|
|
theIDE segmentation fault [FIXED]
By: masu on Sun, 27 August 2006 23:35
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Mon, 28 August 2006 00:12
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Mon, 28 August 2006 00:53
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Mon, 28 August 2006 20:49
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Tue, 29 August 2006 00:40
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Tue, 29 August 2006 09:50
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Wed, 30 August 2006 00:03
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Wed, 30 August 2006 22:31
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Wed, 30 August 2006 23:08
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Wed, 30 August 2006 23:24
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Wed, 30 August 2006 23:34
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Mon, 04 September 2006 21:24
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Mon, 04 September 2006 21:38
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Fri, 08 September 2006 09:58
|
|
|
Re: theIDE segmentation fault [BUG]
By: masu on Fri, 08 September 2006 12:27
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Mon, 11 September 2006 16:01
|
|
|
Re: theIDE segmentation fault [BUG]
By: piotr5 on Thu, 21 September 2006 15:09
|
|
|
Re: theIDE segmentation fault [BUG]
By: mirek on Thu, 21 September 2006 15:23
|
Goto Forum:
Current Time: Sat Jun 01 10:46:54 CEST 2024
Total time taken to generate the page: 0.01842 seconds
|