Bug 80933

Summary: KURLRequester hangs forever if a QProcess is running
Product: [Unmaintained] kio Reporter: Bernhard Rosenkraenzer <bero>
Component: kioslaveAssignee: David Faure <faure>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test case

Description Bernhard Rosenkraenzer 2004-05-05 02:27:47 UTC
Version:           3.2.2 (using KDE KDE 3.2.2)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.3 
OS:          Linux

SSIA - if a QProcess is running, opening the dialog from a KURLRequester takes forever.

If you remove the _p->start(); line from the test case I'm attaching, everything works as expected.
If you leave it in, the UI comes up, and when you open the file selector dialog via the KURLRequester, it hangs forever.

Tested on KDE 3.2.2 with Qt 3.3.2 (qt-copy from today's CVS)
Comment 1 Bernhard Rosenkraenzer 2004-05-05 02:30:13 UTC
Created attachment 5884 [details]
Test case

Test case demonstrating the problem
Comment 2 Bernhard Rosenkraenzer 2004-05-05 03:04:16 UTC
I've just verified that replacing the QProcess with a KProcess is a workaround for the problem -- nevertheless it should probably be addressed, it may well be the root of other issues
Comment 3 Waldo Bastian 2004-08-11 22:45:22 UTC
Qt bug: Qt installs a signal handler for SIGCHLD and does not call any previously installed SIGCHLD handler.