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 543200 - cheese crashed with SIGABRT
cheese crashed with SIGABRT
Status: RESOLVED NOTGNOME
Product: cheese
Classification: Applications
Component: general
2.23.x
Other All
: Normal critical
: 2.24
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-07-16 00:11 UTC by Chris Coulson
Modified: 2008-08-16 05:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Coulson 2008-07-16 00:11:53 UTC
Steps to reproduce:
Initially reported at https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/246089 by Shawn vega

1) Open cheese
2) Crash occurs withing a few seconds of opening (no other action required by the user)

Stack trace:
Program received signal SIGABRT, Aborted.

Thread 3060938560 (LWP 8171)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __libc_message
    from /lib/tls/i686/cmov/libc.so.6
  • #4 _int_free
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 IA__g_free
    at /build/buildd/glib2.0-2.16.3/glib/gmem.c line 190
  • #7 cheese_window_video_saved_cb
    at cheese-window.c line 209
  • #8 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.16.3/gobject/gmarshal.c line 77
  • #9 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.3/gobject/gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2440
  • #11 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2199
  • #12 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2243
  • #13 cheese_webcam_bus_message_cb
    at cheese-webcam.c line 226
  • #14 marshal_VOID__MINIOBJECT
    at gstbus.c line 161
  • #15 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.3/gobject/gclosure.c line 490
  • #16 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2440
  • #17 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2199
  • #18 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2243
  • #19 gst_bus_async_signal_func
    at gstbus.c line 1059
  • #20 gst_bus_source_dispatch
    at gstbus.c line 779
  • #21 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.16.3/glib/gmain.c line 2009
  • #22 g_main_context_iterate
    at /build/buildd/glib2.0-2.16.3/glib/gmain.c line 2642
  • #23 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.16.3/glib/gmain.c line 2850
  • #24 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 1163
  • #25 main
    at cheese.c line 105

Thread 1 (Thread 0xb6723740 (LWP 8171))

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __libc_message
    from /lib/tls/i686/cmov/libc.so.6
  • #4 _int_free
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 IA__g_free
    at /build/buildd/glib2.0-2.16.3/glib/gmem.c line 190
  • #7 cheese_window_video_saved_cb
    at cheese-window.c line 209
  • #8 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.16.3/gobject/gmarshal.c line 77
  • #9 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.3/gobject/gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2440
  • #11 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2199
  • #12 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2243
  • #13 cheese_webcam_bus_message_cb
    at cheese-webcam.c line 226
  • #14 marshal_VOID__MINIOBJECT
    at gstbus.c line 161
  • #15 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.3/gobject/gclosure.c line 490
  • #16 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2440
  • #17 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2199
  • #18 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c line 2243
  • #19 gst_bus_async_signal_func
    at gstbus.c line 1059
  • #20 gst_bus_source_dispatch
    at gstbus.c line 779
  • #21 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.16.3/glib/gmain.c line 2009
  • #22 g_main_context_iterate
    at /build/buildd/glib2.0-2.16.3/glib/gmain.c line 2642
  • #23 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.16.3/glib/gmain.c line 2850
  • #24 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 1163
  • #25 main
    at cheese.c line 105
The program is running.  Exit anyway? (y or n) 

Other information:
Comment 1 daniel g. siegel 2008-08-07 10:11:24 UTC
we fixed quite a few crashes in our newest version, which is 2.23.x. do you mind trying that and see if the crash still remains?
Comment 2 Chris Coulson 2008-08-08 08:10:12 UTC
daniel - I have tried packaging the latest development version so that the person who originally experienced this crash on Launchpad can test it. However, it won't build because my version of intltool is too old, so I think I might have to wait until the latest version ends up in to the development branch of Ubuntu. I will then ask the original reporter to test this using a live CD.

Thanks
Comment 3 daniel g. siegel 2008-08-08 10:29:58 UTC
the newest version of intltool is just needed for "make dist". if you can live without, just change the intltool requirement back to your version!
Comment 4 Chris Coulson 2008-08-08 10:41:52 UTC
Thanks. I'll give that a try when I get home later.
Comment 5 Chris Coulson 2008-08-08 18:24:42 UTC
Thanks daniel - I managed to build 2.23.6 successfully. I will ask the reporter of this crash to test it now.
Comment 6 Shawn Vega 2008-08-14 08:04:33 UTC
ok i tested cheese 2.23.6 and it dosen't completely crash anymore but now the preview part of the program freezes after a few seconds.
Comment 7 Filippo Argiolas 2008-08-14 10:37:26 UTC
Shawn, could you please provide a cheese -v output?

I see from the other bug that your webcam has got some problem with luvcview too..
Does a simple pipeline like the following work?
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink
and this?
gst-launch-0.10 v4l2src ! xvimagesink

Thanks

Comment 8 Shawn Vega 2008-08-15 01:07:07 UTC
it did the same thing as cheese after a few seconds it stops working
shawn@shawn-laptop:~$ gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /pipeline0/ximagesink0: Output window was closed
Additional debug info:
ximagesink.c(1069): gst_ximagesink_handle_xevents (): /pipeline0/ximagesink0
Execution ended after 45145551136 ns.
Comment 9 Filippo Argiolas 2008-08-15 04:37:15 UTC
Ok, just to be sure, does the same thing happen with xvimagesink?

gst-launch-0.10 v4l2src ! xvimagesink

Could you provide a cheese -v output?

Anyway it seems that your issue is not a cheese one.. either belongs to gstreamer or to your video driver. Since v4l2src is quite mature and you reported to have issues with luvcvideo that doesn't use gstreamer I'm more for a uvcvideo (is this your webcam driver?) bug or an hardware problem.
Comment 10 Shawn Vega 2008-08-15 08:02:33 UTC
yes the same thing happens with xvimagesink
uvcvideo is my webcam driver, i will file a bug report with them.
here is the output of cheese -v
shawn@shawn-laptop:~$ cheese -v
/home/shawn/.themes/Clearlooks-DarkBlue/gtk-2.0/gtkrc:62: Clearlooks configuration option "sunkenmenu" is not supported and will be ignored.
/home/shawn/.themes/Clearlooks-DarkBlue/gtk-2.0/gtkrc:63: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/home/shawn/.themes/Clearlooks-DarkBlue/gtk-2.0/gtkrc:64: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/home/shawn/.themes/Clearlooks-DarkBlue/gtk-2.0/gtkrc:65: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
Detected webcam: Laptop Integrated Webcam
device: /dev/video0
video/x-raw-yuv 352 x 288 num_framerates 1
30/1 
video/x-raw-yuv 320 x 240 num_framerates 1
30/1 
video/x-raw-yuv 176 x 144 num_framerates 1
30/1 
video/x-raw-yuv 160 x 120 num_framerates 1
30/1 
video/x-raw-yuv 640 x 480 num_framerates 1
10/1 
v4l2src name=video_source device=/dev/video0 ! capsfilter name=capsfilter caps=video/x-raw-yuv,width=640,height=480,framerate=10/1 ! identity
Killed
Comment 11 Filippo Argiolas 2008-08-16 05:55:28 UTC
>uvcvideo is my webcam driver, i will file a bug report with them.

Ok. Closing as notgnome, keep us updated if you want.