Author Topic: Spill file I/O error  (Read 2032 times)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #15 on: October 14, 2023, 02:28:06 AM »
OK.  I'll try that if it happens again.  BTW, the extremely long delay searching in large (600k-1.1M) YAML file was due to "Incremental Search".  When just doing a regular find (ie. w/o "Incremental Search" box checked on the full-sized find dialog), there is no delay.  May not be related to the Spill file.

I don't think this is related. What's more time consuming than "Incremental searching" is "Search Highlighting" which highlights all occurrences.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #16 on: October 14, 2023, 03:25:47 PM »
Just had another one of these errors with the Linux 64 Qt 5 installer version.

Please post your user.cfg.xml. I would like to compare your settings to the one JeffB uploaded.

curtiswren

  • Community Member
  • Posts: 38
  • Hero Points: 3
Re: Spill file I/O error
« Reply #17 on: October 14, 2023, 05:47:28 PM »
Here's my user.cfg.xml.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #18 on: October 15, 2023, 01:03:21 AM »
Here's my user.cfg.xml.

Thanks for posting. Looks like you both use def_git_show_file_status. Try turning that off. Worth a shot.

Tools>Options>Version Control>Version Control Providers>Git>Show status on file icons

I use Linux for most of my coding and I've never seen this. I'll try turning this option on.

Next time you get this Error message box, please run gdb to get the stack:

Code: [Select]
sudo gdb -p <slickedit-pid>
Then invoke the "where" command to display the stack and post it here.

curtiswren

  • Community Member
  • Posts: 38
  • Hero Points: 3
Re: Spill file I/O error
« Reply #19 on: October 18, 2023, 12:56:52 PM »
Here's a backtrace of when it happened:

(gdb) bt
#0  0x00007f326ff60c3d in poll () from /lib64/libc.so.6
#1  0x00007f326f9a137c in g_main_context_iterate.isra.19 () from /lib64/libglib-2.0.so.0
#2  0x00007f326f9a14ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3277aa9784 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#4  0x00007f3277e8ed66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#5  0x00007f3277a7c24f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#6  0x00007f3277a7c555 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#7  0x00007f32782e781c in QDialog::exec() () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#8  0x0000000001eb9df8 in vmessage_box(QWidget*, char const*, char const*, int, int, VFONT*) ()
#9  0x00000000006a0fcb in vsMessageBox ()
#10 0x00000000006a11bc in retry() ()
#11 0x00000000009b15e2 in VSHBLOCKTAB::btRetry() ()
#12 0x00000000009b1f69 in VSHBLOCKTAB::btReadSpillBlock(cmEdMemBlock*, hfile_t*, cmEdBlock*, hfile_t*) ()
#13 0x00000000009c86b5 in hreadspillblock(hfile_t*, bool, cmEdBlock*) ()
#14 0x0000000000865c2a in hgetundoblock(cmEdMemBlockRef&, undo_dm_t*, hfile_t*) ()
#15 0x00000000008661e5 in hallocundodata(cmEdMemBlockRef&, int, hfile_t*) ()
#16 0x00000000008667c9 in maybe_record_mark(hfile_t*, bool, bool) [clone .constprop.42] ()
#17 0x0000000000868fce in hstart_recording(fileview_t*, bool, bool) ()
#18 0x000000000083e22b in p_undo_status_op() ()
#19 0x0000000000808453 in pmethod_op() ()
#20 0x0000000000616f52 in run_proc(int) ()
#21 0x0000000000617299 in run_proc_immediate2(m_s*, int, int, VSARGTYPE const*, int, int) [clone .isra.436] ()
#22 0x0000000000617555 in run_callback_immediate(VSCALLPTR*, int, VSARGTYPE const*, int, int) ()
#23 0x000000000088b9b7 in se_call_callback(filewindow_t*, VSCALLPTR*, int, int, VSARGTYPE const*, int) ()
#24 0x00000000006d27a3 in vs_execute_timer_event(int) ()
#25 0x00007f3277a94c03 in QObject::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#26 0x00007f3277e4186c in QWidget::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#27 0x00007f3277df2dac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#28 0x00007f3277df9523 in QApplication::notify(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#29 0x00007f3277a7da7d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#30 0x00007f3277aab958 in QTimerInfoList::activateTimers() () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#31 0x00007f3277aa8e49 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#32 0x00007f326f9a1099 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007f326f9a13f8 in g_main_context_iterate.isra.19 () from /lib64/libglib-2.0.so.0
#34 0x00007f326f9a14ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007f3277aa9784 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#36 0x00007f3277e8ed66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#37 0x00007f3277a7c24f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#38 0x00007f3277a7c555 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#39 0x00007f3277a81599 in QCoreApplication::exec() () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#40 0x00000000004d29ea in vmain(int, char**) ()
#41 0x0000000001ec7d59 in xmain ()
#42 0x000000000046e039 in main ()
(gdb)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #20 on: October 18, 2023, 03:24:40 PM »
This helps. It's fetching an undo block (not a regular text block). I will do testing in this area. Thanks

