Hi,
I tried to update from 3.2 to 3.3.2, but the software keeps locking up or crashing (SEGV) when I start it with the Spirit RS plugged in. I'm on Ubuntu 20.04.
I was able to update a Spirit 2 successfully after a lockup and force quit of the UI, but I'm out of lock with Spirit RS (no idea if this is related).
Lockup looks like that and I see the dialog about "old version", but I can't click on anything, it is just frozen.
Code:
[255] $ ./settings.sh ✘
Gtk-Message: 11:57:32.410: Failed to load module "canberra-gtk-module"
Locale: en_US
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
> Threaded communication: OFF (/dev/ttyUSB0)
> Version: 3.2.2
REX-RS FW: current 1 / update 1
> unit connected: 5f-1e-9a-75-65-a1
> Version: 3.2.2
Latest version is: 3.3.2
OK
On a crash, the console prints:
Code:
Gtk-Message: 11:58:54.769: Failed to load module "canberra-gtk-module"
Locale: en_US
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
QWidget::setTabOrder: 'first' and 'second' must be in the same window
> Threaded communication: OFF (/dev/ttyUSB0)
> Version: 3.2.2
REX-RS FW: current 1 / update 1
> unit connected: 5f-1e-9a-75-65-a1
> Version: 3.2.2
Latest version is: 3.3.2
[1] 5216 segmentation fault (core dumped) ./settings.sh
I tried to obtain a backtrace:
Code:
[139] $ gdb -core core settings-x86_64 ✘
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from settings-x86_64...
(No debugging symbols found in settings-x86_64)
[New LWP 4947]
[New LWP 4950]
[New LWP 4952]
[New LWP 4953]
[New LWP 4954]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./settings-x86_64'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000458715 in ?? ()
[Current thread is 1 (Thread 0x7f14478fb080 (LWP 4947))]
(gdb) bt
#0 0x0000000000458715 in ?? ()
#1 0x00000000004da029 in ?? ()
#2 0x00007f1448fd8f70 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from lib/linux-x86_64/libQtCore.so.4
#3 0x00007f1449c3b131 in QComboBox::currentIndexChanged(int) () from lib/linux-x86_64/libQtGui.so.4
#4 0x00007f1449c3b1ce in ?? () from lib/linux-x86_64/libQtGui.so.4
#5 0x00007f1449c3b486 in ?? () from lib/linux-x86_64/libQtGui.so.4
#6 0x00007f1449c3b7cf in QComboBox::setCurrentIndex(int) () from lib/linux-x86_64/libQtGui.so.4
#7 0x00007f1448fd8f70 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from lib/linux-x86_64/libQtCore.so.4
#8 0x00007f1449029474 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from lib/linux-x86_64/libQtCore.so.4
#9 0x00007f1448fbe512 in QAbstractItemModel::endInsertRows() () from lib/linux-x86_64/libQtCore.so.4
#10 0x00007f1449e17ae1 in ?? () from lib/linux-x86_64/libQtGui.so.4
#11 0x00007f1449e182bf in ?? () from lib/linux-x86_64/libQtGui.so.4
#12 0x00007f1449c3c846 in QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&) () from lib/linux-x86_64/libQtGui.so.4
#13 0x00000000004db26e in ?? ()
#14 0x00007f1448fd8f70 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from lib/linux-x86_64/libQtCore.so.4
#15 0x00007f1448fdebe3 in QObject::event(QEvent*) () from lib/linux-x86_64/libQtCore.so.4
#16 0x00007f144984603c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from lib/linux-x86_64/libQtGui.so.4
#17 0x00007f144984cf76 in QApplication::notify(QObject*, QEvent*) () from lib/linux-x86_64/libQtGui.so.4
#18 0x00007f1448fc48ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from lib/linux-x86_64/libQtCore.so.4
#19 0x00007f1448ff76e0 in ?? () from lib/linux-x86_64/libQtCore.so.4
#20 0x00007f1448ff4889 in ?? () from lib/linux-x86_64/libQtCore.so.4
#21 0x00007f14485df17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f14485df400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f14485df4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f1448ff520e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from lib/linux-x86_64/libQtCore.so.4
#25 0x00007f14498f3666 in ?? () from lib/linux-x86_64/libQtGui.so.4
#26 0x00007f1448fc312f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from lib/linux-x86_64/libQtCore.so.4
#27 0x00007f1448fc3495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from lib/linux-x86_64/libQtCore.so.4
#28 0x00007f1449d293ac in QDialog::exec() () from lib/linux-x86_64/libQtGui.so.4
#29 0x00007f1449d4bfbb in ?? () from lib/linux-x86_64/libQtGui.so.4
#30 0x00007f1449d4c166 in QMessageBox::warning(QWidget*, QString const&, QString const&, QString const&, QString const&, QString const&, int, int) ()
from lib/linux-x86_64/libQtGui.so.4
#31 0x000000000043421c in ?? ()
#32 0x0000000000434993 in ?? ()
#33 0x00000000004ca063 in ?? ()
#34 0x0000000000415e7d in ?? ()
#35 0x00007f144873f0b3 in __libc_start_main (main=0x415940, argc=1, argv=0x7fff9ce37478, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fff9ce37468) at ../csu/libc-start.c:308
#36 0x0000000000418f8f in ?? ()