GNOME Bugzilla – Bug 508912
crash in Cheese: Starting cheese in jhbui...
Last modified: 2008-02-02 17:53:08 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 ()
+ Trace 185030
Thread 1 (Thread -1231182160 (LWP 32022))
Note: this crash report was sent using the bug-buddy integration available in bug #508910 :-)
please could you run cheese -v too? thanks
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
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 ...'
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 :-)
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.
(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.
thanks!
*** This bug has been marked as a duplicate of 503503 ***