Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1753457 - keepassxc fails to start due to segmentation fault
Summary: keepassxc fails to start due to segmentation fault
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: keepassxc
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Germano Massullo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-19 01:35 UTC by Steven Haigh
Modified: 2019-09-28 01:56 UTC (History)
3 users (show)

Fixed In Version: keepassxc-2.4.3-6.fc31 keepassxc-2.4.3-6.fc30 keepassxc-2.4.3-6.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-21 00:02:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steven Haigh 2019-09-19 01:35:50 UTC
This bug was initially created as a copy of Bug #1662305

I am copying this bug because: 
This problem has reoccurred in: keepassxc-2.4.3-5.fc31.x86_64


Description of problem: can't run keepassxc

Version-Release number of selected component (if applicable): keepassxc-2.3.4-1.fc29.i686


How reproducible: Install 32-bit Fedora 29 (or use Live image), then install keepassxc and try to launch it from terminal (otherwise you don't see the error message, the application just doesn't start)


Steps to Reproduce:
1. See above
2.
3.

Actual results: 

$ keepassxc
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Segmentation fault

Expected results:

keepassxc should start

Additional info:

Abrt doesn't seem to catch this and I wasn't able to get a backtrace from the packaged binary. I checked out the matching release from Github and built the binaries with debugging enabled. The segmentation fault can be reproduced and I have pasted the backtrace below.

This looks like the actual root cause might be in qgnomeplatform, but for now I've only seen this problem with keepassxc.

Thread 1 "keepassxc" received signal SIGSEGV, Segmentation fault.
0xb6601655 in memcpy () from /lib/libc.so.6

(gdb) bt
#0  0xb6601655 in memcpy () from /lib/libc.so.6
#1  0xb6ab4ae5 in ?? () from /lib/libQt5Core.so.5
#2  0xb6abcca0 in QString::arg(QStringView, int, QChar) const () from /lib/libQt5Core.so.5
#3  0xb6abcdca in QString::arg(QString const&, int, QChar) const () from /lib/libQt5Core.so.5
#4  0xb27a9149 in GnomeHintsSettings::kvantumThemeForGtkTheme() const () from /usr/lib/qt5/plugins/platformthemes/libqgnomeplatform.so
#5  0xb27ad943 in GnomeHintsSettings::loadTheme() () from /usr/lib/qt5/plugins/platformthemes/libqgnomeplatform.so
#6  0xb27ae045 in GnomeHintsSettings::GnomeHintsSettings() () from /usr/lib/qt5/plugins/platformthemes/libqgnomeplatform.so
#7  0xb27a84ab in QGnomePlatformTheme::loadSettings() () from /usr/lib/qt5/plugins/platformthemes/libqgnomeplatform.so
#8  0xb27a8506 in QGnomePlatformTheme::QGnomePlatformTheme() () from /usr/lib/qt5/plugins/platformthemes/libqgnomeplatform.so
#9  0xb27a81d6 in QGnomePlatformThemePlugin::create(QString const&, QStringList const&) () from /usr/lib/qt5/plugins/platformthemes/libqgnomeplatform.so
#10 0xb715c486 in QPlatformThemeFactory::create(QString const&, QString const&) () from /lib/libQt5Gui.so.5
#11 0xb7165b9e in QGuiApplicationPrivate::createPlatformIntegration() () from /lib/libQt5Gui.so.5
#12 0xb71671cc in QGuiApplicationPrivate::createEventDispatcher() () from /lib/libQt5Gui.so.5
#13 0xb772c19c in QApplicationPrivate::createEventDispatcher() () from /lib/libQt5Widgets.so.5
#14 0xb6bf2d44 in QCoreApplicationPrivate::init() () from /lib/libQt5Core.so.5
#15 0xb71691e9 in QGuiApplicationPrivate::init() () from /lib/libQt5Gui.so.5
#16 0xb772e09e in QApplicationPrivate::init() () from /lib/libQt5Widgets.so.5
#17 0xb772e155 in QApplication::QApplication(int&, char**, int) () from /lib/libQt5Widgets.so.5
#18 0x00441d9d in Application::Application (this=0xbfffe7b8, argc=@0xbfffe860: 1, argv=0xbfffe8f4) at /home/user/keepassxc-src/src/gui/Application.cpp:92
#19 0x00434352 in main (argc=1, argv=0xbfffe8f4) at /home/user/keepassxc-src/src/main.cpp:72

Comment 1 Fedora Update System 2019-09-19 14:29:28 UTC
FEDORA-2019-c93fc5bd3c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c93fc5bd3c

Comment 2 Fedora Update System 2019-09-19 14:29:34 UTC
FEDORA-2019-cbb3074eac has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cbb3074eac

Comment 3 Fedora Update System 2019-09-20 01:56:53 UTC
keepassxc-2.4.3-6.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c902ca4e32

Comment 4 Fedora Update System 2019-09-20 02:56:52 UTC
keepassxc-2.4.3-6.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c93fc5bd3c

Comment 5 Fedora Update System 2019-09-20 03:02:00 UTC
keepassxc-2.4.3-6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-cbb3074eac

Comment 6 Yogesh Sharma 2019-09-20 12:37:08 UTC
Verfiied: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c93fc5bd3c
No more coredumps

Comment 7 Fedora Update System 2019-09-21 00:02:54 UTC
keepassxc-2.4.3-6.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-09-22 02:26:04 UTC
keepassxc-2.4.3-6.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2019-09-28 01:56:25 UTC
keepassxc-2.4.3-6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.