Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12308 - Cheese 2.24.2-1 freeze

Attached to Project: Arch Linux
Opened by Francesco (PJF) - Monday, 01 December 2008, 17:33 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 04 December 2008, 12:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Cheese freeze and the light of the webcam remains lighted. Impossibile to take shot.


Additional info:
* package version(s)
* config and/or log files etc.
Name : cheese
Version : 2.24.2-1
URL : http://www.gnome.org/projects/cheese/
Licenses : GPL
Groups : gnome-extra
Provides : None
Depends On : libgnomeui>=2.24.0 gstreamer0.10-base-plugins>=0.10.21
gstreamer0.10-good-plugins>=0.10.11
evolution-data-server>=2.24.2 librsvg>=2.22.3
gnome-icon-theme>=2.24.0


Steps to reproduce:
bash-3.2# cheese -v
Cheese 2.24.2
Probing devices with HAL...
Found device 04f2:b023, getting capabilities...
Detected v4l2 device: HP Webcam
Driver: uvcvideo, version: 256
Capabilities: 0x04000001

Probing supported video formats...

(cheese:28940): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps
Device: HP Webcam (/dev/v4l/video0)

(cheese:28940): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps
video/x-raw-yuv 160 x 120 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 video/x-raw-yuv 176 x 144 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 video/x-raw-yuv 320 x 240 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 video/x-raw-yuv 352 x 288 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 video/x-raw-yuv 640 x 480 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 video/x-raw-yuv 160 x 120 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 already added, skipping
video/x-raw-rgb 160 x 120 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 176 x 144 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 higher framerate replacing existing format
FractionRange: 0/1 - 100/1
video/x-raw-rgb 176 x 144 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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 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 higher framerate replacing existing format
FractionRange: 0/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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 352 x 288 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 higher framerate replacing existing format
FractionRange: 0/1 - 100/1
video/x-raw-rgb 352 x 288 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 already added, skipping
video/x-raw-yuv 160 x 120 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 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 higher framerate replacing existing format
FractionRange: 0/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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 176 x 144 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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 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 already added, skipping
video/x-raw-rgb 160 x 120 num_framerates 6
24/1 20/1 15/1 10/1 5/1 1/1 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 352 x 288 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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-rgb 176 x 144 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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-yuv 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 already added, skipping
FractionRange: 0/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 already added, skipping
FractionRange: 0/1 - 100/1
video/x-raw-rgb 352 x 288 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 already added, skipping
FractionRange: 0/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 already added, skipping

v4l2src name=video_source device=/dev/v4l/video0 ! capsfilter name=capsfilter caps=video/x-raw-rgb,width=640,height=480,framerate=30/1;video/x-raw-yuv,width=640,height=480,framerate=30/1 ! identity

(cheese:28940): GStreamer-WARNING **: pad video_source:src returned caps which are not a real subset of its template caps
libv4l2: error converting / decoding frame data: v4l-convert: error destination buffer too small

This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 04 December 2008, 12:26 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Tuesday, 02 December 2008, 11:32 GMT
Seems to be a bug in libv4l. Libv4l seems to have problems processing images larger than 160x120.
Comment by Thomas Bächler (brain0) - Tuesday, 02 December 2008, 12:05 GMT
There was some bugfix in libv4l related to chesse. Do you get this bug with libv4l-0.5.6-1 (this package was created last Saturday)?
Comment by Thomas Bächler (brain0) - Tuesday, 02 December 2008, 12:07 GMT
From the changelog:

libv4l-0.5.5
------------
* Avoid the use of try_fmt as much as possible on UVC cams, instead use the
results of the enum_framesizes ioctl. This is because:
1) try_fmt actually causes IO with UVC cams making apps which do lot of
querrying of device capabilities slow (cheese)
2) some buggy cams don't like getting lots of UVC video probes and crash
when they do

The second issue might be yours.
Comment by MzE2OWM2 (warriant) - Tuesday, 02 December 2008, 16:15 GMT
$ pacman -Q libv4l
libv4l 0.5.6-1

I confirm the only-160x120 thing.
(Downgrading Cheese to 2.24.1 also didn't help.)
Comment by MzE2OWM2 (warriant) - Tuesday, 02 December 2008, 16:22 GMT
The working solution for now is to downgrade to 0.5.3.
Comment by Thomas Bächler (brain0) - Tuesday, 02 December 2008, 19:57 GMT
Could you try to compile 0.5.4 and 0.5.5 as well and see where it breaks?
Comment by MzE2OWM2 (warriant) - Wednesday, 03 December 2008, 15:18 GMT
OK, 0.5.4 works, 0.5.5 doesn't.
Comment by Thomas Bächler (brain0) - Wednesday, 03 December 2008, 16:44 GMT
Thanks. A new version has been released last night that fixes a bug that was introduced in the uvc bugfix in 0.5.5:

libv4l-0.5.7
------------
* Fix a nasty (and stupid) bug in the special try_fmt handling for UVC cams
* Add some more verbose logging of various calls when asking libv4l to log
calls to a file, to assist in (future) debugging

A new package should be in extra in a few minutes, so expect a new version in pacman on your mirror within the next ~6 hours. Please confirm that the bug is fixed with that version.
Comment by MzE2OWM2 (warriant) - Wednesday, 03 December 2008, 17:05 GMT
Fixed. I think you can close the bug now.
Comment by Thomas Bächler (brain0) - Wednesday, 03 December 2008, 18:52 GMT
I'd like to have confirmation from the original reporter, but thanks for your quick responses.
Comment by Francesco (PJF) - Thursday, 04 December 2008, 12:16 GMT
Now It works. You can close it, thanks.

Loading...