<table><tr><td style="">rjvbb 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/D14606">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>But there's a catch, on my system I get some plasma popup on which I have to click "Report Bug" in order to get the usual drkonqi dialog. Do you get that too?</p></blockquote>

<p>Usually, yes. If you're not quick enough you have to go find DrKonqi in the taskbar or even systray.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Yes, I confirm that drkonqi exits normally, says gdb (attached to drkonqi) :
[Inferior 1 (process 22013) exited normally]</pre></div></blockquote>

<p>Well, that's a mystery... I'll have to figure out then why I get the false alarm and I don't see any other explanation then DrKonqi returning ~0.</p>

<p>One could say that in absolute terms my patch is correct (if DrKonqi gives an exit code that means it was started ;-)) but that's assuming that Dr.K always starts up completely when called through KCrash. I'll have to try and figure that out.</p>

<p>It does exit with a non-zero return code when called manually without any arguments:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">%> /opt/local/lib/x86_64-linux-gnu/libexec/drkonqi
org.kde.kwindowsystem: Loaded plugin "/opt/local/share/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb"
org.kde.drkonqi: Invalid pid specified
Exit 1
%> Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='ANSI_X3.4-1968'>
BrokenPipeError: [Errno 32] Broken pipe</pre></div>

<p>We can probably ignore that case safely, but note the message about an exception being ignored. It comes after DrKonqi exitted, so who said that?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R285 KCrash</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14606">https://phabricator.kde.org/D14606</a></div></div><br /><div><strong>To: </strong>rjvbb, Frameworks, sitter<br /><strong>Cc: </strong>dfaure, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>