Bug 326732 - crash during save
Summary: crash during save
Status: RESOLVED DUPLICATE of bug 324447
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-27 12:46 UTC by Bob Mroczka
Modified: 2014-11-05 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Mroczka 2013-10-27 12:46:19 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu 13.10

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

I attempted to save my work and the application crashed.  During the crash my data file became an empty file.  I had to copy a backed up version to the normally used file name.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3ce0740 (LWP 30507))]

Thread 2 (Thread 0xb064cb40 (LWP 30513)):
#0  0xb7702424 in __kernel_vsyscall ()
#1  0xb5207a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb467fa3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4670b58 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4670c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb60f78df in QEventDispatcherGlib::processEvents (this=0xafd00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb60c69f3 in QEventLoop::processEvents (this=this@entry=0xb064c228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb60c6d19 in QEventLoop::exec (this=this@entry=0xb064c228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5fb5e3d in QThread::exec (this=this@entry=0x9e1fe68) at thread/qthread.cpp:542
#9  0xb60a6e14 in QInotifyFileSystemWatcherEngine::run (this=0x9e1fe68) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb5fb872f in QThreadPrivate::start (arg=0x9e1fe68) at thread/qthread_unix.cpp:338
#11 0xb473fd78 in start_thread (arg=0xb064cb40) at pthread_create.c:311
#12 0xb521701e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb3ce0740 (LWP 30507)):
[KCrash Handler]
#6  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:2789
#7  0xb525d765 in __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:136
#8  0xb600c00c in memcpy (__len=2, __src=<optimized out>, __dest=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:51
#9  QString::append (this=0xbfcc2640, str=...) at tools/qstring.cpp:1588
#10 0xb6067b11 in write (data=..., this=0x14d01e40) at io/qtextstream.cpp:920
#11 putString (number=false, s=..., this=0x14d01e40) at io/qtextstream.cpp:1000
#12 QTextStream::operator<< (this=0xbfcc2508, string=...) at io/qtextstream.cpp:2533
#13 0xb65041a0 in QDomElementPrivate::save (this=0xeeaf890, s=..., depth=4, indent=1) at dom/qdom.cpp:4617
#14 0xb65043e2 in save (indent=<optimized out>, depth=4, s=..., this=<optimized out>) at dom/qdom.cpp:1919
#15 QDomElementPrivate::save (this=0xeeaf810, s=..., depth=3, indent=1) at dom/qdom.cpp:4652
#16 0xb65043e2 in save (indent=<optimized out>, depth=3, s=..., this=<optimized out>) at dom/qdom.cpp:1919
#17 QDomElementPrivate::save (this=0xeeaf1f8, s=..., depth=2, indent=1) at dom/qdom.cpp:4652
#18 0xb65043e2 in save (indent=<optimized out>, depth=2, s=..., this=<optimized out>) at dom/qdom.cpp:1919
#19 QDomElementPrivate::save (this=0xc86b640, s=..., depth=1, indent=1) at dom/qdom.cpp:4652
#20 0xb65043e2 in save (indent=<optimized out>, depth=1, s=..., this=<optimized out>) at dom/qdom.cpp:1919
#21 QDomElementPrivate::save (this=0xcb16bd8, s=..., depth=0, indent=1) at dom/qdom.cpp:4652
#22 0xb64fdbde in QDomDocumentPrivate::saveDocument (this=0xc21da78, s=..., indent=1, encUsed=QDomNode::EncodingFromDocument) at dom/qdom.cpp:6477
#23 0xb64fdee2 in QDomNode::save (this=0xc21da78, this@entry=0xcb32638, str=..., indent=indent@entry=1, encodingPolicy=encodingPolicy@entry=QDomNode::EncodingFromDocument) at dom/qdom.cpp:2712
#24 0xb64fdf23 in QDomNode::save (this=this@entry=0xcb32638, str=..., indent=indent@entry=1) at dom/qdom.cpp:2691
#25 0xb650477c in QDomDocument::toString (this=0xcb32638, indent=indent@entry=1) at dom/qdom.cpp:6853
#26 0x0841a266 in MyMoneyStorageXML::writeFile (this=0x9c9c600, qf=0xc5a2688, storage=0xa24d0bc) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/storage/mymoneystoragexml.cpp:524
#27 0x080eb4ed in KMyMoneyView::saveToLocalFile (this=0x9a0a260, localFile=..., pWriter=0x9c9c600, plaintext=plaintext@entry=false, keyList=...) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kmymoneyview.cpp:1190
#28 0x080ec868 in KMyMoneyView::saveFile (this=0x9a0a260, url=..., keyList=...) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kmymoneyview.cpp:1265
#29 0x080c1dda in KMyMoneyApp::slotFileSave (this=this@entry=0x993d0d0) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:1575
#30 0x080cfac6 in KMyMoneyApp::qt_static_metacall (_o=_o@entry=0x993d0d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=113, _a=0xbfcc2a08) at /build/buildd/kmymoney-4.6.3/obj-i686-linux-gnu/kmymoney/kmymoney.moc:491
#31 0xb60dcfc7 in QMetaObject::activate (sender=sender@entry=0x99c8e08, m=m@entry=0xb5eb3718 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfcc2a08) at kernel/qobject.cpp:3539
#32 0xb555467d in QAction::triggered (this=this@entry=0x99c8e08, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#33 0xb5556274 in QAction::activate (this=this@entry=0x99c8e08, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#34 0xb5556400 in QAction::event (this=0x99c8e08, e=0xbfcc2d48) at kernel/qaction.cpp:1183
#35 0xb6aa360d in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#36 0xb555b744 in QApplicationPrivate::notify_helper (this=0x9893960, receiver=0x99c8e08, e=0xbfcc2d48) at kernel/qapplication.cpp:4567
#37 0xb5562223 in QApplication::notify (this=0x98889d0, receiver=0x99c8e08, e=0xbfcc2d48) at kernel/qapplication.cpp:4353
#38 0xb6b91ff4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb60c7eda in QCoreApplication::notifyInternal (this=0x98889d0, receiver=0x99c8e08, event=event@entry=0xbfcc2d48) at kernel/qcoreapplication.cpp:946
#40 0xb559377b in sendEvent (event=0xbfcc2d48, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QShortcutMap::dispatchEvent (this=this@entry=0x9893a08, e=e@entry=0xbfcc3048) at kernel/qshortcutmap.cpp:884
#42 0xb55938ed in QShortcutMap::tryShortcutEvent (this=0x9893a08, o=0x9ed6330, e=0xbfcc3048) at kernel/qshortcutmap.cpp:364
#43 0xb5563c00 in QApplication::notify (this=0x98889d0, receiver=0x9ed6330, e=0xbfcc3048) at kernel/qapplication.cpp:3991
#44 0xb6b91ff4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#45 0xb60c7eda in QCoreApplication::notifyInternal (this=0x98889d0, receiver=receiver@entry=0x9ed6330, event=event@entry=0xbfcc3048) at kernel/qcoreapplication.cpp:946
#46 0xb5559bcd in sendSpontaneousEvent (event=0xbfcc3048, receiver=0x9ed6330) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#47 qt_sendSpontaneousEvent (receiver=0x9ed6330, event=event@entry=0xbfcc3048) at kernel/qapplication.cpp:5565
#48 0xb560d579 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x9ed6330, grab=grab@entry=false, type=QEvent::KeyPress, code=83, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=nativeScanCode@entry=39, nativeVirtualKey=115, nativeModifiers=nativeModifiers@entry=4) at kernel/qkeymapper_x11.cpp:1866
#49 0xb560d968 in QKeyMapperPrivate::translateKeyEvent (this=0x98d3698, keyWidget=keyWidget@entry=0x9ed6330, event=event@entry=0xbfcc33bc, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#50 0xb55e3ae5 in QApplication::x11ProcessEvent (this=0x98889d0, event=event@entry=0xbfcc33bc) at kernel/qapplication_x11.cpp:3639
#51 0xb5610274 in x11EventSourceDispatch (s=0x9892ce0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0xb467082e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb4670bd8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb4670c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb60f78bf in QEventDispatcherGlib::processEvents (this=this@entry=0x9863ea8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0xb561032e in QGuiEventDispatcherGlib::processEvents (this=0x9863ea8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0xb60c69f3 in QEventLoop::processEvents (this=this@entry=0xbfcc3678, flags=...) at kernel/qeventloop.cpp:149
#58 0xb60c6d19 in QEventLoop::exec (this=this@entry=0xbfcc3678, flags=...) at kernel/qeventloop.cpp:204
#59 0xb60cc89e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#60 0xb5559974 in QApplication::exec () at kernel/qapplication.cpp:3828
#61 0x0808a0a1 in runKMyMoney (splash=splash@entry=0x9985870, a=0x98889d0) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#62 0x08088654 in main (argc=1, argv=0xbfcc3ad4) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

Possible duplicates by query: bug 283149.

Reported using DrKonqi
Comment 1 Cristian Oneț 2014-07-31 09:34:43 UTC

*** This bug has been marked as a duplicate of bug 324447 ***
Comment 2 Cristian Oneț 2014-11-05 16:18:14 UTC
Could you please give some more information like how often does this happen, do you remember what you were doing before this happened? Also providing an anonymous file would be nice.