Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 279693] New: [tcf] Channel opening never completing if "Hello" message is not answered

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279693  
Product/Component: Target Management / TCF
           Summary: [tcf] Channel opening never completing if "Hello"
                    message is not answered
           Product: Target Management
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: uwe.stieber@xxxxxxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx
                CC: eugene.tarassov@xxxxxxxxxxxxx


I've run in a probably very rare issue, but still an issue. In case the socket
to the remote TCF agent can be connected, the TCF channel implementation is
sending "Hello" to the local locator service (AbstractChannel.java, line 375).
Now, the expected incoming "Hello" event is never received, therefor the
channel listener is never signaled success or failure.

If this is happening, opening in example the "Home" filter of TCF File service
subsystem, it will linger forever with "Pending ..." and the corresponding job
"Fetching children of home: (0%)" never completes and cannot be canceled. The
corresponding stack trace is

Thread [Worker-8] (Suspended)   
        waiting for: Exception[]  (id=177)      
        Object.wait(long) line: not available [native method]   
        Exception[](Object).wait() line: 485    
        TCFConnectorService.internalConnect(IProgressMonitor) line: 55  
        TCFConnectorService(AbstractConnectorService).connect(IProgressMonitor)
line: 415       
        SystemFetchOperation.ensureConnected(SubSystem, IProgressMonitor) line:
303     
        SystemFetchOperation.execute(IProgressMonitor) line: 365        
        SystemFetchOperation.run(IProgressMonitor) line: 179    
       
SystemViewFilterReferenceAdapter(AbstractSystemViewAdapter).fetchDeferredChildren(Object,
IElementCollector, IProgressMonitor) line: 2290       
        DeferredTreeContentManager$1.run(IProgressMonitor) line: 234    
        Worker.run() line: 55   

Not sure why it happens, but a timeout waiting for the "Hello" response would
be seems to be desirable, wouldn't it?


-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top