<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 3, 2014 at 8:40 PM, darvark <span dir="ltr"><<a href="mailto:marcin.iwaniuk@gmail.com" target="_blank">marcin.iwaniuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I'm developing new plugin for KDevelop - scratchpad plugin requested
as bug 176389. And I stuck with strange behavior. When I use my
plugin, and after that I decide to close application main window
disappear, but process doesn't end. Still in process tree I can find
leftovers of closed app. But when I simply open kdevelop, and close
it, without using plugin this error doesn't occur. Source code of
this plugin you can find
<a href="https://github.com/darvark/kdevplatform/plugins/scratchpad" target="_blank">https://github.com/darvark/kdevplatform/plugins/scratchpad</a>. Does
anyone met similar problem with any KDE app?<br>
<br>
Below output of ps axuf and console<br>
<br>
<small><font face="Courier New, Courier, monospace">114 darvark
983 0.0 0.2 323404 24268 ? Ss 15:53 0:00 kdeinit4:
kdeinit4 Running... <br>
115 darvark 984 0.0 0.2 331116 16696 ? S
15:53 0:04 \_ kdeinit4: klauncher [kdeinit] --fd=9
<br>
116 darvark 1010 0.0 0.2 506276 23904 ? Sl
15:53 0:00 \_ kdeinit4: ksmserver [kdeinit]
<br>
117 darvark 1065 0.3 0.8 2840628 66156 ? Sl
15:53 0:46 | \_ kwin -session
10d2eccc6e000140921935800000008860000_1412274585_1993<br>
118 darvark 1115 0.0 0.1 404072 15540 ? Sl
15:53 0:00 \_ kdeinit4: nepomukserver [kdeinit]
<br>
119 darvark 1119 1.9 0.4 1327024 38704 ? SNl
15:53 4:20 | \_ /usr/bin/nepomukservicestub nepomukstorage<br>
120 darvark 1332 59.0 1.0 545264 85728 ? SNl
15:54 130:11 | | \_ /usr/bin/virtuoso-t +foreground
+configfile /tmp/virtuoso_fB1119.ini +wa 120 it<br>
121 darvark 1337 1.3 0.3 465464 29040 ? SNl
15:54 3:05 | \_ /usr/bin/nepomukservicestub
nepomukfileindexer<br>
122 darvark 1340 0.3 0.4 467564 35020 ? SNl
15:54 0:42 | \_ /usr/bin/nepomukservicestub
nepomukfilewatch<br>
123 darvark 1187 0.0 0.3 481076 27020 ? Sl
15:54 0:01 \_ /usr/bin/pidgin --session
10d2eccc6e000141201200100000011160065 --display :0<br>
124 darvark 1277 0.0 0.6 514428 51504 ? Ss
15:54 0:00 \_ python /usr/bin/hp-systray -x<br>
125 darvark 1297 0.2 0.1 154980 13124 ? S
15:54 0:29 | \_ python /usr/bin/hp-systray -x<br>
126 darvark 1298 0.0 0.1 126312 10892 ? S
15:54 0:00 | \_ python /usr/bin/hp-systray -x<br>
127 darvark 1278 0.0 0.3 373204 28184 ? Sl
15:54 0:00 \_ /usr/bin/python /usr/bin/blueman-applet<br>
128 darvark 1352 0.1 0.2 230444 19776 ? S
15:58 0:14 \_ /usr/bin/xchat<br>
129 darvark 13841 1.0 0.1 326676 13960 ? S
19:34 0:00 \_ kdeinit4: kio_man [kdeinit] man
local:/tmp/ksocket-darvark/klauncherXMT984.slave 129 -socket
local:/tmp/ksocket-darvark/kdevelopb13786.slave-socket<br>
130 darvark 13842 0.1 0.2 410728 16680 ? Sl
19:34 0:00 \_ kdeinit4: kio_trash [kdeinit] trash
local:/tmp/ksocket-darvark/klauncherXMT984.s 130 lave-socket
local:/tmp/ksocket-darvark/kdevelopY13786.slave-socket<br>
131 darvark 13843 0.0 0.1 334456 15488 ? S
19:34 0:00 \_ kdeinit4: kio_file [kdeinit] file
local:/tmp/ksocket-darvark/klauncherXMT984.sla 131 ve-socket
local:/tmp/ksocket-darvark/kdevelopB13786.slave-socket<br>
132 darvark 13848 0.0 0.1 334456 15452 ? S
19:34 0:00 \_ kdeinit4: kio_file [kdeinit] file
local:/tmp/ksocket-darvark/klauncherXMT984.sla 132 ve-socket
local:/tmp/ksocket-darvark/kdevelopF13786.slave-socket<br>
133 darvark 14109 0.0 0.1 334456 15436 ? S
19:34 0:00 \_ kdeinit4: kio_file [kdeinit] file
local:/tmp/ksocket-darvark/klauncherXMT984.sla 133 ve-socket
local:/tmp/ksocket-darvark/lancelotTP1132.slave-socket<br>
134 darvark 986 0.1 0.5 1105924 42548 ? Sl
15:53 0:13 kdeinit4: kded4 [kdeinit] <br>
</font></small><br>
<br>
and in console I have <br>
<small><font face="Courier New, Courier, monospace"><br>
QIODevice::setTextModeEnabled: The device is not open<br>
QIODevice::setTextModeEnabled: The device is not open<br>
in scratchpadexecute<br>
X Error: BadWindow (invalid Window parameter) 3<br>
Major opcode: 20 (X_GetProperty)<br>
Resource id: 0x600018d<br>
file does not exists<br>
QFSFileEngine::open: No file name specified<br>
wrong<br>
X Error: BadWindow (invalid Window parameter) 3<br>
Major opcode: 20 (X_GetProperty)<br>
Resource id: 0x60001aa<br>
kdevelop(13786)/kdevdefinesandincludes
CompilerProvider::projectClosed: Removed project: "KDevelop"<br>
kdevelop(13786)/kdevdefinesandincludes
CompilerProvider::projectClosed: Removed project:
"kdevplatform"<br>
X Error: BadWindow (invalid Window parameter) 3<br>
Major opcode: 20 (X_GetProperty)<br>
Resource id: 0x6000020</font></small><br>
<br>
<br>
Br,<br>
Marcin<br></div></blockquote><div> </div></div>I have never seen that. Is it maybe crashing? What do you mean by "after use of the plugin"?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Maybe gdb or valgrind can give better clues.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div></div>