Author Topic: Code::Blocks quits unexpectedly on OS X  (Read 5623 times)

Offline Neal M

  • Multiple posting newcomer
  • *
  • Posts: 14
Code::Blocks quits unexpectedly on OS X
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks quits unexpectedly on OS X
« Reply #1 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. :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Neal M

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks quits unexpectedly on OS X
« Reply #2 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.

Offline Neal M

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks quits unexpectedly on OS X
« Reply #3 on: January 10, 2019, 05:19:56 am »
Here's the crash report:

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks quits unexpectedly on OS X
« Reply #4 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Neal M

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks quits unexpectedly on OS X
« Reply #5 on: January 10, 2019, 08:39:00 am »
I will try, thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks quits unexpectedly on OS X
« Reply #6 on: January 10, 2019, 08:01:40 pm »
Did it fix the problem?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Neal M

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Code::Blocks quits unexpectedly on OS X
« Reply #7 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!

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Code::Blocks quits unexpectedly on OS X
« Reply #8 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks quits unexpectedly on OS X
« Reply #9 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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]