I also have this problem under Windows 2000 SP4. I didn't report it before since it occurs so regularly that I thought everyone including developpers were also experiencing the same thing and would attend to it in time. Task Manager shows that the codeblock process doesn't terminate immediately when the application closes, but a few seconds later Dr. Mingw pops up with this report:
codeblocks.exe caused an Access Violation at location 00000064 Reading from location 00000064.
Registers:
eax=00000064 ebx=0121f1c0 ecx=00000001 edx=02ea4da0 esi=004c2910 edi=0022f0b0
eip=00000064 esp=0022ea4c ebp=0022ea68 iopl=0 nv up ei pl nz ac po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000216
Call stack:
00000064
6298410A keybinder.dll:6298410A
629A933B keybinder.dll:629A933B PluginSDKVersion
62991584 keybinder.dll:62991584 PluginSDKVersion
00538735 codeblocks.dll:00538735 _ZN8cbPlugin7ReleaseEb
005EC708 codeblocks.dll:005EC708 _ZN13PluginManager16UnloadAllPluginsEv
005EA43A codeblocks.dll:005EA43A _ZN13PluginManagerD0Ev
006D6394 codeblocks.dll:006D6394 _ZN3MgrI13PluginManagerE4FreeEv
005C841A codeblocks.dll:005C841A _ZN7Manager8ShutdownEv
00433645 codeblocks.exe:00433645
61A6A9C8 wxmsw26u_gcc_cb.dll:61A6A9C8 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
61A6AD8C wxmsw26u_gcc_cb.dll:61A6AD8C _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
61A6BD69 wxmsw26u_gcc_cb.dll:61A6BD69 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61BC8E33 wxmsw26u_gcc_cb.dll:61BC8E33 _ZN12wxWindowBase5CloseEb
61AF90C7 wxmsw26u_gcc_cb.dll:61AF90C7 _ZN7wxFrame13MSWWindowProcEjjl
61ACD8C0 wxmsw26u_gcc_cb.dll:61ACD8C0 _Z9wxWndProcP6HWND__jjl@16
77E4158F USER32.dll:77E4158F IsCharAlphaNumericW
77E3C19D USER32.dll:77E3C19D DdeQueryStringA
77E3C1CA USER32.dll:77E3C1CA DdeQueryStringA
77F91BAF ntdll.dll:77F91BAF NtOpenProcessToken
77E3C159 USER32.dll:77E3C159 DdeQueryStringA
61AD4A5C wxmsw26u_gcc_cb.dll:61AD4A5C _ZN8wxWindow13MSWWindowProcEjjl
61AF8F0A wxmsw26u_gcc_cb.dll:61AF8F0A _ZN7wxFrame13MSWWindowProcEjjl
61ACD8C0 wxmsw26u_gcc_cb.dll:61ACD8C0 _Z9wxWndProcP6HWND__jjl@16
77E4158F USER32.dll:77E4158F IsCharAlphaNumericW
77E3C19D USER32.dll:77E3C19D DdeQueryStringA
77E3C1CA USER32.dll:77E3C1CA DdeQueryStringA
77F91BAF ntdll.dll:77F91BAF NtOpenProcessToken
77E3C159 USER32.dll:77E3C159 DdeQueryStringA
61AD4A5C wxmsw26u_gcc_cb.dll:61AD4A5C _ZN8wxWindow13MSWWindowProcEjjl
61AF8F0A wxmsw26u_gcc_cb.dll:61AF8F0A _ZN7wxFrame13MSWWindowProcEjjl
61ACD8C0 wxmsw26u_gcc_cb.dll:61ACD8C0 _Z9wxWndProcP6HWND__jjl@16
77E4158F USER32.dll:77E4158F IsCharAlphaNumericW
77E41DC9 USER32.dll:77E41DC9 IsCharAlphaNumericW
77E41E7E USER32.dll:77E41E7E IsCharAlphaNumericW
61AAD284 wxmsw26u_gcc_cb.dll:61AAD284 _ZN11wxEventLoop8DispatchEv
61AAD020 wxmsw26u_gcc_cb.dll:61AAD020 _ZN11wxEventLoop3RunEv
61B46D7E wxmsw26u_gcc_cb.dll:61B46D7E _ZN9wxAppBase8MainLoopEv
004046E4 codeblocks.exe:004046E4
61A03C97 wxmsw26u_gcc_cb.dll:61A03C97 _Z14wxUninitializev
61A73C9A wxmsw26u_gcc_cb.dll:61A73C9A _Z7wxEntryP11HINSTANCE__S0_Pci
004014D8 codeblocks.exe:004014D8
004684EA codeblocks.exe:004684EA
00401237 codeblocks.exe:00401237
004012A8 codeblocks.exe:004012A8
7C598989 KERNEL32.dll:7C598989 BaseAttachCompleteThunk
After reading the suggestions here I went through this process (I only use the default workspace and a few related projects):
1. Deactivated all plugins: no change.
2. Deleted all but one test project from the workspace: no change.
3. Deleted all source files from the remaining project: no change.
4. Deleted the last project from the default workspace: situation resolved, no error and the codeblocks process terminates immediately as seen from Task Manager.
5. Restored the last (empty) project: still closing normally, no error.
6. Added one source to the project: still closing normally, no error.
7. Restored other projects: it's baaa-ack! Errors are the same but a few values are different so I'm posting this new Dr. Mingw report again.
codeblocks.exe caused an Access Violation at location 00000064 Reading from location 00000064.
Registers:
eax=00000064 ebx=0121f1c0 ecx=00000001 edx=02e9cb28 esi=004c2910 edi=0022f0b0
eip=00000064 esp=0022ea4c ebp=0022ea68 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206
Call stack:
00000064
6298410A keybinder.dll:6298410A
629A933B keybinder.dll:629A933B PluginSDKVersion
62991584 keybinder.dll:62991584 PluginSDKVersion
00538735 codeblocks.dll:00538735 _ZN8cbPlugin7ReleaseEb
005EC708 codeblocks.dll:005EC708 _ZN13PluginManager16UnloadAllPluginsEv
005EA43A codeblocks.dll:005EA43A _ZN13PluginManagerD0Ev
006D6394 codeblocks.dll:006D6394 _ZN3MgrI13PluginManagerE4FreeEv
005C841A codeblocks.dll:005C841A _ZN7Manager8ShutdownEv
00433645 codeblocks.exe:00433645
61A6A9C8 wxmsw26u_gcc_cb.dll:61A6A9C8 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
61A6AD8C wxmsw26u_gcc_cb.dll:61A6AD8C _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
61A6BD69 wxmsw26u_gcc_cb.dll:61A6BD69 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BD09 wxmsw26u_gcc_cb.dll:61A6BD09 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61BC8E33 wxmsw26u_gcc_cb.dll:61BC8E33 _ZN12wxWindowBase5CloseEb
61AF90C7 wxmsw26u_gcc_cb.dll:61AF90C7 _ZN7wxFrame13MSWWindowProcEjjl
61ACD8C0 wxmsw26u_gcc_cb.dll:61ACD8C0 _Z9wxWndProcP6HWND__jjl@16
77E4158F USER32.dll:77E4158F IsCharAlphaNumericW
77E3C19D USER32.dll:77E3C19D DdeQueryStringA
77E3C1CA USER32.dll:77E3C1CA DdeQueryStringA
77F91BAF ntdll.dll:77F91BAF NtOpenProcessToken
77E3C159 USER32.dll:77E3C159 DdeQueryStringA
61AD4A5C wxmsw26u_gcc_cb.dll:61AD4A5C _ZN8wxWindow13MSWWindowProcEjjl
61AF8F0A wxmsw26u_gcc_cb.dll:61AF8F0A _ZN7wxFrame13MSWWindowProcEjjl
61ACD8C0 wxmsw26u_gcc_cb.dll:61ACD8C0 _Z9wxWndProcP6HWND__jjl@16
77E4158F USER32.dll:77E4158F IsCharAlphaNumericW
77E3C19D USER32.dll:77E3C19D DdeQueryStringA
77E3C1CA USER32.dll:77E3C1CA DdeQueryStringA
77F91BAF ntdll.dll:77F91BAF NtOpenProcessToken
77E3C159 USER32.dll:77E3C159 DdeQueryStringA
61AD4A5C wxmsw26u_gcc_cb.dll:61AD4A5C _ZN8wxWindow13MSWWindowProcEjjl
61AF8F0A wxmsw26u_gcc_cb.dll:61AF8F0A _ZN7wxFrame13MSWWindowProcEjjl
61ACD8C0 wxmsw26u_gcc_cb.dll:61ACD8C0 _Z9wxWndProcP6HWND__jjl@16
77E4158F USER32.dll:77E4158F IsCharAlphaNumericW
77E41DC9 USER32.dll:77E41DC9 IsCharAlphaNumericW
77E41E7E USER32.dll:77E41E7E IsCharAlphaNumericW
61AAD284 wxmsw26u_gcc_cb.dll:61AAD284 _ZN11wxEventLoop8DispatchEv
61AAD020 wxmsw26u_gcc_cb.dll:61AAD020 _ZN11wxEventLoop3RunEv
61B46D7E wxmsw26u_gcc_cb.dll:61B46D7E _ZN9wxAppBase8MainLoopEv
004046E4 codeblocks.exe:004046E4
61A03C97 wxmsw26u_gcc_cb.dll:61A03C97 _Z14wxUninitializev
61A73C9A wxmsw26u_gcc_cb.dll:61A73C9A _Z7wxEntryP11HINSTANCE__S0_Pci
004014D8 codeblocks.exe:004014D8
004684EA codeblocks.exe:004684EA
00401237 codeblocks.exe:00401237
004012A8 codeblocks.exe:004012A8
7C598989 KERNEL32.dll:7C598989 BaseAttachCompleteThunk
Hope this helps pinpoint the bug.