<table><tr><td style="">antonanikin edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-spowknyrwrpypz3/">(Show Details)</a><br />antonanikin edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-rfltjo7fucyvlf6/">(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/D15326">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>3) Close KDevelop<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">4) On exit s</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">4) S</span>egfault happens<div style="padding: 8px 0;">...</div>1) Incorrect signal processing. <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>OutputWidget::updateFilter()<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span> slot is called from parent's destructor when <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>m_tabwidget<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">/</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`/`</span>m_stackwidget<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span> is deleted so we have destroyed <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>m_views<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span> hash and segfault as a result.<br />
<br />
2) Incorrect <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>QSharedPointer<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span> usage. All handled objects have <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>QWidget<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span> as a parent so we have double-free problem and and segfault as a result.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Tested on different output widgets (<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>KDevelop::IOutputView::OneView/HistoryView/MultipleView<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>) with no segfaults. All our views/proxies objects are deleted (no memory leaks).</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15326">https://phabricator.kde.org/D15326</a></div></div><br /><div><strong>To: </strong>antonanikin, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>