Author Topic: Codeblocks on Mac OSX10.8.4 always crashes, exception type EXC_CRASH (SIGILL)  (Read 6109 times)

Offline DaveyC

  • Single posting newcomer
  • *
  • Posts: 3
Hi,

Tonight I installed CodeBlocks on my MacBook Pro but sadly, when I open an existing project or create a new one the program crashes.  The problem reporter shows the following:

Code
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                0x978c404b objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*>, objc::DenseMapInfo<unsigned long> >::LookupBucketFor(objc_object* const&, std::__1::pair<objc_object*, unsigned long>*&) const + 107
1   libobjc.A.dylib                0x978c4bee objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*>, objc::DenseMapInfo<unsigned long> >::erase(objc_object* const&) + 32
2   libobjc.A.dylib                0x978c4bbc objc_clear_deallocating + 197
3   libobjc.A.dylib                0x978c4adf objc_destructInstance + 77
4   com.apple.CoreFoundation      0x9574aa4b CFRelease + 2011
5   com.apple.CoreGraphics        0x98ec3a47 CGSReleaseRegion + 17
6   com.apple.HIServices          0x93724ace __HIShapeDeallocate(void const*) + 30
7   com.apple.CoreFoundation      0x9574a61a CFRelease + 938
8   com.apple.HIToolbox            0x92efddc7 HIView::RecalcVis() + 419
9   com.apple.HIToolbox            0x92efdcdc HIView::RecalcVis() + 184
10  com.apple.HIToolbox            0x92efdcdc HIView::RecalcVis() + 184
11  com.apple.HIToolbox            0x92efdcdc HIView::RecalcVis() + 184
12  com.apple.HIToolbox            0x92efdc0f HIView::RecalcVisAndPropagate() + 35
13  com.apple.HIToolbox            0x92f8a98a HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*) + 108
14  com.apple.HIToolbox            0x92f8a8d2 HIView::Draw(short, OpaqueGrafPtr*, unsigned long) + 82
15  com.apple.HIToolbox            0x92f8a879 HIView::Render(unsigned long, CGContext*) + 45
16  com.apple.HIToolbox            0x92f07260 FlushWindowObject(WindowData*, void**, unsigned char) + 812
17  com.apple.HIToolbox            0x92f0fdc1 FlushAllBuffers(__CFRunLoopObserver*, unsigned long, void*) + 245
18  com.apple.CoreFoundation      0x9579e84e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
19  com.apple.CoreFoundation      0x9579e78d __CFRunLoopDoObservers + 381
20  com.apple.CoreFoundation      0x95778003 CFRunLoopRunSpecific + 355
21  com.apple.CoreFoundation      0x95777e8b CFRunLoopRunInMode + 123
22  com.apple.HIToolbox            0x92f08f5a RunCurrentEventLoopInMode + 242
23  com.apple.HIToolbox            0x92f08bf5 ReceiveNextEventCommon + 162
24  com.apple.HIToolbox            0x9306e15c ReceiveNextEvent + 79
25  libwx_macu-2.8.0.dylib        0x0094dbaa wxEventLoop::Pending() const + 58
26  libwx_macu-2.8.0.dylib        0x009feb88 wxEventLoopManual::Run() + 72
27  libwx_macu-2.8.0.dylib        0x009d6353 wxAppBase::MainLoop() + 83
28  org.codeblocks.app            0x0000e76c CodeBlocksApp::OnRun() + 26
29  libwx_macu-2.8.0.dylib        0x008bb3ea wxEntry(int&, wchar_t**) + 154
30  org.codeblocks.app            0x000126ee main + 30
31  org.codeblocks.app            0x0000c39d start + 53

http://forums.codeblocks.org/index.php/topic,17709.msg124580.html#msg124580 is an older post with the exact same problem that doesn't have a solution listed.  Any help would be great  :-\

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Well it looks more like a wx error to me. Unfortunately to my knowledge nobody of the devs has 10.8.x available, so unless you are willing to dig into it yourself (which requires self-compiling) it will be hard to help...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline DaveyC

  • Single posting newcomer
  • *
  • Posts: 3
Hi,

Thanks for the fast reply.  I don't have the time right now for that and probably not the ability either.  I'm just an Objective C programmer!  ANyway, I mainly want to use Code::Blocks for dev on my PC and there it works fine.

Cheers