[Pkg-kde-extras] Bug#694868: kmymoney: After configuring reports in Polish, Save causes segfault and loss of user profile

Mirosław Zalewski miniopl at poczta.onet.pl
Sat Dec 1 14:18:58 UTC 2012


Package: kmymoney
Version: 4.6.2-3.1
Severity: grave

Steps to reproduce:
1. touch /tmp/new.kmy
2. kmymoney --lang pl /tmp/new.kmy
3. choose any currency from list
4. Go to "Raporty" (Reports). Choose any report, right click and choose
   "Konfiguracja" (Configure)
5. In new window, click OK
6. Choose Plik -> Zapisz (File -> Save) from menu
7. Watch KMyMoney crash. User profile is trimmed to zero bytes, causing
   loss of all user data

You can save file between steps 3 and 4 and check it's size to ensure
that trimming is caused by crash, not working on empty file in test
case.

I am attaching crashlog from Dr. Konqui. I have kmymoney-dev installed,
but it doesn't seem to provide meaningful information.

So far I was able to reproduce this bug only on Polish language. Other
languages seem to work fine. Perhaps .po or generated .mo files are
malformed?

I am rising severity since normal usage of package can cause data loss
for all users of certain nationality.

Best regards
Mirosław Zalewski

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable'), (102, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kmymoney depends on:
ii  kde-runtime       4:4.8.4-2
ii  kdepim-runtime    4:4.4.11.1-5+b1
ii  kmymoney-common   4.6.2-3.1
ii  libalkimia4       4.3.2-1.1
ii  libaqbanking34    5.0.24-1
ii  libc6             2.13-37
ii  libgcc1           1:4.7.2-4
ii  libgmp10          2:5.0.5+dfsg-2
ii  libgpgme++2       4:4.8.4-1
ii  libgwengui-qt4-0  4.3.3-1
ii  libgwenhywfar60   4.3.3-1
ii  libical0          0.48-2
ii  libkabc4          4:4.8.4-1
ii  libkcmutils4      4:4.8.4-4
ii  libkdecore5       4:4.8.4-4
ii  libkdeui5         4:4.8.4-4
ii  libkfile4         4:4.8.4-4
ii  libkholidays4     4:4.8.4-1
ii  libkhtml5         4:4.8.4-4
ii  libkio5           4:4.8.4-4
ii  libofx4           1:0.9.4-2.1
ii  libqt4-dbus       4:4.8.2+dfsg-2
ii  libqt4-network    4:4.8.2+dfsg-2
ii  libqt4-sql        4:4.8.2+dfsg-2
ii  libqt4-svg        4:4.8.2+dfsg-2
ii  libqt4-xml        4:4.8.2+dfsg-2
ii  libqtcore4        4:4.8.2+dfsg-2
ii  libqtgui4         4:4.8.2+dfsg-2
ii  libstdc++6        4.7.2-4

Versions of packages kmymoney recommends:
pn  gpg-agent     <none>
pn  pinentry-qt4  <none>

kmymoney suggests no packages.

-- no debconf information

File: kmymoney-20121201-144204.kcrash
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f5854b4044e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f585654905a in QString::realloc(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f5856549bee in QString::resize(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f585654bd1d in QString::replace_helper(unsigned int*, int, int, QChar const*, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f585654c7d2 in QString::replace(int, int, QChar const*, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f585654c825 in QString::replace(int, int, QString const&) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f5856e3d642 in ?? () from /usr/lib/x86_64-linux-gnu/libQtXml.so.4
#12 0x00007f5856e494f2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtXml.so.4
#13 0x00007f5856e48fcd in ?? () from /usr/lib/x86_64-linux-gnu/libQtXml.so.4
#14 0x00007f5856e48fcd in ?? () from /usr/lib/x86_64-linux-gnu/libQtXml.so.4
#15 0x00007f5856e42dc4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtXml.so.4
#16 0x00007f5856e43213 in QDomDocument::toString(int) const () from /usr/lib/x86_64-linux-gnu/libQtXml.so.4
#17 0x0000000000794adf in ?? ()
#18 0x00000000004aa0de in ?? ()
#19 0x00000000004ab0c9 in ?? ()
#20 0x0000000000482c3f in _start ()



More information about the pkg-kde-extras mailing list