I was working at project A. Then I opened another instance of CB to open project B by clicking on ProjectB.cbp. A CB window opened showing the source opened in project A. Then I got a crash. Win7 64 ultimate, i7. Nightly build 12802. Rpt attached.
It happened twice in a night. This time there was just one project opened. I closed CB without saving (I forgot to save, a requester would have popped up normally to remind me to save the works) and I got a wxWidgets Debug Alert "A debugging check in this application has failed: idx != (-1) failed in SetSelectionToWindow(): invalid notebook page". Then it crashed. RPT attached.
It keeps happening with one project but not with others, dunno why. Everytime you close CB, it crashes. I installed the last NB (15 May), same problem. Updated RPT attached
The crash is perfectly reproduceable now here. I have attached an archive containing both the indicted project, the RPT and my settings folder. I hope this helps. Here it crashes ALWAYS when closing that project. Unfortunately I am not allowed to rename the ticket to a more relevant title like "crash when exiting CB". Please let me know if it helps or if you need more info, thx.
A list of the enabled plugins follows. However that is common to all my projects, and as I said only that project crashes on exiting.
For the record, I think I fixed it accidentally. To me it looks like it was the .cbp file which got corrupted for some reason. Now I opened it to do some tests and it showed main.cpp opened twice (two tabs). I closed one tab and in crashed. So evidentily it went nuts. Then I opened the project again and it showed no tabs opened. I could open main.cpp in the editor again, I saved the project and now it exits without crashes. Surely it was the .cbp which became corrupted. I lost it now but you still have it in the BugReport.7z archive I sent, if you want to inspect it carefully. Thanks
It happened twice in a night. This time there was just one project opened. I closed CB without saving (I forgot to save, a requester would have popped up normally to remind me to save the works) and I got a wxWidgets Debug Alert "A debugging check in this application has failed: idx != (-1) failed in SetSelectionToWindow(): invalid notebook page". Then it crashed. RPT attached.
It keeps happening with one project but not with others, dunno why. Everytime you close CB, it crashes. I installed the last NB (15 May), same problem. Updated RPT attached
It is so annoying that cb has no debug symbols...
But this leads to me that this can be some documentation popup problem:
The crash is perfectly reproduceable now here. I have attached an archive containing both the indicted project, the RPT and my settings folder. I hope this helps. Here it crashes ALWAYS when closing that project. Unfortunately I am not allowed to rename the ticket to a more relevant title like "crash when exiting CB". Please let me know if it helps or if you need more info, thx.
I can not reproduce (W7 & W10, wx3.1.6).
Can you post the list of enabled plugins? It is available in Help -> About -> Plugins.
A list of the enabled plugins follows. However that is common to all my projects, and as I said only that project crashes on exiting.
For the record, I think I fixed it accidentally. To me it looks like it was the .cbp file which got corrupted for some reason. Now I opened it to do some tests and it showed main.cpp opened twice (two tabs). I closed one tab and in crashed. So evidentily it went nuts. Then I opened the project again and it showed no tabs opened. I could open main.cpp in the editor again, I saved the project and now it exits without crashes. Surely it was the .cbp which became corrupted. I lost it now but you still have it in the BugReport.7z archive I sent, if you want to inspect it carefully. Thanks
Abbreviations : 0.1
Autosave : 0.1
AutoVersioning : 1.3
BrowseTracker : 1.2.113 2022/04/15
BYO Games : 1.0
Cccc : 1.1
Class wizard : 0.3
Code completion : 1.0
Code profiler : 1.0RC2
Code snippets : 1.4.3 2018/03/24
Code statistics : 0.5
Compiler : 0.99
Copy Strings to clipboard : 1.00
CppCheck : 1.1
Cscope : 0.3
Debugger : 0.3
DevPak updater/installer : 0.2
DoxyBlocks : 1.7.663
DragScroll : 1.3.30 2021/06/25
EditorConfig plugin for Code::Blocks: 0.2
EditorTweaks : 0.1
Environment variables : 0.97
FileManager : 0.5.0
Files extension handler : 1.0
Foreign projects importer : 1.1
FortranProject : 1.8
Header Fixup : 0.80
Help plugin : 1.1
HexEditor : 0.5
IncrementalSearch : 0.9
Keyboard shortcuts : 2.0.16 2020/07/14
Koders query : 0.1
Library finder : 2.0
LogHacker : 0
ModPoller : 0.1
MouseSap : 1.1.10 2020/06/9
NassiShneidermanPlugin : 0.1
OccurrencesHighlighting : 0.1
Open files list : 1.0
Project options manipulator : 1.0
Regular expressions testbed : 0.3
ReopenEditor : 0.5
rndgen : 217.11.0.22
Scripted wizard : 0.9
SmartIndentCpp : 0.1
SmartIndentFortran : 0.1
SmartIndentHDL : 0.1
SmartIndentLua : 0.1
SmartIndentPascal : 0.1
SmartIndentPython : 0.1
SmartIndentXML : 0.1
Source code formatter (AStyle) : 3.1.0
Source Exporter : 1.0
SpellChecker : 0.1
Symbol Table Plugin : 1.0
ThreadSearch : 1.13
tidycmt : 1.0.0
Todo List : 0.3
ToolsPlus : 0.6.0
Windows XP Look'n'Feel : 1.0
wxSmith : 1.0
wxSmith - Aui : 0.8.1
wxSmith - Contrib Items : 0.2
wxSmith - MIME plugin : 1.0
I think the problem was in the Workbench.layout file, where main.cpp appears twice:
I will close the ticket if you have no objection.