Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Neal M on January 09, 2019, 02:05:14 am

Title: Code::Blocks quits unexpectedly on OS X
Post by: Neal M on January 09, 2019, 02:05:14 am
Hi all,

I'm a total n00b, hopefully this is the correct place to ask this question (please advise if it is not):

I'm running Code::Blocks 13.12 on OS X 10.13.2 (MacBook Pro, 2014), and every so often, for no apparent reason C::B spontaneously quits. I can restart the program of course, but it's pretty annoying.

I did note on the download page that the OS X version hasn't been maintained much if at all over the last while, so that's my first guess as to why. But my question is what, if anything I can do about it?

Would downloading the source code and compiling it on my system lead to any improvement over the binary that was presumably compiled on an older OS X version, or would that just be a waste of time? Maybe at some point I will have the skills to actually fix the Mac version, but right now I can barely code a command line calculator.

Thanks in advance.
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: oBFusCATed on January 09, 2019, 06:53:52 am
You can build the trunk version, but I'm not sure it will solve your problem.
But I'll be happy to try to fix it if you can make it crash every time or post the call stack.

On macOS when something there are pretty good reports. Do you see a dialog with a crash report?

p.s. Unfortunately there is no macOS dev using it often to fix all macOS related problems. :(
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: Neal M on January 10, 2019, 03:32:56 am
It does usually show me a crash report, but reproducing the event is going to be tricky as it seems to happen randomly, or at least without relation to any specific user action. I'll post the call stack next time a crash occurs.
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: Neal M on January 10, 2019, 05:19:56 am
Here's the crash report:
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: oBFusCATed on January 10, 2019, 08:26:16 am
Can you try to disable the Symbol browser in the Code completion plugin settings and see if this crash goes away?
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: Neal M on January 10, 2019, 08:39:00 am
I will try, thanks.
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: oBFusCATed on January 10, 2019, 08:01:40 pm
Did it fix the problem?
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: Neal M on January 11, 2019, 12:13:48 am
So far so good. It seems to not be crashing.

I'll assume that that did the trick, and post back here if the issue returns.

Thanks for your help!
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: hidefromkgb on January 14, 2019, 02:42:59 pm
Oh, cool! Been experiencing the same thing; at times it gets very frustrating.
Thank you for the workaround.
Title: Re: Code::Blocks quits unexpectedly on OS X
Post by: oBFusCATed on January 14, 2019, 07:09:25 pm
In the night builds topics there are posts with links to newer osx releases. Probably you can consider them...