Hi, All, I followed the crash of several days, but have not been able to solve.
This is random crash when exit CB.
step 1. Open a console project, and put the code in main.cpp
#include <iostream>
using namespace std;
void test()
{
// pos 1
}
int main()
{
// pos 2
return 0;
}
step 2. Move the focus between pos1 and pos2, random repeated several times.
step 3. Keep the project is opened, then close CB.
stop 4. Repeat step 1-3 five times or so, will crash again.
Need help!
By the way, this crash can been catch only Linux.
And maybe related the long random crashes.
Call stack:
#0 0x7ffff490fc07 malloc_consolidate(av=0x7ffff4c271c0) (malloc.c:5161)
#1 0x7ffff4910528 _int_free(av=0x7ffff4c271c0, p=0x1cc6240) (malloc.c:5034)
#2 0x7ffff49148e3 *__GI___libc_free(mem=<optimized out>) (malloc.c:3738)
#3 0x7ffff5ac66aa wxStringData::Unlock(this=0x1d116a0) (/usr/include/wx-2.8/wx/string.h:243)
#4 0x7ffff5ac6784 wxStringBase::~wxStringBase(this=0x7ffff60d1800, __in_chrg=<optimized out>) (/usr/include/wx-2.8/wx/string.h:396)
#5 0x7ffff5ac6864 wxString::~wxString(this=0x7ffff60d1800, __in_chrg=<optimized out>) (/usr/include/wx-2.8/wx/string.h:660)
#6 0x7ffff48d1d3d __cxa_finalize(d=0x7ffff60ca980) (cxa_finalize.c:56)
#7 0x7ffff5ac63c6 __do_global_dtors_aux() (./libcodeblocks.so:??)
#8 ( 0x0000000000000000 in ??() (??:??)