Empathy Crashes on Video Call

Bug #492136 reported by Kersian
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Empathy
Invalid
Undecided
Unassigned
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: empathy

1) Description: Ubuntu 9.10
Release: 9.10
Gnome-Desktop

2) empathy:
  Installed: 2.28.1.1-0ubuntu1
  Candidate: 2.28.1.1-0ubuntu1
  Version table:
 *** 2.28.1.1-0ubuntu1 0
        500 http://es.archive.ubuntu.com karmic-updates/main Packages
        100 /var/lib/dpkg/status
     2.28.1-1ubuntu1 0
        500 http://es.archive.ubuntu.com karmic/main Packages
3) Call windows would appear so I could see/hear user&myself
4) Empathy crashes leaving this error, program trace;

user@user:~$ empathy
(empathy:12800): tp-fs-DEBUG: GetSessionHandlers replied:
(empathy:12800): tp-fs-DEBUG: - session /org/freedesktop/Telepathy/Connection/gabble/jabber/user_40gmail_2ecom_2fTelepathy_2e81b9e9b9/MediaChannel1
(empathy:12800): tp-fs-DEBUG: type rtp
(empathy:12800): tp-fs-DEBUG: adding session handler /org/freedesktop/Telepathy/Connection/gabble/jabber/user_40gmail_2ecom_2fTelepathy_2e81b9e9b9/MediaChannel1, type rtp
(empathy:12800): tp-fs-DEBUG: calling MediaSessionHandler::Ready
(empathy:12800): tp-fs-DEBUG: New stream, stream_id=1, media_type=0, direction=3
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding STUN server 209.85.229.126:19302
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding relay (udp) 209.85.229.126:19295 Z61D09ju3YDjMae4:p5n1Yn1DXiieqHgN 1
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding relay (tcp) 209.85.229.126:19294 Z61D09ju3YDjMae4:p5n1Yn1DXiieqHgN 1
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding relay (tls) 209.85.229.126:443 Z61D09ju3YDjMae4:p5n1Yn1DXiieqHgN 1
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding relay (udp) 209.85.229.126:19295 H3fLMg0Do24XF9fg:tTAu6BkB8BWbcQvz 2
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding relay (tcp) 209.85.229.126:19294 H3fLMg0Do24XF9fg:tTAu6BkB8BWbcQvz 2
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) get_all_properties_cb: Adding relay (tls) 209.85.229.126:443 H3fLMg0Do24XF9fg:tTAu6BkB8BWbcQvz 2
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: called (send_local:1 send_supported:0)
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 102: audio SPEEX clock:8000 channels:1
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 103: audio SPEEX clock:16000 channels:1
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 96: audio SIREN clock:16000 channels:0 bitrate=16000
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 8: audio PCMA clock:8000 channels:0
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 3: audio GSM clock:8000 channels:0
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 99: audio telephone-event clock:16000 channels:0 events=0-15
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: 100: audio telephone-event clock:8000 channels:0 events=0-15
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec SPEEX [102]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec SPEEX [103]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec SIREN [96]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec PCMU [0]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec PCMA [8]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec GSM [3]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec telephone-event [99]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) fs_codecs_to_tp: adding codec telephone-event [100]
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) _tf_stream_try_sending_codecs: calling MediaStreamHandler::Ready
(empathy:12800): tp-fs-DEBUG: New stream, stream_id=2, media_type=1, direction=3
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) set_stream_playing: 0
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) set_stream_sending: 0
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) cb_fs_new_local_candidate: called
(empathy:12800): tp-fs-DEBUG: stream 1 0x86ad140 (audio) cb_fs_new_local_candidate: called
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding STUN server 209.85.229.126:19302
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding relay (udp) 209.85.229.126:19295 CMtf2thySsNzXaKt:TBfQRpuiDQUIV0EA 1
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding relay (tcp) 209.85.229.126:19294 CMtf2thySsNzXaKt:TBfQRpuiDQUIV0EA 1
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding relay (tls) 209.85.229.126:443 CMtf2thySsNzXaKt:TBfQRpuiDQUIV0EA 1
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding relay (udp) 209.85.229.126:19295 aXsXZ1SWZG50WGsz:t388jbQfk56Xk2fP 2
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding relay (tcp) 209.85.229.126:19294 aXsXZ1SWZG50WGsz:t388jbQfk56Xk2fP 2
(empathy:12800): tp-fs-DEBUG: stream 2 0x86ad060 (video) get_all_properties_cb: Adding relay (tls) 209.85.229.126:443 aXsXZ1SWZG50WGsz:t388jbQfk56Xk2fP 2
shm_open() failed: No such file or directory
Assertion 'b' failed at pulsecore/memblock.c:451, function pa_memblock_acquire(). Aborting.
Aborted

Revision history for this message
Nigel Babu (nigelbabu) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: https://bugzilla.gnome.org/show_bug.cgi?id=603795

Revision history for this message
Nigel Babu (nigelbabu) wrote :

Upstream reports that its a pulseaudio bug and not an empathy bug, changing accordingly.

affects: empathy (Ubuntu) → pulseaudio (Ubuntu)
Revision history for this message
C de-Avillez (hggdh2) wrote :

Marking as INCOMPLETE, right now. We need to know *where* Empathy/PA were when we had this assertion failure.

@Kersian: how familiar are you with low-level debugging? I mean using GDB, and downloading as many debug packages as may be needed.

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
C de-Avillez (hggdh2) wrote :

@Kersian: could you please set
enable-shm = no

in ~/.pulse/daemon.conf

or (if the above file does not exist) in /etc/pulse/daemon.conf, and then try again?

