Spell check trigger segmentation fault

Hi,
Anyone encounter similar issue?
I try to spell check the document, but trigger this error, and the spell check not work.

I installed texmacs from here, and use TeXmacs package for xUbuntu_20.04 with a 64 bits Intel/AMD processor

From bellow output from terminal it seems this error is trigger by Launching 'aspell -a --encoding=utf-8 --language-tag=en_US', but I run aspell -a --encoding=utf-8 --language-tag=en_US in terminal and aspell works correctly.

The corresponding output in terminal:

TeXmacs] With linked TrueType support
TeXmacs] debug-shell, Launching 'aspell -a --encoding=utf-8 --language-tag=en_US'
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 2.1
  Built by         : abuild
  Building date    : Tue Jun 22 11:58:17 UTC 2021
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : @CONFIG_HOST_CPU@
  Crash date       : 2021年 07月 17日 星期六 23:35:15 CST

Editor status:
  Root path          : [ 0 ]
  Current path       : [ 0, 0, 3, 1 ]
  Shifted path       : [ 0, 0, 3, 1 ]
  Physical selection : [ 0, 0, 3, 1 ] -- [ 0, 0, 3, 1 ]

Backtrace of C++ stack:
  texmacs.bin : () + 0xed5206
  texmacs.bin : () + 0x420100
  /usr/lib/x86_64-linux-gnu/libc.so.6 : () + 0x41040
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : () + 0x22d3ce
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QProcess::start(QString const&, QFlags<QIODevice::OpenModeFlag>) + 0xd7
  texmacs.bin : () + 0x31967c
  texmacs.bin : () + 0xd7664d
  texmacs.bin : () + 0xa8c444
  texmacs.bin : () + 0xa8d8f5
  texmacs.bin : () + 0xa8f3be
  texmacs.bin : () + 0xa95b29
  texmacs.bin : () + 0xa96294
  texmacs.bin : () + 0xa97866
  texmacs.bin : () + 0xf6df7a
  texmacs.bin : () + 0xf6f3ef
  texmacs.bin : () + 0xf723b5
  texmacs.bin : () + 0xf71f1a
  texmacs.bin : () + 0xf73fc9
  texmacs.bin : () + 0xf744ac
  texmacs.bin : () + 0x9e00f4
  texmacs.bin : () + 0x10967a0
  texmacs.bin : () + 0x1099882
  texmacs.bin : () + 0x1098e9d
  texmacs.bin : () + 0x1096c82
  texmacs.bin : () + 0x10ee27c
  texmacs.bin : () + 0x10edeb0
  texmacs.bin : () + 0x10ee152
  texmacs.bin : () + 0xa3a1bd
  texmacs.bin : () + 0xc08b94
  texmacs.bin : () + 0x6c2211
  texmacs.bin : () + 0x6c515c
  texmacs.bin : () + 0x99d8cf
  texmacs.bin : () + 0x109994f
  texmacs.bin : () + 0x1098a0e
  texmacs.bin : () + 0x1096c82
  texmacs.bin : () + 0x10ee27c
  texmacs.bin : () + 0x10edeb0
  texmacs.bin : () + 0x10ee152
  texmacs.bin : () + 0xa3a2be
  texmacs.bin : () + 0xc04d5f
  texmacs.bin : () + 0x6c7eea
  texmacs.bin : () + 0xd63f36
  texmacs.bin : () + 0xd645aa
  texmacs.bin : () + 0x30b6a4
  texmacs.bin : () + 0xba5de8
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : () + 0x2eeb44
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QTimer::timeout(QTimer::QPrivateSignal) + 0x3e
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QObject::event(QEvent*) + 0x1cf
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x83
  texmacs.bin : () + 0xba5500
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x12a
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QTimerInfoList::activateTimers() + 0x3e3
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : () + 0x3101bc
  /lib/x86_64-linux-gnu/libglib-2.0.so.0 : g_main_context_dispatch() + 0x25b
  /lib/x86_64-linux-gnu/libglib-2.0.so.0 : () + 0xa8c68
  /lib/x86_64-linux-gnu/libglib-2.0.so.0 : g_main_context_iteration() + 0x33
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0x64
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 0x12b
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QCoreApplication::exec() + 0x94
  texmacs.bin : () + 0x2868f5
  texmacs.bin : () + 0x10afb73
  texmacs.bin : () + 0x11067fe
  texmacs.bin : () + 0x10edeb0
  texmacs.bin : () + 0x1106e17
  texmacs.bin : () + 0x1106f04
  texmacs.bin : () + 0x10ec16a
  texmacs.bin : () + 0x10afcfb
  texmacs.bin : () + 0x25f0a6
  /usr/lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main() + 0xd5
  texmacs.bin : () + 0x284ece

-------------------------------------------------
TeXmacs] failed-error, Exception, segmentation fault

I re-installed the static binary version, it works fine, so it seems the ubuntu .deb version have some issues.

I never tried the ubuntu .deb version, because it installs Guile 1.8 :slight_smile:, so I haven’t met the crash you reported.
I think it makes sense to file a bug report on Savannah (http://savannah.gnu.org/bugs/?group=texmacs)

G.

bug trace

1 Like