[pulseaudio-tickets] [PulseAudio] #613: PulseAudio prevents ekiga from answering sip call

PulseAudio trac-noreply at tango.0pointer.de
Thu Jul 30 05:14:40 PDT 2009


#613: PulseAudio prevents ekiga from answering sip call
------------------------+---------------------------------------------------
 Reporter:  aseibert88  |       Owner:  lennart
     Type:  defect      |      Status:  new    
Milestone:              |   Component:  daemon 
 Keywords:              |  
------------------------+---------------------------------------------------
 Ticket that was placed with Gnome bugzilla:


 Opened by Aaron Seibert (reporter, points: 2)
 2009-07-28 20:59 UTC [reply]

 Steps to reproduce:
 1. Configure Ekiga for Asterisk Sip account
 2. Set ekiga client and sip.conf entry to only allow ulaw
 3. Call ekiga client, and push accept on the incoming call popup

 Call will not pick up, and ekiga then "soft"crashes (becomes unresponsive)


 Stack trace:
 2009/07/28 16:51:02.911   0:18.543                              OpalCon
 SetPhase from AlertingPhase to ConnectedPhase for
 Call[d3849c1fa1]-EP<pc>[o744b388c2]
 2009/07/28 16:51:02.911   0:18.543                              OpalCon
 OnConnected for Call[d3849c1fa1]-EP<pc>[o744b388c2]
 2009/07/28 16:51:02.911   0:18.543                              OpalMan
 OnConnected Call[d3849c1fa1]-EP<pc>[o744b388c2]
 2009/07/28 16:51:02.911   0:18.543                              Call
 OnConnected Call[d3849c1fa1]-EP<pc>[o744b388c2]
 2009/07/28 16:51:02.911   0:18.543                              SIP
 SetConnected
 2009/07/28 16:51:02.912   0:18.544                              SDP
 Media
 session port=11282
 2009/07/28 16:51:02.912   0:18.544                              SDP
 Unknown
 media attribute silenceSupp
 2009/07/28 16:51:02.912   0:18.544                              SDP
 Unknown
 media attribute ptime
 2009/07/28 16:51:02.912   0:18.545                              SDP
 Parsed
 media session with 9 'audio' formats
 2009/07/28 16:51:02.912   0:18.545                              SDP
 Could
 not find media format for "AAL2-G726-32", pt=[pt=112], clock=8000
 2009/07/28 16:51:02.912   0:18.545                              SDP
 Could
 not find media format for "DVI4", pt=DVI4_8k, clock=8000
 2009/07/28 16:51:02.912   0:18.545                              SDP
 Could
 not find media format for "L16", pt=L16_Stereo, clock=8000
 2009/07/28 16:51:02.912   0:18.545                              SDP
 Could
 not find media format for "LPC", pt=LPC, clock=8000
 2009/07/28 16:51:02.912   0:18.545                              Call
 GetOtherPartyConnection
 Call[d3849c1fa1]-EP<sip>[32079d03-267a-de11-8374-001cc0a150d7]
 2009/07/28 16:51:02.912   0:18.545                              Call
 IsMediaBypassPossible
 Call[d3849c1fa1]-EP<sip>[32079d03-267a-de11-8374-001cc0a150d7] session 1
 2009/07/28 16:51:02.913   0:18.545                              OpalMan
 IsMediaBypassPossible: session 1
 2009/07/28 16:51:02.913   0:18.545                              OpalCon
 IsMediaBypassPossible: default returns false
 2009/07/28 16:51:02.913   0:18.545                              RTP
 Cannot
 find RTP session 1
 2009/07/28 16:51:02.913   0:18.546                              RTP_UDP
 Session
 1, created with NAT flag set to 0
 2009/07/28 16:51:02.913   0:18.546                              PWLib
 File
 handle high water mark set: 63 PUDPSocket
 2009/07/28 16:51:02.913   0:18.546                              PWLib
 File
 handle low water mark set: 62 PUDPSocket
 2009/07/28 16:51:02.913   0:18.546                              RTP_UDP
 Session
 1 created: 206.174.128.60:5062-5063 ssrc=189448269
 2009/07/28 16:51:02.914   0:18.546                              PWLib
 File
 handle high water mark set: 64 PUDPSocket
 2009/07/28 16:51:02.914   0:18.547                              RTP
 Creating new session RTP_UDP
 2009/07/28 16:51:02.915   0:18.547                              RTP_UDP
 Session
 1, SetRemoteSocketInfo: data channel, new=206.174.130.45:11282,
 local=206.174.128.60:5062-5063, remote=0.0.0.0:0-0
 2009/07/28 16:51:02.915   0:18.547                              RTP
 Found
 existing media session 1
 2009/07/28 16:51:02.915   0:18.548                              SIP
 RTP
 payload type PCMU matched to codec G.711-uLaw-64k
 2009/07/28 16:51:02.915   0:18.548                              SIP
 RTP
 payload type GSM matched to codec GSM-06.10
 2009/07/28 16:51:02.915   0:18.548                              SIP
 RTP
 payload type PCMA matched to codec G.711-ALaw-64k
 2009/07/28 16:51:02.915   0:18.548                              SIP
 RTP
 payload type [pt=111] matched to codec G.726-32k
 2009/07/28 16:51:02.915   0:18.548
 MediaFormat
 Removing codecs
 PCM-16-48kHz,PCM-16-32kHz,PCM-16-16kHz,G.722-64k,SpeexIETFWide-20.6k,SpeexWB,SpeexWide-20.6k,PCM-16,G.711
 -ALaw-64k,G.726-16k,G.726-24k,G.726-32k,G.726-40k,GSM-06.10,GSM-AMR,LPC-10
 ,MS-GSM,MS-IMA-ADPCM,SpeexIETFNarrow-11k,SpeexIETFNarrow-
 15k,SpeexIETFNarrow-18.2k,SpeexIETFNarrow-24.6k,SpeexIETFNarrow-5.95k
 ,SpeexIETFNarrow-8k,SpeexNB,SpeexWNarrow-
 8k,YUV420P,RFC4175_YCbCr-4:2:0,RGB32,RGB24,RFC4175_RGB,SIP-
 IM,T.140,H.224/H323AnnexQ,H.224/HDLCTunneling,Linear-16-Stereo-48kHz
 2009/07/28 16:51:02.915   0:18.548                              Call
 OpenSourceMediaStreams opening audio session 1 on
 Call[d3849c1fa1]-EP<sip>[32079d03-267a-de11-8374-001cc0a150d7]
 2009/07/28 16:51:02.918   0:18.551
 MediaFormat
 Removing codecs
 PCM-16-48kHz,PCM-16-32kHz,PCM-16-16kHz,G.722-64k,SpeexIETFWide-20.6k,SpeexWB,SpeexWide-20.6k,PCM-16,G.711
 -ALaw-64k,G.726-16k,G.726-24k,G.726-32k,G.726-40k,GSM-06.10,GSM-AMR,LPC-10
 ,MS-GSM,MS-IMA-ADPCM,SpeexIETFNarrow-11k,SpeexIETFNarrow-
 15k,SpeexIETFNarrow-18.2k,SpeexIETFNarrow-24.6k,SpeexIETFNarrow-5.95k
 ,SpeexIETFNarrow-8k,SpeexNB,SpeexWNarrow-
 8k,YUV420P,RFC4175_YCbCr-4:2:0,RGB32,RGB24,RFC4175_RGB,SIP-
 IM,T.140,H.224/H323AnnexQ,H.224/HDLCTunneling,Linear-16-Stereo-48kHz
 2009/07/28 16:51:02.919   0:18.551
 MediaFormat
 Removing codecs
 PCM-16-48kHz,PCM-16-32kHz,PCM-16-16kHz,G.722-64k,SpeexIETFWide-20.6k,SpeexWB,SpeexWide-20.6k,PCM-16,G.711
 -ALaw-64k,G.726-16k,G.726-24k,G.726-32k,G.726-40k,GSM-06.10,GSM-AMR,LPC-10
 ,MS-GSM,MS-IMA-ADPCM,SpeexIETFNarrow-11k,SpeexIETFNarrow-
 15k,SpeexIETFNarrow-18.2k,SpeexIETFNarrow-24.6k,SpeexIETFNarrow-5.95k
 ,SpeexIETFNarrow-8k,SpeexNB,SpeexWNarrow-
 8k,YUV420P,RFC4175_YCbCr-4:2:0,RGB32,RGB24,RFC4175_RGB,SIP-
 IM,T.140,H.224/H323AnnexQ,H.224/HDLCTunneling,Linear-16-Stereo-48kHz
 2009/07/28 16:51:02.919   0:18.551                              Call
 GetMediaFormats for
 Call[d3849c1fa1]-EP<sip>[32079d03-267a-de11-8374-001cc0a150d7]
 G.711-uLaw-64k
 theora
 H.261
 H.261-CIF
 H.261-QCIF

 2009/07/28 16:51:02.919   0:18.552
 MediaFormat
 Merging G.711-uLaw-64k into G.711-uLaw-64k
 2009/07/28 16:51:02.919   0:18.552
 MediaFormat
 Merging PCM-16 into G.711-uLaw-64k
 2009/07/28 16:51:02.919   0:18.552
 MediaFormat
 Merging G.711-uLaw-64k into PCM-16
 2009/07/28 16:51:02.919   0:18.552
 MediaFormat
 Changed media option "Max Bit Rate" from 128000 to 64000
 2009/07/28 16:51:02.919   0:18.552                              Call
 Selected media formats G.711-uLaw-64k -> PCM-16
 2009/07/28 16:51:02.919   0:18.552
 SIPConnection::OpenMediaStream called with G.711-uLaw-64k, 1, 1
 2009/07/28 16:51:02.919   0:18.552                              Call
 IsMediaBypassPossible
 Call[d3849c1fa1]-EP<sip>[32079d03-267a-de11-8374-001cc0a150d7] session 1
 2009/07/28 16:51:02.920   0:18.552                              OpalMan
 IsMediaBypassPossible: session 1
 2009/07/28 16:51:02.920   0:18.552                              OpalCon
 IsMediaBypassPossible: default returns false
 2009/07/28 16:51:02.920   0:18.552                              RTP
 Found
 existing media session 1
 2009/07/28 16:51:02.920   0:18.552                              OpalMan
 OnOpenMediaStream
 Call[d3849c1fa1]-EP<sip>[32079d03-267a-de11-8374-001cc0a150d7
 ],OpalRTPMediaStream-Source-G.711-uLaw-64k
 2009/07/28 16:51:02.920   0:18.552                              OpalCon
 Opened
 source stream d3849c1fa1_1 with format G.711-uLaw-64k

 Other information:
 This works fine with all other soft and hardphones that I've tried.
 Rejecting
 the call works, and all outgoing calls from client work.


 Comment #1 from Eugen Dedu (ekiga developer, points: 15)
 2009-07-28 21:11 UTC [reply]

 Aaron, what ekiga version do you use?


 Comment #2 from Aaron Seibert (reporter, points: 2)
 2009-07-28 23:11 UTC [reply]

 3.2.5


 Comment #3 from Damien Sandras (ekiga developer, points: 20)
 2009-07-29 06:25 UTC [reply]

 What distribution?
 How was Ekiga built?

 Obviously, it works for others, so such a weird bug is surprising.


 Comment #4 from Aaron Seibert (reporter, points: 2)
 2009-07-29 12:05 UTC [reply]

 Fedora 11 x86_64, installed from yum repo

 What makes it even more wierd is that it works fine for me at home, F11
 x86.  A
 quick look at /var/log/messages shows nothing as well.  Maybe ekiga isn't
 playing nice with one or more apps that I have running on my work
 computer?


 Comment #5 from Eugen Dedu (ekiga developer, points: 15)
 2009-07-29 14:44 UTC [reply]

 Aaron, please try again inside gdb, as shown on the wiki debugging
 section, and
 attach the output.


 Comment #6 from Aaron Seibert (reporter, points: 2)
 2009-07-29 17:27 UTC [reply]

 Created an attachment (id=139490) [edit]
 Stack trace from Ekiga


 Comment #7 from Aaron Seibert (reporter, points: 2)
 2009-07-29 17:31 UTC [reply]

 (From update of attachment 139490 [edit])
 (gdb) thread apply all bt

 Thread 15 (Thread 0x7f755fef3910 (LWP 2808)):
 #0  0x00000038ddcd4f73 in *__GI___poll (fds=<value optimized out>,
     nfds=<value optimized out>, timeout=1499)
     at ../sysdeps/unix/sysv/linux/poll.c:87
 #1  0x000000332c2337f3 in poll_func (ufds=0x7f7550002800, nfds=2,
     timeout=1499, userdata=0x7f7594005cc0) at pulse/thread-mainloop.c:71
 #2  0x000000332c2212c4 in pa_mainloop_poll (m=0x7f7594005d80)
     at pulse/mainloop.c:857
 #3  0x000000332c221673 in pa_mainloop_iterate (m=0x7f7594005d80, block=1,
     retval=0x0) at pulse/mainloop.c:923
 #4  0x000000332c2216e6 in pa_mainloop_run (m=0x7f7594005d80, retval=0x0)
     at pulse/mainloop.c:941
 #5  0x000000332c233870 in thread (userdata=0x7f7594005d40)
     at pulse/thread-mainloop.c:90
 #6  0x00007f755eed2c47 in internal_thread_func (userdata=0x7f759400d6b0)
 ---Type <return> to continue, or q <return> to quit---
     at pulsecore/thread-posix.c:72
 #7  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #8  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #9  0x0000000000000000 in ?? ()

 Thread 13 (Thread 0x7f7561ffc910 (LWP 2806)):
 #0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
 #1  0x00007f75aadc4a2d in PSemaphore::Wait (this=<value optimized out>)
     at ptlib/unix/tlibthrd.cxx:1126
 #2  0x00007f75aadf019f in PSafeObject::LockReadWrite (this=0x7f7588047d50)
     at ptlib/common/safecoll.cxx:133
 #3  0x00007f75aadf021f in PSafeLockReadWrite::PSafeLockReadWrite (
     this=0x7f7561ffbe10, object=@0x80) at ptlib/common/safecoll.cxx:205
 #4  0x00007f75ab9b046a in SIPConnection::OnReceivedPDU
 (this=0x7f7588047d50,
 ---Type <return> to continue, or q <return> to quit---
     pdu=@0x7f75880233c0) at
 /usr/src/debug/opal-3.6.4/src/sip/sipcon.cxx:1429
 #5  0x00007f75ab99a16d in SIPEndPoint::SIP_PDU_Work::OnReceivedPDU (
     this=0x7f7588011a40) at
 /usr/src/debug/opal-3.6.4/src/sip/sipep.cxx:1633
 #6  0x00007f75ab99a597 in SIPEndPoint::SIP_PDU_Thread::Main (
     this=0x7f758804c260) at
 /usr/src/debug/opal-3.6.4/src/sip/sipep.cxx:1590
 #7  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0x7f758804c260)
     at ptlib/unix/tlibthrd.cxx:437
 #8  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #9  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #10 0x0000000000000000 in ?? ()
 Current language:  auto; currently minimal

 Thread 12 (Thread 0x7f75a24d2910 (LWP 2211)):
 #0  pthread_cond_wait@@GLIBC_2.3.2 ()
     at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
 ---Type <return> to continue, or q <return> to quit---
 #1  0x00007f75aadc549f in PSyncPoint::Wait (this=0xa56bf0)
     at ptlib/unix/tlibthrd.cxx:1499
 #2  0x0000000000517d85 in Ekiga::VideoInputCore::VideoPreviewManager::Main
 (
     this=0xa56a30) at ../../../lib/engine/videoinput/videoinput-
 core.cpp:108
 #3  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xa56a30)
     at ptlib/unix/tlibthrd.cxx:437
 #4  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #5  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #6  0x0000000000000000 in ?? ()
 Current language:  auto; currently asm

 Thread 11 (Thread 0x7f75a2491910 (LWP 2212)):
 #0  __pthread_mutex_lock_full (mutex=0x7f7594005cc0)
     at pthread_mutex_lock.c:291
 #1  0x00007f755eed21f3 in pa_mutex_lock (m=0x7f7594005cc0)
 ---Type <return> to continue, or q <return> to quit---
     at pulsecore/mutex-posix.c:90
 #2  0x000000332c233e84 in pa_threaded_mainloop_lock (m=0x7f7594005d40)
     at pulse/thread-mainloop.c:172
 #3  0x00007f755f0ec968 in snd_config_iterator_end () at conf.c:3189
 #4  0x00000038ec691692 in snd_pcm_ioplug_hw_ptr_update
 (pcm=0x7f759400fb70)
     at pcm_ioplug.c:56
 #5  0x00000038ec691f25 in snd_pcm_ioplug_avail_update (pcm=0x7f7594005cc0)
     at pcm_ioplug.c:627
 #6  0x00000038ec653414 in snd1_pcm_write_areas (pcm=0x7f759400fb70,
     areas=0x7f75a2490bf0, offset=0, size=441,
     func=0x38ec692030 <ioplug_priv_transfer_areas>) at pcm.c:6633
 #7  0x00000038ec6923ba in snd_pcm_ioplug_writei (pcm=0x7f759400fb70,
     buffer=<value optimized out>, size=441) at pcm_ioplug.c:561
 #8  0x00007f75a39c49eb in PSoundChannelALSA::Write (this=0x7f75940011a0,
     buf=<value optimized out>, len=1764) at sound_alsa.cxx:401
 #9  0x0000000000599c1b in GMAudioOutputManager_ptlib::set_frame_data (
 ---Type <return> to continue, or q <return> to quit---
     this=0xa5ab20, ps=Ekiga::primary, data=0x21 <Address 0x21 out of
 bounds>,
     size=17, bytes_written=@0x0)
     at
 ../../../../lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp:183
 #10 0x000000000052328f in Ekiga::AudioOutputCore::internal_play (
     this=0xa56e60, ps=<value optimized out>, buffer=<value optimized out>,
     len=<value optimized out>, channels=<value optimized out>,
     sample_rate=<value optimized out>, bps=16)
     at ../../../lib/engine/audiooutput/audiooutput-core.cpp:484
 #11 0x000000000052401c in Ekiga::AudioOutputCore::play_buffer
 (this=0xa56e60,
     ps=<value optimized out>, buffer=<value optimized out>, len=258184,
     channels=2, sample_rate=44100, bps=16)
     at ../../../lib/engine/audiooutput/audiooutput-core.cpp:340
 #12 0x000000000056ee60 in Ekiga::AudioEventScheduler::Main (this=0xa57020)
     at ../../../lib/engine/audiooutput/audiooutput-scheduler.cpp:95
 #13 0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xa57020)
 ---Type <return> to continue, or q <return> to quit---
     at ptlib/unix/tlibthrd.cxx:437
 #14 0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #15 0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #16 0x0000000000000000 in ?? ()

 Thread 10 (Thread 0x7f75a2450910 (LWP 2213)):
 #0  pthread_cond_wait@@GLIBC_2.3.2 ()
     at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
 #1  0x00007f75aadc549f in PSyncPoint::Wait (this=0xa590d8)
     at ptlib/unix/tlibthrd.cxx:1499
 #2  0x00000000005bcb0d in GMVideoOutputManager::Main (this=0xa58e90)
     at
 ../../../../lib/engine/components/common-videooutput/videooutput-manager-
 common.cpp:88
 #3  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xa58e90)
 ---Type <return> to continue, or q <return> to quit---
     at ptlib/unix/tlibthrd.cxx:437
 #4  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #5  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #6  0x0000000000000000 in ?? ()
 Current language:  auto; currently minimal

 Thread 9 (Thread 0x7f75a240f910 (LWP 2214)):
 #0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
     at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
 #1  0x00007f75aadc557a in PSyncPoint::Wait (this=0xa690f8,
     waitTime=<value optimized out>) at ptlib/unix/tlibthrd.cxx:1517
 #2  0x00007f75ab535127 in OpalManager::GarbageMain (this=0xa68740)
     at /usr/src/debug/opal-3.6.4/src/opal/manager.cxx:1546
 #3  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xa67c20)
     at ptlib/unix/tlibthrd.cxx:437
 ---Type <return> to continue, or q <return> to quit---
 #4  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #5  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #6  0x0000000000000000 in ?? ()
 Current language:  auto; currently asm

 Thread 8 (Thread 0x7f75a23ce910 (LWP 2215)):
 #0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
     at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
 #1  0x00007f75aadc557a in PSyncPoint::Wait (this=0x992938,
     waitTime=<value optimized out>) at ptlib/unix/tlibthrd.cxx:1517
 #2  0x00007f75aade3bf4 in PInterfaceMonitor::UpdateThreadMain
 (this=0x992840)
     at ptclib/psockbun.cxx:258
 #3  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xaf28b0)
     at ptlib/unix/tlibthrd.cxx:437
 #4  0x00000038de80686a in start_thread (arg=<value optimized out>)
 ---Type <return> to continue, or q <return> to quit---
     at pthread_create.c:297
 #5  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #6  0x0000000000000000 in ?? ()

 Thread 7 (Thread 0x7f75a238d910 (LWP 2216)):
 #0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
 #1  0x00007f75aadc4a2d in PSemaphore::Wait (this=<value optimized out>)
     at ptlib/unix/tlibthrd.cxx:1126
 #2  0x00007f75aadf019f in PSafeObject::LockReadWrite (this=0x7f7588047260)
     at ptlib/common/safecoll.cxx:133
 #3  0x00007f75ab55b4cd in OpalCall::Clear (this=0x7f7588047260,
     reason=OpalConnection::EndedByNoAnswer, sync=0x0)
     at /usr/src/debug/opal-3.6.4/src/opal/call.cxx:107
 #4  0x000000000057f8e7 in Opal::Call::OnNoAnswerTimeout
 (this=0x7f7588047260)
     at ../../../../lib/engine/components/opal/opal-call.cpp:686
 ---Type <return> to continue, or q <return> to quit---
 #5  0x00007f75aade9c1a in PTimer::Process (this=0x7f7588047760,
     delta=<value optimized out>, minTimeLeft=@0x7f75a238ce70)
     at ptlib/common/osutils.cxx:831
 #6  0x00007f75aadeb7a5 in PTimerList::Process (this=0x8687b0)
     at ptlib/common/osutils.cxx:958
 #7  0x00007f75aadc59b0 in PHouseKeepingThread::Main (this=0xaf2b60)
     at ptlib/unix/tlibthrd.cxx:125
 #8  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xaf2b60)
     at ptlib/unix/tlibthrd.cxx:437
 #9  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #10 0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #11 0x0000000000000000 in ?? ()

 Thread 6 (Thread 0x7f75a234c910 (LWP 2217)):
 ---Type <return> to continue, or q <return> to quit---
 #0  0x00000038ddcd6fa2 in select () from /lib64/libc.so.6
 #1  0x00007f75aadb91c9 in PSocket::Select (read=<value optimized out>,
     write=<value optimized out>, except=<value optimized out>,
     timeout=<value optimized out>) at ptlib/unix/socket.cxx:332
 #2  0x00007f75aaddaa01 in PSocket::Select (read=@0x7f75a234bd20,
     timeout=@0x7f75a234bf50) at ptlib/common/sockets.cxx:1042
 #3  0x00007f75aade452a in PMonitoredSockets::ReadFromSocket
 (this=0xaf45a0,
     readers=@0x7f75a234bd20, socket=@0x7f75a234bd48,
     buf=<value optimized out>, len=65536, addr=@0x7f75a234be30,
     port=@0x7f75a234be0e, lastReadCount=@0x7f75a234be08,
     timeout=@0x7f75a234bf50) at ptclib/psockbun.cxx:588
 #4  0x00007f75aade4b35 in PMonitoredSocketBundle::ReadFromBundle (
     this=0xaf45a0, buf=<value optimized out>, len=<value optimized out>,
     addr=<value optimized out>, port=<value optimized out>, iface=
     @0x7f75a234bdb0, lastReadCount=@0x7f75a234be08,
 timeout=@0x7f75a234bf50)
     at ptclib/psockbun.cxx:992
 ---Type <return> to continue, or q <return> to quit---
 #5  0x00007f75ab58cd53 in OpalListenerUDP::Accept (this=0xaf2830,
     timeout=@0x7f75a234bf50)
     at /usr/src/debug/opal-3.6.4/src/opal/transports.cxx:734
 #6  0x00007f75ab58a58d in OpalListener::ListenForConnections
 (this=0xaf2830,
     thread=<value optimized out>)
     at /usr/src/debug/opal-3.6.4/src/opal/transports.cxx:472
 #7  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xaf5340)
     at ptlib/unix/tlibthrd.cxx:437
 #8  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #9  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #10 0x0000000000000000 in ?? ()

 Thread 5 (Thread 0x7f75a230b910 (LWP 2218)):
 #0  0x00000038ddcd6fa2 in select () from /lib64/libc.so.6
 ---Type <return> to continue, or q <return> to quit---
 #1  0x00007f75aadc295c in PThread::PXBlockOnIO (this=0xaf8d10, handle=37,
     type=2, timeout=<value optimized out>) at ptlib/unix/tlibthrd.cxx:983
 #2  0x00007f75aadbc2d8 in PChannel::PXSetIOBlock (this=0xaf88c8,
     type=PChannel::PXAcceptBlock, timeout=<value optimized out>)
     at ptlib/unix/channel.cxx:120
 #3  0x00007f75aadb6fea in PSocket::os_accept (this=0x7f757c000990,
     listener=@0xaf88c8, addr=0x7f75a230acf0, size=0x7f75a230acec)
     at ptlib/unix/socket.cxx:210
 #4  0x00007f75aadd8d94 in PTCPSocket::Accept (this=0x7f757c000990,
     socket=@0xaf88c8) at ptlib/common/sockets.cxx:2357
 #5  0x00007f75ab58ed5e in OpalListenerTCP::Accept (this=0xaf8870,
     timeout=<value optimized out>)
     at /usr/src/debug/opal-3.6.4/src/opal/transports.cxx:625
 #6  0x00007f75ab58a58d in OpalListener::ListenForConnections
 (this=0xaf8870,
     thread=<value optimized out>)
     at /usr/src/debug/opal-3.6.4/src/opal/transports.cxx:472
 ---Type <return> to continue, or q <return> to quit---
 #7  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0xaf8d10)
     at ptlib/unix/tlibthrd.cxx:437
 #8  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #9  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #10 0x0000000000000000 in ?? ()
 Current language:  auto; currently minimal

 Thread 4 (Thread 0x7f75a2289910 (LWP 2220)):
 #0  0x00000038ddcd4f73 in *__GI___poll (fds=<value optimized out>,
     nfds=<value optimized out>, timeout=-1)
     at ../sysdeps/unix/sysv/linux/poll.c:87
 #1  0x000000332783b05c in g_main_context_poll (n_fds=<value optimized
 out>,
     fds=<value optimized out>, priority=<value optimized out>,
     timeout=<value optimized out>, context=<value optimized out>)
     at gmain.c:2768
 ---Type <return> to continue, or q <return> to quit---
 #2  g_main_context_iterate (n_fds=<value optimized out>,
     fds=<value optimized out>, priority=<value optimized out>,
     timeout=<value optimized out>, context=<value optimized out>)
     at gmain.c:2450
 #3  0x000000332783b6d5 in IA__g_main_loop_run (loop=0x7f75740008c0)
     at gmain.c:2663
 #4  0x00007f75ac0fe0ad in startup_mainloop (arg=<value optimized out>)
     at e-book.c:3794
 #5  0x0000003327860934 in g_thread_create_proxy (data=0xafc2f0)
     at gthread.c:635
 #6  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #7  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #8  0x0000000000000000 in ?? ()

 ---Type <return> to continue, or q <return> to quit---
 Thread 3 (Thread 0x7f75a22ca910 (LWP 2223)):
 #0  pthread_cond_wait@@GLIBC_2.3.2 ()
     at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
 #1  0x00007f75aadc549f in PSyncPoint::Wait (this=0x7f7588023290)
     at ptlib/unix/tlibthrd.cxx:1499
 #2  0x00007f75ab99a780 in SIPEndPoint::SIP_PDU_Thread::Main (
     this=0x7f7588023170) at
 /usr/src/debug/opal-3.6.4/src/sip/sipep.cxx:1585
 #3  0x00007f75aadc313e in PThread::PX_ThreadStart (arg=0x7f7588023170)
     at ptlib/unix/tlibthrd.cxx:437
 #4  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #5  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #6  0x0000000000000000 in ?? ()

 Thread 2 (Thread 0x7f75a1888910 (LWP 2224)):
 ---Type <return> to continue, or q <return> to quit---
 #0  0x00000038ddcd4f73 in *__GI___poll (fds=<value optimized out>,
     nfds=<value optimized out>, timeout=-1)
     at ../sysdeps/unix/sysv/linux/poll.c:87
 #1  0x000000332783b05c in g_main_context_poll (n_fds=<value optimized
 out>,
     fds=<value optimized out>, priority=<value optimized out>,
     timeout=<value optimized out>, context=<value optimized out>)
     at gmain.c:2768
 #2  g_main_context_iterate (n_fds=<value optimized out>,
     fds=<value optimized out>, priority=<value optimized out>,
     timeout=<value optimized out>, context=<value optimized out>)
     at gmain.c:2450
 #3  0x000000332783b6d5 in IA__g_main_loop_run (loop=0xb18bc0) at
 gmain.c:2663
 #4  0x000000332b647d20 in link_io_thread_fn (data=<value optimized out>)
     at linc.c:396
 #5  0x0000003327860934 in g_thread_create_proxy (data=0xb17a60)
     at gthread.c:635
 ---Type <return> to continue, or q <return> to quit---
 #6  0x00000038de80686a in start_thread (arg=<value optimized out>)
     at pthread_create.c:297
 #7  0x00000038ddcde25d in clone ()
     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #8  0x0000000000000000 in ?? ()
 Current language:  auto; currently asm

 Thread 1 (Thread 0x7f75a9d4e7d0 (LWP 2210)):
 #0  __lll_lock_wait ()
     at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
 #1  0x00000038de809000 in _L_lock_1022 () from /lib64/libpthread.so.0
 #2  0x00000038de808e61 in __pthread_mutex_lock (mutex=0xa56f80)
     at pthread_mutex_lock.c:82
 #3  0x00007f75aadc53d6 in PTimedMutex::Wait (this=0xa56f70)
     at ptlib/unix/tlibthrd.cxx:1351
 #4  0x0000000000523d7f in PWaitAndSignal (sem=<value optimized out>,
     this=<value optimized out>, wait=<value optimized out>)
 ---Type <return> to continue, or q <return> to quit---
     at /usr/include/ptlib/psync.h:103
 #5  Ekiga::AudioOutputCore::start (sem=<value optimized out>,
     this=<value optimized out>, wait=<value optimized out>)
     at ../../../lib/engine/audiooutput/audiooutput-core.cpp:244
 #6  0x000000000053ac51 in PSoundChannel_EKIGA::Open (this=0xe9bd10,
     _dir=<value optimized out>, _numChannels=1, _sampleRate=8000,
     _bitsPerSample=16)
     at ../../../../lib/engine/components/opal/opal-audio.cpp:130
 #7  0x00007f75ab5be1ec in OpalPCSSEndPoint::CreateSoundChannel (
     this=<value optimized out>, connection=<value optimized out>,
 mediaFormat=
     @0x7fff4359a160, isSource=false)
     at /usr/src/debug/opal-3.6.4/src/opal/pcss.cxx:279
 #8  0x00007f75ab5be8a8 in OpalPCSSConnection::CreateMediaStream (
     this=0x7f755407f540, mediaFormat=@0x7fff4359a160,
     sessionID=<value optimized out>, isSource=<value optimized out>)
     at /usr/src/debug/opal-3.6.4/src/opal/pcss.cxx:450
 ---Type <return> to continue, or q <return> to quit---
 #9  0x00007f75ab54c9f7 in OpalConnection::OpenMediaStream (
     this=0x7f755407f540, mediaFormat=<value optimized out>, sessionID=1,
     isSource=false) at
 /usr/src/debug/opal-3.6.4/src/opal/connection.cxx:550
 #10 0x00007f75ab5bdece in OpalPCSSConnection::OpenMediaStream (
     this=0x7f755407f540, mediaFormat=@0x7fff4359a160, sessionID=1,
     isSource=false) at /usr/src/debug/opal-3.6.4/src/opal/pcss.cxx:497
 #11 0x00007f75ab55e244 in OpalCall::OpenSourceMediaStreams (
     this=<value optimized out>, connection=<value optimized out>,
     mediaType=@0x7fff4359a610, sessionID=<value optimized out>,
     preselectedFormat=<value optimized out>)
     at /usr/src/debug/opal-3.6.4/src/opal/call.cxx:470
 #12 0x00007f75ab9b45a3 in SIPConnection::AnswerSDPMediaDescription (
     this=0x7f7588047d50, sdpIn=<value optimized out>, rtpSessionId=1,
     sdpOut=<value optimized out>)
     at /usr/src/debug/opal-3.6.4/src/sip/sipcon.cxx:972
 #13 0x00007f75ab9aa7c8 in SIPConnection::OnSendSDP (this=0x7f7588047d50,
 ---Type <return> to continue, or q <return> to quit---
     isAnswerSDP=<value optimized out>, rtpSessions=<value optimized out>,
     sdpOut=@0x7fff4359ac90)
     at /usr/src/debug/opal-3.6.4/src/sip/sipcon.cxx:566
 #14 0x00007f75ab9aed05 in SIPConnection::SetConnected
 (this=0x7f7588047d50)
     at /usr/src/debug/opal-3.6.4/src/sip/sipcon.cxx:488
 #15 0x00007f75ab55c406 in OpalCall::OnConnected (this=0x7f7588047260,
     connection=@0x7f755407f540)
     at /usr/src/debug/opal-3.6.4/src/opal/call.cxx:232
 #16 0x00007f75ab54bc98 in OpalConnection::OnConnectedInternal (
     this=0x7f755407f540)
     at /usr/src/debug/opal-3.6.4/src/opal/connection.cxx:500
 #17 0x00007f75ab5bbc8d in OpalPCSSConnection::AcceptIncoming (
     this=0x7f755407f540) at
 /usr/src/debug/opal-3.6.4/src/opal/pcss.cxx:541
 #18 0x000000000057ad9e in Opal::Call::answer (this=<value optimized out>)
     at ../../../../lib/engine/components/opal/opal-call.cpp:136
 #19 0x000000332b211a8f in marshal_dbus_message_to_g_marshaller (
 ---Type <return> to continue, or q <return> to quit---
     closure=<value optimized out>, return_value=0x0,
     n_param_values=<value optimized out>, param_values=<value optimized
 out>,
     invocation_hint=0x7fff4359b110, marshal_data=0x0) at dbus-
 gproxy.c:1673
 #20 0x0000003327c0b83e in IA__g_closure_invoke (closure=0xeb9710,
     return_value=0x0, n_param_values=3, param_values=0xd4a9e0,
     invocation_hint=0x7fff4359b110) at gclosure.c:767
 #21 0x0000003327c20b83 in signal_emit_unlocked_R (node=0xa3f900,
     detail=<value optimized out>, instance=<value optimized out>,
     emission_return=<value optimized out>,
     instance_and_params=<value optimized out>) at gsignal.c:3247
 #22 0x0000003327c21f49 in IA__g_signal_emit_valist (instance=0xa136d0,
     signal_id=<value optimized out>, detail=690, var_args=0x7fff4359b300)
     at gsignal.c:2980
 #23 0x0000003327c22493 in IA__g_signal_emit (instance=0xa56f80,
     signal_id=128, detail=8000) at gsignal.c:3037
 #24 0x000000332b212ae8 in dbus_g_proxy_emit_remote_signal (
 ---Type <return> to continue, or q <return> to quit---
     message=<value optimized out>, proxy=<value optimized out>)
     at dbus-gproxy.c:1726
 #25 dbus_g_proxy_manager_filter (message=<value optimized out>,
     proxy=<value optimized out>) at dbus-gproxy.c:1293
 #26 0x0000003328c10496 in dbus_connection_dispatch (connection=0x9b87d0)
     at dbus-connection.c:4406
 #27 0x000000332b2098d5 in message_queue_dispatch (
     source=<value optimized out>, callback=<value optimized out>,
     user_data=<value optimized out>) at dbus-gmain.c:101
 #28 0x0000003327837abe in g_main_dispatch (context=<value optimized out>)
     at gmain.c:1824
 #29 IA__g_main_context_dispatch (context=<value optimized out>)
     at gmain.c:2377
 #30 0x000000332783b278 in g_main_context_iterate (context=0x9bad40,
     block=<value optimized out>, dispatch=<value optimized out>,
     self=<value optimized out>) at gmain.c:2455
 ---Type <return> to continue, or q <return> to quit---
 #31 0x000000332783b6d5 in IA__g_main_loop_run (loop=0xe92340) at
 gmain.c:2663
 #32 0x000000332ad279c7 in IA__gtk_main () at gtkmain.c:1205
 #33 0x00000000004b878c in main (argc=1, argv=0x7fff4359b948)
     at gui/main.cpp:4571
 Current language:  auto; currently minimal
 Current language:  auto; currently asm


 Comment #8 from Aaron Seibert (reporter, points: 2)
 2009-07-29 17:33 UTC [reply]

 I'm sorry... I missed the rest of the output and tried to edit the
 attachment.
 Let me re-upload a new attachment


 Comment #9 from Aaron Seibert (reporter, points: 2)
 2009-07-29 17:34 UTC [reply]

 Created an attachment (id=139491) [edit]
 full ekiga stack trace


 Comment #10 from Eugen Dedu (ekiga developer, points: 15)
 2009-07-29 19:55 UTC [reply]

 Thanks, I pushed your bug to opal tracker,
 https://sourceforge.net/tracker/?func=detail&aid=2829208&group_id=204472&atid=989748


 Comment #11 from Damien Sandras (ekiga developer, points: 20)
 2009-07-30 06:25 UTC [reply]

 Actually, it seems to be PulseAudio that blocks the device opening, hence
 blocking Ekiga.

 Please report that bug to the PulseAudio guys.


 Comment #12 from Damien Sandras (ekiga developer, points: 20)
 2009-07-30 06:26 UTC [reply]

 Created an attachment (id=139539) [edit]
 PA blocking

-- 
Ticket URL: <http://pulseaudio.org/ticket/613>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list