Bug 108270 - Error listening on socket: -1
Summary: Error listening on socket: -1
Status: RESOLVED NOT A BUG
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 15:12 UTC by Balaji Krishnamoorthy
Modified: 2005-09-06 23:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balaji Krishnamoorthy 2005-06-28 15:12:42 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs
OS:                Linux

Operating system : RedHat EL WS 3.0 ( Taroon Update 2 )

KDE VERSION: KDE 3.4.0

gcc version: 3.2.3 20030502

Hi
Iam running a UML application ( Umbrello ) on KDE 3.4.0. The application opens fine and is able to open header files also. After setting up clear case ( Rational software ) views, the application is not able to open the header files( it does not display the header files under a particular directory which it was able to before setting up the clear case views) and throws the following error.
####################################################################################
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-x00cmagi/ksycoca
kio (KSycoca): Could not open ksycoca
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-x00cmagi/ksycoca
kio (KSycoca): Could not open ksycoca

kdecore (KSocket): WARNING: Error listening on socket: -1
kio (Slave): slave failed to connect to application pid=12848 protocol=file
kio (Slave): Houston, we lost our slave, pid=12848
kio (Slave): slave died pid = 12848
kio (KDirListerCache): [void KDirListerCache::slotResult (KIO::Job *)] finished listing 


file:///user/x00cmagi
kio (KDirLister): [void KDirLister::stop ()]
kio (KDirListerCache): [void KDirListerCache::stop (KDirLister *)] lister: 0x84d2be0
kio (KDirLister): -KDirLister
kio (KDirLister): [void KDirLister::stop ()]
kio (KDirListerCache): [void KDirListerCache::stop (KDirLister *)] lister: 0x84d2be0
kio (KDirListerCache): [void KDirListerCache::forgetDirs (KDirLister *)] 0x84d2be0
kio (KDirListerCache): [void KDirListerCache::forgetDirs (KDirLister *, const KURL &, bool)] 0x84d2be0 _url: file:///user/x00cmagi
kio (KDirWatch): Cancelled FAM (Req 1) for /user/x00cmagi
kio (KDirWatch): Removed Dir /user/x00cmagi [KDirWatch-1]
kio (KDirWatch): KDirWatch deleted (FAM closed)
kio (KDirListerCache): -KDirListerCache
#######################################################################################


Iam more interested towards the following lines from the above error messages.

kdecore (KSocket): WARNING: Error listening on socket: -1
kio (Slave): slave failed to connect to application pid=12848 protocol=file
kio (Slave): Houston, we lost our slave, pid=12848
kio (Slave): slave died pid = 12848
kio (KDirListerCache): [void KDirListerCache::slotResult (KIO::Job *)] finished listing 


Pl let me know if it's something to do with conflicts on the ports used by clear case and kde. 

TIA
Balaji.k
Comment 1 Sebastian Stein 2005-06-29 07:41:03 UTC
What are you trying to do? It is really not clear what you are talking about? Are the files you want to load on a network share? Where do you set up clearcase, on the same station? Is clearcase running on Linux?
Comment 2 Balaji Krishnamoorthy 2005-06-29 09:02:42 UTC
Hi

Thanks for the reply. Iam running a UML Modeller application "Umbrello" on the linux workstation. The application is installed on a network share . clearcase is setup on the same station and it's running on linux. 

Problem is: Before setting up the clear case views, everything works fine i.e the KDE  dialog box to open files displays all the files. 

After I set up the clear case views i.e after I invoke the clear case shell, the dialog box doesn't show the files present and throws error saying " file protocol died unexpectedly". 

The .xsession_errors throws the errors I have pasted below.

##########################################################
kdecore (KSocket): WARNING: Error listening on socket: -1
kio (Slave): slave failed to connect to application pid=12848 protocol=file
kio (Slave): Houston, we lost our slave, pid=12848
kio (Slave): slave died pid = 12848
kio (KDirListerCache): [void KDirListerCache::slotResult (KIO::Job *)] finished listing
###########################################################
Pl let me know if it was clear or I could give you more clear info.

Thanks
Balaji.k
Comment 3 Balaji Krishnamoorthy 2005-06-30 09:30:24 UTC
Dear all

Any further inputs required? 
Comment 4 Sebastian Stein 2005-06-30 14:42:13 UTC
Balaji Krishnamoorthy <meetbaji@yahoo.com> [050629 13:06]:
> Thanks for the reply. Iam running a UML Modeller application "Umbrello" on
> the linux workstation. The application is installed on a network share .
> clearcase is setup on the same station and it's running on linux. 
> 
> Problem is: Before setting up the clear case views, everything works fine
> i.e the KDE  dialog box to open files displays all the files. 
> 
> After I set up the clear case views i.e after I invoke the clear case
> shell, the dialog box doesn't show the files present and throws error
> saying " file protocol died unexpectedly". 
> 
> The .xsession_errors throws the errors I have pasted below.
> 
> ##########################################################
> kdecore (KSocket): WARNING: Error listening on socket: -1
> kio (Slave): slave failed to connect to application pid=12848 protocol=file
> kio (Slave): Houston, we lost our slave, pid=12848
> kio (Slave): slave died pid = 12848
> kio (KDirListerCache): [void KDirListerCache::slotResult (KIO::Job *)] finished listing
> ###########################################################
> Pl let me know if it was clear or I could give you more clear info.


I'm really not sure, if this is related to Umbrello. As you said without
installing clear case everything works fine. After you installed clear case
something is messed up. I think the clear case people are providing some
kind of support, so I would call them.

Sebastian
Comment 5 Balaji Krishnamoorthy 2005-06-30 15:44:00 UTC
Sebastian

Thanks much for your help. It's true that clear case messes up. I checked out the changes in env before and after invoking clearcase but couldn't find much useful. 
Iam digging into that more. 

pl let me know if clear case could get you some inputs.

Thanks again
Comment 6 Oliver Kellogg 2005-06-30 21:11:47 UTC
At http://people.fruitsalad.org/phil/kde/userguide-tng/environment-variables.html I see the following:

$KDE_FORK_SLAVES (KDE 3.2.3) 
Set this variable to spawn KIO-slaves directly from the application process itself, by default KIO-slaves are spawned using klauncher/kdeinit. This option is useful if the KIO-slave should run in the same environment as the application, this can be the case with Clearcase.

Comment 7 Balaji Krishnamoorthy 2005-07-02 11:18:45 UTC
Hi Oliver/Sebastian

Thanks for your time on this. I"ll try your suggestions soon as the test environment is not available and get back to you.

Thanks again
Comment 8 Oliver Kellogg 2005-09-06 23:21:17 UTC
Please reopen if need be.