Author Topic: Slickedit 22.0.2 Hangs On Linux  (Read 1311 times)

gsexton

  • Community Member
  • Posts: 21
  • Hero Points: 0
Slickedit 22.0.2 Hangs On Linux
« on: February 20, 2018, 09:28:22 pm »
I'm having some trouble with SE 22.0.2 hanging on linux. This is incident is different from past incidents in that TWO cores are ran at 100%;

Here's a stack dump created using GDB:

Code: [Select]
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 23098
[New LWP 23104]
[New LWP 23105]
[New LWP 23106]
[New LWP 23107]
[New LWP 23108]
[New LWP 23109]
[New LWP 23110]
[New LWP 23111]
[New LWP 23113]
[New LWP 23114]
[New LWP 23123]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /opt/slickedit-pro2017/bin/libncurses.so.5
Missing separate debuginfo for /opt/slickedit-pro2017/bin/menubar/libappmenu-qt.so
Try: zypper install -C "debuginfo(build-id)=496d5b9060231966f08fe743a776ba1fb4452390"
0x00007fe69405f478 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
Missing separate debuginfos, use: zypper install fontconfig-debuginfo-2.11.1-4.3.x86_64 glibc-debuginfo-2.22-10.1.x86_64 glibc-locale-debuginfo-2.22-10.1.x86_64 libICE6-debuginfo-1.0.9-7.1.x86_64 libSM6-debuginfo-1.2.2-8.3.x86_64 libX11-6-debuginfo-1.6.3-9.3.x86_64 libXau6-debuginfo-1.0.8-9.3.x86_64 libXcursor1-debuginfo-1.1.14-9.3.x86_64 libXext6-debuginfo-1.3.3-6.3.x86_64 libXfixes-devel-debuginfo-5.0.1-10.3.x86_64 libXi-devel-debuginfo-1.7.5-8.1.x86_64 libXinerama1-debuginfo-1.1.3-8.3.x86_64 libXrandr2-debuginfo-1.5.0-9.1.x86_64 libXrender1-debuginfo-0.9.9-6.3.x86_64 libXt6-debuginfo-1.1.5-4.3.x86_64 libbz2-1-debuginfo-1.0.6-34.15.x86_64 libdbusmenu-qt2-debuginfo-0.9.2+14.04.20131209-6.6.x86_64 libexpat1-debuginfo-2.1.0-24.1.x86_64 libfreetype6-debuginfo-2.6.3-5.3.1.x86_64 libglib-2_0-0-debuginfo-2.48.2-3.4.x86_64 libgthread-2_0-0-debuginfo-2.48.2-3.4.x86_64 libpcre1-debuginfo-8.39-11.1.x86_64 libpng16-16-debuginfo-1.6.8-11.3.x86_64 libuuid1-debuginfo-2.29.2-5.1.x86_64 libxcb1-debuginfo-1.11.1-9.1.x86_64 libz1-debuginfo-1.2.8-13.15.x86_64
(gdb) thread apply all bt

