Author Topic: SVN build toolbar crash  (Read 6006 times)

Offline xjtuphy

  • Single posting newcomer
  • *
  • Posts: 5
SVN build toolbar crash
« 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.

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: SVN build toolbar crash
« Reply #1 on: December 08, 2005, 08:56:19 am »
I send it to a bug report. Long ago.
On SVN version - analogically - trap.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: SVN build toolbar crash
« Reply #2 on: December 08, 2005, 11:40:48 am »
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
« Last Edit: December 08, 2005, 11:50:03 am by Takeshi Miya »

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: SVN build toolbar crash
« Reply #3 on: December 13, 2005, 08:26:08 am »
Fixed?! I test it on SVN rev.1499. I was not found this trouble. (Win2k)

Good luck!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: SVN build toolbar crash
« Reply #4 on: December 13, 2005, 08:46:32 am »
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 !

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: SVN build toolbar crash
« Reply #5 on: December 13, 2005, 08:59:27 am »
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...
Be patient!
This bug will be fixed soon...

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: SVN build toolbar crash
« Reply #6 on: December 13, 2005, 09:10:59 am »
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.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2173
Re: SVN build toolbar crash
« Reply #7 on: December 13, 2005, 04:35:56 pm »
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
« Last Edit: December 13, 2005, 04:40:10 pm by Pecan »