Author Topic: wxsmith eats code  (Read 2161 times)

Offline frithjofh

  • Regular
  • ***
  • Posts: 373
wxsmith eats code
« on: August 12, 2007, 03:29:51 pm »
hello,

something really strange just happend (well, actually half an hour ago, but i had to get my nerves down before writing  :?):

when i wanted to switch between to open wxs files in the editor (two panels, not the main frame), codeblocks crashed, just closed down...

the bad thing: when i opned it again, one panel was missing in the wxSmith resource-panel and under Projects->Other->wxsmith, the files still being asociated with the project, but opening them they were severly truncated, they were actualy quite empty and ther was no .save around either... :|

well, the panel was quite messy allready and i wanted to change it anyway, but to loose it like that was rather hard to take...

by the way is ther any crash report generated by codeblocks under windows xp and where?

well, i think wxSmith is work in progress and i will have to live with some bugs... :) :(

greetings

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: wxsmith eats code
« Reply #1 on: August 12, 2007, 04:18:54 pm »
yes, next to the codeblocks.exe and .rpt file is created containing a stack dump

Offline frithjofh

  • Regular
  • ***
  • Posts: 373
Re: wxsmith eats code
« Reply #2 on: August 12, 2007, 05:46:02 pm »
well, here it is, the .rpt
Code: [Select]
-------------------

Error occured on Sunday, August 12, 2007 at 14:19:44.

D:\codeblocks\codeblocks.exe caused an Access Violation at location 6cca6011 in module D:\codeblocks\wxmsw28u_gcc_cb.dll Reading from location 00000003.

Registers:
eax=0573a298 ebx=0573a298 ecx=00000578 edx=ffffffff esi=6d31c330 edi=0022f558
eip=6cca6011 esp=0022ed68 ebp=0022ed70 iopl=0         nv up ei ng nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010286

Call stack:
6CCA6011  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CCA6011  _ZN8wxObject5UnRefEv
6CD2AD37  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD2AD37  _ZN8wxBitmapD1Ev
6D1DE065  D:\codeblocks\wxmsw28u_gcc_cb.dll:6D1DE065  _ZN14wxArchiveEntryD1Ev
6CE90066  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE90066  _ZN12wxWindowBase15DestroyChildrenEv
6CD6ED72  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD6ED72  _ZN8wxWindowD2Ev
6CEBC5E7  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CEBC5E7  _ZN7wxPanelD2Ev
6CEC8198  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CEC8198  _ZN16wxScrolledWindowD0Ev
6CE90066  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE90066  _ZN12wxWindowBase15DestroyChildrenEv
6CD6ED72  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD6ED72  _ZN8wxWindowD2Ev
6CE08B97  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE08B97  _ZN13wxControlBaseD2Ev
6CD99224  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD99224  _ZN9wxControlD2Ev
6CDF5DB3  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CDF5DB3  _ZN14wxBookCtrlBaseD2Ev
6CDC0D00  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CDC0D00  _ZN10wxNotebookD0Ev
6CE90066  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE90066  _ZN12wxWindowBase15DestroyChildrenEv
6CD6ED72  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD6ED72  _ZN8wxWindowD2Ev
6CEBC5E7  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CEBC5E7  _ZN7wxPanelD2Ev
61828D24  D:\codeblocks\codeblocks.dll:61828D24  _ZN10EditorBaseD2Ev
66F541FE  D:\codeblocks\wxsmithlib.dll:66F541FE  _ZN9wxsEditorD2Ev
670230A2  D:\codeblocks\wxsmithlib.dll:670230A2  _ZN13wxsItemEditorD0Ev
6CE8FEE5  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE8FEE5  _ZN12wxWindowBase7DestroyEv
6193A49B  D:\codeblocks\codeblocks.dll:6193A49B  _ZN14wxFlatNotebook10DeletePageEjb
61940002  D:\codeblocks\codeblocks.dll:61940002  _ZN15wxPageContainer10DeletePageEj
6193E0F2  D:\codeblocks\codeblocks.dll:6193E0F2  _ZN15wxPageContainer12OnMiddleDownER12wxMouseEvent
6CD07305  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD07305  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CD0765C  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD0765C  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CD08629  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD08629  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD77206  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD77206  _ZN8wxWindow16HandleMouseEventEjiij
6CD79C54  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD79C54  _ZN8wxWindow13MSWWindowProcEjjl
6CD72220  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD72220  _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
6CD71A45  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD71A45  _ZN8wxWindow17MSWProcessMessageEP6tagMSG
6CD4D3B6  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD4D3B6  _ZN11wxEventLoop17PreProcessMessageEP6tagMSG
6CD4D2D9  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD4D2D9  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CD4D6EA  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD4D6EA  _ZN11wxEventLoop8DispatchEv
6CE23366  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE23366  _ZN17wxEventLoopManual3RunEv
6CDF202E  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CDF202E  _ZN9wxAppBase8MainLoopEv
004048A0  D:\codeblocks\codeblocks.exe:004048A0
6CC8E477  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CC8E477  _Z14wxUninitializev
6CD10ACC  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD10ACC  _Z7wxEntryP11HINSTANCE__S0_Pci
0040189C  D:\codeblocks\codeblocks.exe:0040189C
00463CDA  D:\codeblocks\codeblocks.exe:00463CDA
00401237  D:\codeblocks\codeblocks.exe:00401237
00401288  D:\codeblocks\codeblocks.exe:00401288
7C816FD7  C:\WINDOWS\system32\kernel32.dll:7C816FD7  RegisterWaitForInputIdle


-------------------

Error occured on Sunday, August 12, 2007 at 14:41:48.

D:\codeblocks\codeblocks.exe caused an Access Violation at location 6cc45a44 in module D:\codeblocks\wxmsw28u_gcc_cb.dll Reading from location 00000018.

Registers:
eax=6d25424c ebx=6cc45f87 ecx=00000018 edx=0022faf0 esi=6d230ba4 edi=6d1ceec0
eip=6cc45a44 esp=0022f9b0 ebp=0022fb18 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202

Call stack:
6CC45A44  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CC45A44  _ZN15wxCmdLineParser14GetUsageStringEv
6CC46D4D  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CC46D4D  _ZN15wxCmdLineParser5UsageEv
6CC41E11  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CC41E11  _ZN12wxAppConsole14OnCmdLineErrorER15wxCmdLineParser
6CE231FF  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CE231FF  _ZN17wxEventLoopManual3RunEv
6CDF202E  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CDF202E  _ZN9wxAppBase8MainLoopEv
004048A0  D:\codeblocks\codeblocks.exe:004048A0
6CC8E477  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CC8E477  _Z14wxUninitializev
6CD10ACC  D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD10ACC  _Z7wxEntryP11HINSTANCE__S0_Pci
0040189C  D:\codeblocks\codeblocks.exe:0040189C
00463CDA  D:\codeblocks\codeblocks.exe:00463CDA
00401237  D:\codeblocks\codeblocks.exe:00401237
00401288  D:\codeblocks\codeblocks.exe:00401288
7C816FD7  C:\WINDOWS\system32\kernel32.dll:7C816FD7  RegisterWaitForInputIdle


architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxsmith eats code
« Reply #3 on: August 12, 2007, 09:07:41 pm »
Thanks for the report, I've never seen this bug before and it doesn't look nice :(

Can you describe what did erased panel contain? From crash report I assume you used bitmap from compressed file, is that correct?

Also write what rev. of C::B did you use. I'm not sure but I probably used internal C::B's saving procedures so files should be saved securely (have to look into src first to be sure ;)).

Regards
   BYO

Offline frithjofh

  • Regular
  • ***
  • Posts: 373
Re: wxsmith eats code
« Reply #4 on: August 12, 2007, 09:47:24 pm »
hi,

the codeblocks nightly used is the 4365.

The panel wich was erased did not contain any bitmaps... it contained three tectctrl, a few statictext, a choicecontrl and some staticboxsizers  and sizers to group it all. There were connections from the choicectrl to a data object ( a class ) inside the application class. there was a connection to a treectrl to update values there, this treectrl was not in the panel but in the mainframe where the panel was inserted...

i sure would like to help you with more info, i'm afraid i'm quite a beginner though... :?

greetings

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100