Thread 12 (Thread 0x7fe683897700 (LWP 23123)):
#0  0x00007fe69405f0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc21d in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001e5ee25 in fileDateThread::run() ()
#4  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fe682e3d700 (LWP 23114)):
#0  0x00007fe6940623ed in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000001abc098 in cmThread::sleep(int) ()
#2  0x0000000001e6c38a in SVNStatusThread::run() ()
#3  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#4  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fe682f8e700 (LWP 23113)):
#0  0x00007fe6940623ed in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000001abc098 in cmThread::sleep(int) ()
#2  0x0000000001e7410b in GitStatusThread::run() ()
#3  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#4  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fe68308f700 (LWP 23111)):
#0  0x00000000016759c5 in btStoredRecord::initialize() ()
#1  0x000000000167565d in btStoredObject::read(btFileCache&, unsigned int, bool) ()
#2  0x00000000016667df in btIndexStructure::getNextDuplicateRecord(btIndexIterator&, btStoredRecord const*) ()
#3  0x000000000168c38d in btAbstractHashTable::getNextRecordEQ(btIndexIterator&) const ()
#4  0x00000000015b9a41 in vsTagHashFileID2(int, btSession*, int, btTableInfo*, int, btIndexInfo*, btIndexStructure*, slickedit::SEHashSet<slickedit::SETagInformation>*) ()
#5  0x00000000015b9d32 in vsTagHashFileID ()
#6  0x00000000015ba246 in SETagInsertFileStart ()
#7  0x00000000014a932b in slickedit::SEListTagsTarget::insertAsynchronousTagsInDatabase(int&, bool, bool (*)(void*), void*) const ()
#8  0x00000000014d9a9c in slickedit::SEListTagsThread::runAsWriter() ()
#9  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#10 0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fe683190700 (LWP 23110)):
#0  0x00007fe68c0363b7 in sched_yield () from /lib64/libc.so.6
#1  0x00000000014dc155 in slickedit::SEListTagsThread::runAsTagger() ()
#2  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#3  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fe683291700 (LWP 23109)):
#0  0x00007fe69405f0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc21d in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x000000000149956d in slickedit::SEListTagsManager::finishJob(slickedit::SEListTagsTarget&, slickedit::SEListTagsQueue&, int, unsigned long) ()
#4  0x000000000149973f in slickedit::SEListTagsManager::moveToDatabaseJobQueue(slickedit::SEListTagsTarget&) ()
#5  0x00000000014dc5e7 in slickedit::SEListTagsThread::runAsTagger() ()
#6  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#7  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fe683392700 (LWP 23108)):
#0  0x00007fe69405f0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc21d in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x000000000149956d in slickedit::SEListTagsManager::finishJob(slickedit::SEListTagsTarget&, slickedit::SEListTagsQueue&, int, unsigned long) ()
---Type <return> to continue, or q <return> to quit---
#4  0x000000000149973f in slickedit::SEListTagsManager::moveToDatabaseJobQueue(slickedit::SEListTagsTarget&) ()
#5  0x00000000014dc5e7 in slickedit::SEListTagsThread::runAsTagger() ()
#6  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#7  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fe683493700 (LWP 23107)):
#0  0x00007fe69405f0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc21d in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x000000000149956d in slickedit::SEListTagsManager::finishJob(slickedit::SEListTagsTarget&, slickedit::SEListTagsQueue&, int, unsigned long) ()
#4  0x000000000149973f in slickedit::SEListTagsManager::moveToDatabaseJobQueue(slickedit::SEListTagsTarget&) ()
#5  0x00000000014dc5e7 in slickedit::SEListTagsThread::runAsTagger() ()
#6  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#7  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe683594700 (LWP 23106)):
#0  0x00007fe69405f0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc21d in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x000000000149956d in slickedit::SEListTagsManager::finishJob(slickedit::SEListTagsTarget&, slickedit::SEListTagsQueue&, int, unsigned long) ()
#4  0x000000000149973f in slickedit::SEListTagsManager::moveToDatabaseJobQueue(slickedit::SEListTagsTarget&) ()
#5  0x00000000014dc5e7 in slickedit::SEListTagsThread::runAsTagger() ()
#6  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#7  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe683695700 (LWP 23105)):
#0  0x00007fe69405f478 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc1ec in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x00000000014d9247 in slickedit::SEListTagsThread::runAsReader() ()
#4  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe683796700 (LWP 23104)):
#0  0x00007fe69405f478 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc1ec in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x00000000014d9247 in slickedit::SEListTagsThread::runAsReader() ()
#4  0x0000000001abb727 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fe69405a724 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe68c04cc1d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe6944520c0 (LWP 23098)):
#0  0x00007fe69405f478 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000001abc1ec in cmWaitable::cond_wait(int) ()
#2  0x0000000001abc296 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001ab665c in cmThreadEvent::wait(cmMutex&, int) ()
#4  0x0000000001ab67dc in cmRWLock::waitOnWriteLock(int) ()
#5  0x0000000001ab6cd1 in VSDOUBLEWRITEGUARD::VSDOUBLEWRITEGUARD(cmRWLock&, cmMutex&) ()
#6  0x000000000165f04c in btMultiSession::openDB(cmStringT<char, 1, 254> const&, bool) ()
#7  0x000000000165f615 in btMultiSession::openDB(cmStringT<char, 1, 30> const&, bool) ()
#8  0x00000000015c3ced in vsTagOpenDB ()
#9  0x00000000015c3ffb in tag_open_db ()
#10 0x00000000005abd93 in call_dllpc(int, int, namelist_t*) ()
#11 0x00000000005ae6c2 in run_proc(int) ()
#12 0x000000000059eb30 in run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) [clone .isra.10] ()
#13 0x000000000059f8c4 in run_proc_immediate(int, int, VSARGTYPE*, int, int) ()
#14 0x00000000007d2cd1 in se_call_proc(filewindow_t*, char const*, int, int, VSARGTYPE*) ()
#15 0x000000000060e3b8 in vsCtlUtil::customEvent(QEvent*) ()
---Type <return> to continue, or q <return> to quit---
#16 0x00007fe691cc5b8b in QObject::event(QEvent*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#17 0x00007fe692298463 in QWidget::event(QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#18 0x00007fe692247fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#19 0x00007fe69224e69b in QApplication::notify(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#20 0x00007fe691caec7d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#21 0x00007fe691cb1dd9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#22 0x00007fe691cdab53 in ?? () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#23 0x00007fe68b87d134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fe68b87d388 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fe68b87d42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fe691cdac9d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#27 0x00007fe6922e5606 in ?? () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#28 0x00007fe691cad961 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#29 0x00007fe691cadc75 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#30 0x00007fe691cb2c19 in QCoreApplication::exec() () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#31 0x00000000004fe06a in vmain(int, char**) ()
#32 0x0000000001714819 in xmain ()
#33 0x00000000004931a9 in main ()


patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1659
  • Hero Points: 141
Re: Slickedit 22.0.2 Hangs On Linux
« Reply #1 on: February 20, 2018, 09:34:33 pm »
It looks like it's blocking on tagging locks.  Did you have any crashes before this? What happens if you kill SlickEdit, move the *.vtg files out of your project directories, and then restart it? 

gsexton

  • Community Member
  • Posts: 21
  • Hero Points: 0
Re: Slickedit 22.0.2 Hangs On Linux
« Reply #2 on: February 20, 2018, 09:38:38 pm »
I didn't have any crashes that I recall. It's not like it's a notable incident when I do, so I could be wrong.

I was able to restart without incident or deleting the .vtg files.

I agree with you it's in the tagging engine. It always is. It's just been utter rubbish for the last year. I'm so frustrated with it. It either doesn't work as expected, or it hangs the UI randomly.