#10703: hang / freeze when receiving a video (webcam) call from Empathy

View: New views
9 Messages — Rating Filter:   Alert me  

#10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
-----------------------------+----------------------------------------------
 Reporter:  kiddo            |     Owner:  Maiku
     Type:  defect           |    Status:  new  
Component:  Voice and Video  |   Version:  2.6.2
 Keywords:                   |  
-----------------------------+----------------------------------------------
 Empathy supports audio+video calls on XMPP. I successfully tested between
 two gmail accounts connected with two Empathy 2.28 clients, and was able
 to have working audio+video.

 However, if Empathy tries to initiate such a call with Pidgin 2.6.2,
 Pidgin simply freezes. Not sure it's the same problems as other bugs I
 have seen when searching in this bug tracker.

--
Ticket URL: <http://developer.pidgin.im/ticket/10703>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  pending        
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by darkrain42):

  * status:  new => pending


Comment:

 Is pidgin consuming CPU when frozen or not?

 When pidgin freezes, please attach gdb to the process (something like "{{{
 gdb -p $(pidof pidgin) }}}" ) and get a backtrace when it's frozen.

 If pidgin ''is'' consuming CPU, also attach strace for a few seconds
 (something like "{{{ strace -p $(pidof pidgin) 2> strace.log }}}" )

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:1>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  pending        
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by kiddo):

  * status:  pending => new


Comment:

 No, it is not consuming CPU, and strace only gives 2 lines:
 Process 9148 attached - interrupt to quit
 futex(0x8eff40c, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>

 So anyway, I ran gdb and entered "bt full", I got a trace. Attaching it to
 this bug report..

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:2>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  new            
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by kiddo):

 Oh yeah, and here's what I have in the terminal where I ran pidgin -d:

 {{{
 (13:18:57) jabber: Sending (ssl): <iq type='result' id='7218244793' to
 ='the-remote-contact-JID@someserver/Telepathy.f9efed27'/>
 (13:18:57) media: got new local candidate: 1
 (13:18:57) media: got new local candidate: 1
 (13:18:57) media: farsight-component-state-changed: component: 1 state:
 GATHERING
 (13:18:57) media: farsight-component-state-changed: component: 2 state:
 GATHERING
 (13:18:57) media: got new local candidate: 2
 (13:18:57) media: got new local candidate: 2
 (13:18:57) mediamanager: gst pipeline error: Could not negotiate format
 (13:18:57) mediamanager: Debug details: gstbasesrc.c(2584):
 gst_base_src_start ():
 /GstPipeline:pipeline0/GstBin:pidgindefaultvideosrc/GstBin:pidgindefaultvideosrc/GstGConfVideoSrc:gconfvideosrc0/GstBin:bin7/GstV4l2Src:v4l2src0:
 Check your filtered caps, if any
 (13:18:57) media: Problème avec votre webcam. (means: "Problem with your
 webcam")
 (13:18:57) gtkmedia: state: 2 sid: (null) name: (null)
 (13:18:57) gtkmedia: pidgin_media_dispose
 (13:18:57) gtkmedia: pidgin_media_dispose
 (13:18:57) gtkmedia: pidgin_media_finalize
 (13:18:57) media: purple_media_dispose
 (13:18:57) media: purple_media_finalize
 }}}

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:3>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  new            
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by kiddo):

 Note that the computer where pidgin is running does not actually have a
 "webcam" per se, it is a TV tuner that is seen by v4l2 automatically (from
 what I can see in gstreamer-properties). Empathy doesn't seem to have a
 problem with it.

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:4>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  new            
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by kiddo):

 Setting gstreamer-properties to use the "test pattern" instead of v4l2 as
 an input video device allows the call to work. I guess we pinpointed the
 problem :)

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:5>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  new            
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by Zajec):

 I have same issue with Pidgin 2.6.4. Can someone check this, please? Can I
 help to debug this?

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:6>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  new            
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by Zajec):

 Hm, I've installed

 zypper in gstreamer-0_10-plugins-good-extra gstreamer-0_10-schroedinger
 gstreamer-utils

 and it seems to somehow fix my issues. So I guess this freeze happens when
 handling some lack of some tool/library/sth.

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:7>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #10703: hang / freeze when receiving a video (webcam) call from Empathy

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#10703: hang / freeze when receiving a video (webcam) call from Empathy
--------------------+-------------------------------------------------------
 Reporter:  kiddo   |        Owner:  Maiku          
     Type:  defect  |       Status:  new            
Milestone:          |    Component:  Voice and Video
  Version:  2.6.2   |   Resolution:                
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by darkrain42):

 Maiku, this looks like it's frozen inside libnice

--
Ticket URL: <http://developer.pidgin.im/ticket/10703#comment:8>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker