Bug 244208 - Crash on deleting payee
Summary: Crash on deleting payee
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 244210 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-11 12:18 UTC by allan
Modified: 2010-07-13 20:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***