Page 1 of 1

Bug: Highlighting Build Output on Mac OS X causes crash

Posted: Sun May 26, 2013 9:31 am
by fueler
Highlighting Build Output on Mac OS X causes crash

Repro Steps:
1. Build a project (can be successful or fails)
2. Highlight output text in Build Output
3. Wait, crashes within a few seconds on Mac OS X

Re: Bug: Highlighting Build Output on Mac OS X causes crash

Posted: Sun May 26, 2013 9:34 am
by eranif
Again, which codelite version and which OSX?

Works fine here

Eran

Re: Bug: Highlighting Build Output on Mac OS X causes crash

Posted: Sun May 26, 2013 10:18 am
by fueler
CodeLite 5.1
Mac OS X 10.8.3

Re: Bug: Highlighting Build Output on Mac OS X causes crash

Posted: Sun May 26, 2013 10:23 am
by fueler
Here is the crash information:

Code: Select all

Process:         codelite [6278]
Path:            /Applications/codelite.app/Contents/MacOS/codelite
Identifier:      codelite
Version:         CodeLite version 1.0 (CodeLite version 1.0)
Code Type:       X86 (Native)
Parent Process:  launchd [217]
User ID:         501

Date/Time:       2013-05-26 02:21:15.470 -0400
OS Version:      Mac OS X 10.8.3 (12D78)
Report Version:  10

Interval Since Last Report:          51978 sec
Crashes Since Last Report:           4
Per-App Interval Since Last Report:  4686 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      A7668392-96A4-2912-FD34-72757B98862E

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

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000a0934372

VM Regions Near 0xa0934372:
    __LINKEDIT             000000008fee7000-000000008fefa000 [   76K] r--/rwx SM=COW  /usr/lib/dyld
--> Submap                 0000000090000000-00000000ac000000          r--/rwx machine-wide submap
    mapped file            0000000090000000-0000000090007000 [   28K] r-x/r-x SM=COW  Object_id=151ade20

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x95834a6a __pthread_kill + 10
1   libsystem_c.dylib             	0x96102b2f pthread_kill + 101
2   libsystem_c.dylib             	0x961394ec abort + 168
3   libwx_osx_cocoau-2.9.4.0.0.dylib	0x0090b5f6 wxFatalSignalHandler + 38
4   libsystem_c.dylib             	0x960ed8cb _sigtramp + 43
5   ???                           	0xffffffff 0 + 4294967295
6   libwx_osx_cocoau-2.9.4.0.0.dylib	0x0090b5d0 wxHandleFatalExceptions(bool) + 448
7   com.apple.CoreFoundation      	0x9a1bfa73 _CFAutoreleasePoolPop + 51
8   com.apple.Foundation          	0x9461973d -[NSAutoreleasePool drain] + 122
9   com.apple.AppKit              	0x94a3a6fa -[NSApplication run] + 1045
10  libwx_osx_cocoau-2.9.4.0.0.dylib	0x00a1258a wxGUIEventLoop::DoRun() + 58
11  libwx_osx_cocoau-2.9.4.0.0.dylib	0x008eda04 wxCFEventLoop::Run() + 52
12  libwx_osx_cocoau-2.9.4.0.0.dylib	0x007d34f0 wxAppConsoleBase::MainLoop() + 64
13  libwx_osx_cocoau-2.9.4.0.0.dylib	0x009a1282 wxApp::OnRun() + 34
14  libwx_osx_cocoau-2.9.4.0.0.dylib	0x008541ca wxEntry(int&, wchar_t**) + 154
15  codelite                      	0x00031d18 main + 24
16  codelite                      	0x00008296 start + 54

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x958359ae kevent + 10
1   libdispatch.dylib             	0x96a69c71 _dispatch_mgr_invoke + 993
2   libdispatch.dylib             	0x96a697a9 _dispatch_mgr_thread + 53

