<table><tr><td style="">jtamate updated this revision to Diff 38372.<br />jtamate edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-pt4q2t6oobjrfu4/">(Show Details)</a><br />jtamate edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-on5o7abgmzkvyah/">(Show Details)</a><br />jtamate added a comment.
</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/D14302">View Revision</a></tr></table><br /><div><div><p>It is my first time of a backtrace that doesn't reflect the true state of a program. But I've learned the lesson, in case of counter intuitive backtrace, take a look at the dissasembler.<br />
Thanks everybody, specially to <a href="https://phabricator.kde.org/p/thiago/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@thiago</a>.</p></div></div><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);">My wife has been suffering this block for several months while I was not there, and it never happened to me.<br />
Finally, It just has happened to me: plasmashell, ktorrent</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Try to lock only once</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">akregator and dolphin were totally blocked.<br />
With</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">if succeed then make</span> the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">help of hotspot</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">call to dbus</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">the common method between all of them is: ensureKdeinitRunning()<br />
<br />
Instead of b</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and then release the </span>lock<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ing forever</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">wait a finite amount of time.<br />
</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the rest of the method doesn't need to be locked.</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">My wife has been suffering this block for several months while I was not there, and it never happened to me.<br />
Finally, It just has happened to me: plasmashell, ktorrent, akregator and dolphin were totally blocked.<br />
With the help of gdb, dolphin was stopped in ensureKdeinitRunning(), apparently in tryLock(), but it was really in lock().<br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R271 KDBusAddons</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D14302?vs=38264&id=38372">https://phabricator.kde.org/D14302?vs=38264&id=38372</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14302">https://phabricator.kde.org/D14302</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kdeinitinterface.cpp</div></div></div><br /><div><strong>To: </strong>jtamate, dfaure, Frameworks, thiago<br /><strong>Cc: </strong>lvsouza, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>