Recently SlickEdit has started hanging after I start it. Hoping to resolve this issue by upgrading, today I upgraded from se_21000300 to se_22000008. I installed the new 2017 version into the default directory location /opt/slickedit-pro2017/ which is a new area. Unfortunately, the problem with SlickEdit hanging is continuing to occur with the new version. The first time I ran the new version I saw a message displayed that it was copying settings from se_21000300.
When SlickEdit hangs Ubuntu is graying out the screen and putting up a dialog box which says that "This window is not responding" and giving me an option to "Wait" or "Force Quit". I have tried waiting, but it never comes back. When I run top it shows that vs_exe is running at 100% CPU utilization.
I attached gdb to SlickEdit vs_exe a couple of times while it was hung and am including below what was shown in the back trace and the thread info. In the first case it was in btMultiSession::openDB and in the second it was in btMultiSession::_closeAllDB.
First hang gdb info
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fa8f89b9c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0 0x00007fa8f89b9c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000001a22bf8 in cmThread::sleep(int) ()
#2 0x0000000001a1d824 in VSDOUBLEWRITEGUARD::VSDOUBLEWRITEGUARD(cmRWLock&, cmMutex&) ()
#3 0x00000000015c671c in btMultiSession::openDB(cmStringT<char, 1, 254> const&, bool) ()
#4 0x00000000015c6e15 in btMultiSession::openDB(cmStringT<char, 1, 30> const&, bool) ()
#5 0x000000000152b83d in vsTagOpenDB ()
#6 0x000000000152bb4b in tag_open_db ()
#7 0x00000000005a9da3 in call_dllpc(int, int, namelist_t*) ()
#8 0x00000000005ac6d2 in run_proc(int) ()
#9 0x000000000059cb40 in run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) [clone .isra.10] ()
#10 0x000000000059d8d4 in run_proc_immediate(int, int, VSARGTYPE*, int, int) ()
#11 0x00000000007cf663 in se_call_event(filewindow_t*, unsigned int, int, int, VSARGTYPE*, int) ()
#12 0x00007fa8f65f8c9b in QObject::event(QEvent*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#13 0x00007fa8f6bcebb3 in QWidget::event(QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#14 0x00007fa8f6b7e73c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#15 0x00007fa8f6b84deb in QApplication::notify(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#16 0x00007fa8f65e1d8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#17 0x00007fa8f65e4ee9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#18 0x00007fa8f660dc63 in ?? () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#19 0x00007fa8f0176197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fa8f01763f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fa8f017649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fa8f660ddad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/slickedit-pro2017/bin/libQtCore.so.4
#23 0x00007fa8f6c1beb6 in ?? () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#24 0x00007fa8f65e0a71 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#25 0x00007fa8f65e0d85 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#26 0x00007fa8f65e5d29 in QCoreApplication::exec() () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#27 0x00000000004fd84a in vmain(int, char**) ()
#28 0x000000000167b909 in xmain ()
#29 0x0000000000492c89 in main ()
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7fa8f8db90c0 (LWP 51382) "vs_exe" 0x00007fa8f89b9c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
2 Thread 0x7fa8e737b700 (LWP 51383) "dconf worker" 0x00007fa8f095c70d in poll () at ../sysdeps/unix/syscall-template.S:84
3 Thread 0x7fa8e6b7a700 (LWP 51384) "gmain" 0x00007fa8f095c70d in poll () at ../sysdeps/unix/syscall-template.S:84
4 Thread 0x7fa8e6379700 (LWP 51385) "gdbus" 0x00007fa8f095c70d in poll () at ../sysdeps/unix/syscall-template.S:84
5 Thread 0x7fa8c7858700 (LWP 51394) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
6 Thread 0x7fa8c7757700 (LWP 51395) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
7 Thread 0x7fa8c7656700 (LWP 51396) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
8 Thread 0x7fa8c7555700 (LWP 51397) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
9 Thread 0x7fa8c7454700 (LWP 51398) "vs_exe" 0x00000000015b1152 in btFileCache::readBlock(unsigned int, unsigned int, unsigned long) ()
10 Thread 0x7fa8c7353700 (LWP 51399) "vs_exe" 0x00007fa8f89b9c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
11 Thread 0x7fa8c7959700 (LWP 51401) "vs_exe" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
(gdb)
Second hang gdb info
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc750d0ec1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0 0x00007fc750d0ec1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000001a22bf8 in cmThread::sleep(int) ()
#2 0x0000000001a1d824 in VSDOUBLEWRITEGUARD::VSDOUBLEWRITEGUARD(cmRWLock&, cmMutex&) ()
#3 0x00000000015c4fd7 in btMultiSession::_closeAllDB(int, bool, int) ()
#4 0x00000000005a9da3 in call_dllpc(int, int, namelist_t*) ()
#5 0x00000000005ac6d2 in run_proc(int) ()
#6 0x000000000059cb40 in run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) [clone .isra.10] ()
#7 0x000000000059d8d4 in run_proc_immediate(int, int, VSARGTYPE*, int, int) ()
#8 0x00000000007cf8f1 in se_call_proc(filewindow_t*, char const*, int, int, VSARGTYPE*) ()
#9 0x0000000000665446 in vsQueryEndSession ()
#10 0x00000000004d8d1e in vsCtlMainMdi::closeEvent(QCloseEvent*) ()
#11 0x00007fc74ef23288 in QWidget::event(QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#12 0x00000000004dbe15 in vsCtlMainMdi::event(QEvent*) ()
#13 0x00007fc74eed373c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#14 0x00007fc74eed9deb in QApplication::notify(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#15 0x00007fc74e936d8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#16 0x00007fc74ef1fe85 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#17 0x00007fc74ef3d906 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#18 0x00007fc74ef4a89d in QApplication::x11ProcessEvent(_XEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#19 0x00007fc74ef70e22 in ?? () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#20 0x00007fc7484cb197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fc7484cb3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fc7484cb49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fc74e962dad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/slickedit-pro2017/bin/libQtCore.so.4
#24 0x00007fc74ef70eb6 in ?? () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#25 0x00007fc74e935a71 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#26 0x00007fc74e935d85 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#27 0x00007fc74e93ad29 in QCoreApplication::exec() () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#28 0x00000000004fd84a in vmain(int, char**) ()
#29 0x000000000167b909 in xmain ()
#30 0x0000000000492c89 in main ()
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7fc75110e0c0 (LWP 55095) "vs_exe" 0x00007fc750d0ec1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
2 Thread 0x7fc73f6d0700 (LWP 55096) "dconf worker" 0x00007fc748cb170d in poll () at ../sysdeps/unix/syscall-template.S:84
3 Thread 0x7fc73eecf700 (LWP 55097) "gmain" 0x00007fc748cb170d in poll () at ../sysdeps/unix/syscall-template.S:84
4 Thread 0x7fc73e6ce700 (LWP 55098) "gdbus" 0x00007fc748cb170d in poll () at ../sysdeps/unix/syscall-template.S:84
5 Thread 0x7fc71fba8700 (LWP 55108) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
6 Thread 0x7fc71faa7700 (LWP 55109) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
7 Thread 0x7fc71f9a6700 (LWP 55110) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
8 Thread 0x7fc71f8a5700 (LWP 55111) "vs_exe" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
9 Thread 0x7fc71f7a4700 (LWP 55112) "vs_exe" 0x00000000015dd14a in btStoredRecord::getPointerToFieldDataFrom(unsigned long, btStoredRecord::RECORD_NEXT_PREV_HEADER const*) const ()
10 Thread 0x7fc71f6a3700 (LWP 55113) "vs_exe" 0x00007fc750d0ec1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
11 Thread 0x7fc71fca9700 (LWP 55115) "vs_exe" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
(gdb)