Author Topic: SE 2016 RC1 Mac Application crash  (Read 858 times)

rajkej

  • Senior Community Member
  • Posts: 291
  • Hero Points: 13
SE 2016 RC1 Mac Application crash
« on: September 13, 2016, 09:23:45 pm »
I had a project open on MAC and had some files in a subdirectory open as well. The file view window was in that directory. Let's call the directory ./a/b where '.' is the base directory that the project was setup to use. So file viewer is in the directory ./a/b and SE has two files from 'b' opened. Then on the underlying file system I moved directory 'b' elsewhere (./test/b).

When I switched focus back to SE 2016, it asked me about the two files and I told it to close them. SE file viewer changed to my user home directory on the MAC. All fine and good. I told SE to reload the project which in older versions would have changed the directory to my project directory '.'. But that didn't work. So I switched projects in SE. Now SE changed directories properly. Then I switched back to the first project and SE crashed with the following (trimmed to fit in post limit)

Process:               vs [3125]
Path:                  /Applications/SlickEditPro2016.app/Contents/MacOS/vs
Identifier:            com.slickedit.SlickEdit
Version:               21.0.0 (21.0.0.7)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           vs [3125]
User ID:               xxx

Date/Time:             2016-09-13 15:15:42.130 -0600
OS Version:            Mac OS X 10.11.6 (15G1004)
Report Version:        11
Anonymous UUID:        2155A868-822D-E832-1AF6-394F26A9805D


