Author Topic: CodeBlock 10.05 and Mac OS X 10.64 Crash  (Read 7094 times)

Offline BCCISProf

  • Multiple posting newcomer
  • *
  • Posts: 60
    • Professor Langsam's Home Page
CodeBlock 10.05 and Mac OS X 10.64 Crash
« on: July 18, 2010, 08:49:08 pm »
Entering Settings, Editor, Source Formatter followed by changing the format and selecting OK crashes CodeBlocks.

Any help would be appreciated.

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5370
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: CodeBlock 10.05 and Mac OS X 10.64 Crash
« Reply #1 on: July 19, 2010, 02:31:10 am »
see the codeblocks.RPT to know the crashed call stack.
Or, you can try to delete the old user-profile( default.conf ), and restart cb, and see if it crashed again.
I personally suspect there  caused by some xrc file changes in the cb source.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline goetz

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: CodeBlock 10.05 and Mac OS X 10.64 Crash
« Reply #2 on: July 19, 2010, 09:09:33 pm »
I tried removing my default.conf file and as well I get the same problem with Code::Blocks crashing.

Process:         CodeBlocks [27351]
Path:            /Applications/CodeBlocks.app/Contents/MacOS/CodeBlocks
Identifier:      org.codeblocks.app
Version:         10.05 (6282)
Code Type:       X86 (Native)
Parent Process:  launchd [152]

Date/Time:       2010-07-19 15:00:59.224 -0400
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Interval Since Last Report:          6185 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  215 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      6EBAE85D-EA90-40C7-AAFA-94570F0ADFBC

