Some extra info. The way it crashes is freezing for like two seconds and only then crashing.
I would have ran it through gdb or something, but XnView seems to open through a script, and the binary /opt/xnviewmp/XnView complains about missing libraries.
I noticed that there's something akin to my problem described in
this thread.
I tried the mentioned settings videoMode=false and videoMode=true, but I don't think they mattered for me, or I'm not putting them in the correct place. That's a possibility too.
I did manage to run XnView through gdb with the command:
Code: Select all
LD_LIBRARY_PATH="/opt/xnviewmp/lib:/opt/xnviewmp/Plugins:$LD_LIBRARY_PATH" QT_PLUGIN_PATH="/opt/xnviewmp/lib:$QT_PLUGIN_PATH" gdb /opt/xnviewmp/XnView
Here's the backtrace. No debugging symbols unfortunately, though.
Code: Select all
Thread 1 "XnView" received signal SIGSEGV, Segmentation fault.
0x00007fffc7976469 in MediaInfoLib::MediaInfo::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) () from /usr/lib/libmediainfo.so.0
(gdb) bt
#0 0x00007fffc7976469 in MediaInfoLib::MediaInfo::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)
() from /usr/lib/libmediainfo.so.0
#1 0x00007fffc7e2d731 in MediaInfo_Option () from /usr/lib/libmediainfo.so.0
#2 0x00007fffc7e2df64 in MediaInfoA_Option () from /usr/lib/libmediainfo.so.0
#3 0x000000000063203a in ?? ()
#4 0x0000000000763649 in ?? ()
#5 0x0000000000832684 in ?? ()
#6 0x00000000008335dc in ?? ()
#7 0x0000000000834f63 in ?? ()
#8 0x000000000083785c in ?? ()
#9 0x0000000000837e3f in ?? ()
#10 0x00007ffff34d743f in ?? () from /opt/xnviewmp/lib/libQt5Core.so.5
#11 0x0000000000a4a691 in MyThumbView::itemSelected(int) ()
#12 0x000000000081dbf6 in ?? ()
#13 0x000000000081ee87 in ?? ()
#14 0x0000000000a4b027 in ?? ()
#15 0x00007ffff34d743f in ?? () from /opt/xnviewmp/lib/libQt5Core.so.5
#16 0x00007ffff344fae7 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /opt/xnviewmp/lib/libQt5Core.so.5
#17 0x00007ffff34545d9 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /opt/xnviewmp/lib/libQt5Core.so.5
#18 0x00007ffff34571a5 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /opt/xnviewmp/lib/libQt5Core.so.5
#19 0x00007ffff5be2e10 in QListView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#20 0x00007ffff5ba86ee in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#21 0x000000000080bf73 in ?? ()
#22 0x00007ffff59a2491 in QWidget::event(QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#23 0x00007ffff5a4acae in QFrame::event(QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#24 0x00007ffff5baf58c in QAbstractItemView::viewportEvent(QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#25 0x00007ffff349e990 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Core.so.5
#26 0x00007ffff59634e2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#27 0x00007ffff596ac18 in QApplication::notify(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#28 0x00007ffff349ebf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Core.so.5
#29 0x00007ffff59695ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#30 0x00007ffff59bb358 in ?? () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#31 0x00007ffff59be063 in ?? () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#32 0x00007ffff596350c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#33 0x00007ffff5969fd0 in QApplication::notify(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#34 0x00007ffff349ebf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Core.so.5
#35 0x00007ffff4770785 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /opt/xnviewmp/lib/libQt5Gui.so.5
#36 0x00007ffff4771b85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /opt/xnviewmp/lib/libQt5Gui.so.5
#37 0x00007ffff474d9db in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/xnviewmp/lib/libQt5Gui.so.5
#38 0x00007fffe7466cca in ?? () from /opt/xnviewmp/lib/libQt5XcbQpa.so.5
#39 0x00007ffff7117ee3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007ffff716e0f9 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007ffff7115455 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007ffff34fa5dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/xnviewmp/lib/libQt5Core.so.5
#43 0x00007ffff349d5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/xnviewmp/lib/libQt5Core.so.5
#44 0x00007ffff34a65e3 in QCoreApplication::exec() () from /opt/xnviewmp/lib/libQt5Core.so.5
#45 0x00000000004af7ee in ?? ()
#46 0x00007ffff3023310 in __libc_start_call_main () from /usr/lib/libc.so.6
#47 0x00007ffff30233c1 in __libc_start_main_impl () from /usr/lib/libc.so.6
#48 0x00000000004afe5f in ?? ()