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 508912 - crash in Cheese: Starting cheese in jhbui...
crash in Cheese: Starting cheese in jhbui...
Status: RESOLVED DUPLICATE of bug 503503
Product: cheese
Classification: Applications
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-01-12 10:31 UTC by Luca Ferretti
Modified: 2008-02-02 17:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Luca Ferretti 2008-01-12 10:31:23 UTC
Version: 0.4.0

What were you doing when the application crashed?
Starting cheese in jhbuild environment


Distribution: Ubuntu 7.10 (gutsy)
Gnome Release: 2.21.4 2008-01-11 (JHBuild)
BugBuddy Version: 2.20.1

System: Linux 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Enabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 36548608 vsize: 36548608 resident: 16285696 share: 13496320 rss: 16285696 rss_rlim: 4294967295
CPU usage: start_time: 1200133807 rtime: 67 utime: 56 stime: 11 cutime:24 cstime: 10 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/opt/gnome2/bin/cheese'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1231182160 (LWP 32022)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1231182160 (LWP 32022))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 374
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 682
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 213
  • #5 check_if_gdb
    at gnome-breakpad.cc line 283
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 225
  • #7 google_breakpad::ExceptionHandler::HandleException
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 196
  • #8 <signal handler called>
  • #9 cheese_webcam_init
    at cheese-webcam.c line 602
  • #10 IA__g_type_create_instance
    at gtype.c line 1569
  • #11 g_object_constructor
    at gobject.c line 1046
  • #12 IA__g_object_newv
    at gobject.c line 937
  • #13 IA__g_object_new_valist
    at gobject.c line 1027
  • #14 IA__g_object_new
    at gobject.c line 795
  • #15 cheese_webcam_new
    at cheese-webcam.c line 1128
  • #16 cheese_window_init
    at cheese-window.c line 1111
  • #17 main
    at cheese.c line 79
  • #0 __kernel_vsyscall

Comment 1 Luca Ferretti 2008-01-12 10:32:44 UTC
Note: this crash report was sent using the bug-buddy integration available in bug #508910 :-)
Comment 2 daniel g. siegel 2008-01-12 11:00:37 UTC
please could you run cheese -v too? thanks
Comment 3 Luca Ferretti 2008-01-12 11:15:21 UTC
betatester@redrum:~$ LANG=C LANGUAGE=C cheese -v

0:00:01.406940938 14178 0x805c190 ERROR         GST_PIPELINE ./grammar.y:508:_gst_parse_yyparse: no element "v4l2src"
0:00:01.407394374 14178 0x805c190 ERROR         GST_PIPELINE ./grammar.y:767:_gst_parse_launch: Unrecoverable syntax error while parsing pipeline v4l2src name=source device=/dev/video0 queue-size=2 ! fakesink
0:00:01.487768688 14178 0x805c190 ERROR         GST_PIPELINE ./grammar.y:307:gst_parse_element_set: no property "queue-size" in element "source"
device: /dev/video0

PS the v4l2src element in gst-plugins-good should disabled by default..
PPS gstreamer, gst-plugins-base and gst-plugins-good updated to latest cvs
Comment 4 daniel g. siegel 2008-01-12 11:19:00 UTC
seems like you are missing the v4l2src element. if you compile gstreamer with jhbuild you need to add the option --enable-experimental, e.g.

autogenargs='--enable-experimental ...'
Comment 5 Luca Ferretti 2008-01-12 15:16:57 UTC
gst-plugins-good compiled using --enable-experimental switch. Still crash, but only showing:

betatester@redrum:~$ cheese
0:00:01.438493963 18955 0x805c190 ERROR         GST_PIPELINE ./grammar.y:307:gst_parse_element_set: no property "queue-size" in element "source"
Segmentation fault (core dumped)

BTW it seems that my webcam is currently using v4l1, not v4l2. So I tried to run 

  gst-launch-0.10 v4lsrc queue-size=2 ! ffmpegcolorspace ! ximagesink

The element vl4src don't have the "queue-size" property... A simple 

  gst-launch-0.10 v4lsrc ! ffmpegcolorspace ! ximagesink

works fine..

PS Honeslty I was sure my cam was using v4l2... this is strange....
PPS maybe Cheese should show an error message instead crashing when can't detect/use the webcam :-)
Comment 6 Jaap A. Haitsma 2008-01-12 20:23:44 UTC
I've just committed a fix into SVN which does not set queue-size for v4l cameras
Can you try if it works now.

Regarding your PPS: I agree. We still need to add to the cheese-webcam class a method that returns the webcams attached.
Comment 7 Luca Ferretti 2008-01-13 10:33:45 UTC
(In reply to comment #6)
> I've just committed a fix into SVN which does not set queue-size for v4l
> cameras
> Can you try if it works now.
>

Yes, confirmed.
Comment 8 daniel g. siegel 2008-01-13 10:42:27 UTC
thanks!
Comment 9 daniel g. siegel 2008-02-02 17:53:08 UTC

*** This bug has been marked as a duplicate of 503503 ***