After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605444 - Wrong webcam device detected and video call crashes.
Wrong webcam device detected and video call crashes.
Status: RESOLVED INCOMPLETE
Product: empathy
Classification: Core
Component: General
2.28.x
Other Linux
: High critical
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-12-25 21:15 UTC by Paul Menzel
Modified: 2010-02-15 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
In GDB `t a a bt full`. (15.43 KB, application/octet-stream)
2009-12-25 21:15 UTC, Paul Menzel
Details
Backtrace of other crash. (In GDB `t a a bt full`.) (28.84 KB, application/octet-stream)
2009-12-25 21:16 UTC, Paul Menzel
Details

Description Paul Menzel 2009-12-25 21:15:15 UTC
Created attachment 150376 [details]
In GDB `t a a bt full`.

Dear Empathy hackers,


I tried Empathy out especially the Jingle(?) extension. The one system (A) has a webcam. Doing an audio call (Audioanruf) and clicking on the webcam button/symbol/icon to send the webcam picture closes the call window and most of the time Empathy crashes too.

I tried to debug this according to [1]. Unfortunately the Debugging Console crashes sometimes with the application. Since the one system has small storage space I did not install all debugging symbols. Just those from Empathy. I hope that works, if not tell me please what symbols you need.

I am using Debian Sid/unstable.

$ LANG=C dpkg -l empathy*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                                 Description
+++-=======================================-=======================================-==============================================================================================
ii  empathy                                 2.28.2-1                                High-level library and user-interface for Telepathy
ii  empathy-dbg                             2.28.2-1                                High-level library and user-interface for Telepathy (debug symbols)
ii  empathy-doc                             2.28.2-1                                High-level library and user-interface for Telepathy (Empathy documentation)

Here is the corresponding part from the debug console.

[…]
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) _tf_stream_try_sending_codecs: called (send_local:1 send_supported:0)
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) _tf_stream_try_sending_codecs: 96: video THEORA clock:90000 channels:0 delivery-method=inline
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) _tf_stream_try_sending_codecs: 26: video JPEG clock:90000 channels:0
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) _tf_stream_try_sending_codecs: 97: video JPEG2000 clock:90000 channels:0
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) fs_codecs_to_tp: adding codec THEORA [96]
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) fs_codecs_to_tp: adding codec JPEG [26]
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) fs_codecs_to_tp: adding codec JPEG2000 [97]
tp-fs-FEHLERDIAGNOSE: 1,261774e+09: stream 2 0x814be30 (video) _tf_stream_try_sending_codecs: calling MediaStreamHandler::Ready
empathy-NACHRICHT: 1,261774e+09: Element error: Gerät »/dev/video1« kann nicht identifiziert werden. -- v4l2_calls.c(488): gst_v4l2_open (): /GstV4l2Sink:autovideosink0-actual-sink-v4l2:
system error: Datei oder Verzeichnis nicht gefunden
[…]

(translation:
• Gerät »/dev/video1« kann nicht identifiziert werden. = Device »/dev/video1« can not be identified.
• Datei oder Verzeichnis nicht gefunden = File or directory not found.)

After this sometimes Empathy crashes afterward on system A. I attach the GDB backtraces. I deleted – hopefully all – account information.


Thanks,

Paul


[1] http://live.gnome.org/Empathy/Debugging
Comment 1 Paul Menzel 2009-12-25 21:16:21 UTC
Created attachment 150377 [details]
Backtrace of other crash. (In GDB `t a a bt full`.)
Comment 2 Fabio Durán Verdugo 2009-12-27 19:45:04 UTC
Paste Here the trace

Thread 1 (Thread 0xb452b780 (LWP 2287))

  • #0 g_type_is_a
    from /usr/lib/libgobject-2.0.so.0
  • #1 g_type_check_value_holds
    from /usr/lib/libgobject-2.0.so.0
  • #2 gst_value_intersect
    from /usr/lib/libgstreamer-0.10.so.0
  • #3 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #4 gst_structure_foreach
    from /usr/lib/libgstreamer-0.10.so.0
  • #5 gst_caps_intersect
    from /usr/lib/libgstreamer-0.10.so.0
  • #6 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #7 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #8 gst_pad_get_caps
    from /usr/lib/libgstreamer-0.10.so.0
  • #9 gst_pad_peer_get_caps
    from /usr/lib/libgstreamer-0.10.so.0
  • #10 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #11 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_pad_get_caps
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 gst_pad_get_caps
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 gst_pad_peer_get_caps
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #18 gst_iterator_fold
    from /usr/lib/libgstreamer-0.10.so.0
  • #19 gst_pad_proxy_getcaps
    from /usr/lib/libgstreamer-0.10.so.0
  • #20 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #21 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #22 gst_pad_link
    from /usr/lib/libgstreamer-0.10.so.0
  • #23 empathy_call_window_sink_added_cb
    at empathy-call-window.c line 1606
  • #24 ??
    from /usr/lib/libempathy.so.30
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 ??
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/libempathy.so.30
  • #30 g_cclosure_marshal_VOID__OBJECT
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #32 ??
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #35 ??
    from /usr/lib/libtelepathy-farsight.so.0
  • #36 ??
    from /usr/lib/libtelepathy-farsight.so.0
  • #37 ??
    from /usr/lib/libtelepathy-glib.so.0
  • #38 ??
    from /usr/lib/libtelepathy-glib.so.0
  • #39 ??
    from /lib/libglib-2.0.so.0
  • #40 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #41 ??
    from /lib/libglib-2.0.so.0
  • #42 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #43 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 main
    at empathy.c line 990

Comment 3 Fabio Durán Verdugo 2009-12-27 19:45:28 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
Comment 4 Paul Menzel 2009-12-28 09:34:57 UTC
Fabio, thank you for your comment.

The space on the hard drive is very limited. Can you see from the incomplete backtrace and the fact that it is related to the video call, what debugging symbols I need to install i. e. from what component (GTK, telepathy, …)?

Thanks!
Comment 5 Guillaume Desmottes 2010-01-06 11:58:13 UTC
Hi Paul.

I managed to reproduce the same v4l2 error message but that didn't lead to a crash? Any chance you could try with 2.29.4 (which is packaged in experimental).

I suspect that the crash is in GStreamer, so installing debug symbols for those packages could be useful.
Comment 6 Paul Menzel 2010-01-11 10:31:30 UTC
Dear Guillaume,


(In reply to comment #5)
> I managed to reproduce the same v4l2 error message but that didn't lead to a
> crash? Any chance you could try with 2.29.4 (which is packaged in
> experimental).
> 
> I suspect that the crash is in GStreamer, so installing debug symbols for those
> packages could be useful.

I think that some GStreamer plugins were not installed. Installing the debug symbols the following packages were installed too. 

gstreamer0.10-alsa, gstreamer0.10-esd, gstreamer0.10-sdl, gstreamer0.10-x

Now I am not able to reproduce the crash anymore. Maybe there should be some checks and error out without a crash if some plugins are missing.

I have not yet had time to test the version 2.29.4 in Debian experimental, but filed a bug report too [1].


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564678
Comment 7 Guillaume Desmottes 2010-02-15 15:28:42 UTC
Closing this bug for now as I didn't mention to reproduce the crash in master; even after uninstalling the extra gst package you mentioned in the Debian bug report.

Feel free to reopen if you manage to reproduce the crash with a recent Empathy.