Created attachment 104905 [details] backtrace When closing Settings dialog (either by clicking OK, or Cancel), KBibtex crashes.
Created attachment 104917 [details] Remove 'static' property from instances of FileImporterBibTeX Please check if this patch fixes the crash for you.
Works now! P.S. I'll leave this bug open since the fix is not yet committed.
Git commit b89b498f719361c6026bede4893a5456dc3c34fe by Thomas Fischer. Committed on 07/04/2017 at 19:26. Pushed by thomasfischer into branch 'master'. Remove 'static' from QObject-derived objects Objects of classes that are derived from QObject are supposed to be in a clear parent-children relation: at object creation, a QObject-derived parent is passed to the QObject constructor. QObject's destructor will take care that all child objects will be destroyed as well. This conflicts with QObject-derived objects that are declared 'static', as this may imply a different life span than the object's parent. This may lead to double-destroy situations crashing KBibTeX. This commit will avoid having the 'static' keyword at variable declarations of QObject-derived objects. FIXED-IN: 0.8 M +1 -1 src/gui/preferences/settingsidsuggestionswidget.cpp M +0 -4 src/io/fileimporterbibtex.cpp M +0 -1 src/io/fileimporterbibtex.h M +1 -1 src/networking/zotero/items.cpp https://commits.kde.org/kbibtex/b89b498f719361c6026bede4893a5456dc3c34fe
(In reply to Andrius Štikonas from comment #2) > Works now! Ok, thanks for the quick reply > P.S. I'll leave this bug open since the fix is not yet committed. Indeed, I can do that by adding a special keyword in the commit message: https://community.kde.org/Policies/Commit_Policy#Special_keywords_in_GIT_and_SVN_log_messages