Bug 267635 - Kmymoney crash and trash its data when try to save somethings changes"
Summary: Kmymoney crash and trash its data when try to save somethings changes"
Status: RESOLVED DUPLICATE of bug 263606
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 16:50 UTC by achiele
Modified: 2011-03-04 21:17 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 achiele 2011-03-04 16:50:39 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic x86_64
Distribution: Linux Mint 10 KDE

-- Information about the crash:
- What I was doing when the application crashed:

Open KMyMoney, includes a new schedule of deposit.
Soon after, when you click Save, this error has general application and lost the entire database of information.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f75363ac760 (LWP 32468))]

Thread 2 (Thread 0x7f751c1a2700 (LWP 32470)):
#0  0x00007f7530ca4203 in poll () from /lib/libc.so.6
#1  0x00007f752ca1c009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f752ca1c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f7531afc1e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f7531acea02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f7531acedec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f75319d92fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f7531aae5f8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f75319dc27e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f7533947971 in start_thread () from /lib/libpthread.so.0
#10 0x00007f7530cb092d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f75363ac760 (LWP 32468)):
[KCrash Handler]
#6  0x00007f7531a22214 in QString::operator=(QString const&) () from /usr/lib/libQtCore.so.4
#7  0x00007f7532ffab02 in ?? () from /usr/lib/libQtXml.so.4
#8  0x00007f7532ff9506 in ?? () from /usr/lib/libQtXml.so.4
#9  0x00007f7535f93829 in MyMoneyReport::write (this=<value optimized out>, e=..., doc=0x2b19490, anonymous=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyreport.cpp:359
#10 0x00007f7535f943b3 in MyMoneyReport::writeXML (this=0x3489870, document=..., parent=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyreport.cpp:737
#11 0x000000000082f1e7 in MyMoneyStorageXML::writeReports (this=0x320cb60, parent=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/storage/mymoneystoragexml.cpp:760
#12 0x00000000008300d3 in MyMoneyStorageXML::writeFile (this=0x320cb60, qf=<value optimized out>, storage=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/storage/mymoneystoragexml.cpp:503
#13 0x00000000004b3594 in KMyMoneyView::saveToLocalFile (this=<value optimized out>, localFile=<value optimized out>, pWriter=<value optimized out>, plaintext=<value optimized out>, keyList=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:1093
#14 0x00000000004b4adc in KMyMoneyView::saveFile (this=0x16e4f90, url=..., keyList=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:1163
#15 0x0000000000491233 in KMyMoneyApp::slotFileSave (this=0x15af410) at /build/buildd/kmymoney-4.5/kmymoney/kmymoney.cpp:1552
#16 0x000000000049e74d in KMyMoneyApp::qt_metacall (this=0x15af410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdec1aa80) at /build/buildd/kmymoney-4.5/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:516
#17 0x00007f7531ae7b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007f75324aa852 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#19 0x00007f75324abf5b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#20 0x00007f753288b57a in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f753288b82c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f753295b52a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f753250804e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f75324b1fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f75324b830e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007f75349a2a36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x00007f7531acfcdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0x00007f75324b6dbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#29 0x00007f753253a345 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f7532538c5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007f75325650e2 in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f752ca18342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007f752ca1c2a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007f752ca1c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007f7531afc193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f7532564a4e in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f7531acea02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f7531acedec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f7531ad2ebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0x0000000000452d58 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Possible duplicates by query: bug 263606.

Reported using DrKonqi
Comment 1 Alvaro Soliverez 2011-03-04 18:49:21 UTC
it looks like a crash while saving a report. 

Can you make a backup of your file, then remove all your custom reports and try to reproduce the crash?
Comment 2 achiele 2011-03-04 20:18:11 UTC
This is very strange!
I have no custom report and also was not using reports when he showed the crash.
Comment 3 Thomas Baumgart 2011-03-04 21:17:38 UTC
Looks to me like a duplicate, even the subject is very similar.

*** This bug has been marked as a duplicate of bug 263606 ***