Time Awake Since Boot: 110000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x8:
-->
    __TEXT                 000000010f046000-0000000110c73000 [ 28.2M] r-x/rwx SM=COW  /Applications/SlickEditPro2016.app/Contents/MacOS/vs

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.slickedit.SlickEdit          0x0000000110272cbe cmThinStringT<char, 1>::_assign(cmThinStringT<char, 1> const&) + 62
1   com.slickedit.SlickEdit          0x000000010fe7e4a9 slickedit::SEPrivateListTagsTarget::SEPrivateListTagsTarget(slickedit::SEPrivateListTagsTarget const&) + 57
2   com.slickedit.SlickEdit          0x000000010fe8060f slickedit::SEListTagsTarget::SEListTagsTarget(slickedit::SEListTagsTarget const&) + 79
3   com.slickedit.SlickEdit          0x000000010fea7206 slickedit::SEListTagsTargetCache::setCurrentLocals(slickedit::SEListTagsTarget const&) + 294
4   com.slickedit.SlickEdit          0x000000010feffc57 vsTagCheckCachedLocals(slickedit::SEListTagsTarget&, bool) + 295
5   com.slickedit.SlickEdit          0x000000010feffafa tag_check_cached_locals + 266
6   com.slickedit.SlickEdit          0x000000010f0d692f call_dllpc(int, int, namelist_t*) + 1567
7   com.slickedit.SlickEdit          0x000000010f31e321 pmethod_op() + 753
8   com.slickedit.SlickEdit          0x000000010f0d8d81 run_proc(int) + 481
9   com.slickedit.SlickEdit          0x000000010f0fb991 run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) + 321
10  com.slickedit.SlickEdit          0x000000010f0fb746 run_callback_immediate(VSCALLPTR*, int, VSARGTYPE*, int) + 102
11  com.slickedit.SlickEdit          0x000000010f390cb5 se_call_callback(filewindow_t*, VSCALLPTR*, int, int, VSARGTYPE*) + 53
12  com.slickedit.SlickEdit          0x000000010f269d92 vs_execute_timer_event(int) + 402
13  QtCore                           0x0000000111d299c0 QObject::event(QEvent*) + 432
14  QtGui                            0x000000011200ce8e QWidget::event(QEvent*) + 78
15  QtGui                            0x0000000111fb19dd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
16  QtGui                            0x0000000111fb5c38 QApplication::notify(QObject*, QEvent*) + 232
17  QtCore                           0x0000000111d1546c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
18  QtGui                            0x0000000111fb1a7c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 348
19  QtGui                            0x0000000111f67a5c QDesktopWidget::resizeEvent(QResizeEvent*) + 6220
20  com.apple.CoreFoundation         0x00007fff886a6b94 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
21  com.apple.CoreFoundation         0x00007fff886a6823 __CFRunLoopDoTimer + 1075
22  com.apple.CoreFoundation         0x00007fff886a637a __CFRunLoopDoTimers + 298
23  com.apple.CoreFoundation         0x00007fff8869d871 __CFRunLoopRun + 1841
24  com.apple.CoreFoundation         0x00007fff8869ced8 CFRunLoopRunSpecific + 296
25  com.apple.HIToolbox              0x00007fff92620935 RunCurrentEventLoopInMode + 235
26  com.apple.HIToolbox              0x00007fff9262076f ReceiveNextEventCommon + 432
27  com.apple.HIToolbox              0x00007fff926205af _BlockUntilNextEventMatchingListInModeWithFilter + 71
28  com.apple.AppKit                 0x00007fff89192df6 _DPSNextEvent + 1067
29  com.apple.AppKit                 0x00007fff89192226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
30  com.apple.AppKit                 0x00007fff89186d80 -[NSApplication run] + 682
31  QtGui                            0x0000000111f69967 QDesktopWidget::resizeEvent(QResizeEvent*) + 14167
32  QtCore                           0x0000000111d14384 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
33  QtCore                           0x0000000111d14734 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
34  QtCore                           0x0000000111d16fac QCoreApplication::exec() + 188
35  com.slickedit.SlickEdit          0x000000010f079cb7 vmain(int, char**) + 3367
36  com.slickedit.SlickEdit          0x00000001101a544a xmain + 42
37  com.slickedit.SlickEdit          0x000000010f095799 main + 9
38  com.slickedit.SlickEdit          0x000000010f04b834 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff8aa5fefa kevent_qos + 10
1   libdispatch.dylib                0x00007fff8fd34165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib                0x00007fff8fd33dcd _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib           0x00007fff8aa5edb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff9928a728 _pthread_cond_wait + 767
2   com.slickedit.SlickEdit          0x000000011027c00e cmWaitable::cond_wait(int) + 158
3   com.slickedit.SlickEdit          0x000000011027c0d9 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x000000010feae575 slickedit::SEListTagsThread::runAsReader() + 197
5   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
6   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
8   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib           0x00007fff8aa5edb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff9928a728 _pthread_cond_wait + 767
2   com.slickedit.SlickEdit          0x000000011027c00e cmWaitable::cond_wait(int) + 158
3   com.slickedit.SlickEdit          0x000000011027c0d9 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x000000010feae575 slickedit::SEListTagsThread::runAsReader() + 197
5   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
6   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
8   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff8aa5edb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff9928a728 _pthread_cond_wait + 767
2   com.slickedit.SlickEdit          0x000000011027bf97 cmWaitable::cond_wait(int) + 39
3   com.slickedit.SlickEdit          0x000000011027c0d9 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x000000011027a170 cmThreadEvent::wait(cmMutex&, int) + 48
5   com.slickedit.SlickEdit          0x000000011027a8b2 cmRWLock::writeLock(int, bool) + 466
6   com.slickedit.SlickEdit          0x000000010fefa2ed SETagSetListTagsContext + 29
7   com.slickedit.SlickEdit          0x000000010fe8244e slickedit::SEListTagsTarget::insertAsynchronousTagsInContext() + 446
8   com.slickedit.SlickEdit          0x000000010feaeb3d slickedit::SEListTagsThread::runAsTagger() + 445
9   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
10  libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
11  libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
12  libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib           0x00007fff8aa5ede6 __psynch_mutexwait + 10
1   libsystem_pthread.dylib          0x00007fff99289e4a _pthread_mutex_lock_wait + 89
2   libsystem_pthread.dylib          0x00007fff992875f5 _pthread_mutex_lock_slow + 300
3   com.slickedit.SlickEdit          0x000000010fea625c slickedit::SEListTagsTargetCache::findMatchingTarget(slickedit::SEListTagsTarget const&, bool) + 44
4   com.slickedit.SlickEdit          0x000000010feaf565 vsTagParseLocalVariables + 1237
5   com.slickedit.SlickEdit          0x000000010feaeb7e slickedit::SEListTagsThread::runAsTagger() + 510
6   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
7   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
8   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
9   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 6:
0   com.slickedit.SlickEdit          0x000000010fea257d cmArray<cmRCPointer<slickedit::SETagInformation, true> >::createNewArray(cmRCPointer<slickedit::SETagInformation, true> const*, long long, long long) + 77
1   com.slickedit.SlickEdit          0x000000010fea24ad cmArray<cmRCPointer<slickedit::SETagInformation, true> >::replaceArray(cmRCPointer<slickedit::SETagInformation, true> const*, long long, long long, long long) + 77
2   com.slickedit.SlickEdit          0x000000010fea2f6a cmArray<cmRCPointer<slickedit::SETagInformation, true> >::add(cmRCPointer<slickedit::SETagInformation, true> const&) + 42
3   com.slickedit.SlickEdit          0x000000010fe86131 slickedit::SEListTagsTarget::insertTag(slickedit::SEString const&, slickedit::SEString const&, unsigned short, unsigned int, slickedit::SEString const&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, slickedit::SEString const&, slickedit::SEString const&, slickedit::SEString const&, slickedit::SEString const&) + 1265
4   com.slickedit.SlickEdit          0x000000010f487c46 CPPParser::insertTag(slickedit::SEString const&, int, slickedit::SEString const&, slickedit::SEString const&, int, slickedit::SEString const&, int, int, int, int, int, int, int, int, slickedit::SEString const&, slickedit::SEString const&, slickedit::SEString const&) + 726
5   com.slickedit.SlickEdit          0x000000010f475ade CPPParser::insertCPPTag(slickedit::SEString const&, int, slickedit::SEString const&, slickedit::SEString const&, int, slickedit::SEString const&, int, int, int, int, int, int, int, int, slickedit::SEString const&, slickedit::SEString const&, int, int*) + 2494
6   com.slickedit.SlickEdit          0x000000010f46121e CPPParser::parseIdentifierDeclaration(int, slickedit::SEString const&, slickedit::SEString const&, int, int, slickedit::SEString const&, slickedit::SEString const&, int, int, bool, bool, slickedit::SEString*, slickedit::SEString const&, int*, int, CPPTagInterface*, int) + 68318
7   com.slickedit.SlickEdit          0x000000010f4896a0 CPPParser::parseLocalParameters(slickedit::SEString const&, slickedit::SEString const&) + 3680
8   com.slickedit.SlickEdit          0x000000010f445d30 CPPParser::parseLocalDeclarations(slickedit::SEString const&, slickedit::SEString const&, int, int) + 3584
9   com.slickedit.SlickEdit          0x000000010f4090c3 cpp_list_tags_callback(slickedit::SEListTagsTarget&) + 435
10  com.slickedit.SlickEdit          0x000000010fe81eea slickedit::SEListTagsTarget::parseFileForTags() + 746
11  com.slickedit.SlickEdit          0x000000010feafa27 vsTagParseLocalVariables + 2455
12  com.slickedit.SlickEdit          0x000000010feaeb7e slickedit::SEListTagsThread::runAsTagger() + 510
13  com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
14  libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
15  libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
16  libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib           0x00007fff8aa5edb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff9928a728 _pthread_cond_wait + 767
2   com.slickedit.SlickEdit          0x000000011027c00e cmWaitable::cond_wait(int) + 158
3   com.slickedit.SlickEdit          0x000000011027c0d9 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x000000010feafdd3 slickedit::SEListTagsThread::runAsWriter() + 115
5   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
6   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
8   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 8:: com.apple.NSEventThread
0   libsystem_kernel.dylib           0x00007fff8aa58f72 mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8aa583b3 mach_msg + 55
2   com.apple.CoreFoundation         0x00007fff8869e1c4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation         0x00007fff8869d68c __CFRunLoopRun + 1356
4   com.apple.CoreFoundation         0x00007fff8869ced8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                 0x00007fff892e8d95 _NSEventThread + 149
6   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
8   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 9:
0   libsystem_kernel.dylib           0x00007fff8aa5edb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff9928a728 _pthread_cond_wait + 767
2   com.slickedit.SlickEdit          0x000000011027bf97 cmWaitable::cond_wait(int) + 39
3   com.slickedit.SlickEdit          0x000000011027c0d9 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x00000001104a36c1 fileDateThread::run() + 65
5   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
6   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
8   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 19:
0   libsystem_kernel.dylib           0x00007fff8aa5f10a __semwait_signal + 10
1   libsystem_c.dylib                0x00007fff885ccd0f nanosleep + 199
2   com.slickedit.SlickEdit          0x000000011027bd9a cmThread::sleep(int) + 122
3   com.slickedit.SlickEdit          0x00000001102230ea cmThread_FreeZipFile::run() + 42
4   com.slickedit.SlickEdit          0x000000011027b9c4 cmThread::ThreadStartRoutine(void*) + 68
5   libsystem_pthread.dylib          0x00007fff9928999d _pthread_body + 131
6   libsystem_pthread.dylib          0x00007fff9928991a _pthread_start + 168
7   libsystem_pthread.dylib          0x00007fff99287351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000110cdc820  rbx: 0x0000000000000000  rcx: 0xdf2b2700df2b2803  rdx: 0xdf2b2800df2b2800
  rdi: 0x00007f81116fb4e0  rsi: 0x0000000000000008  rbp: 0x00007fff50bb18c0  rsp: 0x00007fff50bb18a0
   r8: 0x0000000000000040   r9: 0x00007f8108f1ad28  r10: 0xffffffffffffffff  r11: 0x0000000000000201
  r12: 0x00007f81116fb4e0  r13: 0x0000000000000000  r14: 0x0000000000000008  r15: 0x00007f81116fb4e0
  rip: 0x0000000110272cbe  rfl: 0x0000000000010246  cr2: 0x0000000000000008
 
