Bug 244208

Summary: Crash on deleting payee
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description allan 2010-07-11 12:18:04 UTC
Version:           unspecified (using KDE 4.3.5) 
OS:                Linux

This follows on from developerlist thread re 'payee completion'.

1) Create a new transaction.
2) Enter the first three letters of a payee that has two possibilities.
3) Hit TAB.
 -- The first of the two possibilities is selected and the cursor moves
 to category.
 4) I don't want the first, I want the second so double click the payee
 name to select it.
 5) Hit Delete.
 --  KMM crashes with Segmentation fault and no BT.
 6) Repeat from top and it crashes every time.

As indicated just above, no BT was produced, whereas normally they are, and I've done nothing to disable them.

I've tried using gdb, and, after listing symbols, all it produced was
"(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb5627bf3 in QTextEngine::itemize (this=0x95e14b8)
    at text/qtextengine.cpp:1392
1392    text/qtextengine.cpp: No such file or directory.
        in text/qtextengine.cpp
(gdb)"


Reproducible: Always

Steps to Reproduce:
As above

Actual Results:  
crash

Expected Results:  
payee name should be deleted
Comment 1 Cristian OneČ› 2010-07-13 20:54:32 UTC
SVN commit 1149598 by conet:

BUG: 244208
Fixed stack overflow caused by an infinite recursion and make it possible to delete a payee once it has been selected by hitting tab.

 M  +1 -5      kmymoneymvccombo.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1149598
Comment 2 Cristian OneČ› 2010-07-13 20:56:47 UTC
*** Bug 244210 has been marked as a duplicate of this bug. ***