Bug #10964 2007-05-01 14:00
hangl
when double click the resource tree item CB Crash
Creat a new wxsmith project based on frame(wxwidgets 2.8.x), save the project and close it! reopen it.,swith management to resource page and double click (left button) the tree item (wxframe ). and try to close CB by click the right uper corner(close flag) .Then CodeBlocks Crash throw exception "memeory can not be read"!
(2)Add a dialog in this project and set a wxtextctrl into this dialog ,save and quit. reopen it ,and in dialog.wxs trying to change the size of the wxtextctrl by dragging it !then CB Crash!
(3) reopen this project ,and in dialog.wxs double click the wxtextctrl right button !and try to the close CB by click the right uper corner(close flag) .then CB Crash!
----
Code::blocks svn build 3899
winxp sp2 (language : chinese )
- Category
- Plugin::wxSmith
- Group
- Status
- Closed
- Close date
- 2007-08-25 11:41
- Assigned to
- byo
History
codeblocks.RPT: --- ------------------- Error occured on Friday, May 4, 2007 at 13:23:10. F:\codeblocks_build\source\src\devel\codeblocks.exe caused an Access Violation at location 65e4618e in module F:\codeblocks_build\source\src\devel\wxsmithlib.dll Reading from location 0000002c. Registers: eax=00000000 ebx=01490920 ecx=0a345538 edx=0022f338 esi=65ee7ca8 edi=0022f558 eip=65e4618e esp=0022f350 ebp=0022f350 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: 65E4618E F:\codeblocks_build\source\src\devel\wxsmithlib.dll:65E4618E wxsItem::GetParent() F:/codeblocks_build/source/src/plugins/contrib/wxSmith/wxwidgets//wxsitem.h:150 65D4AFA6 F:\codeblocks_build\source\src\devel\wxsmithlib.dll:65D4AFA6 wxsItemEditorContent::OnMouseDraggingPoint(wxMouseEvent&) F:/codeblocks_build/source/src/plugins/contrib/wxSmith/wxwidgets/wxsitemeditorcontent.cpp:488 65D4A7B0 F:\codeblocks_build\source\src\devel\wxsmithlib.dll:65D4A7B0 wxsItemEditorContent::OnMouse(wxMouseEvent&) F:/codeblocks_build/source/src/plugins/contrib/wxSmith/wxwidgets/wxsitemeditorcontent.cpp:284 100C6425 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C6425 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent 100C677C F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C677C _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler 100C7749 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C7749 _ZN12wxEvtHandler12ProcessEventER7wxEvent 65D38511 F:\codeblocks_build\source\src\devel\wxsmithlib.dll:65D38511 wxsDrawingWindow::PanelMouse(wxMouseEvent&) F:/codeblocks_build/source/src/plugins/contrib/wxSmith/wxwidgets/wxsdrawingwindow.cpp:165 100C6425 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C6425 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent 100C7671 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C7671 _ZN12wxEvtHandler23SearchDynamicEventTableER7wxEvent 100C7728 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C7728 _ZN12wxEvtHandler12ProcessEventER7wxEvent 101362E6 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101362E6 _ZN8wxWindow16HandleMouseEventEjiij 10138D34 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:10138D34 _ZN8wxWindow13MSWWindowProcEjjl 10131300 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:10131300 _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 77D18A10 C:\WINDOWS\system32\USER32.dll:77D18A10 DispatchMessageW 77D2E097 C:\WINDOWS\system32\USER32.dll:77D2E097 IsDialogMessageW 10130B25 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:10130B25 _ZN8wxWindow17MSWProcessMessageEP6tagMSG 1010C4A6 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1010C4A6 _ZN11wxEventLoop17PreProcessMessageEP6tagMSG 1010C3C9 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1010C3C9 _ZN11wxEventLoop14ProcessMessageEP6tagMSG 1010C7DA F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1010C7DA _ZN11wxEventLoop8DispatchEv 101E1CD6 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101E1CD6 _ZN17wxEventLoopManual3RunEv 101B090E F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101B090E _ZN9wxAppBase8MainLoopEv 00404CBE F:\codeblocks_build\source\src\devel\codeblocks.exe:00404CBE CodeBlocksApp::OnRun() F:/codeblocks_build/source/src/src/app.cpp:605 1004E2A7 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1004E2A7 _Z14wxUninitializev 100CFBBC F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100CFBBC _Z7wxEntryP11HINSTANCE__S0_Pci 004018AE F:\codeblocks_build\source\src\devel\codeblocks.exe:004018AE WinMain F:/codeblocks_build/source/src/src/app.cpp:287 00461D7A F:\codeblocks_build\source\src\devel\codeblocks.exe:00461D7A 00401247 F:\codeblocks_build\source\src\devel\codeblocks.exe:00401247 004012B8 F:\codeblocks_build\source\src\devel\codeblocks.exe:004012B8 7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle ------------------- Error occured on Friday, May 4, 2007 at 15:32:28. F:\codeblocks_build\source\src\devel\codeblocks.exe caused an Access Violation at location 65d556ba in module F:\codeblocks_build\source\src\devel\wxsmithlib.dll Reading from location 00000000. Registers: eax=00000000 ebx=018169a0 ecx=77bfc2e3 edx=00000000 esi=106d95a0 edi=0022fb60 eip=65d556ba esp=0022f610 ebp=0022f698 iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246 Call stack: 65D556BA F:\codeblocks_build\source\src\devel\wxsmithlib.dll:65D556BA wxsItemResData::~wxsItemResData() F:/codeblocks_build/source/src/plugins/contrib/wxSmith/wxwidgets/wxsitemresdata.cpp:120 65D43EC7 F:\codeblocks_build\source\src\devel\wxsmithlib.dll:65D43EC7 wxsItemEditor::~wxsItemEditor() F:/codeblocks_build/source/src/plugins/contrib/wxSmith/wxwidgets/wxsitemeditor.cpp:77 1024E696 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1024E696 _ZN12wxWindowBase15DestroyChildrenEv 1012DE62 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1012DE62 _ZN8wxWindowD2Ev 1027AB37 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1027AB37 _ZN7wxPanelD2Ev 6064757C F:\codeblocks_build\source\src\devel\codeblocks.dll:6064757C wxFlatNotebook::~wxFlatNotebook() F:/codeblocks_build/source/src/sdk/wxFlatNotebook/src/wxFlatNotebook/wxFlatNotebook.cpp:92 1024E696 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1024E696 _ZN12wxWindowBase15DestroyChildrenEv 1012DE62 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1012DE62 _ZN8wxWindowD2Ev 1024813F F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1024813F _ZN20wxTopLevelWindowBaseD2Ev 10128AC2 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:10128AC2 _ZN19wxTopLevelWindowMSWD2Ev 101ED3A1 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101ED3A1 _ZN11wxFrameBaseD2Ev 1016071F F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1016071F _ZN7wxFrameD2Ev 00425E68 F:\codeblocks_build\source\src\devel\codeblocks.exe:00425E68 MainFrame::~MainFrame() F:/codeblocks_build/source/src/src/main.cpp:580 101B062F F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101B062F _ZN9wxAppBase20DeletePendingObjectsEv 101B0E5A F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101B0E5A _ZN9wxAppBase6OnIdleER11wxIdleEvent 100E9538 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100E9538 _ZN5wxApp6OnIdleER11wxIdleEvent 100C6425 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C6425 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent 100C677C F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C677C _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler 100C7749 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100C7749 _ZN12wxEvtHandler12ProcessEventER7wxEvent 101B0D0D F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101B0D0D _ZN9wxAppBase11ProcessIdleEv 101E1B6F F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101E1B6F _ZN17wxEventLoopManual3RunEv 101B090E F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:101B090E _ZN9wxAppBase8MainLoopEv 00404CBE F:\codeblocks_build\source\src\devel\codeblocks.exe:00404CBE CodeBlocksApp::OnRun() F:/codeblocks_build/source/src/src/app.cpp:605 1004E2A7 F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:1004E2A7 _Z14wxUninitializev 100CFBBC F:\codeblocks_build\source\src\devel\wxmsw28u_gcc_custom.dll:100CFBBC _Z7wxEntryP11HINSTANCE__S0_Pci 004018AE F:\codeblocks_build\source\src\devel\codeblocks.exe:004018AE WinMain F:/codeblocks_build/source/src/src/app.cpp:287 00461D7A F:\codeblocks_build\source\src\devel\codeblocks.exe:00461D7A 00401247 F:\codeblocks_build\source\src\devel\codeblocks.exe:00401247 004012B8 F:\codeblocks_build\source\src\devel\codeblocks.exe:004012B8 7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle --------------------- when I look the sorce code! I found that ¡§wxsItemEditorContent¡G¡G m_CurDragItem was not initialised! and if we move line 351 to line 354( out scope if (dpd){}else{}) in function "void wxsItemEditorContent::OnMouseIdle(wxMouseEvent& event)"can (3) will not crash!
Does this bug still persist?
yes!I can comfirm this bug still persist! Error occured on Wednesday, August 15, 2007 at 19:14:59. F:\CB\CodeBlocks\codeblocks.exe caused an Access Violation at location 67125696 in module F:\CB\CodeBlocks\wxsmithlib.dll Reading from location 0000002c. Registers: eax=00000000 ebx=00bbfd88 ecx=021a9b38 edx=0022f358 esi=671b9f78 edi=0022f548 eip=67125696 esp=0022f370 ebp=0022f370 iopl=0 nv up ei pl nz ac pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010212 Call stack: 67125696 F:\CB\CodeBlocks\wxsmithlib.dll:67125696 _ZN7wxsItem9GetParentEv 6702A6C0 F:\CB\CodeBlocks\wxsmithlib.dll:6702A6C0 _ZN20wxsItemEditorContent20OnMouseDraggingPointER12wxMouseEvent 67029EB6 F:\CB\CodeBlocks\wxsmithlib.dll:67029EB6 _ZN20wxsItemEditorContent7OnMouseER12wxMouseEvent 627C5A55 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:627C5A55 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent 627C5DAC F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:627C5DAC _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler 627C6D79 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:627C6D79 _ZN12wxEvtHandler12ProcessEventER7wxEvent 627C6D19 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:627C6D19 _ZN12wxEvtHandler12ProcessEventER7wxEvent 62985208 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:62985208 _ZN24wxScrollHelperEvtHandler12ProcessEventER7wxEvent 628351A6 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:628351A6 _ZN8wxWindow16HandleMouseEventEjiij 62837B84 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:62837B84 _ZN8wxWindow13MSWWindowProcEjjl 62985807 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:62985807 _ZN16wxScrolledWindow13MSWWindowProcEjjl 628301C0 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:628301C0 _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 77D18A10 C:\WINDOWS\system32\USER32.dll:77D18A10 DispatchMessageW 77D2D99D C:\WINDOWS\system32\USER32.dll:77D2D99D IsDialogMessageW 6282F9E5 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:6282F9E5 _ZN8wxWindow17MSWProcessMessageEP6tagMSG 6280B526 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:6280B526 _ZN11wxEventLoop17PreProcessMessageEP6tagMSG 6280B449 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:6280B449 _ZN11wxEventLoop14ProcessMessageEP6tagMSG 6280B85A F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:6280B85A _ZN11wxEventLoop8DispatchEv 628E0C2C F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:628E0C2C _ZN17wxEventLoopManual3RunEv 628AF9FE F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:628AF9FE _ZN9wxAppBase8MainLoopEv 004048A0 F:\CB\CodeBlocks\codeblocks.exe:004048A0 6274DE17 F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:6274DE17 _Z14wxUninitializev 627CF1EC F:\CB\CodeBlocks\wxmsw28u_gcc_cb.dll:627CF1EC _Z7wxEntryP11HINSTANCE__S0_Pci 0040189C F:\CB\CodeBlocks\codeblocks.exe:0040189C 00463CDA F:\CB\CodeBlocks\codeblocks.exe:00463CDA 00401237 F:\CB\CodeBlocks\codeblocks.exe:00401237 00401288 F:\CB\CodeBlocks\codeblocks.exe:00401288 7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle
Hi, I couldn't reproduce first crash (as I remember, double-click issue was fixed some time ago), same with third one (here I don't remember any problems it), second crash should be fixed in rev. 4397. Could you check it? How about first and third crash? Could you reproduce it with latest nightly?
I tried the lastest nightly build 4399 . those bugs can not be reproduced. I think they were fixed ,this bug report should be closed. thanks byo!
This bug is now fixed in HEAD.
Thank you for reporting it.