Bug 484653

Summary: Crash after creating new book
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.2
Sentry Crash Report:
Attachments: call stack

Description Ralf Habacker 2024-03-28 09:50:59 UTC
SUMMARY


STEPS TO REPRODUCE
1.  download portable package for kmymoney from https://cdn.kde.org/ci-builds/office/kmymoney/master/windows/kmymoney-master-3157-windows-cl-msvc2019-x86_64.7z
2. unpack file and start bin/kmymoney.exe
3. Create a new book

OBSERVED RESULT
After entering relevant data and pressing "finish" kmymoney crashes.

EXPECTED RESULT
kmymoney should not crash

SOFTWARE/OS VERSIONS
Windows:  10
DE Frameworks Version:  5.115
Qt Version: 5.15.12
Comment 1 Ralf Habacker 2024-03-28 10:02:12 UTC
Created attachment 167885 [details]
call stack
Comment 2 Thomas Baumgart 2024-03-28 16:33:53 UTC
Git commit a3fc36469e660bf59dc1158d552928e10babc1a8 by Thomas Baumgart.
Committed on 28/03/2024 at 16:33.
Pushed by tbaumgart into branch 'master'.

Prevent crash when ui is not fully initialized
FIXED-IN: 5.2

M  +34   -30   kmymoney/views/simpleledgerview.cpp

https://invent.kde.org/office/kmymoney/-/commit/a3fc36469e660bf59dc1158d552928e10babc1a8