Bug #17195 2010-05-29 15:55

dennisferron

Search all files for regex "^" freezes IDE

The IDE freezes with 100% CPU usage if you do regex search all files using the regex "^".

I was looking for a way to add same #include to all files. Different regex libraries define "^" to mean "the beginning of the entire input" or "the beginning of a line". To find out which, I did a search using a regex consisting of just "^".

Now, I realize if it matches all lines that will be a lot of matches, but given that you also can't cancel the search (pointer shows hourglass when you try to click cancel button), I'd say that's a bug. I waited 15 minutes for it to respond before killing the process.

Category
Application::Crash
Group
Platform:All
Status
Closed
Close date
2013-05-09 13:36
Assigned to
biplab
dennisferron 2010-05-29 15:56

Forgot to mention: using Windows 7, 64 bit OS, Code::Blocks version 8.02.

biplab 2013-05-09 13:36

This bug is now fixed in HEAD.

Thank you for reporting it.