Page 1 of 1

0.96 Kali x64 XFCE Segfault

Posted: Fri Mar 27, 2020 2:11 pm
by magrif
On Kali x64 XFCE, version 0.96;

Code: Select all

#~ xnview
qt5ct: using qt5ct plugin
Segmentation fault
Work with:

Code: Select all

#~ env QT_QPA_PLATFORMTHEME= xnview

Re: 0.96 Kali x64 XFCE Segfault

Posted: Tue Mar 31, 2020 4:16 pm
by xnview
with .deb?

Re: 0.96 Kali x64 XFCE Segfault

Posted: Fri Apr 24, 2020 11:42 am
by juozas
Experiencing same crash running 0.96.1 on Ubuntu 20.04 (focal), upgraded from 18.04 (bionic), using latest x64 deb. Setting QT_QPA_PLATFORMTHEME back to gtk2 (editing /etc/X11/Xsession.d/56xubuntu-session) fixes the issue. Gdb crash log:

Code: Select all

juozas@xubuntu:/opt/XnView$ env LD_LIBRARY_PATH=/opt/XnView/lib QT_PLUGIN_PATH=/opt/XnView/lib gdb /opt/XnView/XnView 
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
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 /opt/XnView/XnView...
(No debugging symbols found in /opt/XnView/XnView)
(gdb) r
Starting program: /opt/XnView/XnView 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe6baa700 (LWP 10987)]
qt5ct: using qt5ct plugin

Thread 1 "XnView" received signal SIGSEGV, Segmentation fault.
0x00007ffff499f9a1 in qt_normalizePathSegments(QString const&, QFlags<QDirPrivate::PathNormalization>, bool*) () from /opt/XnView/lib/libQt5Core.so.5
Gdb backtrace (truncated)

Code: Select all

(gdb) bt
#0  0x00007ffff499f9a1 in qt_normalizePathSegments(QString const&, QFlags<QDirPrivate::PathNormalization>, bool*) () from /opt/XnView/lib/libQt5Core.so.5
#1  0x00007ffff49a00da in qt_cleanPath(QString const&, bool*) () from /opt/XnView/lib/libQt5Core.so.5
#2  0x00007ffff49a018b in QDir::cleanPath(QString const&) () from /opt/XnView/lib/libQt5Core.so.5
#3  0x00007ffff4a1c003 in QFileSystemEngine::homePath() () from /opt/XnView/lib/libQt5Core.so.5
#4  0x00007ffff499f819 in QDir::homePath() () from /opt/XnView/lib/libQt5Core.so.5
#5  0x00007ffff4a21490 in QStandardPaths::writableLocation(QStandardPaths::StandardLocation) () from /opt/XnView/lib/libQt5Core.so.5
#6  0x00007fffe5be1dd3 in Qt5CT::configPath() () from /opt/XnView/lib/styles/libqt5ct-style.so
#7  0x00007fffe5be1ede in Qt5CT::configFile() () from /opt/XnView/lib/styles/libqt5ct-style.so
#8  0x00007fffe5be157c in Qt5CTStylePlugin::create(QString const&) () from /opt/XnView/lib/styles/libqt5ct-style.so
#9  0x00007ffff66b1d31 in QStyleFactory::create(QString const&) () from /opt/XnView/lib/libQt5Widgets.so.5
#10 0x00007ffff66d7500 in QProxyStylePrivate::ensureBaseStyle() const () from /opt/XnView/lib/libQt5Widgets.so.5
#11 0x00007ffff66d7f95 in QProxyStyle::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#12 0x00007ffff664592c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#13 0x00007ffff664cad0 in QApplication::notify(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#14 0x00007ffff4a76408 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Core.so.5
#15 0x00007ffff4aa9635 in QObjectPrivate::setParent_helper(QObject*) () from /opt/XnView/lib/libQt5Core.so.5
#16 0x00007ffff66d736d in QProxyStylePrivate::ensureBaseStyle() const () from /opt/XnView/lib/libQt5Widgets.so.5
#17 0x00007ffff66d7f95 in QProxyStyle::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#18 0x00007ffff664592c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#19 0x00007ffff664cad0 in QApplication::notify(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#20 0x00007ffff4a76408 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Core.so.5
#21 0x00007ffff4aa9635 in QObjectPrivate::setParent_helper(QObject*) () from /opt/XnView/lib/libQt5Core.so.5
#22 0x00007ffff66d736d in QProxyStylePrivate::ensureBaseStyle() const () from /opt/XnView/lib/libQt5Widgets.so.5
#23 0x00007ffff66d7f95 in QProxyStyle::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
... (entries pointing to /opt/XnView/lib/libQt5Widgets.so.5, etc. infinitely repeating)