Author Topic: V19 crash on MAC  (Read 4997 times)

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
V19 crash on MAC
« on: August 22, 2014, 02:19:02 PM »
We use code generation during a build. I was running a clean build so our code generator was modifying bunches of files while SE was running. Part way through the build SE crashed with the info below. I assume it might have something to do with the .h, .cpp, .py files being modified while SE was running. If it might have something to do with that, please let me know which configuration settings to tell you about. I can't export all options due to the bug previously reported it seems.

This message contains a partial dump because a full dump exceeds the 20,000 char limit I guess.

Process:         vs [1818]
Path:            /Applications/SlickEdit2014.app/Contents/MacOS/vs
Identifier:      com.slickedit.SlickEdit
Version:         19.0.0 (19.0.0.4)
Code Type:       X86-64 (Native)
Parent Process:  launchd [158]
User ID:         1000

Date/Time:       2014-08-22 08:10:57.277 -0600
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          14459749 sec
Crashes Since Last Report:           18
Per-App Interval Since Last Report:  83815 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      280DE861-2777-6DBB-7A7B-38EB969FB999

Crashed Thread:  3

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

Application Specific Information:
*** error for object 0x11d8bd008: incorrect checksum for freed object - object was probably modified after being freed.
 

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff844ce686 mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff844cdc42 mach_msg + 70
2   com.apple.CoreFoundation         0x00007fff8ad71233 __CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation         0x00007fff8ad76916 __CFRunLoopRun + 1078
4   com.apple.CoreFoundation         0x00007fff8ad760e2 CFRunLoopRunSpecific + 290
5   com.apple.HIToolbox              0x00007fff83fb9eb4 RunCurrentEventLoopInMode + 209
6   com.apple.HIToolbox              0x00007fff83fb9c52 ReceiveNextEventCommon + 356
7   com.apple.HIToolbox              0x00007fff83fb9ae3 BlockUntilNextEventMatchingListInMode + 62
8   com.apple.AppKit                 0x00007fff80e92533 _DPSNextEvent + 685
9   com.apple.AppKit                 0x00007fff80e91df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10  com.apple.AppKit                 0x00007fff80e891a3 -[NSApplication run] + 517
11  QtGui                            0x000000010289a640 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
12  QtCore                           0x00000001026525a4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
13  QtCore                           0x0000000102652954 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
14  QtCore                           0x00000001026551cc QCoreApplication::exec() + 188
15  com.slickedit.SlickEdit          0x0000000100023ace vmain(int, char**) + 2574
16  com.slickedit.SlickEdit          0x0000000100f27554 xmain + 68
17  com.slickedit.SlickEdit          0x00000001000439c9 main + 9
18  com.slickedit.SlickEdit          0x0000000100005274 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff844d0d16 kevent + 10
1   libdispatch.dylib                0x00007fff87378dea _dispatch_mgr_invoke + 883
2   libdispatch.dylib                0x00007fff873789ee _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib           0x00007fff844cffee __open + 10
1   com.slickedit.SlickEdit          0x00000001010016b7 cmFileRW_Posix::openFile(cmStringT<char, 1, 30> const&, cmFileOpenFlags) + 343
2   com.slickedit.SlickEdit          0x0000000100fab803 cmFileRW::openFile(cmStringT<char, 1, 30> const&, cmFileOpenFlags) + 99
3   com.slickedit.SlickEdit          0x0000000100f4b4ac zopenfh(char const*, int, SEOPENINFO*) + 236
4   com.slickedit.SlickEdit          0x0000000100292aa1 vsFileLoad + 49
5   com.slickedit.SlickEdit          0x0000000100c758de slickedit::SEPrivateListTagsTarget::loadFileContents() + 174
6   com.slickedit.SlickEdit          0x0000000100c7eef8 slickedit::SEListTagsThread::runAsReader() + 312
7   com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
8   libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
9   libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 3 Crashed:
0   libsystem_kernel.dylib           0x00007fff844d0212 __pthread_kill + 10
1   libsystem_c.dylib                0x00007fff84a7eb24 pthread_kill + 90
2   libsystem_c.dylib                0x00007fff84ac3031 __abort + 159
3   libsystem_c.dylib                0x00007fff84ac2f92 abort + 192
4   libsystem_c.dylib                0x00007fff84a9e8d5 szone_error + 580
5   libsystem_c.dylib                0x00007fff84a9f3a4 small_free_list_remove_ptr + 156
6   libsystem_c.dylib                0x00007fff84a9d0df szone_free_definite_size + 4278
7   libsystem_c.dylib                0x00007fff84a968c8 free + 199
8   com.slickedit.SlickEdit          0x000000010100f20c cmAllocator::deallocate(void*) + 60
9   com.slickedit.SlickEdit          0x000000010030cd3d CPPLexer::maybeExpandMacro(slickedit::SEString&, CPPDefine const*) + 5917
10  com.slickedit.SlickEdit          0x00000001003083bf CPPLexer::maybeExpandMacro(SETokenType) + 479
11  com.slickedit.SlickEdit          0x0000000100c4ce40 TBPLexer::getNextToken() + 1648
12  com.slickedit.SlickEdit          0x0000000100a0ff7f SETaggingLexer::getNextToken() + 15
13  com.slickedit.SlickEdit          0x0000000100c59987 TBPTokenSource::nextTokenObj() + 151
14  com.slickedit.SlickEdit          0x000000010030ff88 CPPLexer::nextTokenObj() + 24
15  com.slickedit.SlickEdit          0x000000010030f6a2 CPPLexer::appendIDThenNextToken(slickedit::SEString*) + 242
16  com.slickedit.SlickEdit          0x000000010034b8f8 CPPParser::skipUntilRightBrace(bool, slickedit::SEString const&, slickedit::SEString const&, slickedit::SEString*) + 232
17  com.slickedit.SlickEdit          0x000000010033965f 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*) + 59855
18  com.slickedit.SlickEdit          0x000000010031cac6 CPPParser::parseGlobalDeclarations(slickedit::SEString const&) + 24518
19  com.slickedit.SlickEdit          0x0000000100316ab4 CPPParser::parseProgram() + 116
20  com.slickedit.SlickEdit          0x00000001002f2dfe cpp_list_tags_callback(slickedit::SEListTagsTarget&) + 350
21  com.slickedit.SlickEdit          0x0000000100c75b5d slickedit::SEPrivateListTagsTarget::parseFileForTags(slickedit::SEListTagsTarget&) + 621
22  com.slickedit.SlickEdit          0x0000000100c7f29b slickedit::SEListTagsThread::runAsTagger() + 443
23  com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
24  libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
25  libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff844d0122 __psynch_mutexwait + 10
1   libsystem_c.dylib                0x00007fff84a82dcd pthread_mutex_lock + 536
2   com.slickedit.SlickEdit          0x000000010030821a CPPLexer::maybeExpandMacro(SETokenType) + 58
3   com.slickedit.SlickEdit          0x0000000100c4ce40 TBPLexer::getNextToken() + 1648
4   com.slickedit.SlickEdit          0x0000000100a0ff7f SETaggingLexer::getNextToken() + 15
5   com.slickedit.SlickEdit          0x0000000100c59987 TBPTokenSource::nextTokenObj() + 151
6   com.slickedit.SlickEdit          0x000000010030ff88 CPPLexer::nextTokenObj() + 24
7   com.slickedit.SlickEdit          0x000000010030f6a2 CPPLexer::appendIDThenNextToken(slickedit::SEString*) + 242
8   com.slickedit.SlickEdit          0x0000000100333d90 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*) + 37120
9   com.slickedit.SlickEdit          0x0000000100365cbf CPPParser::parseClassMembers(int, slickedit::SEString const&, slickedit::SEString const&, int, CPPTagInterface*) + 9167
10  com.slickedit.SlickEdit          0x0000000100348387 CPPParser::parseClassDefinition(int, bool, slickedit::SEString const&, slickedit::SEString const&, int, int, int, slickedit::SEString const&, slickedit::SEString const&, CPPTagInterface*) + 10727
11  com.slickedit.SlickEdit          0x000000010031934f CPPParser::parseGlobalDeclarations(slickedit::SEString const&) + 10319
12  com.slickedit.SlickEdit          0x0000000100316ab4 CPPParser::parseProgram() + 116
13  com.slickedit.SlickEdit          0x00000001002f2dfe cpp_list_tags_callback(slickedit::SEListTagsTarget&) + 350
14  com.slickedit.SlickEdit          0x0000000100c75b5d slickedit::SEPrivateListTagsTarget::parseFileForTags(slickedit::SEListTagsTarget&) + 621
15  com.slickedit.SlickEdit          0x0000000100c7f29b slickedit::SEListTagsThread::runAsTagger() + 443
16  com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
17  libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
18  libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 5:
0   libsystem_c.dylib                0x00007fff84a7e1ec pthread_threadid_np + 52
1   libsystem_c.dylib                0x00007fff84a8272a __mtx_droplock + 132
2   libsystem_c.dylib                0x00007fff84a83165 pthread_mutex_unlock + 268
3   com.slickedit.SlickEdit          0x0000000100feb2a0 cmRWLock::readLock(int) + 160
4   com.slickedit.SlickEdit          0x000000010006787b btTableInfo::insertRecord(btStoredRecord&) + 491
5   com.slickedit.SlickEdit          0x0000000100064809 btSession::insertRecord(btTableInfo*, btStoredRecord&) + 153
6   com.slickedit.SlickEdit          0x0000000100c98d1d slickedit::SEPrivateTagInformation::insertTagInDatabase(int) const + 813
7   com.slickedit.SlickEdit          0x0000000100cd9214 SETagInsertInfoInDatabase + 308
8   com.slickedit.SlickEdit          0x0000000100c78ee2 slickedit::SEPrivateListTagsTarget::insertAsynchronousTagsInDatabase(bool (*)(void*), void*) const + 1650
9   com.slickedit.SlickEdit          0x0000000100c7f713 slickedit::SEListTagsThread::runAsWriter() + 259
10  com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
11  libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
12  libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib           0x00007fff844d00fa __psynch_cvwait + 10
1   libsystem_c.dylib                0x00007fff84a81fb9 _pthread_cond_wait + 869
2   com.slickedit.SlickEdit          0x0000000100fed507 cmWaitable::cond_wait(int) + 39
3   com.slickedit.SlickEdit          0x0000000100fed649 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x0000000101235bf1 fileDateThread::run() + 81
5   com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
6   libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
7   libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 3 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x0000000112662318  rdx: 0x0000000000000000
  rdi: 0x0000000000008603  rsi: 0x0000000000000006  rbp: 0x0000000112662340  rsp: 0x0000000112662318
   r8: 0x00007fff70e74278   r9: 0x0000000000989680  r10: 0x0000000020000000  r11: 0x0000000000000206
  r12: 0x0000000103457000  r13: 0x000000011d8bd008  r14: 0x0000000112665000  r15: 0x0000000000000000
  rip: 0x00007fff844d0212  rfl: 0x0000000000000206  cr2: 0x0000000103e4c868