Exception Type:  EXC_CRASH (SIGILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                0xffff026d __spin_lock + 13
1   libSystem.B.dylib                0x93056ba8 free + 244
2   libkeybinder.so                  0x1873b507 wxMenuCmd::IsNumericMenuItem(wxMenuItem*) + 337
3   libkeybinder.so                  0x1873b660 wxMenuCmd::Update(wxMenuItem*) + 48
4   libkeybinder.so                  0x187318d1 wxKeyBinder::UpdateSubMenu(wxMenu*) + 285
5   libkeybinder.so                  0x18731a1a wxKeyBinder::UpdateAllCmd(wxMenuBar*) + 70
6   libkeybinder.so                  0x18729fc9 cbKeyBinder::OnKeyConfigDialogDone(MyDialog*) + 261
7   libkeybinder.so                  0x1872a31d MyDialog::OnApply() + 27
8   libcodeblocks.0.dylib            0x00157ff0 EditorConfigurationDlg::EndModal(int) + 9812
9   libwx_macu-2.8.0.dylib           0x007a3982 wxDialogBase::AcceptAndClose() + 64
10  libwx_macu-2.8.0.dylib           0x006ce77e wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 108
11  libwx_macu-2.8.0.dylib           0x006ce915 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 103
12  libwx_macu-2.8.0.dylib           0x006ced99 wxEvtHandler::ProcessEvent(wxEvent&) + 183
13  libwx_macu-2.8.0.dylib           0x00804e49 wxWindowBase::TryParent(wxEvent&) + 85
14  libwx_macu-2.8.0.dylib           0x006ced4f wxEvtHandler::ProcessEvent(wxEvent&) + 109
15  libwx_macu-2.8.0.dylib           0x006fd0e3 wxControl::ProcessCommand(wxCommandEvent&) + 27
16  libwx_macu-2.8.0.dylib           0x006f899c wxButton::MacControlHit(void*, void*) + 62
17  libwx_macu-2.8.0.dylib           0x007598f3 wxMacWindowControlEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 553
18  libwx_macu-2.8.0.dylib           0x0075a259 wxMacWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 309
19  com.apple.HIToolbox              0x980e6f2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
20  com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
21  com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
22  com.apple.HIToolbox              0x98157e56 SendControlHit(HIView*, OpaqueEventRef*, short, unsigned long) + 296
23  com.apple.HIToolbox              0x98157cd7 HIView::NotifyControlHit(OpaqueEventRef*, short, unsigned long) + 45
24  com.apple.HIToolbox              0x981bc6fb HIView::ClickInternal(CGPoint const&, unsigned long, void (*)(OpaqueControlRef*, short), OpaqueEventRef*, bool) + 245
25  com.apple.HIToolbox              0x981bdcb4 HIView::ClickSelf(OpaqueEventRef*) + 368
26  com.apple.HIToolbox              0x980f9c81 HIView::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2363
27  com.apple.HIToolbox              0x980e6f2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
28  com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
29  com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
30  com.apple.HIToolbox              0x98156d26 HIView::Click(OpaqueEventRef*) + 480
31  com.apple.HIToolbox              0x98156af3 HandleClickAsHIView(OpaqueWindowPtr*, OpaqueEventRef*) + 151
32  com.apple.HIToolbox              0x981553d0 HandleWindowClick(OpaqueWindowPtr*, Point, short, unsigned long, OpaqueEventRef*) + 491
33  com.apple.HIToolbox              0x98154ed3 HandleMouseEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 786
34  com.apple.HIToolbox              0x981547de StandardWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 93
35  com.apple.HIToolbox              0x980e6f2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
36  com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
37  com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
38  com.apple.HIToolbox              0x9811a4db ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1257
39  com.apple.HIToolbox              0x980e7380 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2672
40  com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
41  com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
42  libwx_macu-2.8.0.dylib           0x006ef348 wxApp::MacHandleOneEvent(void*) + 34
43  libwx_macu-2.8.0.dylib           0x006ef410 wxApp::MacDoOneEvent() + 120
44  libwx_macu-2.8.0.dylib           0x007053cf wxDialog::DoShowModal() + 115
45  libwx_macu-2.8.0.dylib           0x00705497 wxDialog::Show(bool) + 83
46  libcodeblocks.0.dylib            0x0020e396 wxScrollingDialog::Show(bool) + 68
47  libwx_macu-2.8.0.dylib           0x00705698 wxDialog::ShowModal() + 54
48  libcodeblocks.0.dylib            0x0015c23f EditorManager::Configure() + 117
49  libwx_macu-2.8.0.dylib           0x006ce77e wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 108
50  libwx_macu-2.8.0.dylib           0x006ce915 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 103
51  libwx_macu-2.8.0.dylib           0x006ced99 wxEvtHandler::ProcessEvent(wxEvent&) + 183
52  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
53  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
54  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
55  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
56  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
57  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
58  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
59  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
60  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
61  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
62  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
63  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
64  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
65  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
66  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
67  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
68  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
69  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
70  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
71  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
72  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
73  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
74  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
75  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
76  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
77  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
78  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
79  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
80  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
81  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
82  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
83  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
84  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
85  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
86  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
87  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
88  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
89  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
90  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
91  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
92  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
93  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
94  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
95  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
96  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
97  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
98  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
99  libwx_macu-2.8.0.dylib           0x006ced3f wxEvtHandler::ProcessEvent(wxEvent&) + 93
100 libwx_macu-2.8.0.dylib           0x007e18a7 wxMenuBase::SendEvent(int, int) + 217
101 libwx_macu-2.8.0.dylib           0x00728999 wxMenu::MacHandleCommandProcess(wxMenuItem*, int, wxWindow*) + 63
102 libwx_macu-2.8.0.dylib           0x0075a2ff wxMacWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 475
103 com.apple.HIToolbox              0x980e6f2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
104 com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
105 com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
106 com.apple.HIToolbox              0x98134fa7 SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 448
107 com.apple.HIToolbox              0x98159d1c SendMenuCommandWithContextAndModifiers + 66
108 com.apple.HIToolbox              0x98159cd1 SendMenuItemSelectedEvent + 121
109 com.apple.HIToolbox              0x98159bda FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 152
110 com.apple.HIToolbox              0x981292e4 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 454
111 com.apple.HIToolbox              0x982db911 MenuSelect + 190
112 libwx_macu-2.8.0.dylib           0x00750ee3 wxMacTopLevelMouseEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1015
113 libwx_macu-2.8.0.dylib           0x006f12ae wxMacAppEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1072
114 com.apple.HIToolbox              0x980e6f2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
115 com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
116 com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
117 com.apple.HIToolbox              0x9811a57b ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1417
118 com.apple.HIToolbox              0x980e7380 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2672
119 com.apple.HIToolbox              0x980e61f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
120 com.apple.HIToolbox              0x981089bb SendEventToEventTarget + 52
121 libwx_macu-2.8.0.dylib           0x006ef348 wxApp::MacHandleOneEvent(void*) + 34
122 libwx_macu-2.8.0.dylib           0x006ef410 wxApp::MacDoOneEvent() + 120
123 libwx_macu-2.8.0.dylib           0x0070766a wxEventLoop::Dispatch() + 32
124 libwx_macu-2.8.0.dylib           0x007b3027 wxEventLoopManual::Run() + 97
125 libwx_macu-2.8.0.dylib           0x0078caf8 wxAppBase::MainLoop() + 76
126 org.codeblocks.app               0x00003eef CodeBlocksApp::OnRun() + 25
127 libwx_macu-2.8.0.dylib           0x0067d8b8 wxEntry(int&, wchar_t**) + 86
128 org.codeblocks.app               0x0000235a main + 24
129 org.codeblocks.app               0x00001cbe _start + 216
130 org.codeblocks.app               0x00001be5 start + 41

I cut out some, since it exceeded the max size of a post.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: CodeBlock 10.05 and Mac OS X 10.64 Crash
« Reply #3 on: July 19, 2010, 09:35:00 pm »
Disable the keybinder plugin and please use [ code ] [ /code ] tags for such large pastes
(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!]