GNOME Bugzilla – Bug 748869
infinite loop then segv on the second search
Last modified: 2015-05-09 21:15:47 UTC
Created attachment 302834 [details] gdb backtrace Both with gnome-commander 1.4.5 and git head, When I * launch gnome-commander * Go to some non-empty directory * Choose "File"->"Search" * On "Search" dialog, in the text box right of "Path matches regex", type some string (for search), e.g. "mp4" * Type enter key, then search result is shown (like "Found 36 matches"). * Then select the above text box (with mouse left click) and type enter key again. Then gcmd crashes with segv. gdb backtrace seems to show that infinite loop happened and gcmd crashed with stack overflow. Currently I have no idea how to fix this.
Hi thank you very much for your bug report. This issue definitely needs some attention. I also run into this bug some time ago. Currently, I don't know where to start as the backtrace is not helpful in my case, too. But I will have a deeper look here after fixing bug #653573.
Created attachment 303006 [details] [review] Proposal patch Looks like the attached proposal patch fixes this issue.
Great! Thank you very much for the bugfix and its detailed explanation, Mamoru! The bug seems to be fixed with this single, but very effective line of code! I'll apply the patch as soon as possible and it will go into the next bugfix release of gnome commander! Best wishes, Uwe
*** Bug 745454 has been marked as a duplicate of this bug. ***