Logical CPU: 0

<snip>

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 9
    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: 2828
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=229.1M resident=205.1M(90%) swapped_out_or_unallocated=23.9M(10%)
Writable regions: Total=301.0M written=172.8M(57%) resident=249.9M(83%) swapped_out=0K(0%) unallocated=51.1M(17%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG backing stores                  12.3M
CG image                             28K
CG shared images                    192K
CoreImage                             8K
CoreServices                       3996K
IOKit                                16K
MALLOC                            254.6M
MALLOC guard page                    48K
MALLOC_LARGE (reserved)            1580K        reserved VM address space (unallocated)
Memory tag=240                        4K
Memory tag=242                       12K
OpenCL                               28K
STACK GUARD                        56.0M
Stack                              13.5M
VM_ALLOCATE                        16.9M
__DATA                             20.6M
__IMAGE                             528K
__LINKEDIT                         61.8M
__TEXT                            167.3M
__UNICODE                           544K
mapped file                       664.0M
shared memory                      18.5M
===========                      =======
TOTAL                               1.3G
TOTAL, minus reserved VM space      1.3G

Model: iMac11,3, BootROM IM112.0057.B01, 4 processors, Intel Core i5, 2.8 GHz, 12 GB, SMC 1.59f2
Graphics: ATI Radeon HD 5750, ATI Radeon HD 5750, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x857F, 0x483634353155363446393333334700000000
Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x857F, 0x483634353155363446393333334700000000
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.72.0-P2P
Bluetooth: Version 4.1.7f2 12718, 3 service, 13 devices, 3 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: OPTIARC DVD RW AD-5680H
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
USB Device: DasKeyboard, 0x04d9  (Holtek Semiconductor, Inc.), 0x1919, 0xfd130000 / 6
USB Device: Back-UPS ES 550 FW:843.K2 .D USB FW:K2, 0x051d  (American Power Conversion), 0x0002, 0xfd140000 / 5
USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 4
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
USB Device: OWC Mercury Elite-AL Pro, 0x0926, 0x000a, 0xfa130000 / 6
USB Device: USB Receiver, 0x046d  (Logitech Inc.), 0xc52b, 0xfa140000 / 5
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 4
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: V19 crash on MAC
« Reply #1 on: August 22, 2014, 02:29:52 PM »
Here's a second crash I just got. I restarted the editor after the above crash and my build had finished. The editor sat idle while I installed the new software elsewhere. Then the crash happened. These are both within tagging it seems.

Process:         vs [5240]
Path:            /Applications/SlickEdit2014.app/Contents/MacOS/vs
Identifier:      com.slickedit.SlickEdit
Version:         19.0.0 (19.0.0.4)
Code Type:       X86-64 (Native)
Parent Process:  launchd [158]
User ID:         1000

Date/Time:       2014-08-22 08:27:27.330 -0600
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          14460734 sec
Crashes Since Last Report:           19
Per-App Interval Since Last Report:  84570 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      280DE861-2777-6DBB-7A7B-38EB969FB999

Crashed Thread:  5

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

VM Regions Near 0x8:
-->
    __TEXT                 0000000100000000-00000001018e7000 [ 24.9M] r-x/rwx SM=COW  /Applications/SlickEdit2014.app/Contents/MacOS/vs

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib                0x00007fff84a8276e __mtx_droplock + 200
1   libsystem_c.dylib                0x00007fff84a83165 pthread_mutex_unlock + 268
2   com.slickedit.SlickEdit          0x000000010100f389 cmAllocator::deallocate(void*) + 441
3   com.slickedit.SlickEdit          0x0000000100fd62ce cmStringT<char, 1, 30>::decRefCount() + 62
4   com.slickedit.SlickEdit          0x000000010122edd5 slickedit::SEString::~SEString() + 21
5   com.slickedit.SlickEdit          0x0000000100c9816b slickedit::SEPrivateTagInformation::~SEPrivateTagInformation() + 91
6   com.slickedit.SlickEdit          0x0000000100c980ee slickedit::SEPrivateTagInformation::~SEPrivateTagInformation() + 14
7   com.slickedit.SlickEdit          0x0000000100474af8 slickedit::SEArray<slickedit::SETagInformation>::~SEArray() + 72
8   com.slickedit.SlickEdit          0x0000000100c7436e slickedit::SEPrivateListTagsTarget::~SEPrivateListTagsTarget() + 926
9   com.slickedit.SlickEdit          0x0000000100c73fae slickedit::SEPrivateListTagsTarget::~SEPrivateListTagsTarget() + 14
10  com.slickedit.SlickEdit          0x0000000100c72b9e slickedit::SEHashSet<slickedit::SEListTagsTarget>::remove(slickedit::SEListTagsTarget const&) + 174
11  com.slickedit.SlickEdit          0x0000000100c7133b slickedit::SEListTagsManager::clearLastFinishedTaggingJob() + 107
12  com.slickedit.SlickEdit          0x0000000100c72106 tag_dispose_async_tagging_result + 182
13  com.slickedit.SlickEdit          0x000000010006b62d call_dllpc(int, int, namelist_t*) + 1565
14  com.slickedit.SlickEdit          0x000000010006da31 run_proc(int) + 481
15  com.slickedit.SlickEdit          0x000000010008ff51 run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) + 321
16  com.slickedit.SlickEdit          0x000000010008fd06 run_callback_immediate(VSCALLPTR*, int, VSARGTYPE*, int) + 102
17  com.slickedit.SlickEdit          0x00000001002a6785 se_call_callback(filewindow_t*, VSCALLPTR*, int, int, VSARGTYPE*) + 53
18  com.slickedit.SlickEdit          0x00000001001c4f6b vs_execute_timer_event(int) + 379
19  QtCore                           0x0000000102667be0 QObject::event(QEvent*) + 432
20  QtGui                            0x0000000102938ade QWidget::event(QEvent*) + 78
21  QtGui                            0x00000001028e1b6d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
22  QtGui                            0x00000001028e5dc8 QApplication::notify(QObject*, QEvent*) + 232
23  QtCore                           0x000000010265368c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
24  QtGui                            0x00000001028e1c0c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 348
25  QtGui                            0x0000000102898b4c QDesktopWidget::resizeEvent(QResizeEvent*) + 6140
26  com.apple.CoreFoundation         0x00007fff8ad91804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
27  com.apple.CoreFoundation         0x00007fff8ad9131d __CFRunLoopDoTimer + 557
28  com.apple.CoreFoundation         0x00007fff8ad76ad9 __CFRunLoopRun + 1529
29  com.apple.CoreFoundation         0x00007fff8ad760e2 CFRunLoopRunSpecific + 290
30  com.apple.HIToolbox              0x00007fff83fb9eb4 RunCurrentEventLoopInMode + 209
31  com.apple.HIToolbox              0x00007fff83fb9c52 ReceiveNextEventCommon + 356
32  com.apple.HIToolbox              0x00007fff83fb9ae3 BlockUntilNextEventMatchingListInMode + 62
33  com.apple.AppKit                 0x00007fff80e92533 _DPSNextEvent + 685
34  com.apple.AppKit                 0x00007fff80e91df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
35  com.apple.AppKit                 0x00007fff80e891a3 -[NSApplication run] + 517
36  QtGui                            0x000000010289a640 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
37  QtCore                           0x00000001026525a4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
38  QtCore                           0x0000000102652954 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
39  QtCore                           0x00000001026551cc QCoreApplication::exec() + 188
40  com.slickedit.SlickEdit          0x0000000100023ace vmain(int, char**) + 2574
41  com.slickedit.SlickEdit          0x0000000100f27554 xmain + 68
42  com.slickedit.SlickEdit          0x00000001000439c9 main + 9
43  com.slickedit.SlickEdit          0x0000000100005274 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff844d0d16 kevent + 10
1   libdispatch.dylib                0x00007fff87378dea _dispatch_mgr_invoke + 883
2   libdispatch.dylib                0x00007fff873789ee _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib           0x00007fff844d0122 __psynch_mutexwait + 10
1   libsystem_c.dylib                0x00007fff84a82dcd pthread_mutex_lock + 536
2   com.slickedit.SlickEdit          0x0000000100c7efdd slickedit::SEListTagsThread::runAsReader() + 541
3   com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
4   libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
5   libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib           0x00007fff844d00fa __psynch_cvwait + 10
1   libsystem_c.dylib                0x00007fff84a81fb9 _pthread_cond_wait + 869
2   com.slickedit.SlickEdit          0x0000000100fed57e cmWaitable::cond_wait(int) + 158
3   com.slickedit.SlickEdit          0x0000000100fed649 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x0000000100feacb0 cmThreadEvent::wait(cmMutex&, int) + 48
5   com.slickedit.SlickEdit          0x0000000100c7f18b slickedit::SEListTagsThread::runAsTagger() + 171
6   com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
7   libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
8   libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff844d00fa __psynch_cvwait + 10
1   libsystem_c.dylib                0x00007fff84a81fb9 _pthread_cond_wait + 869
2   com.slickedit.SlickEdit          0x0000000100fed57e cmWaitable::cond_wait(int) + 158
3   com.slickedit.SlickEdit          0x0000000100fed649 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x0000000100feacb0 cmThreadEvent::wait(cmMutex&, int) + 48
5   com.slickedit.SlickEdit          0x0000000100c7f18b slickedit::SEListTagsThread::runAsTagger() + 171
6   com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
7   libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
8   libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 5 Crashed:
0   com.slickedit.SlickEdit          0x0000000100058ea9 btMultiFileCache::moveToLRUListEnd(btFileCacheBlock*) + 121
1   com.slickedit.SlickEdit          0x0000000100052a2e btFileCache::readBlock(int, int, int) + 350
2   com.slickedit.SlickEdit          0x0000000100052bdf btFileCache::readBlock(int, int, int) + 783
3   com.slickedit.SlickEdit          0x000000010005d940 btStoredObject::read(btFileCache&, int) + 112
4   com.slickedit.SlickEdit          0x000000010004d52c btBtreeIndex::findRecord(btIndexIterator&, btStoredRecord const&, int, int) + 3244
5   com.slickedit.SlickEdit          0x0000000100056a57 btIndexIterator::getRecordEQ(btStoredRecord const&, btStoredRecord*) + 103
6   com.slickedit.SlickEdit          0x0000000100c9a7f4 slickedit::SEPrivateTagInformation::propagateTagFlags(int, int&, slickedit::SEHashSet<slickedit::SETagInformation> const*) const + 916
7   com.slickedit.SlickEdit          0x0000000100cd9113 SETagInsertInfoInDatabase + 51
8   com.slickedit.SlickEdit          0x0000000100c78ee2 slickedit::SEPrivateListTagsTarget::insertAsynchronousTagsInDatabase(bool (*)(void*), void*) const + 1650
9   com.slickedit.SlickEdit          0x0000000100c7f713 slickedit::SEListTagsThread::runAsWriter() + 259
10  com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
11  libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
12  libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib           0x00007fff844d00fa __psynch_cvwait + 10
1   libsystem_c.dylib                0x00007fff84a81fb9 _pthread_cond_wait + 869
2   com.slickedit.SlickEdit          0x0000000100fed507 cmWaitable::cond_wait(int) + 39
3   com.slickedit.SlickEdit          0x0000000100fed649 cmWaitHandle::waitOne(int) + 89
4   com.slickedit.SlickEdit          0x0000000101235bf1 fileDateThread::run() + 81
5   com.slickedit.SlickEdit          0x0000000100fed083 cmThread::ThreadStartRoutine(void*) + 19
6   libsystem_c.dylib                0x00007fff84a7d772 _pthread_start + 327
7   libsystem_c.dylib                0x00007fff84a6a1a1 thread_start + 13

