Page 1 of 1
Random crashes
Posted: Mon Mar 04, 2013 1:28 am
by SuperV1234
OS: Win 8 x64
Using Codelite built from git repo, I tend to get a lot of random crashes. They happen when I start my application, or just randomly when editing code. It once crashed even when it was in background.
Am I the only one getting these crashes? Is there a log to find what causes them?
Re: Random crashes
Posted: Mon Mar 04, 2013 1:48 am
by eranif
I am using codelite from git repo without a problem for weeks now
Try reading the file: CodeLite.RPT under the installation folder and see whats the problem.
Eran
Re: Random crashes
Posted: Mon Mar 04, 2013 5:11 pm
by SuperV1234
http://pastebin.com/6HCEc3rF
Seems like it has a problem with wxWidgets. Should I recompile it? Or can I copy-paste the wxWidgets dll from the pre-compiled binaries?
Re: Random crashes
Posted: Thu Mar 07, 2013 6:51 pm
by SuperV1234
I completely deleted the git local clone, re-downloaded it, used MinGW and wxWidgets packaged with CodeLite installed and recompiled.
It keeps happening:
http://pastebin.com/cu1ZAxNp
(my current MinGW version is 4.7.2 - I swap between it and the CodeLite packaged MinGW to build the git repo)
Re: Random crashes
Posted: Thu Mar 07, 2013 7:09 pm
by eranif
Since it does not happen to me...
you can try and debug it
Eran
Re: Random crashes
Posted: Fri Mar 08, 2013 5:14 pm
by Jarod42
I don't know if gcc 4.7.1 dll (wx from CL) are compatible with gcc 4.7.2 binaries...
(I know that 4.6.4 are not compatible with 4.7.1).
Re: Random crashes
Posted: Fri Mar 08, 2013 5:32 pm
by SuperV1234
Jarod42 wrote:I don't know if gcc 4.7.1 dll (wx from CL) are compatible with gcc 4.7.2 binaries...
(I know that 4.6.4 are not compatible with 4.7.1).
Would compiling wxWidgets with 4.7.2 fix the issue?
Re: Random crashes
Posted: Fri Mar 08, 2013 5:44 pm
by eranif
It will probably fix it.
Note that GCC *MinGW* (under Windows) is known to break ABI between versions - you need to have the entire chain compiled with the same comipler (i.e codelite, codelite_utils, wx and probably clang too)
Eran
Re: Random crashes
Posted: Fri Mar 08, 2013 5:54 pm
by SuperV1234
eranif wrote:It will probably fix it.
Note that GCC *MinGW* (under Windows) is known to break ABI between versions - you need to have the entire chain compiled with the same comipler (i.e codelite, codelite_utils, wx and probably clang too)
Eran
When I compile clang from SVN, should I just replace the built "liblibclang.dll" with the one in the codelite installation folder? Or also "codelite-clang.exe"?
Re: Random crashes
Posted: Fri Mar 08, 2013 10:36 pm
by eranif
Building clang under Windows
codelite-clang.exe is built when you build the project "codelite_utils"
Eran