Version: SVN trunk (using KDE 4.5.1) OS: Linux Kmymoney svn trunk crashes if I try to delete a queued event from the outbox. This happens with today's svn-trunk and ipwizard's patch for aqbanking5 applied (see http://reviewboard.kde.org/r/5524/ ). The already executed jobs still show up in the outbox. When I try to dequeue those "ghost" jobs, the crash occurs. Reproducible: Always Steps to Reproduce: Go to an account which is mapped to aqbanking (5.0.1). Choose "Update" -> "Queue". Go to outbox and send queued jobs to the bank. After jobs are executed they are still shown in outbox, which shouldn't be. Now try to delete (dequeue) the "ghost" jobs. Actual Results: Application crashes Expected Results: The queued jobs should have been removed from the outboxes' list immediately after successful execution. Application: KMyMoney (kmymoney), signal: Aborted [Current thread is 1 (Thread 0x7f746e5f1760 (LWP 2493))] Thread 2 (Thread 0x7f74555d5710 (LWP 2494)): #0 0x00007f7468ef4f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f74640424a9 in g_main_context_poll (context=0x2e515a0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2904 #2 g_main_context_iterate (context=0x2e515a0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2586 #3 0x00007f74640428fc in IA__g_main_context_iteration (context=0x2e515a0, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654 #4 0x00007f7469d611d6 in QEventDispatcherGlib::processEvents (this=0x2e50dc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #5 0x00007f7469d33dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #6 0x00007f7469d341bc in QEventLoop::exec (this=0x7f74555d4db0, flags=) at kernel/qeventloop.cpp:201 #7 0x00007f7469c3f36d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #8 0x00007f7469d13b48 in QInotifyFileSystemWatcherEngine::run (this=0x2e50130) at io/qfilesystemwatcher_inotify.cpp:248 #9 0x00007f7469c422ee in QThreadPrivate::start (arg=0x2e50130) at thread/qthread_unix.cpp:266 #10 0x00007f746bb819ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #11 0x00007f7468f016cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f746e5f1760 (LWP 2493)): [KCrash Handler] #6 0x00007f7468e4ea75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007f7468e525c0 in *__GI_abort () at abort.c:92 #8 0x00007f7468e47941 in *__GI___assert_fail (assertion=0x7f7454441fd2 "j->usage", file=<value optimized out>, line=127, function=0x7f74544424f9 "AB_Job_free") at assert.c:81 #9 0x00007f745440deab in AB_Job_free () from /usr/local/lib/libaqbanking.so.33 #10 0x00007f7454bac781 in KMyMoneyBanking::dequeueJob (this=0x35329b0, j=0x4318100) at /usr/local/src/kmymoney/kmymoney/plugins/kbanking/mymoneybanking.cpp:768 #11 0x00007f7454bc08c4 in KBJobView::slotDequeue (this=0x3617bd0) at /usr/local/src/kmymoney/kmymoney/plugins/kbanking/views/kbjobview.cpp:164 #12 0x00007f7454bc1928 in KBJobView::qt_metacall (this=0x3617bd0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff3438d800) at /usr/local/src/kmymoney/debug/kmymoney/plugins/kbanking/views/moc_kbjobview.cpp:81 #13 0x00007f7469d4cda7 in QMetaObject::activate (sender=0x3491700, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280 #14 0x00007f746addac62 in QAbstractButton::clicked (this=0x9bd, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206 #15 0x00007f746aad897b in QAbstractButtonPrivate::emitClicked (this=0x3615910) at widgets/qabstractbutton.cpp:546 #16 0x00007f746aada04b in QAbstractButtonPrivate::click (this=0x3615910) at widgets/qabstractbutton.cpp:539 #17 0x00007f746aada2bc in QAbstractButton::mouseReleaseEvent (this=0x3491700, e=0x7fff3438e150) at widgets/qabstractbutton.cpp:1121 #18 0x00007f746a75b16e in QWidget::event (this=0x3491700, event=0x7fff3438e150) at kernel/qwidget.cpp:8158 #19 0x00007f746a70576c in QApplicationPrivate::notify_helper (this=0x2857500, receiver=0x3491700, e=0x7fff3438e150) at kernel/qapplication.cpp:4396 #20 0x00007f746a70ba7e in QApplication::notify (this=0x2857460, receiver=0x3491700, e=0x7fff3438e150) at kernel/qapplication.cpp:3959 #21 0x00007f746cba32e6 in KApplication::notify (this=0x2857460, receiver=0x3491700, event=0x7fff3438e150) at ../../kdeui/kernel/kapplication.cpp:310 #22 0x00007f7469d350ac in QCoreApplication::notifyInternal (this=0x2857460, receiver=0x3491700, event=0x7fff3438e150) at kernel/qcoreapplication.cpp:732 #23 0x00007f746a70a52e in QCoreApplication::sendEvent (receiver=0x3491700, event=0x7fff3438e150, alienWidget=0x3491700, nativeWidget=0x3617bd0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #24 QApplicationPrivate::sendMouseEvent (receiver=0x3491700, event=0x7fff3438e150, alienWidget=0x3491700, nativeWidget=0x3617bd0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058 #25 0x00007f746a78d2b5 in QETWidget::translateMouseEvent (this=0x3617bd0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403 #26 0x00007f746a78bbec in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff3438ea70) at kernel/qapplication_x11.cpp:3536 #27 0x00007f746a7b7e22 in x11EventSourceDispatch (s=0x285b340, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #28 0x00007f746403e8c2 in g_main_dispatch (context=0x285a120) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960 #29 IA__g_main_context_dispatch (context=0x285a120) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513 #30 0x00007f7464042748 in g_main_context_iterate (context=0x285a120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591 #31 0x00007f74640428fc in IA__g_main_context_iteration (context=0x285a120, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654 #32 0x00007f7469d61183 in QEventDispatcherGlib::processEvents (this=0x2836680, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #33 0x00007f746a7b778e in QGuiEventDispatcherGlib::processEvents (this=0x9bd, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #34 0x00007f7469d33dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #35 0x00007f7469d341bc in QEventLoop::exec (this=0x7fff3438eda0, flags=) at kernel/qeventloop.cpp:201 #36 0x00007f7469d3826b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #37 0x000000000045dc1b in _start ()
The patch on http://reviewboard.kde.org/r/5524/ has been updated to contain the fix for this problem.