<table><tr><td style="">mhoogendoorn 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/D8464" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Not sure if it happened with 17.08.2 (I've not seen it happen), but in 17.08.3 under some circumstances the <tt style="background: #ebebeb; font-size: 13px;">setCursorBlinkingEnabled()</tt> call will happen from a different thread, causing a crash because the <tt style="background: #ebebeb; font-size: 13px;">_blinkCursorTimer</tt> in <tt style="background: #ebebeb; font-size: 13px;">TerminalDisplay</tt> is start/stopped from a thread that isn't its own.</p>
<p>Testcase that seems to reliable trigger it:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Open a tmux new tmux session, and run <tt style="background: #ebebeb; font-size: 13px;">printf '\e[6 q\e[2 q'</tt> in it, then detach.</li>
<li class="remarkup-list-item">Start a Konsole built with this patch and attach to the tmux session.</li>
</ul>
<p>Upon reattaching tmux emits a control sequence to make the cursor in the outer terminal match what is set in the tmux session, causing the mentioned crash.</p>
<p>Not sure how that can be avoided, but as there's not much interest it's probably best to shelve this. As I don't care about blinking cursors I can just patch locally for shape changing.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8464" rel="noreferrer">https://phabricator.kde.org/D8464</a></div></div><br /><div><strong>To: </strong>mhoogendoorn, Konsole<br /><strong>Cc: </strong>ngraham, hindenburg<br /></div>