Bug#574600: [kmymoney] Crashes when clicking on save

2010-03-21 Thread Matthias Dellweg
This Patch solves the Issue for me. But it is hot stitched as I do not understand how the function logic works. Why is it assumed there is a one on one relationship between userIDs and subkeys? --- kmymoney-3.96.1.orig/libkgpgfile/kgpgfile.cpp +++ kmymoney-3.96.1/libkgpgfile/kgpgfile.cpp @@

Bug#574600: [kmymoney] Crashes when clicking on save

2010-03-19 Thread Robert Wohlrab
Package: kmymoney Version: 3.96.1-1 Severity: normal Opened a file from kmymoney2 (1.0.2-1) and clicked on save. The program just crashes. I cannot provide a real backtrace because your program doesn't provide a -dbg package. #0 GpgME::Subkey::isRevoked (this=0x2181818) at

Bug#574600: [kmymoney] Crashes when clicking on save

2010-03-19 Thread Matthias Dellweg
Same problem here. I searched for isRevoked in kmymoney and I found an assumption in libkgpgfile.cpp around line 311 which seems incorrect. As you see there: std::vectorGpgME::UserID userIDs = key.userIDs(); std::vectorGpgME::Subkey subkeys = key.subkeys(); for (unsigned int i = 0; i