curtiswren

  • Community Member
  • Posts: 38
  • Hero Points: 3
Re: Spill file I/O error
« Reply #21 on: October 19, 2023, 04:51:28 PM »
Here's another that just happened to me in case it helps. Used pstack to get all threads.

pstack 15223
Thread 13 (Thread 0x7fed4937a700 (LWP 15245)):
#0  0x00007fed5e864a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a3d in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x00000000005528bf in WildcardCacheThread::run() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 12 (Thread 0x7fed408c3700 (LWP 15247)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c36977 in slickedit::SEListTagsThread::runAsReader() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 11 (Thread 0x7fed407c2700 (LWP 15248)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c36977 in slickedit::SEListTagsThread::runAsReader() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 10 (Thread 0x7fed406c1700 (LWP 15249)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c36f0d in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 9 (Thread 0x7fed405c0700 (LWP 15250)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c36f0d in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 8 (Thread 0x7fed404bf700 (LWP 15251)):
#0  0x00007fed5e867e9d in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000002331f78 in cmThread::sleep(int) ()
#2  0x00000000006d68d6 in hfile_t::bufLockBoth(int) ()
#3  0x00000000006d6f3b in vsBufGetModifyFlags ()
#4  0x0000000001c0ace5 in slickedit::SEListTagsTarget::updateBufferModifyFlags() ()
#5  0x0000000001c0e372 in slickedit::SEListTagsTarget::insertAsynchronousTagsInContext() ()
#6  0x0000000001c37598 in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#8  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 7 (Thread 0x7fed403be700 (LWP 15252)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c36f0d in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fed402bd700 (LWP 15253)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c36f0d in slickedit::SEListTagsThread::runAsTagger() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fed401bc700 (LWP 15254)):
#0  0x00007fed5e864de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a0c in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x0000000001c377a4 in slickedit::SEListTagsThread::runAsWriter() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fed3acfd700 (LWP 15256)):
#0  0x00007fed5e867e9d in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000002331f78 in cmThread::sleep(int) ()
#2  0x00000000026c0b15 in SVNStatusThread::run() ()
#3  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#4  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fed3abfc700 (LWP 15267)):
#0  0x00007fed5e864a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000002332a3d in cmWaitable::cond_wait(int) ()
#2  0x0000000002332d53 in cmWaitHandle::waitOne(int) ()
#3  0x00000000026b88ae in fileDateThread::run() ()
#4  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#5  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fed3aafb700 (LWP 5707)):
#0  0x00007fed5e867e9d in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000002331f78 in cmThread::sleep(int) ()
#2  0x00000000026caa4a in GitStatusThread::run() ()
#3  0x0000000002330b77 in cmThread::ThreadStartRoutine(void*) ()
#4  0x00007fed5e860ea5 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fed54ec296d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fed5ebe1940 (LWP 15223)):
#0  0x00007fed54eb7c3d in poll () from /lib64/libc.so.6
#1  0x00007fed548f837c in g_main_context_iterate.isra.19 () from /lib64/libglib-2.0.so.0
#2  0x00007fed548f84ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fed5ca00784 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#4  0x00007fed5cde5d66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#5  0x00007fed5c9d324f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#6  0x00007fed5c9d3555 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#7  0x00007fed5d23e81c in QDialog::exec() () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#8  0x0000000001eb9df8 in vmessage_box(QWidget*, char const*, char const*, int, int, VFONT*) ()
#9  0x00000000006a0fcb in vsMessageBox ()
#10 0x00000000006a11bc in retry() ()
#11 0x00000000009b15e2 in VSHBLOCKTAB::btRetry() ()
#12 0x00000000009b1620 in VSHBLOCKTAB::btRetryLSeek(long long) ()
#13 0x00000000009b1f79 in VSHBLOCKTAB::btReadSpillBlock(cmEdMemBlock*, hfile_t*, cmEdBlock*, hfile_t*) ()
#14 0x00000000009c86b5 in hreadspillblock(hfile_t*, bool, cmEdBlock*) ()
#15 0x0000000000865c2a in hgetundoblock(cmEdMemBlockRef&, undo_dm_t*, hfile_t*) ()
#16 0x0000000000865f67 in hTruncateUndoStack(hfile_t*) ()
#17 0x0000000000866248 in hallocundodata(cmEdMemBlockRef&, int, hfile_t*) ()
#18 0x00000000008667c9 in maybe_record_mark(hfile_t*, bool, bool) [clone .constprop.42] ()
#19 0x0000000000868fce in hstart_recording(fileview_t*, bool, bool) ()
#20 0x00000000007fffdb in vsaexecutelstr(unsigned char const*, int, cmStringT<char, 1, 30> const&) ()
#21 0x00000000008004e0 in vsaExecute(char const*, char const*) ()
#22 0x0000000000800ecb in vsExecute ()
#23 0x000000000063dd80 in concur_readwrite(VSCONCURSHELL_INFO*) ()
#24 0x00007fed5c9e6d90 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#25 0x00007fed5c9ebc03 in QObject::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#26 0x00007fed5cd49dac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#27 0x00007fed5cd50523 in QApplication::notify(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#28 0x00007fed5c9d4a7d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#29 0x00007fed5ca02958 in QTimerInfoList::activateTimers() () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#30 0x00007fed5c9ffe11 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#31 0x00007fed548f8099 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007fed548f83f8 in g_main_context_iterate.isra.19 () from /lib64/libglib-2.0.so.0
#33 0x00007fed548f84ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007fed5ca00784 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#35 0x00007fed5cde5d66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#36 0x00007fed5c9d324f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#37 0x00007fed5c9d3555 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#38 0x00007fed5d23e81c in QDialog::exec() () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#39 0x0000000001eb9df8 in vmessage_box(QWidget*, char const*, char const*, int, int, VFONT*) ()
#40 0x00000000006a0fcb in vsMessageBox ()
#41 0x00000000006a11bc in retry() ()
#42 0x00000000009b15e2 in VSHBLOCKTAB::btRetry() ()
#43 0x00000000009b1f69 in VSHBLOCKTAB::btReadSpillBlock(cmEdMemBlock*, hfile_t*, cmEdBlock*, hfile_t*) ()
#44 0x00000000009c86b5 in hreadspillblock(hfile_t*, bool, cmEdBlock*) ()
#45 0x0000000000865c2a in hgetundoblock(cmEdMemBlockRef&, undo_dm_t*, hfile_t*) ()
#46 0x000000000086619c in hallocundodata(cmEdMemBlockRef&, int, hfile_t*) ()
#47 0x00000000008667c9 in maybe_record_mark(hfile_t*, bool, bool) [clone .constprop.42] ()
#48 0x0000000000868fce in hstart_recording(fileview_t*, bool, bool) ()
#49 0x000000000083e22b in p_undo_status_op() ()
#50 0x0000000000808453 in pmethod_op() ()
#51 0x0000000000616f52 in run_proc(int) ()
#52 0x0000000000617299 in run_proc_immediate2(m_s*, int, int, VSARGTYPE const*, int, int) [clone .isra.436] ()
#53 0x0000000000617555 in run_callback_immediate(VSCALLPTR*, int, VSARGTYPE const*, int, int) ()
#54 0x000000000088b9b7 in se_call_callback(filewindow_t*, VSCALLPTR*, int, int, VSARGTYPE const*, int) ()
#55 0x00000000006d27a3 in vs_execute_timer_event(int) ()
#56 0x00007fed5c9ebc03 in QObject::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#57 0x00007fed5cd9886c in QWidget::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#58 0x00007fed5cd49dac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#59 0x00007fed5cd50523 in QApplication::notify(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#60 0x00007fed5c9d4a7d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#61 0x00007fed5ca02958 in QTimerInfoList::activateTimers() () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#62 0x00007fed5c9ffe49 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#63 0x00007fed548f8099 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#64 0x00007fed548f83f8 in g_main_context_iterate.isra.19 () from /lib64/libglib-2.0.so.0
#65 0x00007fed548f84ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#66 0x00007fed5ca00784 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#67 0x00007fed5cde5d66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtGui.so.4
#68 0x00007fed5c9d324f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#69 0x00007fed5c9d3555 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#70 0x00007fed5c9d8599 in QCoreApplication::exec() () from /mounts/apps/linux/slickedit2023beta/bin/libQtCore.so.4
#71 0x00000000004d29ea in vmain(int, char**) ()
#72 0x0000000001ec7d59 in xmain ()
#73 0x000000000046e039 in main ()



Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #22 on: October 19, 2023, 09:51:22 PM »
Thanks for the thread info.Again, it’s having a problem fetching an undo block on the main thread. I may have to add some calls to simulate what the thread is doing.

