[Kmymoney-devel] csvimport crash on multiple import

Chris DeveloperChris at rebel.com.au
Tue Apr 22 13:24:10 UTC 2014


I find that when importing 3 banking csv files consecutively with the skip 
setup button checked, kmymoney crashes.

A loop is occuring which eventually exhausts resources.

initializePage() calls m_dlg->m_pageLinesDate->validatePage();
   which calls m_dlg->m_pageCompletion->slotimportclicked()
   ==>    which calls wizard()->next()
// which calls validatePage()
||which calls slotImportClicked()  = ||
\\=================================================//


This is the code where the loop occurs in LinesDatePage::validatePage()

     if ((m_dlg->m_pageIntro->ui->checkBoxSkipSetup->isChecked())) {
       if (m_dlg->m_importError) {
         wizard()->next();
       } else {
         m_dlg->m_pageCompletion->slotImportClicked(); <== loops
       }
     }

I have no idea why this occurs on the third import, it may just be coincidental.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140422/af67c408/attachment.html>


More information about the KMyMoney-devel mailing list