Recent Posts

Pages: 1 [2] 3 4 ... 10
11
SlickEdit® / Re: SlickEdit hangs - vs_exe is using 100% CPU
« Last post by howardd on October 16, 2017, 10:42:19 pm »
It looks like 12950 is the thread which is using all the CPU and possibly blocking the others

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                           
12950 howard    20   0 1339752 224464 113148 R 99.9  2.7   1:37.08 vs_exe


Thread 9 (Thread 0x7f3ad8189700 (LWP 12950)):
#0  0x00000000015de110 in btStoredRecord::compareKeys(btIndexInfo const&, btStoredRecord const&) const ()
#1  0x00000000015cd9fe in btIndexStructure::getNextDuplicateRecord(btIndexIterator&, btStoredRecord const*) ()
#2  0x00000000015f35ed in btAbstractHashTable::getNextRecordEQ(btIndexIterator&) const ()
#3  0x00000000015215a1 in vsTagHashFileID2(int, btSession*, int, btTableInfo*, int, btIndexInfo*, btIndexStructure*, slickedit::SEHashSet<slickedit::SETagInformation>*) ()
#4  0x0000000001521892 in vsTagHashFileID ()
#5  0x000000000153370b in SETagOccurrencesEnd ()
#6  0x0000000001411e42 in slickedit::SEListTagsTarget::insertAsynchronousTagsInDatabase(int&, bool, bool (*)(void*), void*) const ()
#7  0x000000000144335c in slickedit::SEListTagsThread::runAsWriter() ()
#8  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#9  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad8189700) at pthread_create.c:333
#10 0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
12
SlickEdit® / Re: SlickEdit hangs - vs_exe is using 100% CPU
« Last post by howardd on October 16, 2017, 10:33:59 pm »
top - 16:33:39 up 4 days,  8:16,  1 user,  load average: 0.89, 0.31, 0.13
Threads:  11 total,   1 running,  10 sleeping,   0 stopped,   0 zombie
%Cpu(s): 17.5 us,  0.8 sy,  0.0 ni, 81.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  8166256 total,   784996 free,  3863736 used,  3517524 buff/cache
KiB Swap:  4192252 total,  3420908 free,   771344 used.  3841824 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                           
12950 howard    20   0 1339752 224464 113148 R 99.9  2.7   1:37.08 vs_exe                                                                             
12935 howard    20   0 1339752 224464 113148 S  2.4  2.7   0:04.03 vs_exe                                                                             
12936 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.00 dconf worker                                                                       
12937 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.00 gmain                                                                             
12938 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.00 gdbus                                                                             
12946 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.01 vs_exe                                                                             
12947 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.16 vs_exe                                                                             
12948 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.18 vs_exe                                                                             
12949 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.24 vs_exe                                                                             
12951 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.02 vs_exe                                                                             
12953 howard    20   0 1339752 224464 113148 S  0.0  2.7   0:00.00 vs_exe
13
SlickEdit® / Re: SlickEdit hangs - vs_exe is using 100% CPU
« Last post by howardd on October 16, 2017, 10:29:16 pm »
(gdb) thread apply all backtrace

