Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Random exit crash on Linux

(1/2) > >>

Loaden:
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

--- Code: ---#include <iostream>

using namespace std;

void test()
{
    // pos 1
}

int main()
{
    // pos 2
    return 0;
}

--- End code ---

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:

--- Quote ---#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 ??() (??:??)
--- End quote ---

Loaden:
Any devs watching about this problem?
Any comments are welcome!
 :D

Loaden:
By the way, some times, we need repeat 10 times or more, to catch the crashes.
Just need some patient.

Jenna:
I see it from time to time, but at the moment it does not happen (at least not in debug mode).

Loaden:

--- Quote from: jens on August 09, 2011, 10:21:37 am ---I see it from time to time, but at the moment it does not happen (at least not in debug mode).

--- End quote ---
Thanks for watching.
In here, It happened in debug or normal mode. You can use Code::Blocks project to test it.
Maybe you CPU is too fastest... :lol:

Navigation

[0] Message Index

[#] Next page

Go to full version