Bug 306125 - assert "Wrong threading status" when clicking on a folder
Summary: assert "Wrong threading status" when clicking on a folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: Git (master)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-01 08:55 UTC by Christophe Marin
Modified: 2017-01-07 21:50 UTC (History)
1 user (show)

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 Christophe Marin 2012-09-01 08:55:15 UTC
Using master compiled yesterday. No idea how long I'll be able to reproduce:

I just enter my k.c.d folder and kmail crashes with that :

kmail2(25355)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x2b99750) KIO::DataSlave(0x2792ac0)
kmail2(25355) MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill: Circular In-Reply-To reference loop detected in the message tree 
kmail2(25355) MessageList::Core::ModelPrivate::findMessageParent: Circular In-Reply-To reference loop detected in the message tree 
kmail2(25355) MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill: Circular In-Reply-To reference loop detected in the message tree 
kmail2(25355): Got message  0x2cf9560  with threading status 3 
ASSERT failure in ModelPrivate::viewItemJobStepInternalForJobPass1Fill: "Wrong threading status", file /kde/src/pim/kdepim/messagelist/core/model.cpp, line 2798
*** KMail got signal 6 (Exiting)

#8  0x00007f4793c2cdbe in qt_assert_x (where=<optimized out>, what=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:2015
#9  0x00007f478fdb129d in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0x26220a0, job=0x6090390, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:2798
#10 0x00007f478fdb2cff in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x26220a0, job=0x6090390, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3374
#11 0x00007f478fdb3790 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x26220a0) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3761
#12 0x00007f478fdb40e4 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x26220a0) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3947
#13 0x00007f478fdb619c in MessageList::Core::Model::qt_static_metacall (_o=0x26c6140, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff93593430) at /kde/build/pim/kdepim/messagelist/model.moc:69
#14 0x00007f4793d479ff in QMetaObject::activate (sender=0x26220d8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#15 0x00007f4793d4597c in QObject::event (this=0x26220d8, e=<optimized out>) at kernel/qobject.cpp:1166
#16 0x00007f479426764c in QApplicationPrivate::notify_helper (this=this@entry=0x2191ec0, receiver=receiver@entry=0x26220d8, e=e@entry=0x7fff93593c20) at kernel/qapplication.cpp:4551
#17 0x00007f479426baca in QApplication::notify (this=0x7fff93593ed0, receiver=0x26220d8, e=0x7fff93593c20) at kernel/qapplication.cpp:4412
#18 0x00007f47955f97c6 in KApplication::notify (this=0x7fff93593ed0, receiver=0x26220d8, event=0x7fff93593c20) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#19 0x00007f4793d3116e in QCoreApplication::notifyInternal (this=0x7fff93593ed0, receiver=0x26220d8, event=0x7fff93593c20) at kernel/qcoreapplication.cpp:915
#20 0x00007f4793d61c61 in sendEvent (event=0x7fff93593c20, receiver=<optimized out>) at kernel/qcoreapplication.h:231
Comment 1 Christophe Marin 2012-09-01 09:01:22 UTC
accessing the folder using a webmail indicates the only new message is the one named "new webP image plugin..."
Comment 2 Christophe Marin 2012-09-06 10:39:01 UTC
The crash is back this morning (coincidence (?): still in my k.c.d folder)

Is there anything I could provide ?

#9  0x00007fe10afa629d in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0x1bb78f0, job=0x4c7b5c0, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:2798
        it = {i = 0x73835a8}
---Type <return> to continue, or q <return> to quit---
        end = {i = 0x73835b0}
        lImperfectlyThreaded = {{p = {static shared_null = {ref = {_q_value = 34525}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7383590}, d = 0x7383590}}
        needsImmediateReAttach = false
        pParent = 0x50a7df0
        md5 = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x405f18 <QByteArray::shared_null+24> "", array = ""}, static shared_empty = {ref = {_q_value = 308}, alloc = 0, size = 0, data = 
    0x7fe10f281778 <QByteArray::shared_empty+24> "", array = ""}, d = 0x7383dc0}
        bUseReceiver = false
        curIndex = 1233
        mi = 0x7383f60
        __PRETTY_FUNCTION__ = "MessageList::Core::ModelPrivate::ViewItemJobResult MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill(MessageList::Core::ViewItemJob*, const QTime&)"
        elapsed = 53
        endIndex = 8338
#10 0x00007fe10afa7cff in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x1bb78f0, job=0x4c7b5c0, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3374
        elapsed = 0
        __PRETTY_FUNCTION__ = "MessageList::Core::ModelPrivate::ViewItemJobResult MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob(MessageList::Core::ViewItemJob*, const QTime&)"
#11 0x00007fe10afa8790 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x1bb78f0) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3761
        job = 0x4c7b5c0
        tStart = {mds = 44756733}
        elapsed = 0
        __PRETTY_FUNCTION__ = "MessageList::Core::ModelPrivate::ViewItemJobResult MessageList::Core::ModelPrivate::viewItemJobStepInternal()"
#12 0x00007fe10afa90e4 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x1bb78f0) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3947
        currentIndexBeforeStep = {r = 0, c = 0, p = 0x4ed3cb0, m = 0x1908f40}
        currentItemBeforeStep = 0x4ed3cb0
        lockView = true
        __PRETTY_FUNCTION__ = "void MessageList::Core::ModelPrivate::viewItemJobStep()"
        rectBeforeViewItemJobStep = {x1 = 0, y1 = 0, x2 = -1, y2 = -1}
#13 0x00007fe10afab19c in MessageList::Core::Model::qt_static_metacall (_o=0x1908f40, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff2ed04c70) at /kde/build/pim/kdepim/messagelist/model.moc:69
        _t = 0x1908f40
Comment 3 Christophe Marin 2012-09-06 12:32:48 UTC
Adding "the only person in the universe who knows how modellist works" ©
Comment 4 Christophe Marin 2012-10-01 09:06:52 UTC
As it seems to happen with a particular account & folder, more information:

* The filtering is done server side (a zimbra frontend). There are two filters set for this mailing list:
1/ IF the "List-Id" header contains : "kde-core-devel.kde.org" AND the "X-ReviewBoard-URL" header MATCHES "http://git.reviewboard.kde.org", move to "kde/mailing lists/kde-core-devel/review requests" (and stop processing)

2/ IF the "List-Id" header contains : "kde-core-devel.kde.org", move the message into "kde/mailing lists/kde-core-devel"

The crash was only reproduced with this folder afair (I use the same kind of rules for other mailing-lists)

* In KMail settings, Appearance, Message List: Activity by date, threaded and the classic theme are used.
Comment 5 Denis Kurz 2016-09-24 18:22:07 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 6 Denis Kurz 2017-01-07 21:50:08 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.