Keep posting stacks you get. All thread info is useful.

Dennis

  • Senior Community Member
  • Posts: 3983
  • Hero Points: 517
Re: Spill file I/O error
« Reply #23 on: October 20, 2023, 03:50:34 PM »
@curtiswren:  This is a wild and crazy idea, but since you can reproduce this problem pretty readily, IF you can run a 32-bit app on your Linux install, would you try getting the Linux 32-bit build and see if it also exhibits this problem.  That would tell us if this is an alignment issue.  I know that it is unlikely that you would have the 32-bit compatibility libs installed.  I wouldn't go down a wormhole trying to make it work, since this is just a super-duper long shot.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #24 on: October 21, 2023, 05:09:51 PM »
I'm working on adding debug code to the undo block swapping code. I will have a binary for you to try soon.

curtiswren

  • Community Member
  • Posts: 38
  • Hero Points: 3
Re: Spill file I/O error
« Reply #25 on: October 24, 2023, 03:06:02 PM »
Here's a stack trace from this on 32-bit versions:

pstack 12005
Thread 13 (Thread 0xd9bffb40 (LWP 12066)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58464 in slickedit::SEListTagsManager::waitForNextFileReadingJob() ()
#6  0x09bbcc88 in slickedit::SEListTagsThread::runAsReader() ()
#7  0x09bbefc9 in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 12 (Thread 0xd9afeb40 (LWP 12067)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58464 in slickedit::SEListTagsManager::waitForNextFileReadingJob() ()
#6  0x09bbcc88 in slickedit::SEListTagsThread::runAsReader() ()
#7  0x09bbefc9 in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 11 (Thread 0xd99fdb40 (LWP 12068)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 10 (Thread 0xd98fcb40 (LWP 12069)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 9 (Thread 0xd97fbb40 (LWP 12070)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 8 (Thread 0xd96fab40 (LWP 12071)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 7 (Thread 0xd95f9b40 (LWP 12072)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 6 (Thread 0xd94f8b40 (LWP 12073)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf7786bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58496 in slickedit::SEListTagsManager::waitForNextDatabaseJob() ()
#6  0x09bbde73 in slickedit::SEListTagsThread::runAsWriter() ()
#7  0x09bbef8e in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 5 (Thread 0xd9ec5b40 (LWP 12074)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf77867cc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b820 in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x081f1d11 in WildcardCacheThread::run() ()
#5  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#6  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#7  0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 4 (Thread 0xd7a91b40 (LWP 12101)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf778a296 in nanosleep () from /usr/lib/libpthread.so.0
#2  0x0a37abba in cmThread::sleep(int) ()
#3  0x0a72cf87 in GitStatusThread::run() ()
#4  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#5  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#6  0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0xd73ffb40 (LWP 12102)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf778a296 in nanosleep () from /usr/lib/libpthread.so.0
#2  0x0a37abba in cmThread::sleep(int) ()
#3  0x0a721582 in SVNStatusThread::run() ()
#4  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#5  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#6  0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0xd59b7b40 (LWP 12149)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf77867cc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b820 in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x0a718123 in fileDateThread::run() ()
#5  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#6  0xf7782bbc in start_thread () from /usr/lib/libpthread.so.0
#7  0xf64131ee in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0xf5fc1fc0 (LWP 12005)):
#0  0xf7798430 in __kernel_vsyscall ()
#1  0xf64066bb in poll () from /usr/lib/libc.so.6
#2  0xf6226eab in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xf6216b70 in g_main_context_iterate.isra.18 () from /usr/lib/libglib-2.0.so.0
#4  0xf6216cc8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xf68c2b75 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#6  0xf6c202e9 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#7  0xf6891141 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#8  0xf6891499 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#9  0xf70e3532 in QDialog::exec() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#10 0x09e86f39 in vmessage_box(QWidget*, char const*, char const*, int, int, VFONT*) ()
#11 0x08369342 in vsMessageBox ()
#12 0x0836958a in retry() ()
#13 0x086d7392 in VSHBLOCKTAB::btRetry() ()
#14 0x086d7f72 in VSHBLOCKTAB::btReadSpillBlock(cmEdMemBlock*, hfile_t*, cmEdBlock*, hfile_t*) ()
#15 0x086f12da in hreadspillblock(hfile_t*, bool, cmEdBlock*) ()
#16 0x08564fbe in hgetundoblock(cmEdMemBlockRef&, undo_dm_t*, hfile_t*) ()
#17 0x08565368 in hTruncateUndoStack(hfile_t*) ()
#18 0x08565670 in hallocundodata(cmEdMemBlockRef&, int, hfile_t*) ()
#19 0x08565d04 in maybe_record_mark(hfile_t*, bool, bool) [clone .constprop.42] ()
#20 0x08568d26 in hstart_recording(fileview_t*, bool, bool) ()
#21 0x085366ad in editloop_sr(filewindow_t*, bool) ()
#22 0x08536819 in p_undo_status_op() ()
#23 0x084fa1d4 in pmethod_op() ()
#24 0x082cf367 in run_proc(int) ()
#25 0x082cf6fd in run_proc_immediate2(m_s*, int, int, VSARGTYPE const*, int, int) [clone .isra.451] ()
#26 0x082cfa21 in run_callback_immediate(VSCALLPTR*, int, VSARGTYPE const*, int, int) ()
#27 0x0858f476 in se_call_callback(filewindow_t*, VSCALLPTR*, int, int, VSARGTYPE const*, int) ()
#28 0x083a0a8e in vs_execute_timer_event(int) ()
#29 0x085a571f in vsCtlUtil::timerEvent(QTimerEvent*) ()
#30 0xf68ac25e in QObject::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#31 0xf6bc8cfa in QWidget::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#32 0xf6b6fa9a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#33 0xf6b76910 in QApplication::notify(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#34 0xf6892c21 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#35 0xf68c4fd9 in QTimerInfoList::activateTimers() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#36 0xf68c217c in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#37 0xf6216850 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xf6216bf8 in g_main_context_iterate.isra.18 () from /usr/lib/libglib-2.0.so.0
#39 0xf6216cc8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xf68c2b75 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#41 0xf6c202e9 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#42 0xf6891141 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#43 0xf6891499 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#44 0xf6896df5 in QCoreApplication::exec() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#45 0xf6b6e2e4 in QApplication::exec() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#46 0x08163898 in vmain(int, char**) ()
#47 0x09e96604 in xmain ()
#48 0x080f72d7 in main ()



curtiswren

  • Community Member
  • Posts: 38
  • Hero Points: 3
Re: Spill file I/O error
« Reply #26 on: October 24, 2023, 03:49:30 PM »
Here's another stack trace from 32bit version. This did not produce a spill file error, just got hung up and stopped responding. I had to kill the process.

pstack 30498
Thread 13 (Thread 0xf3bdeb40 (LWP 30525)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf77527cc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b820 in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x081f1d11 in WildcardCacheThread::run() ()
#5  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#6  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#7  0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 12 (Thread 0xeacffb40 (LWP 30527)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58464 in slickedit::SEListTagsManager::waitForNextFileReadingJob() ()
#6  0x09bbcc88 in slickedit::SEListTagsThread::runAsReader() ()
#7  0x09bbefc9 in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 11 (Thread 0xeabfeb40 (LWP 30528)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58464 in slickedit::SEListTagsManager::waitForNextFileReadingJob() ()
#6  0x09bbcc88 in slickedit::SEListTagsThread::runAsReader() ()
#7  0x09bbefc9 in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 10 (Thread 0xeaafdb40 (LWP 30529)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 9 (Thread 0xea9fcb40 (LWP 30530)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 8 (Thread 0xea8fbb40 (LWP 30531)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 7 (Thread 0xea7fab40 (LWP 30532)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 6 (Thread 0xea6f9b40 (LWP 30533)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58406 in slickedit::SEListTagsManager::waitForNextTaggingJob() ()
#6  0x09bbd38f in slickedit::SEListTagsThread::runAsTagger() ()
#7  0x09bbefad in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 5 (Thread 0xea5f8b40 (LWP 30534)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7752bb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b7ee in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x09b583d0 in slickedit::SEListTagsQueue::waitForNextTaggingJob(int) ()
#5  0x09b58496 in slickedit::SEListTagsManager::waitForNextDatabaseJob() ()
#6  0x09bbde73 in slickedit::SEListTagsThread::runAsWriter() ()
#7  0x09bbef8e in slickedit::SEListTagsThread::run() ()
#8  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#9  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#10 0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 4 (Thread 0xeafffb40 (LWP 30553)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7756296 in nanosleep () from /usr/lib/libpthread.so.0
#2  0x0a37abba in cmThread::sleep(int) ()
#3  0x0a72cf87 in GitStatusThread::run() ()
#4  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#5  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#6  0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0xe8df6b40 (LWP 30554)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf7756296 in nanosleep () from /usr/lib/libpthread.so.0
#2  0x0a37abba in cmThread::sleep(int) ()
#3  0x0a721582 in SVNStatusThread::run() ()
#4  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#5  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#6  0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0xd77a7b40 (LWP 30559)):
#0  0xf7764430 in __kernel_vsyscall ()
#1  0xf77527cc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x0a37b820 in cmWaitable::cond_wait(int) ()
#3  0x0a37bbdf in cmWaitHandle::waitOne(int) ()
#4  0x0a718123 in fileDateThread::run() ()
#5  0x0a379473 in cmThread::ThreadStartRoutine(void*) ()
#6  0xf774ebbc in start_thread () from /usr/lib/libpthread.so.0
#7  0xf63df1ee in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0xf5f8dfc0 (LWP 30498)):
#0  0x086d7692 in VSHBLOCKTAB::btMRUInsert(cmEdMemBlock*) ()
#1  0x085650bf in hgetundoblock(cmEdMemBlockRef&, undo_dm_t*, hfile_t*) ()
#2  0x085655e3 in hallocundodata(cmEdMemBlockRef&, int, hfile_t*) ()
#3  0x08565d04 in maybe_record_mark(hfile_t*, bool, bool) [clone .constprop.42] ()
#4  0x08568d26 in hstart_recording(fileview_t*, bool, bool) ()
#5  0x085366ad in editloop_sr(filewindow_t*, bool) ()
#6  0x08536819 in p_undo_status_op() ()
#7  0x084fa1d4 in pmethod_op() ()
#8  0x082cf367 in run_proc(int) ()
#9  0x082cf6fd in run_proc_immediate2(m_s*, int, int, VSARGTYPE const*, int, int) [clone .isra.451] ()
#10 0x082cfa21 in run_callback_immediate(VSCALLPTR*, int, VSARGTYPE const*, int, int) ()
#11 0x0858f476 in se_call_callback(filewindow_t*, VSCALLPTR*, int, int, VSARGTYPE const*, int) ()
#12 0x083a0a8e in vs_execute_timer_event(int) ()
#13 0x085a571f in vsCtlUtil::timerEvent(QTimerEvent*) ()
#14 0xf687825e in QObject::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#15 0xf6b94cfa in QWidget::event(QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#16 0xf6b3ba9a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#17 0xf6b42910 in QApplication::notify(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#18 0xf685ec21 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#19 0xf6890fd9 in QTimerInfoList::activateTimers() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#20 0xf688e17c in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#21 0xf61e2850 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xf61e2bf8 in g_main_context_iterate.isra.18 () from /usr/lib/libglib-2.0.so.0
#23 0xf61e2cc8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xf688eb75 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#25 0xf6bec2e9 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#26 0xf685d141 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#27 0xf685d499 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#28 0xf6862df5 in QCoreApplication::exec() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtCore.so.4
#29 0xf6b3a2e4 in QApplication::exec() () from /mounts/apps/linux/slickedit2023beta_32/bin/libQtGui.so.4
#30 0x08163898 in vmain(int, char**) ()
#31 0x09e96604 in xmain ()
#32 0x080f72d7 in main ()


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #27 on: October 24, 2023, 04:19:35 PM »
Please download these beta 4 modifications which will provide a lot of debug info for the undo spill file I/O error you're running into.

Download this zip file for beta 4:

https://support.slickedit.com/outbound/2800/beta4_undo_debug.zip

Backup bin/vs and bin/vs_exe and unzip this file into your SlickEdit bin directory.

"vs" is a script which uses the new +sdebugbt2 switch and outputs log data to "/tmp/blocktab.log". You can edit this script if you want to change the output file.

You will need to start SlickEdit from a terminal so the debug output gets generated ("bin/vs").

The next time you get the Spill File I/O error, get another debug stack and post it here and attach the "/tmp/blocktab.log" file to the post.

Thanks
« Last Edit: October 24, 2023, 08:10:29 PM by Clark »

curtiswren

  • Community Member
  • Posts: 38
  • Hero Points: 3
Re: Spill file I/O error
« Reply #28 on: October 25, 2023, 02:24:27 PM »
Here's a stack with the new debug info. I've also included the last few lines from std out.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Spill file I/O error
« Reply #29 on: October 25, 2023, 03:54:39 PM »
blocktab.log is truncated. It's supposed to match the output from stdout.

I don't know why blocktab.log is getting truncated. I did some testing with "vs_exe +sdebugbt2 |tee /tmp/blocktab.log" and the output in blocktab.log was always the same as stdout even without exiting. Make sure you only run one instance outputing to blocktab.log. Please check this because I really need all the output. If you can catch all the stdout output, that would be fine too.

What I see from this output is that the undo block index is definitely trashed. However, because I don't have all the output I can't tell where it got trashed.

Please download these new beta 4 modifications which output even more debug info which it looks like I will need.

https://support.slickedit.com/outbound/2800/beta4_undo_debug2.zip