Random crashes

CodeLite installation/troubleshooting forum
SuperV1234
CodeLite Enthusiast
Posts: 33
Joined: Thu Nov 08, 2012 2:23 am
Genuine User: Yes
IDE Question: c++
Contact:

Random crashes

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Random crashes

Post 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
Make sure you have read the HOW TO POST thread
SuperV1234
CodeLite Enthusiast
Posts: 33
Joined: Thu Nov 08, 2012 2:23 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Random crashes

Post 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?
SuperV1234
CodeLite Enthusiast
Posts: 33
Joined: Thu Nov 08, 2012 2:23 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Random crashes

Post 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)
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Random crashes

Post by eranif »

Since it does not happen to me...

you can try and debug it
Eran
Make sure you have read the HOW TO POST thread
User avatar
Jarod42
CodeLite Expert
Posts: 237
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Random crashes

Post 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).
SuperV1234
CodeLite Enthusiast
Posts: 33
Joined: Thu Nov 08, 2012 2:23 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Random crashes

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Random crashes

Post 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
Make sure you have read the HOW TO POST thread
SuperV1234
CodeLite Enthusiast
Posts: 33
Joined: Thu Nov 08, 2012 2:23 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Random crashes

Post 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"?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Random crashes

Post by eranif »

Building clang under Windows


codelite-clang.exe is built when you build the project "codelite_utils"

Eran
Make sure you have read the HOW TO POST thread
Post Reply