Thread 2:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   liblibcodelite.dylib          	0x0250260b WorkerThread::Entry() + 123
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 3:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   liblibcodelite.dylib          	0x0250260b WorkerThread::Entry() + 123
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 4:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   codelite                      	0x003769fc SingleInstanceThreadJob::Process(wxThread*) + 236
4   libplugin.dylib               	0x026d637a JobQueueWorker::Entry() + 58
5   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
6   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
7   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 5:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   libplugin.dylib               	0x026d63bc JobQueueWorker::Entry() + 124
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 6:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   libplugin.dylib               	0x026d63bc JobQueueWorker::Entry() + 124
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 7:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   libplugin.dylib               	0x026d63bc JobQueueWorker::Entry() + 124
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 8:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   libplugin.dylib               	0x026d63bc JobQueueWorker::Entry() + 124
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 9:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   libplugin.dylib               	0x026d63bc JobQueueWorker::Entry() + 124
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 10:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   liblibcodelite.dylib          	0x0250260b WorkerThread::Entry() + 123
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 11:
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   liblibcodelite.dylib          	0x0250260b WorkerThread::Entry() + 123
4   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
5   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
6   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 12:
0   libsystem_kernel.dylib        	0x95834be6 __select + 10
1   liblibcodelite.dylib          	0x024fb2dc UnixProcessImpl::Read(wxString&) + 140
2   liblibcodelite.dylib          	0x024c69b0 ProcessReaderThread::Entry() + 128
3   libwx_osx_cocoau-2.9.4.0.0.dylib	0x00906b48 wxThreadInternal::PthreadStart(wxThread*) + 600
4   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
5   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 13:
0   libsystem_kernel.dylib        	0x958350ee __workq_kernreturn + 10
1   libsystem_c.dylib             	0x961040ac _pthread_workq_return + 45
2   libsystem_c.dylib             	0x96103e79 _pthread_wqthread + 448
3   libsystem_c.dylib             	0x960ebd2a start_wqthread + 30

Thread 14:
0   libsystem_kernel.dylib        	0x958350ee __workq_kernreturn + 10
1   libsystem_c.dylib             	0x961040ac _pthread_workq_return + 45
2   libsystem_c.dylib             	0x96103e79 _pthread_wqthread + 448
3   libsystem_c.dylib             	0x960ebd2a start_wqthread + 30

Thread 15:
0   libsystem_kernel.dylib        	0x958350ee __workq_kernreturn + 10
1   libsystem_c.dylib             	0x961040ac _pthread_workq_return + 45
2   libsystem_c.dylib             	0x96103e79 _pthread_wqthread + 448
3   libsystem_c.dylib             	0x960ebd2a start_wqthread + 30

Thread 16:: com.apple.appkit-heartbeat
0   libsystem_kernel.dylib        	0x95834c72 __semwait_signal + 10
1   libsystem_c.dylib             	0x9618ba55 nanosleep$UNIX2003 + 189
2   libsystem_c.dylib             	0x9618b91e usleep$UNIX2003 + 60
3   com.apple.AppKit              	0x94c29c9d -[NSUIHeartBeat _heartBeatThread:] + 879
4   com.apple.Foundation          	0x946587c8 -[NSThread main] + 45
5   com.apple.Foundation          	0x9465874b __NSThread__main__ + 1396
6   libsystem_c.dylib             	0x961015b7 _pthread_start + 344
7   libsystem_c.dylib             	0x960ebd4e thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x0090b5d9  ecx: 0xbffff40c  edx: 0x95834a6a
  edi: 0xac6dea28  esi: 0x00000006  ebp: 0xbffff428  esp: 0xbffff40c
   ss: 0x00000023  efl: 0x00000206  eip: 0x95834a6a   cs: 0x0000000b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x055547c0
Logical CPU: 0


Re: Bug: Highlighting Build Output on Mac OS X causes crash

Posted: Sun May 26, 2013 11:38 am
by eranif
Bummer, none of the crashing thread backtrace is related to codelite...
I need to debug this on an OSX 10.8 machine

I will see if I can get my hands on such machine

Eran