[sip-comm-issues] [Issue 747] New - PortAudio lock up on hangup, no further calls can be created

damencho at dev.java.net damencho at dev.java.net
Mon Jan 4 15:48:28 CET 2010


https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=747
                 Issue #|747
                 Summary|PortAudio lock up on hangup, no further calls can be c
                        |reated
               Component|sip-communicator
                 Version|current
                Platform|All
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|development
             Assigned to|issues at sip-communicator
             Reported by|damencho






------- Additional comments from damencho at dev.java.net Mon Jan  4 14:48:28 +0000 2010 -------
Sometimes on hangup, closing media streams blocks the jni calls and never
returns which prevents any later call creation. With stack dumps we can see the
blocked jni call to PortAudio Read method.

Reported by Werner.
"PortAudio did not recover well from overruns, in fact it caused the portaudio
read function to enter an endless loop. After an overrun portaudio did not
restart the PCM capture device before it tried to get data and thus entered the
loop."
This was reported to PortAudio mailing list by Werner (Subject: Some problems
with ALSA and some patches to fix them), a patch was applied.

I think I have also seen this overrun and endless loop blocking device call and
durring call, which stopped media.

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





More information about the issues mailing list