[Bug 163171] crash in KIO scheduler searchIdleList

Simon St James kdedevel at etotheipiplusone.com
Sun Oct 19 22:11:50 CEST 2008


http://bugs.kde.org/show_bug.cgi?id=163171


Simon St James kdedevel etotheipiplusone com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdedevel at etotheipiplusone.co
                   |                            |m




--- Comment #13 from Simon St James <kdedevel etotheipiplusone com>  2008-10-19 22:11:48 ---
I've got a local case here (my somethingawful thread archives) where I can
reliably generate this, so please ask me any questions you have (I'm SSJ_GZ on
IRC).

David's guess appears to be correct - a job is deleted just before it's
scheduled to be started (I'll attach a log showing this in a sec).  The item to
look out for is "0x939efc8".  The log is a complete run leading up to the
crash.  What it looks like is that a job is registered via doJob, then deleted
before it is actually run via startJobDirect.  Since d->m_slave is 0 at the
time of deletion, the job is not cancelJob'd and the subsequent attempted use
of the deleted job causes the crash.

I hope this is of use to people; as mentioned, grab me on IRC if you want me to
add some specific debug output :)  When I get time (hopefully tomorrow), I'll
add some dummy stuff to SimpleJob so that a flag is set by doJob and  cleared
by startJobDirect, then add a breakpoint in ~SimpleJob which is triggered if
this flag is not clear at the time of destruction.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdelibs-bugs mailing list