Thread 5 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000101ca5490  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000101ca5490  rsi: 0x00000001101ac008  rbp: 0x000000011306a440  rsp: 0x000000011306a440
   r8: 0x0000000000012068   r9: 0x000000011306a450  r10: 0x0000000103457000  r11: 0x0000000000000100
  r12: 0x000000000000000c  r13: 0x0000000000002000  r14: 0x0000000000758000  r15: 0x0000000111d43e20
  rip: 0x0000000100058ea9  rfl: 0x0000000000010287  cr2: 0x0000000000000008
Logical CPU: 2


Dennis

  • Senior Community Member
  • Posts: 3965
  • Hero Points: 517
Re: V19 crash on MAC
« Reply #2 on: August 22, 2014, 08:14:46 PM »
What are all your setting for Tools > Options > Editing > Context Tagging ?  I am especially interested in the settings for threaded tagging and tagging cache size.

Dennis

  • Senior Community Member
  • Posts: 3965
  • Hero Points: 517
Re: V19 crash on MAC
« Reply #3 on: August 22, 2014, 08:20:23 PM »
With respect to the first crash, does that happen every time you tag that source code, or is it timing sensitive with your build?  I assume you are using a wildcard project and probably also the Boost libraries.

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: V19 crash on MAC
« Reply #4 on: August 22, 2014, 09:47:34 PM »
What are all your setting for Tools > Options > Editing > Context Tagging ?  I am especially interested in the settings for threaded tagging and tagging cache size.

See attachments.

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: V19 crash on MAC
« Reply #5 on: August 22, 2014, 09:53:12 PM »
With respect to the first crash, does that happen every time you tag that source code, or is it timing sensitive with your build?  I assume you are using a wildcard project and probably also the Boost libraries.
I am not using a wildcard project nor the Boost libraries.

I have two extra tag files added to my project. These are the linux header files and IPP header files. None of those files is changing during a build.

I create a project and add files of certain extensions and leave it alone (i.e. project properties/Add tree). But what happens during a clean build is that our code generator rips out the hand-written code, saves it off, regenerates the base file (.h, .cpp, .py), puts back the hand-written code. So the file itself will become empty, then be written again with the actual contents.

The issue seems to be timing related. I produced it once so far in 2 builds (takes 15 min to clean build my project and I'm trying to be productive even though I'm using a beta version of SE ;-)

Dennis

  • Senior Community Member
  • Posts: 3965
  • Hero Points: 517
Re: V19 crash on MAC
« Reply #6 on: August 22, 2014, 10:35:37 PM »
Thanks, that helps narrow down the potential problem.

Dennis

  • Senior Community Member
  • Posts: 3965
  • Hero Points: 517
Re: V19 crash on MAC
« Reply #7 on: August 25, 2014, 07:48:40 PM »
I was not able to reproduce the crash, but I did find a race condition which I have fixed for the next beta drop.  I expect the fix should solve both crash problems.

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: V19 crash on MAC
« Reply #8 on: August 25, 2014, 07:49:36 PM »
I was not able to reproduce the crash, but I did find a race condition which I have fixed for the next beta drop.  I expect the fix should solve both crash problems.
Good news! One less bug in either case right ;-) I look forward to the next beta version.