Summary: | KMyMoney from master branch crashes on second and further start | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/a9f68ecf29e046bd24066bc8b2c13a80085fbe75 | Version Fixed In: | 5.2 |
Attachments: |
Screenshot with backtrace
Screenshot with backtrace More detailed stacktrace generated on Linux Disassembly of LedgerView::slotSettingsChanged |
Description
Ralf Habacker
2024-03-25 14:36:44 UTC
Created attachment 167741 [details]
Screenshot with backtrace
Created attachment 167742 [details]
More detailed stacktrace generated on Linux
As the debug symbols for the windows builds are not source indexed (Windbg reported this), a more detailed back trace has been generated on Linux.
Created attachment 167743 [details]
Disassembly of LedgerView::slotSettingsChanged
void LedgerView::slotSettingsChanged()
{
# crash
updateGeometries();
Q_EMIT settingsChanged();
d->setFonts();
d->resetMaxLineCache();
...
The crash happens before calling updateGeometries() on accessing the virtual table of class LedgerView, which is a virtual method, which means that the this pointer is corrupted or invalid at this time.
Git commit a9f68ecf29e046bd24066bc8b2c13a80085fbe75 by Thomas Baumgart. Committed on 27/03/2024 at 17:36. Pushed by tbaumgart into branch 'master'. Prevent using uninitialized ui widgets FIXED-IN: 5.2 M +4 -1 kmymoney/views/ktagsview.cpp https://invent.kde.org/office/kmymoney/-/commit/a9f68ecf29e046bd24066bc8b2c13a80085fbe75 |