Code::Blocks
October 25, 2014, 11:26:29 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The new Release 13.12 is out! You can download binaries for windows, mac and many major linux distros from  http://www.codeblocks.org/downloads/26 .
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Intermittent crashes  (Read 5269 times)
ironhead
Almost regular
**
Offline Offline

Posts: 210



« on: July 22, 2008, 01:19:56 pm »

I'm having an issue with intermittent crashes with C::B.  I've attached the RPT file, but it doesn't look like much help.  I'm running Windows XP Pro using C::B and wxWidgets 2.8.8 compiled by myself using MinGW gcc/g++ 3.4.5.

If there is anything more you would like me to do, please let me know.


[attachment deleted by admin]
Logged
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8677



« Reply #1 on: July 22, 2008, 03:56:59 pm »

There are two crash reason:

1.) The first class of crashes come from the HexEditor plugin... so just disable/remove the HexEditor plugin if you don't need it. But I also believe this crash was fixed recently in SVN. So an update to a more recent nicghtly might work, too

2.) The second one is more difficult. I experience the same from time to time and it goes to:
wxProcess::IsInputAvailable (which wxWidgets)
from:
PipedProcess::HasInput (which is C::B)
and happens on "massive" compiler output parsing.
We are aware of this (Yiannis - remember our chat recently?!) but this is really hard to track down. For now you could try to disable/remove the CodeCompletion plugin (but that's probably not the cause) to get rid of this until we find the reason for this and thus a fix.

With regards, Morten.
Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
ironhead
Almost regular
**
Offline Offline

Posts: 210



« Reply #2 on: July 23, 2008, 01:13:19 pm »

There are two crash reason:

1.) The first class of crashes come from the HexEditor plugin... so just disable/remove the HexEditor plugin if you don't need it. But I also believe this crash was fixed recently in SVN. So an update to a more recent nicghtly might work, too

Indeed, it seems that using the arrow keys in HexEditor is now causing a crash (using SVN 5154) I've reported it on the HexEditor plugin thread, so hopefully byo can take a look at that.

2.) The second one is more difficult. I experience the same from time to time and it goes to:
wxProcess::IsInputAvailable (which wxWidgets)
from:
PipedProcess::HasInput (which is C::B)
and happens on "massive" compiler output parsing.
We are aware of this (Yiannis - remember our chat recently?!) but this is really hard to track down. For now you could try to disable/remove the CodeCompletion plugin (but that's probably not the cause) to get rid of this until we find the reason for this and thus a fix.

I'll keep tabs on when I see this occur, and if there is any predictability in terms of reproducing the error, I will let you know.

Thanx!

Chris
Logged
MaxGaspa
Advanced newcomer
*
Offline Offline

Posts: 116


« Reply #3 on: July 23, 2008, 08:34:04 pm »


2.) The second one is more difficult. I experience the same from time to time and it goes to:
wxProcess::IsInputAvailable (which wxWidgets)
from:
PipedProcess::HasInput (which is C::B)
and happens on "massive" compiler output parsing.
We are aware of this (Yiannis - remember our chat recently?!) but this is really hard to track down. For now you could try to disable/remove the CodeCompletion plugin (but that's probably not the cause) to get rid of this until we find the reason for this and thus a fix.


I'm systematically observe this crash removing one lib from the linking option. This force a long list of messages in the build log, at linking time, that triggers the crash.
So I cannot forget a lib.. or crash is assured Cheesy

Max
Logged
ironhead
Almost regular
**
Offline Offline

Posts: 210



« Reply #4 on: July 24, 2008, 02:21:03 pm »

I'm not sure if it's related, but it looks like there were issues in earlier versions of wxWidgets on Mac that crashed when calling IsInputAvailable.  Could this actually be a bug in wxWidgets?
Logged
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8677



« Reply #5 on: July 24, 2008, 02:38:45 pm »

I'm not sure if it's related, but it looks like there were issues in earlier versions of wxWidgets on Mac that crashed when calling IsInputAvailable.  Could this actually be a bug in wxWidgets?
Interesting! Can you provide references? Cause in fact we have (rare) crashes pointing to this Method on Windows, too.
Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!