Thanks

Revision history for this message
Kersian (kersian) wrote :
Download full text (29.6 KiB)

Sorry for the time dudes, University is killing me with stupid assembler exercises!

I tried setting enable-shm = no, and I managed to get sound in the conversations, but when a video chat is started, crashes again leaving this:

empathy/Other-DEBUG: 1.260107e+09: builder_get_file_valist: Loading file /usr/share/empathy/empathy-call-window.ui
empathy/Other-DEBUG: 1.260107e+09: empathy_signal_connect_weak: connecting to 0x8859b00:peak-level-changed with context 0x856b220
empathy/Other-DEBUG: 1.260107e+09: builder_get_file_valist: Loading file /usr/share/empathy/empathy-call-window-fullscreen.ui
empathy/Dispatcher-DEBUG: 1.260107e+09: empathy_dispatch_operation_approve: Pre-approving operation /org/freedesktop/Telepathy/Connection/gabble/jabber/kersiansoft_40gmail_2ecom_2fTelepathy_2e99a0bd00/MediaChannel3
empathy/Dispatcher-DEBUG: 1.260107e+09: dispatcher_start_dispatching: Dispatching process started for /org/freedesktop/Telepathy/Connection/gabble/jabber/kersiansoft_40gmail_2ecom_2fTelepathy_2e99a0bd00/MediaChannel3
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_updated_cb: Contact:'Wae (gmail)' updated, checking roster is in sync...
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_update: Contact:'Wae (gmail)' in list:YES, should be:YES
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_update: Set active (contact updated)
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_updated_cb: Contact:'Wae (gmail)' updated, checking roster is in sync...
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_update: Contact:'Wae (gmail)' in list:YES, should be:YES
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_update: Set active (contact updated)
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_updated_cb: Contact:'Wae (gmail)' updated, checking roster is in sync...
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_update: Contact:'Wae (gmail)' in list:YES, should be:YES
empathy/Contact-DEBUG: 1.260107e+09: contact_list_store_contact_update: Set active (contact updated)
empathy/Dispatcher-DEBUG: 1.260107e+09: empathy_dispatch_operation_set_status: Dispatch operation /org/freedesktop/Telepathy/Connection/gabble/jabber/kersiansoft_40gmail_2ecom_2fTelepathy_2e99a0bd00/MediaChannel3 status: 0 -> 1
empathy/Dispatcher-DEBUG: 1.260107e+09: dispatch_operation_ready_cb: Send to observers: /org/freedesktop/Telepathy/Connection/gabble/jabber/kersiansoft_40gmail_2ecom_2fTelepathy_2e99a0bd00/MediaChannel3
empathy/Dispatcher-DEBUG: 1.260107e+09: empathy_dispatch_operation_set_status: Dispatch operation /org/freedesktop/Telepathy/Connection/gabble/jabber/kersiansoft_40gmail_2ecom_2fTelepathy_2e99a0bd00/MediaChannel3 status: 1 -> 3
empathy/Tp-DEBUG: 1.260107e+09: tp_call_request_streams_for_capabilities: Requesting new stream for capabilities 3
empathy/Dispatcher-DEBUG: 1.260107e+09: empathy_dispatch_operation_set_status: Dispatch operation /org/freedesktop/Telepathy/Connection/gabble/jabber/kersiansoft_40gmail_2ecom_2fTelepathy_2e99a0bd00/MediaChannel3 status: 3 -> 4
empathy/Dispatcher-DEBUG: 1.260107e+09: dispatch_operation_claimed_cb: Channel claimed: ...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 492136] Re: Empathy Crashes on Video Call

Ok, so there definitely is a PulseAudio component, but I can't tell
immediately if it's due to some SHM bogosity on your system (linux
problem? eglibc problem?)

Please confirm that using enable-shm = no at least makes sound events
audible in empathy and runs stably. That latter point is vital.

As for your video problem, there is:
empathy-MESSAGE: 1.260107e+09: Element error: Cannot identify device
'/dev/video0'. -- v4l2_calls.c(482): gst_v4l2_open ():
/GstPipeline:pipeline3/EmpathyGstVideoSrc:empathygstvideosrc3/GstGConfVideoSrc:gconfvideosrc3/GstBin:bin38/GstV4l2Src:v4l2src2:
system error: No such file or directory

Revision history for this message
Kersian (kersian) wrote :

I have had a chat with my gf's laptop and I can definately hear her voice. A bit distorted but not bad.

About the video issue, I can't get to see her, as soon as the conection stablishes it crashes if there is video in it.

Changed in empathy:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Revision history for this message
Daniel T Chen (crimsun) wrote :

Can you reproduce this in Lucid?

Revision history for this message
David McCallum (dmccallum9) wrote :

I am able to reproduce this bug in lucid.

1) Run gnome-volume-control from the terminal

2) Move to the hardware tab

3) Wait a few seconds

I obtain: Assertion 'b' failed at pulsecore/memblock.c:451, function pa_memblock_acquire(). Aborting.
Aborted

Revision history for this message
Daniel T Chen (crimsun) wrote :

David M, would you (if you haven't already) file a separate bug
against the sound driver using "ubuntu-bug alsa-base" in Applications
> Accessories > Terminal ?

Revision history for this message
Dan Kegel (dank) wrote :

For what it's worth, I can reproduce David M.'s assertion by starting Dragon Age Origins
on my system under wine-1.3.16.
There seem to be two workarounds:
1) run the app in question under "taskset 1"
-or-
2) put enable-shm = no
in ~/.pulse/daemon.conf

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 9.10 (karmic) reached end-of-life on April 30, 2011.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Please upgrade to the latest version and re-test.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.