Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: xjtuphy on December 08, 2005, 04:55:48 am
-
Right click on the toolbar menu.select any of the item.
Then CB crash.
But no problem with the 1.0RC2 installed version.
-
I send it to a bug report. Long ago.
On SVN version - analogically - trap.
-
Yes, I can confirm it.
Backtrace:
-------------------
Error occured on Thursday, December 8, 2005 at 07:41:17.
D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe caused an Access Violation at location 004332dc in module D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe Reading from location 90909090.
Registers:
eax=90909090 ebx=012e37b0 ecx=00433298 edx=ffffffff esi=015c5200 edi=0022e9bc
eip=004332dc esp=0022e8dc ebp=0022e8f4 iopl=0 nv up ei pl nz ac po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010216
Call stack:
004332DC D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:004332DC wxSlideBar::OnContextItem(wxCommandEvent&) D:/Develop/src/codeblocks-head/codeblocks-svn/src/src/wxDockit/src/generic/slidebar.cpp:222
100A7948 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A7948 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
100A8C1E D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A8C1E wxEvtHandler::SearchDynamicEventTable(wxEvent&)
100A8CC8 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A8CC8 wxEvtHandler::ProcessEvent(wxEvent&)
101D8838 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:101D8838 wxMenuBase::SendEvent(int, int)
1014E45A D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:1014E45A wxMenu::MSWCommand(unsigned int, unsigned short)
1010D2BC D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:1010D2BC wxWindow::HandleCommand(unsigned short, unsigned short, void*)
10110842 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:10110842 wxWindow::MSWWindowProc(unsigned int, unsigned int, long)
10108CA0 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:10108CA0 _Z9wxWndProcP6HWND__jjl@16
77D18734 C:\WINDOWS\system32\USER32.dll:77D18734 GetDC
77D18816 C:\WINDOWS\system32\USER32.dll:77D18816 GetDC
77D189CD C:\WINDOWS\system32\USER32.dll:77D189CD GetWindowLongW
77D196C7 C:\WINDOWS\system32\USER32.dll:77D196C7 DispatchMessageA
10107DBC D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:10107DBC _ZN8wxWindow11DoPopupMenuEP6wxMenuii
004668CD D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:004668CD
0043325C D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:0043325C wxSlideBar::OnContextMenu(wxContextMenuEvent&) D:/Develop/src/codeblocks-head/codeblocks-svn/src/src/wxDockit/src/generic/slidebar.cpp:205
100A7948 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A7948 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
100A7D0C D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A7D0C _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
100A8CE9 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A8CE9 _ZN12wxEvtHandler12ProcessEventER7wxEvent
100A8C89 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A8C89 _ZN12wxEvtHandler12ProcessEventER7wxEvent
1020ABAB D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:1020ABAB _ZN12wxWindowBase9TryParentER7wxEvent
100A8C9E D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A8C9E _ZN12wxEvtHandler12ProcessEventER7wxEvent
100A8C89 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100A8C89 _ZN12wxEvtHandler12ProcessEventER7wxEvent
101102C3 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:101102C3 _ZN8wxWindow13MSWWindowProcEjjl
10108CA0 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:10108CA0 _Z9wxWndProcP6HWND__jjl@16
77D18734 C:\WINDOWS\system32\USER32.dll:77D18734 GetDC
77D18816 C:\WINDOWS\system32\USER32.dll:77D18816 GetDC
77D1D17F C:\WINDOWS\system32\USER32.dll:77D1D17F EnumDisplayMonitors
77D1D598 C:\WINDOWS\system32\USER32.dll:77D1D598 DefWindowProcA
77D1D545 C:\WINDOWS\system32\USER32.dll:77D1D545 DefWindowProcA
10107EFA D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:10107EFA _ZN8wxWindow16MSWDefWindowProcEjjl
1010FDDC D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:1010FDDC _ZN8wxWindow13MSWWindowProcEjjl
10108CA0 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:10108CA0 _Z9wxWndProcP6HWND__jjl@16
77D18734 C:\WINDOWS\system32\USER32.dll:77D18734 GetDC
77D18816 C:\WINDOWS\system32\USER32.dll:77D18816 GetDC
77D189CD C:\WINDOWS\system32\USER32.dll:77D189CD GetWindowLongW
77D196C7 C:\WINDOWS\system32\USER32.dll:77D196C7 DispatchMessageA
100E86A5 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100E86A5 _ZN11wxEventLoop14ProcessMessageEP6tagMSG
100E8C74 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100E8C74 _ZN11wxEventLoop8DispatchEv
100E8A10 D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100E8A10 _ZN11wxEventLoop3RunEv
101824EE D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:101824EE _ZN9wxAppBase8MainLoopEv
0040474A D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:0040474A CodeBlocksApp::OnRun() D:/Develop/src/codeblocks-head/codeblocks-svn/src/src/app.cpp:429
1004333F D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:1004333F _Z14wxUninitializev
100B091C D:\Develop\shared_lib\wxmsw26_gcc_cb.dll:100B091C _Z7wxEntryP11HINSTANCE__S0_Pci
0040148A D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:0040148A WinMain D:/Develop/src/codeblocks-head/codeblocks-svn/src/src/app.cpp:297
0045D6AA D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:0045D6AA
004011E7 D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:004011E7
00401238 D:\Develop\src\codeblocks-head\codeblocks-svn\src\devel\codeblocks.exe:00401238
7C816D4F C:\WINDOWS\system32\kernel32.dll:7C816D4F RegisterWaitForInputIdle
-
Fixed?! I test it on SVN rev.1499. I was not found this trouble. (Win2k)
Good luck!
-
Fixed?! I test it on SVN rev.1499. I was not found this trouble. (Win2k)...
it seems to be fixed - i've running rev 1499 too on WinXP and no more crashes !
-
Fixed?! I test it on SVN rev.1499. I was not found this trouble. (Win2k)
Really? :shock:
Then it must 've been one of wxKeyBinder's faults...
-
1. I have new installed computer now.
2. Before rebuild SVN rev.1499, I remove src/devel & src/output directories. Then I rebuild C::B and contrib plugins workspace.
Who knows, may be this actions help me escape this troubles.
But, full rebuild C::B and contrib plugins I execute always.
-
If virgin wxKeyBinder was running and attached itself to a window
that disappeared you can be damn sure you're gonna get a
crash when a key is passed upward on the OnChar event chain.
It would activate an event that had no associated window and
thus, the wxKeyBinder Event profile array pointers would be invalid.
The same is true for a menuItem that disappeared.
Invalid pointers in the wxKeyBinder ProfileArray.
AND, wxKeyBinder attached itself to every button and "bottom"
in C::B.
I was so happy to see Yiannis delete it from HEAD.
And it's still giving me a HEADache :-}
thanks
pecan