Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

crashes, when loading a workspace and then closing CB

<< < (2/4) > >>

Jenna:
Do you have clean build with pch's removed ?

killerbot:
I did make clean, didn't do anything more then that, and for the CB with CB build I did rebuild workspace

oBFusCATed:

--- Quote from: killerbot on September 16, 2012, 08:06:50 pm ---I did make clean, didn't do anything more then that, and for the CB with CB build I did rebuild workspace

--- End quote ---
Now try the full procedure with autotools -> bootstrap, configure, make

Alpha:
Same crash (I think) on Windows svn 8394.  From the debugger:

--- Code: ---#0 05466108 ?? () (??:??)
#1 004079F8 InfoPane::~InfoPane(this=0x333eb38, __in_chrg=<optimized out>) (C:\Libraries\CB\src\src\infopane.cpp:61)
#2 00407A95 InfoPane::~InfoPane(this=0x333eb38, __in_chrg=<optimized out>) (C:\Libraries\CB\src\src\infopane.cpp:63)
#3 6CDB994C wxWindowBase::Destroy() () (C:\Libraries\wxMSW-2.8.12\lib\gcc_dll\wxmsw28u_gcc_cb.dll:??)
#4 004DA770 MainFrame::sm_eventTableEntries () (??:??)
#5 02740AB0 ?? () (??:??)
#6 6CC41242 wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&) (C:\Libraries\wxMSW-2.8.12\lib\gcc_dll\wxmsw28u_gcc_cb.dll:??)
#7 0022EA54 ?? () (??:??)
#8 ?? ?? () (??:??)

--- End code ---
And from codeblocks.RPT:

--- Code: ---Call stack:
B1CC6D02
6CC80530  C:\Libraries\wxMSW-2.8.12\lib\gcc_dll\wxmsw28u_gcc_cb.dll:6CC80530  _ZNK8wxObject8IsKindOfEP11wxClassInfo
004079F8  C:\Libraries\CB\src\devel\codeblocks.exe:004079F8Dwarf Error: mangled line number section.Dwarf Error: mangled line number section.
00407A95  C:\Libraries\CB\src\devel\codeblocks.exe:00407A95
6CDB994C  C:\Libraries\wxMSW-2.8.12\lib\gcc_dll\wxmsw28u_gcc_cb.dll:6CDB994C  _ZN12wxWindowBase7DestroyEv
6CC41242  C:\Libraries\wxMSW-2.8.12\lib\gcc_dll\wxmsw28u_gcc_cb.dll:6CC41242  _ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_

--- End code ---

Reverting rev 8391 seems to resolve the issue.

--- Code: ---Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp    (revision 8394)
+++ src/src/main.cpp    (working copy)
@@ -3046,14 +3046,14 @@
     // Hide the window
     Hide();
 
-    Manager::Shutdown(); // Shutdown() is not Free(), Manager is automatically destroyed at exit
-
     if (!Manager::IsBatchBuild())
     {
         m_pInfoPane->Destroy();
         m_pInfoPane = 0L;
     }
 
+    Manager::Shutdown(); // Shutdown() is not Free(), Manager is automatically destroyed at exit
+
     Destroy();
 }

--- End code ---

Jenna:
I feared that this commit is the cause.
Before reverting it, I would like to find if there is a cause for the crash, that can be fixed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version