User forums > Using Code::Blocks

Find occurrences of: ... sometimes crashes

(1/1)

huzhongshan:
When I use Find occurrences of ... , it will crash sometime, but not always. I attached the screenshot.


[attachment deleted by admin]

stahta01:
Code::Blocks version?

Current SVN Code

--- Code: --- bool Contains(int val) const {
assert(val >= 0);
if (val < 0) return false;
return (val < size) ? bset[val] : valueAfter;
}

--- End code ---

Tim S.

MortenMacFly:

--- Quote from: stahta01 on June 13, 2012, 12:33:04 am ---
--- Code: --- bool Contains(int val) const {
assert(val >= 0);
if (val < 0) return false;
return (val < size) ? bset[val] : valueAfter;
}

--- End code ---

--- End quote ---
IIRC this was a bug in scintilla, but I cannot upgrade to a more recent one as this would break bookmarks for the moment.

huzhongshan:
rev 8024 and other nightly builds.

huzhongshan:

--- Quote from: MortenMacFly on June 13, 2012, 07:16:01 am ---
--- Quote from: stahta01 on June 13, 2012, 12:33:04 am ---
--- Code: --- bool Contains(int val) const {
assert(val >= 0);
if (val < 0) return false;
return (val < size) ? bset[val] : valueAfter;
}

--- End code ---

--- End quote ---
IIRC this was a bug in scintilla, but I cannot upgrade to a more recent one as this would break bookmarks for the moment.

--- End quote ---
Hope that it will be solved asap , because this bug will cause cb crash . the files which are changed but not saved will lose the changes.

Navigation

[0] Message Index

Go to full version