Logical CPU:     4
Error Code:      0x00000004
Trap Number:     14

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 33
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 51116
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=363.3M resident=0K(0%) swapped_out_or_unallocated=363.3M(100%)
Writable regions: Total=716.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=716.4M(100%)
 
                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Accelerate.framework               256K        3
Activity Tracing                  2048K        2
CG backing stores                 52.7M        8
CG image                           116K       13
CG shared images                   400K       11
CoreAnimation                       64K        9
CoreUI image data                 4384K       22
CoreUI image file                  192K        4
Dispatch continuations            16.0M        2
Foundation                          20K        3
Kernel Alloc Once                    8K        3
MALLOC                           570.1M      181
MALLOC guard page                   32K        7
MALLOC_LARGE (reserved)           29.5M        9         reserved VM address space (unallocated)
Memory Tag 242                      12K        2
OpenCL                               8K        2
Process Corpse Info               2048K        2
STACK GUARD                       56.1M       21
Stack                             21.2M       21
VM_ALLOCATE                         56K        8
__DATA                            33.9M      278
__IMAGE                            528K        2
__LINKEDIT                       105.6M       24
__TEXT                           258.1M      282
__UNICODE                          552K        2
mapped file                      301.6M       35
shared memory                     16.4M       12
===========                     =======  =======
TOTAL                              1.4G      941
TOTAL, minus reserved VM space     1.4G      941

Model: iMac17,1, BootROM IM171.0105.B08, 4 processors, Intel Core i7, 4 GHz, 16 GB, SMC 2.34f2

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2900
  • Hero Points: 438
Re: SE 2016 RC1 Mac Application crash
« Reply #1 on: September 13, 2016, 11:03:11 pm »
I had already discovered and fixed a similar crash.  This will fixed in the next RC.