<table><tr><td style="">jtamate retitled this revision from "Don't remove a subjob if is not in the list of subjobs and dnoe emitResult if the job still has subjobs.." to "Better handle of subjobs".<br />jtamate edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-eyqgdubozs23izy/" rel="noreferrer">(Show Details)</a><br />jtamate edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-242ui7jaylzzso4/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9001" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Fix for </span>BUG: 364039<div style="padding: 8px 0;">...</div>Then, I tried with the patch for kcoreaddons, that simply does: Don't remove a subjob <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">pointer </span>if it is not in the list of subjobs.<br />
Unfortunately, it moved the crash to another part, because the job was already finished by a previous emitResult, but it still ha<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">s</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">d</span> active subjobs, therefore the second pa<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">rt in</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">tch for</span> KIO: Don't emitResult, that will also finish and delete the job, if the job still has subjobs.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Reproducing the steps in the bug report, before I got a crash, now I can <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">do it</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">repeat the steps</span> several times without crashing.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9001" rel="noreferrer">https://phabricator.kde.org/D9001</a></div></div><br /><div><strong>To: </strong>jtamate, Frameworks, dfaure<br /><strong>Cc: </strong>ltoscano<br /></div>