Thread 11 (Thread 0x7f3ad868e700 (LWP 12953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000001a22d7d in cmWaitable::cond_wait(int) ()
#2  0x0000000001a22df6 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001d83e45 in fileDateThread::run() ()
#4  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad868e700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f3ad8088700 (LWP 12951)):
#0  0x00007f3b096f4c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x0000000001a22bf8 in cmThread::sleep(int) ()
#2  0x0000000001d9912b in GitStatusThread::run() ()
#3  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#4  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad8088700) at pthread_create.c:333
#5  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f3ad8189700 (LWP 12950)):
#0  0x00000000015de110 in btStoredRecord::compareKeys(btIndexInfo const&, btStoredRecord const&) const ()
#1  0x00000000015cd9fe in btIndexStructure::getNextDuplicateRecord(btIndexIterator&, btStoredRecord const*) ()
#2  0x00000000015f35ed in btAbstractHashTable::getNextRecordEQ(btIndexIterator&) const ()
#3  0x00000000015215a1 in vsTagHashFileID2(int, btSession*, int, btTableInfo*, int, btIndexInfo*, btIndexStructure*, slickedit::SEHashSet<slickedit::SETagInformation>*) ()
#4  0x0000000001521892 in vsTagHashFileID ()
#5  0x000000000153370b in SETagOccurrencesEnd ()
#6  0x0000000001411e42 in slickedit::SEListTagsTarget::insertAsynchronousTagsInDatabase(int&, bool, bool (*)(void*), void*) const ()
#7  0x000000000144335c in slickedit::SEListTagsThread::runAsWriter() ()
#8  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#9  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad8189700) at pthread_create.c:333
#10 0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f3ad828a700 (LWP 12949)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x0000000001a22d4c in cmWaitable::cond_wait(int) ()
#2  0x0000000001a22df6 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001445ab0 in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad828a700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f3ad838b700 (LWP 12948)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x0000000001a22d4c in cmWaitable::cond_wait(int) ()
#2  0x0000000001a22df6 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001445ab0 in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad838b700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f3ad848c700 (LWP 12947)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x0000000001a22d4c in cmWaitable::cond_wait(int) ()
#2  0x0000000001a22df6 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001445ab0 in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad848c700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f3ad858d700 (LWP 12946)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x0000000001a22d4c in cmWaitable::cond_wait(int) ()
#2  0x0000000001a22df6 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001442b07 in slickedit::SEListTagsThread::runAsReader() ()
#4  0x0000000001a22287 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3ad858d700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f3af70b4700 (LWP 12938)):
#0  0x00007f3b0169770d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3b00eb138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b00eb1712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3afd58e9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f3b00ed7bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3af70b4700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f3af78b5700 (LWP 12937)):
#0  0x00007f3b0169770d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3b00eb138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b00eb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b00eb14d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3b00ed7bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3af78b5700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3af80b6700 (LWP 12936)):
#0  0x00007f3b0169770d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3b00eb138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b00eb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3af80be28d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f3b00ed7bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3b096eb6ba in start_thread (arg=0x7f3af80b6700) at pthread_create.c:333
#6  0x00007f3b016a33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3b09af40c0 (LWP 12935)):
#0  0x00007f3b096f4c1d 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 0x00007f3b07909288 in QWidget::event(QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#12 0x00000000004dbe15 in vsCtlMainMdi::event(QEvent*) ()
#13 0x00007f3b078b973c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#14 0x00007f3b078bfdeb in QApplication::notify(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#15 0x00007f3b0731cd8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#16 0x00007f3b07905e85 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#17 0x00007f3b07923906 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#18 0x00007f3b0793089d in QApplication::x11ProcessEvent(_XEvent*) () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#19 0x00007f3b07956e22 in ?? () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#20 0x00007f3b00eb1197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f3b00eb13f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f3b00eb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f3b07348dad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /opt/slickedit-pro2017/bin/libQtCore.so.4
#24 0x00007f3b07956eb6 in ?? () from /opt/slickedit-pro2017/bin/libQtGui.so.4
#25 0x00007f3b0731ba71 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#26 0x00007f3b0731bd85 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit-pro2017/bin/libQtCore.so.4
#27 0x00007f3b07320d29 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 ()
14
SlickEdit® / Re: SlickEdit hangs - vs_exe is using 100% CPU
« Last post by Dennis on October 16, 2017, 10:21:12 pm »
Would you mind showing me what the hang shows for "thread apply all backtrace"
15
SlickEdit® / SlickEdit hangs - vs_exe is using 100% CPU
« Last post by howardd on October 16, 2017, 08:35:09 pm »
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)
16
SlickEdit® / Re: v22: Collapsing Selective Block in Some ES6 Not Working
« Last post by patrick on October 16, 2017, 05:47:11 pm »
Works for me with that file as well.  Can you post your user.cfg.xml from your configuration directory?  I'm wondering if there's a difference in our selective view settings that's the culprit.
17
SlickEdit® / Re: v22: Collapsing Selective Block in Some ES6 Not Working
« Last post by PiezonTM on October 16, 2017, 05:31:14 pm »
I added some of the other loops after finding the original problem only to show it working with for loops in other locations.

Attached is a simplified version of the problem.  Go to line 37 then (Ctrl+\) invoke "plusminus".  I expect (as it does everywhere else) to collapse the entire "_inner2".  Instead only the comment at L39-42 are collapsed--not the for loop or closing break for "_inner2".
18
SlickEdit® / Re: Make ENTER enter ENTER, always...
« Last post by Dennis on October 16, 2017, 04:14:50 pm »
The guiding philosophy is to make it easy to do the right thing the majority of the time and to make features such as auto-complete be assistive and apparent, especially to new users.  If we only did auto-complete on demand, as you suggest using Ctrl+Tab, then a lot of users might never even discover it.  This is especially true with a feature such as extending comments or splitting strings.  If you pay attention to the Feature Notifications on the status line, you can learn about SlickEdit features and also jump to links to tune them to your needs.

For example, extending comments and strings on ENTER is an example of doing the right thing in the easiest possible manner.  If your cursor is within a block comment or a string and you hit enter, you don't want to leave it unterminated or malformed, so we put in the extra effort so you can continue typing the comment.  Why make someone hit Ctrl+Enter to get the right result, and give them the wrong result the majority of the time otherwise?

If you don't like the default, it is easy to configure.  Go to Tools > Options..., type "comment" in the search text.  That's logical, right, you are looking for an option having to do with comments, that's how you would find it.  Decide if you want to change it for all languages or just your programming language, and click on the "Comments" category which will be highlighted.  In that option page, you will see options for Comment Editing, in particular "Split line comments" and "Extend line comments".  Click on Help if you need more explanation about the settings.

As for Auto-compete, if you only want it to be on-demand, you can achieve that pretty easily.  Go to the Auto-Complete options, and uncheck "Enable auto-completion".  In most emulations, Auto-complete is bound to Ctrl+Space (codehelp_complete) and/or Alt+Dot (list-symbols) if you want to bring it up on-demand.  You can use the Key Bindings dialog to change that to Ctrl+Tab, if you prefer a more acrobatic key combination. 
19
SlickEdit® / Re: v22: Collapsing Selective Block in Some ES6 Not Working
« Last post by patrick on October 16, 2017, 03:14:07 pm »
This works for me in that file.  At first, I was a little confused because there's a for loop identical to the on inside _inner2 right after _inner2's body, but I changed the comments to be sure.

I'm just going to the first non-blank column of _inner2 and running plusminus there.  Are you invoking it from a different source position?
20
SlickEdit® / v22: Collapsing Selective Block in Some ES6 Not Working
« Last post by PiezonTM on October 16, 2017, 01:27:12 pm »
Using the "plusminus" command/feature ("Expands or collapses selective display blocks") does not work for sub-methods of an ES6 method.  I attached a simple example of the problem.  If you open the file and go to "_inner2" and attempt to use "plusminus" it is not collapsing the complete function.  The for loop in the function is still shown.  If you try the same operation on "OUTER_METHOD" it does work fine.  Also, interestingly enough, the same test works fine for "_inner1".

I'm running v22 under Ubuntu 16.04.  The problem also occurred with RC4.
Pages: 1 [2] 3 4 ... 10