CL 4052 crash on MAC

Discussion about CodeLite development process and patches
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

CL 4052 crash on MAC

Post by frank_frl »

Hi Eran,

here is a way to crash CL on MAC (PC no problem)
Open open 'Settings/Syntax highlight and fonts', select comment, no matter what lexer, in the foreground color text field change a value and then press enter. The dialog closes and CL crashes.

Frank
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CL 4052 crash on MAC

Post by eranif »

Thanks frank,

Since I wont have access to my Mac for few days, can you paste here the crash report output?

Eran
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: CL 4052 crash on MAC

Post by frank_frl »

Hi Eran,

from the crash report it seems that the text control gets a kill focus after it is allready destroyed.

Code: Select all

Process:         codelite [129]
Path:            /Users/franklichtner/Dev/CodeLiteApp/CodeLite.app/Contents/MacOS/codelite
Identifier:      codelite
Version:         CodeLite version 1.0 (CodeLite version 1.0)
Code Type:       X86 (Native)
Parent Process:  launchd [78]

Interval Since Last Report:          19449 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  0 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2010-04-20 12:29:38.059 +0200
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  EE347130-9849-4ED8-B0C0-0084BE7FA0BE

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libwx_macu-2.8.0.dylib        	0x00bc3f2b wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent&) + 27
1   libwx_macu-2.8.0.dylib        	0x00a980a3 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 115
2   libwx_macu-2.8.0.dylib        	0x00a989e2 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 82
3   libwx_macu-2.8.0.dylib        	0x00a98ab3 wxEvtHandler::ProcessEvent(wxEvent&) + 179
4   libwx_macu-2.8.0.dylib        	0x00b2e407 wxMacWindowControlEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 471
5   libwx_macu-2.8.0.dylib        	0x00b2ede3 wxMacWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 339
6   com.apple.HIToolbox           	0x9263c13d DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181
7   com.apple.HIToolbox           	0x9263b57b SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
8   com.apple.HIToolbox           	0x9263b3e0 SendEventToEventTargetWithOptions + 58
9   com.apple.HIToolbox           	0x9268d89c HIView::SendFocusPartChanged(short, short, unsigned long) + 346
10  com.apple.HIToolbox           	0x9268ce5f HIView::SetFocusPart(short, unsigned char, unsigned char, unsigned long, FocusData*) + 561
11  com.apple.HIToolbox           	0x926b7163 ClearKeyboardFocus + 193
12  com.apple.HIToolbox           	0x926b7025 _ClearKeyboardFocusWithExtremePrejudice + 19
13  com.apple.HIToolbox           	0x926eba84 HIView::RemoveFromSuperView(bool, bool, bool) + 100
14  com.apple.HIToolbox           	0x926ec2e7 HIView::DisposeSubPanes(bool) + 63
15  com.apple.HIToolbox           	0x926ec1ea HIView::Destruct() + 148
16  com.apple.CoreFoundation      	0x92e12516 _CFRelease + 182
17  libwx_macu-2.8.0.dylib        	0x00aa4024 wxMacControl::Dispose() + 36
18  libwx_macu-2.8.0.dylib        	0x00b2c716 wxWindow::~wxWindow() + 374
19  libwx_macu-2.8.0.dylib        	0x00b1a024 wxTextCtrl::~wxTextCtrl() + 148
20  libwx_macu-2.8.0.dylib        	0x00be15a6 wxWindowBase::DestroyChildren() + 38
21  libwx_macu-2.8.0.dylib        	0x00b2c65d wxWindow::~wxWindow() + 189
22  libwx_macu-2.8.0.dylib        	0x00b65640 wxColourPickerCtrl::~wxColourPickerCtrl() + 48
23  libwx_macu-2.8.0.dylib        	0x00be15a6 wxWindowBase::DestroyChildren() + 38
24  libwx_macu-2.8.0.dylib        	0x00b2c65d wxWindow::~wxWindow() + 189
25  codelite                      	0x00170185 LexerPage::~LexerPage() + 149
26  libwx_macu-2.8.0.dylib        	0x00be15a6 wxWindowBase::DestroyChildren() + 38
27  libwx_macu-2.8.0.dylib        	0x00b2c65d wxWindow::~wxWindow() + 189
28  libwx_macu-2.8.0.dylib        	0x00b01901 wxNotebook::~wxNotebook() + 65
29  libwx_macu-2.8.0.dylib        	0x00be15a6 wxWindowBase::DestroyChildren() + 38
30  libwx_macu-2.8.0.dylib        	0x00b2c65d wxWindow::~wxWindow() + 189
31  libwx_macu-2.8.0.dylib        	0x00c056e5 wxPanel::~wxPanel() + 37
32  libwx_macu-2.8.0.dylib        	0x00be15a6 wxWindowBase::DestroyChildren() + 38
33  libwx_macu-2.8.0.dylib        	0x00b2c65d wxWindow::~wxWindow() + 189
34  codelite                      	0x0023f376 SyntaxHighlightDlg::~SyntaxHighlightDlg() + 150
35  libwx_macu-2.8.0.dylib        	0x00b5fc93 wxAppBase::DeletePendingObjects() + 99
36  libwx_macu-2.8.0.dylib        	0x00abe226 wxApp::MacDoOneEvent() + 166
37  libwx_macu-2.8.0.dylib        	0x00ad9843 wxEventLoop::Dispatch() + 35
38  libwx_macu-2.8.0.dylib        	0x00b8878f wxEventLoopManual::Run() + 111
39  libwx_macu-2.8.0.dylib        	0x00b5f753 wxAppBase::MainLoop() + 83
40  libwx_macu-2.8.0.dylib        	0x00a41bda wxEntry(int&, wchar_t**) + 106
41  codelite                      	0x00019588 main + 24
42  codelite                      	0x00001e76 start + 54
Frank
Post Reply