Bug 403675

Summary: App crashes with segfault after second import
Product: [Applications] skrooge Reporter: machtyn
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: crash CC: stephane
Priority: NOR    
Version: 2.17.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: traces file after running scenario

Description machtyn 2019-01-28 05:25:32 UTC
Created attachment 117694 [details]
traces file after running scenario

SUMMARY
While importing bank account information using Quicken (QFX) files, the app always crashes after the second import with a segfault. Size of import does not appear to affect the situation. Same bank or different bank does not affect the situation.

STEPS TO REPRODUCE
1. Open Skrooge
2. Login to bank and download account information using Quicken Web Connect file.
3. Click Open on the browser's Open/Save dialog. (Firefox was used.)
4. Note that the information is imported correctly as expected.
5. Repeat steps 2 and 3 and note that Skrooge crashes with a seg fault.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
See attached traces.txt file
$ export SKGTRACE=8
$ skrooge 2>&1 > traces.txt

This issue is new with 2.17.0 and was not observed in previous versions.
Comment 1 Stephane MANKOWSKI 2019-01-28 20:06:12 UTC
Git commit 39d8b2f9b82507863a0d45eeeae0bd2fe1dc3ebd by Stephane MANKOWSKI.
Committed on 28/01/2019 at 20:05.
Pushed by smankowski into branch 'master'.

App crashes with segfault after second import

M  +1    -0    CHANGELOG
M  +16   -17   plugins/generic/skg_monthly/skgmonthlyplugin.cpp
M  +1    -1    skgbasegui/skgmainpanel.cpp

https://commits.kde.org/skrooge/39d8b2f9b82507863a0d45eeeae0bd2fe1dc3ebd