[sip-comm-dev] Strange behaviour - related to bug 467


#1

All,

to get a better understanding of this problem I did some more tests.

My test environment:

SC_li - running on Linux, 64bit, openSuse 11.1, Java build 1.6.0_07-b06, 64bit hotspot server
SC_XP - running on Windows XP 32bit, Java build 1.6.0-b105, HotSpot Client VM
OLDCL - Is a old Minisp SIP client, running on a VMware player guest openSuse 10.2

Both SCs are from SVN, built with ant rebuild or ant make as appropriate
The systems are connected via standard LAN, Registrar is Kamailio bound to
another IP address (subnetwork)

Using this setup I always can reproduce the problems that the reports describe.

Some observations:
- the incoming call alert audio on SC_XP are not regular, the time differs between
  2.5 to 5.5 seconds (approx.). On SC_li it's every 2 seconds as expected

- When calling from SC_li to SC_XP the first time all works ok (mostly). Hanging
  up the call at SC_li: SC_XP correctly shows "call disconnected" but the call
  participant windows does not disappear at SC_XP after some second (5s is the
  timeout IIRC). A second call is not possible. Same behaviour when calling from
  SC_XP to SC_li: SC_li shows "disconnected" but the window does not disappear.

- calling from SC_li to OLDCL works. If OLDCL sends a hangup SC_li displays
  "Disconnected" and the window disappears after some seconds.

During my tests I sometimes get very strange exceptions - this time on SC_XP but I have
seen it on SC_li too. Look here:

     [java]
     [java] Welcome to Felix.
     [java] =================
     [java]
     [java] IOException in readRegistry: java.io.EOFException
     [java] javax.media.NotRealizedError: Cannot get visual component on an unrealized player
     [java] at com.sun.media.BasicPlayer.getVisualComponent(BasicPlayer.java:491)
     [java] at com.sun.media.MediaPlayer.getVisualComponent(MediaPlayer.java:48)
     [java] at net.java.sip.communicator.impl.media.CallSessionImpl.getVisualComponent(CallSessionImpl.java:3128)
     [java] at net.java.sip.communicator.impl.media.CallSessionImpl.getVisualComponents(CallSessionImpl.java:3102)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl.getVisualComponents(OperationSetVideoTelephonySipImpl.java:97)
     [java] at net.java.sip.communicator.impl.gui.main.call.CallParticipantPanel.handleVideoEvent(CallParticipantPanel.java:582)
     [java] at net.java.sip.communicator.impl.gui.main.call.CallParticipantPanel.access$200(CallParticipantPanel.java:32)
     [java] at net.java.sip.communicator.impl.gui.main.call.CallParticipantPanel$4.run(CallParticipantPanel.java:558)
     [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     [java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
     [java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
     [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
     [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
     [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
     [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
     [java] 11:42:33.123 WARNUNG: impl.media.CallSessionImpl.callStateChanged().2330 Stopping streaming.

BUILD SUCCESSFUL
Total time: 3 minutes 0 seconds

After having a look into the soure I wondered how this exception can happen: the
"getVisualCompontent()" method explictily catches this exception to detect unrealized
players. This exception does not pop up always but it may give a hint where to
look. My guess is a problem in one of the native libraries (I've seen other very
strange exceptions as well but unfortunately I didn't save the output).

I use wireshark to save the protocol traces and will have a look if I can see a relevant
difference between OLDCL calling/hangup and SC calling/hangup. I can provide
the wireshark data for further analysis.

Regards,
Werner

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net