<table><tr><td style="">croick added a subscriber: ossi.<br />croick 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/D18245">View Revision</a></tr></table><br /><div><div><p>I dug in the history of KCrash and realized, that closing all the file descriptors was introduced (<a href="https://phabricator.kde.org/R446:7bbf112e5e97d40b9a4f9fdd167b064a1019843b" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">7bbf112e5e97d40b9a4f9fdd167b064a1019843b</a>) to make the X11 window disappear.<br />
Later <a href="https://phabricator.kde.org/p/ossi/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@ossi</a> added the X11 FD explicitly (<a href="https://phabricator.kde.org/R446:7ac326ddb05eec296fdfbebd86d0d1320e579063" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">7ac326ddb05eec296fdfbebd86d0d1320e579063</a>), but kept closing the FDs by default.</p>
<p>I think keeping the FDs should be the default. However, the only program I found that is explicitly setting <tt style="background: #ebebeb; font-size: 13px;">KCrash::CrashFlag::KeepFDs</tt> is <a href="https://phabricator.kde.org/tag/falkon/" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">#falkon</a>, the rest seems to be fine without (except me with KDevelop).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R871 DrKonqi</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18245">https://phabricator.kde.org/D18245</a></div></div><br /><div><strong>To: </strong>croick, sitter, KDevelop<br /><strong>Cc: </strong>ossi, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>