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 510648 - Cheese core dumped
Cheese core dumped
Status: RESOLVED FIXED
Product: cheese
Classification: Applications
Component: general
2.21.x
Other All
: Normal critical
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
: 511335 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-19 17:45 UTC by redcode87
Modified: 2008-04-09 11:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description redcode87 2008-01-19 17:45:13 UTC
Steps to reproduce:
1. Launching the program from terminal or from GUI


Stack trace:
Distribution: Archlinux
Gnome Release: 2.20.3 2008-01-16 (Archlinux)
BugBuddy Version: 2.20.1

System: Linux 2.6.23-ARCH #1 SMP PREEMPT Tue Jan 15 06:34:36 UTC 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Foxtrot

Memory status: size: 37560320 vsize: 37560320 resident: 15818752 share: 11644928 rss: 15818752 rss_rlim: 4294967295
CPU usage: start_time: 1200764622 rtime: 56 utime: 38 stime: 18 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/cheese'

[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb67b66c0 (LWP 15404)]
0xb7f35410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb67b66c0 (LWP 15404))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 run_bug_buddy
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 check_if_gdb
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #7 google_breakpad::ExceptionHandler::HandleException
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #8 <signal handler called>
  • #9 cheese_webcam_init
    at cheese-webcam.c line 612
  • #10 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_object_constructor
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #15 cheese_webcam_new
    at cheese-webcam.c line 1148
  • #16 cheese_window_init
    at cheese-window.c line 1136
  • #17 main
    at cheese.c line 79
  • #0 __kernel_vsyscall


Other information:
Comment 1 Cosimo Cecchi 2008-01-25 13:58:31 UTC
*** Bug 511335 has been marked as a duplicate of this bug. ***
Comment 2 daniel g. siegel 2008-01-26 11:49:55 UTC
please paste the output of cheese -v

thanks
Comment 3 redcode87 2008-01-27 13:04:19 UTC
Launching "cheese -v" displays this string only: 

device: /dev/v4l/video0

Additional informations that might be useful:

From dmesg:

stk11xx: Syntek USB2.0 webcam driver startup
stk11xx: Syntek USB2.0 - STK-1135 based webcam found.
stk11xx: Syntek AVStream USB2.0 1.3M WebCam - Product ID 0xA311.
stk11xx: Release: 0005
stk11xx: Number of interfaces : 1
stk11xx: Initialize USB2.0 Syntek Camera
stk11xx: Syntek USB2.0 Camera is ready
stk11xx: Syntek USB2.0 Camera is now controlling video device /dev/video0
usbcore: registered new interface driver usb_stk11xx_driver
stk11xx: v1.2.3 : Syntek USB Video Camera

From lsusb
Bus 005 Device 004: ID 174f:a311

Camorama works correctly (at first everything is blue but with "color correction" enabled it works again )

camorama --version
Camorama version 0.17





Comment 4 daniel g. siegel 2008-02-02 17:56:03 UTC
i suppose:

gst-launch v4lsrc ! ffmpegcolorspace ! ximagesink 

does work?
Comment 5 redcode87 2008-02-04 21:20:57 UTC
No, it doesn't...

After launching that command (either from root or normal user) Cheese crashes again. Looks like bug-buddy got the same backtrace...
Comment 6 daniel g. siegel 2008-02-04 21:31:51 UTC
if you cant see yourself with the gstreamer command line i pasted above, then its probably a gstreamer related bug
Comment 7 redcode87 2008-02-07 15:55:40 UTC
That's what I got after launching the command (root and normal user):

Impostazione della pipeline a PAUSED ...
ERRORE: la pipeline non vuole mettersi in pausa.
ERRORE: dall'elemento /pipeline0/v4lsrc0: Could not negotiate format
Informazioni di debug aggiuntive:
gstbasesrc.c(2293): gst_base_src_start (): /pipeline0/v4lsrc0:
Check your filtered caps, if any
Impostazione della pipeline a NULL ...
Esecuzione FREE su pipeline ...

I'm opening a bug for gstreamer linked to this one...
Comment 8 Tim-Philipp Müller 2008-02-11 21:40:06 UTC
> if you cant see yourself with the gstreamer command line i pasted above, then
> its probably a gstreamer related bug

While it's of course very much possible that something GStreamer-related is going wrong here, the stack trace does not contain anything particularly GStreamer-ish, so my first guess would be that there's also something else going on, like bad error handling in cheese or so.


Comment 9 daniel g. siegel 2008-02-11 21:54:05 UTC
tim, i can see the line 

ERROR: /pipeline0/v4lsrc0: Could not negotiate format

if he is running gst-launch v4lsrc ! ffmpegcolorspace ! ximagesink 

so it seems to me, that its the camera drivers fault and that driver needs some special options?
Comment 10 redcode87 2008-04-09 11:09:38 UTC
Cheese doesn't crash anymore with version 2.22.1 and gstreamer 0.10.19.
I think this bug can be closed.

Anyway, I've just played a bit and I found cheese a little bit choppy and the effect psychedelic doesn't work very well, it gives just a black screen (but when I move I can see some little sparks of psychedelic colors...) 

I launched it with verbose option and after playing that's it:

cheese -v
Detected webcam: Syntek USB Video Camera
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
FractionRange: 0/1 - 100/1
device: /dev/v4l/video0
video/x-raw-rgb 80 x 60 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 160 x 120 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 320 x 240 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 640 x 480 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 1280 x 1024 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 640 x 512 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 320 x 256 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
video/x-raw-rgb 160 x 128 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 11/1 12/1 13/1 14/1 15/1 16/1 17/1 18/1 19/1 20/1 21/1 22/1 23/1 24/1 25/1 26/1 27/1 28/1 29/1 30/1 31/1 32/1 33/1 34/1 35/1 36/1 37/1 38/1 39/1 40/1 41/1 42/1 43/1 44/1 45/1 46/1 47/1 48/1 49/1 50/1 51/1 52/1 53/1 54/1 55/1 56/1 57/1 58/1 59/1 60/1 61/1 62/1 63/1 64/1 65/1 66/1 67/1 68/1 69/1 70/1 71/1 72/1 73/1 74/1 75/1 76/1 77/1 78/1 79/1 80/1 81/1 82/1 83/1 84/1 85/1 86/1 87/1 88/1 89/1 90/1 91/1 92/1 93/1 94/1 95/1 96/1 97/1 98/1 99/1 100/1 
v4l2src name=video_source device=/dev/v4l/video0 ! video/x-raw-rgb,width=1280,height=1024,framerate=30/1 ! identity

(cheese:32414): GLib-GObject-WARNING **: IA__g_object_notify: object class `GstV4l2Src' has no property named `norm'

If you have an idea or suggestion where to post this log (and if it's useful) I'm here!

Thank you for your work.