Kdevelop doesn't quit after use of plugin

Marcin darvark at gmail.com
Mon Oct 6 05:47:20 UTC 2014


Hi,
For example when I click "compile" button, which cause open FileDialog, and
start compilation process. GDB doesn't show me much more information. At
first I thought thtat it was caused by QFileDialog. But now I know that
it's must be something with outputexecutejob which I uses. Probably I use
it in wrong way, someone with more expirience have to check it.

Br
Marcin

2014-10-06 0:23 GMT+02:00 Aleix Pol <aleixpol at kde.org>:

> On Fri, Oct 3, 2014 at 8:40 PM, darvark <marcin.iwaniuk at gmail.com> wrote:
>
>>  Hi,
>> 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
>> https://github.com/darvark/kdevplatform/plugins/scratchpad. Does anyone
>> met similar problem with any KDE app?
>>
>> Below output of ps axuf and console
>>
>> 114 darvark    983  0.0  0.2 323404 24268 ?        Ss   15:53   0:00
>> kdeinit4: kdeinit4 Running...
>>     115 darvark    984  0.0  0.2 331116 16696 ?        S    15:53   0:04
>> \_ kdeinit4: klauncher [kdeinit] --fd=9
>>     116 darvark   1010  0.0  0.2 506276 23904 ?        Sl   15:53   0:00
>> \_ kdeinit4: ksmserver [kdeinit]
>>     117 darvark   1065  0.3  0.8 2840628 66156 ?       Sl   15:53   0:46
>> |   \_ kwin -session 10d2eccc6e000140921935800000008860000_1412274585_1993
>>     118 darvark   1115  0.0  0.1 404072 15540 ?        Sl   15:53   0:00
>> \_ kdeinit4: nepomukserver [kdeinit]
>>     119 darvark   1119  1.9  0.4 1327024 38704 ?       SNl  15:53   4:20
>> |   \_ /usr/bin/nepomukservicestub nepomukstorage
>>     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
>>     121 darvark   1337  1.3  0.3 465464 29040 ?        SNl  15:54   3:05
>> |   \_ /usr/bin/nepomukservicestub nepomukfileindexer
>>     122 darvark   1340  0.3  0.4 467564 35020 ?        SNl  15:54   0:42
>> |   \_ /usr/bin/nepomukservicestub nepomukfilewatch
>>     123 darvark   1187  0.0  0.3 481076 27020 ?        Sl   15:54   0:01
>> \_ /usr/bin/pidgin --session 10d2eccc6e000141201200100000011160065
>> --display :0
>>     124 darvark   1277  0.0  0.6 514428 51504 ?        Ss   15:54   0:00
>> \_ python /usr/bin/hp-systray -x
>>     125 darvark   1297  0.2  0.1 154980 13124 ?        S    15:54   0:29
>> |   \_ python /usr/bin/hp-systray -x
>>     126 darvark   1298  0.0  0.1 126312 10892 ?        S    15:54   0:00
>> |       \_ python /usr/bin/hp-systray -x
>>     127 darvark   1278  0.0  0.3 373204 28184 ?        Sl   15:54   0:00
>> \_ /usr/bin/python /usr/bin/blueman-applet
>>     128 darvark   1352  0.1  0.2 230444 19776 ?        S    15:58   0:14
>> \_ /usr/bin/xchat
>>     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
>>     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
>>     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
>>     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
>>     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
>>     134 darvark    986  0.1  0.5 1105924 42548 ?       Sl   15:53   0:13
>> kdeinit4: kded4 [kdeinit]
>>
>>
>> and in console I have
>>
>> QIODevice::setTextModeEnabled: The device is not open
>> QIODevice::setTextModeEnabled: The device is not open
>> in scratchpadexecute
>> X Error: BadWindow (invalid Window parameter) 3
>>   Major opcode: 20 (X_GetProperty)
>>   Resource id:  0x600018d
>> file does not exists
>> QFSFileEngine::open: No file name specified
>> wrong
>> X Error: BadWindow (invalid Window parameter) 3
>>   Major opcode: 20 (X_GetProperty)
>>   Resource id:  0x60001aa
>> kdevelop(13786)/kdevdefinesandincludes CompilerProvider::projectClosed:
>> Removed project:  "KDevelop"
>> kdevelop(13786)/kdevdefinesandincludes CompilerProvider::projectClosed:
>> Removed project:  "kdevplatform"
>> X Error: BadWindow (invalid Window parameter) 3
>>   Major opcode: 20 (X_GetProperty)
>>   Resource id:  0x6000020
>>
>>
>> Br,
>> Marcin
>>
>
> I have never seen that. Is it maybe crashing? What do you mean by "after
> use of the plugin"?
>
> Maybe gdb or valgrind can give better clues.
>
> Aleix
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20141006/1a81af95/attachment-0001.html>


More information about the KDevelop-devel mailing list