issue getting plasma6 running on NetBSD

Mark Davies <[email protected]>
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
Trying to get plasma6 running on NetBSD and I currently have 1 issue 
that I can't sort out:

Both dolphin and plasmashell have a couple of minute pause at startup 
where they are unresponsive which I have tracked down to the calling of 
/usr/pkg/bin/testparm and /usr/pkg/bin/net from samba4 in kf6-kio's
src/core/ksambashare.cpp

The code should call each program as a subprocess and then parse the 
output  but instead get the output:

QProcess: Destroyed while process ("/usr/pkg/bin/testparm") is still 
running.
QProcess: Destroyed while process ("/usr/pkg/bin/net") is still running.


If I trace dolphin I see it execing testparm at 1.47 seconds in and 
testparm successfully calling exit(0) at 1.50 seconds in
then 30 seconds later dolphin writes the QProcess: Destroyed... and 
executes a kill on the testparm process
then after another 30 seconds repeats the same thing with net (1659)
which again runs to completion in less than a second this time ending 
with an exit(0xffffffff)  and 30 seconds later prints the QProcess: 
Destroyed... and executes a kill on the net process.  30 seconds after 
that dolphin start to respond to inputs.

At no point does dolphin get a SIGCHLD for either process.

ksambashare.cpp is just calling the standard QT process handling:

     QProcess process;
     process.setProcessChannelMode(QProcess::SeparateChannels);
     process.start(fullExecutablePath, args);
     // TODO: make it async in future
     process.waitForFinished();


any ideas?

The full ktrace is at
https://homepages.ecs.vuw.ac.nz/~mark/ktrace.out.xz if you want to see it.


cheers
mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.