Bug 1662305
Summary: | keepassxc fails to start due to segmentation fault | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Olavi Ourson <ourson77> |
Component: | keepassxc | Assignee: | Germano Massullo <germano.massullo> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | germano.massullo, nonamedotc |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | keepassxc-2.4.1-1.fc29 keepassxc-2.4.1-1.fc30 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-04-21 05:04:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Olavi Ourson
2018-12-27 14:28:13 UTC
# dnf debuginfo-install keepassxc gdb keepassxc (gdb) run (gdb) set height 0 and when the crash occurs, enter (gdb) set print elements 0 (gdb) set print frame-arguments all (gdb) thread apply all backtrace and paste the output Thank you Unfortunately I can't get sensible output from the procedure suggested. I have installed the debuginfos for keepassxc (+ all the rest that gdb suggests later), here's what happens: GNU gdb (GDB) Fedora 8.2-5.fc29 Copyright (C) 2018 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 "i686-redhat-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 keepassxc...Reading symbols from /usr/lib/debug/usr/bin/keepassxc-2.3.4-1.fc29.i386.debug...done. done. (gdb) run Starting program: /usr/bin/keepassxc warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.ABI-tag" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [1]+ Stopped gdb keepassxc [user@localhost ~]$ fg gdb keepassxc Cannot find user-level thread for LWP 1999: generic error I then tried putting a breakpoint into main to see where the execution stops. It seems that this particular version of keepassxc calls Tools::disableCoreDumps() as the first thing it does. Stepping into the function and then the code within it looks like execution stops after the prctl(PR_SET_DUMPABLE, 0) call. Breakpoint 1, main (argc=1, argv=0xbfffea74) at /usr/src/debug/keepassxc-2.3.4-1.fc29.i386/src/main.cpp:64 64 { (gdb) list 59 // - https://bugreports.qt.io/browse/QTBUG-46015 60 qputenv("QT_BEARER_POLL_TIMEOUT", QByteArray::number(-1)); 61 } 62 63 int main(int argc, char** argv) 64 { 65 #ifdef QT_NO_DEBUG 66 Tools::disableCoreDumps(); 67 #endif 68 Tools::setupSearchPaths(); (gdb) n 66 Tools::disableCoreDumps(); (gdb) s Tools::disableCoreDumps () at /usr/src/debug/keepassxc-2.3.4-1.fc29.i386/src/core/Tools.cpp:211 211 { (gdb) n 218 limit.rlim_cur = 0; (gdb) n 219 limit.rlim_max = 0; (gdb) n 220 success = success && (setrlimit(RLIMIT_CORE, &limit) == 0); (gdb) n 224 success = success && (prctl(PR_SET_DUMPABLE, 0) == 0); (gdb) n [1]+ Stopped gdb keepassxc Unsure if this is helpful though. Do you have further suggestions what to try? For what it's worth, keepassxc installed from Flathub works fine on 32-bit Fedora 29. Please open a ticket here https://github.com/keepassxreboot/keepassxc/issues I have never seen GDB stopping in that way keepassxc-2.4.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2f1c978d25 keepassxc-2.4.1-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ae335ee0c3 keepassxc-2.4.1-1.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-ae335ee0c3 keepassxc-2.4.1-1.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-2f1c978d25 keepassxc-2.4.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. keepassxc-2.4.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |