Bug 182894 - Crash when doing ctrl+j
Summary: Crash when doing ctrl+j
Status: RESOLVED DUPLICATE of bug 176571
Alias: None
Product: kmail
Classification: Unmaintained
Component: filtering (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 17:57 UTC by envite
Modified: 2010-08-08 01:31 UTC (History)
3 users (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 envite 2009-02-02 17:57:05 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I selected one message and pressed ctrl+j to filter it.
I selected another message and pressed ctrl+j to filter it too.
I selected a third message and pressed ctrl+j to filter it too. And then it crashed.

Aplicación: KMail (kmail), señal SIGABRT
[Current thread is 0 (LWP 7345)]

Thread 3 (Thread 0xb050db90 (LWP 7525)):
#0  0xb7efe424 in __kernel_vsyscall ()
#1  0xb55de025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb63cb7fd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6e8a542 in QWaitCondition::wait (this=0x8bae3f0, mutex=0x8aa81b8, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb5935628 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8bae3d8, th=0x9243870) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb59383cc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b84590, th=0x9243870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb593420b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8bae3d8, th=0x9243870) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb59384ca in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b84590, th=0x9243870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb5935bb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8bae3d8, th=0x9243870, previous=0x924b6a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb593649e in ThreadWeaver::ThreadRunHelper::run (this=0xb050d370, parent=0x8bae3d8, th=0x9243870) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0xb5936adb in ThreadWeaver::Thread::run (this=0x9243870) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0xb6e8952e in QThreadPrivate::start (arg=0x9243870) at thread/qthread_unix.cpp:185
#12 0xb55da4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#13 0xb63bd6de in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xb0d4eb90 (LWP 7585)):
#0  0xb7efe424 in __kernel_vsyscall ()
#1  0xb63b5ab1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb6f58660 in QProcessManager::run (this=0x881c700) at io/qprocess_unix.cpp:301
#3  0xb6e8952e in QThreadPrivate::start (arg=0x881c700) at thread/qthread_unix.cpp:185
#4  0xb55da4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb63bd6de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb40d1aa0 (LWP 7345)):
[KCrash Handler]
#6  0xb7efe424 in __kernel_vsyscall ()
#7  0xb6308640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb630a018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6e816cd in qt_message_output (msgType=QtFatalMsg, buf=0xbfd14f20 "ASSERT: \"!transferInProgress( serNum )\" in file ../../kmail/messageproperty.cpp, line 180") at global/qglobal.cpp:2102
#10 0xb6e81796 in qFatal (msg=0xb6fc9438 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb6e81825 in qt_assert (assertion=0xb77f8520 "!transferInProgress( serNum )", file=0xb77f8500 "../../kmail/messageproperty.cpp", line=180) at global/qglobal.cpp:1872
#12 0xb73576f0 in KMail::MessageProperty::forget (msgBase=0x9d13f30) at ../../kmail/messageproperty.cpp:180
#13 0xb73b8eaa in ~KMMsgBase (this=0x9d13f30) at ../../kmail/kmmsgbase.cpp:125
#14 0xb7223c14 in ~KMMessage (this=0x9d13f30) at ../../kmail/kmmessage.cpp:225
#15 0xb73c1c09 in KMMsgList::clear (this=0x94f61e8, doDelete=true, syncDict=true) at ../../kmail/kmmsglist.cpp:37
#16 0xb754f170 in KMFolderIndex::clearIndex (this=0x94f6198, autoDelete=<value optimized out>, syncDict=<value optimized out>) at ../../kmail/kmfolderindex.cpp:441
#17 0xb7349b98 in FolderStorage::remove (this=0x94f6198) at ../../kmail/folderstorage.cpp:781
#18 0xb73148d0 in KMFolder::remove (this=0x9c72c80) at ../../kmail/kmfolder.cpp:573
#19 0xb737056d in KMFolderMgr::removeFolder (this=0x90bcae8, aFolder=0x9c72c80) at ../../kmail/kmfoldermgr.cpp:361
#20 0xb7370670 in KMFolderMgr::remove (this=0x90bcae8, aFolder=0x9c72c80) at ../../kmail/kmfoldermgr.cpp:354
#21 0xb735064d in ~ActionScheduler (this=0x9d024a0) at ../../kmail/actionscheduler.cpp:136
#22 0xb6f86f5c in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3659
#23 0xb6f88913 in QObject::event (this=0x9d024a0, e=0x9d61e28) at kernel/qobject.cpp:1139
#24 0xb666e79c in QApplicationPrivate::notify_helper (this=0x8818d18, receiver=0x9d024a0, e=0x9d61e28) at kernel/qapplication.cpp:3803
#25 0xb667661e in QApplication::notify (this=0xbfd17948, receiver=0x9d024a0, e=0x9d61e28) at kernel/qapplication.cpp:3393
#26 0xb7d3377d in KApplication::notify (this=0xbfd17948, receiver=0x9d024a0, event=0x9d61e28) at ../../kdeui/kernel/kapplication.cpp:307
#27 0xb6f790d1 in QCoreApplication::notifyInternal (this=0xbfd17948, receiver=0x9d024a0, event=0x9d61e28) at kernel/qcoreapplication.cpp:587
#28 0xb6f79d55 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x87f6670) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#29 0xb6f79f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#30 0xb6fa398f in postEventSourceDispatch (s=0x881b520) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#31 0xb49871b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb498a853 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x0881b498 in ?? ()
#34 0x00000000 in ?? ()
Comment 1 Dario Andres 2009-02-03 13:32:40 UTC
This may be related to bug 156991 / bug 176571 (same assert, but the situation that triggers it may be different)
Comment 2 Wolf Behrenhoff 2009-12-05 10:33:34 UTC
Hello,

here I can reproduce a crash of kmail: I mark a certain massage and hit Ctrl-J to filter it. Strage enough, the crash occurs reproducible only for a certain message. I could not reproduce it with other messages.

In difference to the existing bug report, this is KDE 4.3.4 / Kubuntu.

Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  KMail::ActionScheduler::actionMessage (this=0xa05c0c0, res=KMFilterAction::GoOn) at ../../kmail/actionscheduler.cpp:675
#7  0xb43e003c in KMail::ActionScheduler::filterMessage (this=0xa05c0c0) at ../../kmail/actionscheduler.cpp:648
#8  0xb43e0474 in KMail::ActionScheduler::qt_metacall (this=0xa05c0c0, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfd817cc) at ./actionscheduler.moc:124
#9  0x04ab8263 in QMetaObject::activate (sender=0xa0615d0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#10 0x04ab8ec2 in QMetaObject::activate (sender=0xa0615d0, m=0x4b93904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#11 0x04af2667 in QTimer::timeout (this=0xa0615d0) at .moc/release-shared/moc_qtimer.cpp:128
#12 0x04abd9ae in QTimer::timerEvent (this=0xa0615d0, e=0xbfd81c60) at kernel/qtimer.cpp:261
#13 0x04ab23bf in QObject::event (this=0xa0615d0, e=0xbfd81c60) at kernel/qobject.cpp:1075
#14 0x00ba9f54 in QApplicationPrivate::notify_helper (this=0x91547a0, receiver=0xa0615d0, e=0xbfd81c60) at kernel/qapplication.cpp:4056
#15 0x00bb167c in QApplication::notify (this=0xbfd81fc4, receiver=0xa0615d0, e=0xbfd81c60) at kernel/qapplication.cpp:3603
#16 0x008c91aa in KApplication::notify (this=0xbfd81fc4, receiver=0xa0615d0, event=0xbfd81c60) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x04aa26cb in QCoreApplication::notifyInternal (this=0xbfd81fc4, receiver=0xa0615d0, event=0xbfd81c60) at kernel/qcoreapplication.cpp:610
#18 0x04acf7ce in QCoreApplication::sendEvent (this=0x915bf34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#19 QTimerInfoList::activateTimers (this=0x915bf34) at kernel/qeventdispatcher_unix.cpp:572
#20 0x04acd0e0 in timerSourceDispatch (source=0x915bf00) at kernel/qeventdispatcher_glib.cpp:165
#21 0x01a11e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x01a15720 in ?? () from /lib/libglib-2.0.so.0
#23 0x01a15853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x04acd02c in QEventDispatcherGlib::processEvents (this=0x912e9f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00c4abe5 in QGuiEventDispatcherGlib::processEvents (this=0x912e9f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x04aa0c79 in QEventLoop::processEvents (this=0xbfd81f24, flags=) at kernel/qeventloop.cpp:149
#27 0x04aa10ca in QEventLoop::exec (this=0xbfd81f24, flags=...) at kernel/qeventloop.cpp:201
#28 0x04aa353f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x00ba9dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#30 0x0804b4e6 in main (argc=1, argv=0xbfd821e4) at ../../../kontact/src/main.cpp:218
Comment 3 Björn Ruberg 2010-08-08 01:31:01 UTC

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