Bug 817216 - Segfault on startup
Summary: Segfault on startup
Keywords:
Status: CLOSED DUPLICATE of bug 810429
Alias: None
Product: Fedora
Classification: Fedora
Component: cheese
Version: 17
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-28 05:35 UTC by Richard Chan
Modified: 2012-06-06 11:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-06 11:02:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard Chan 2012-04-28 05:35:01 UTC
Description of problem:
cheese segfaults on startup


Version-Release number of selected component (if applicable):
Cheese:
cheese-3.4.1-1.fc17.src.rpm

Kernel
uname -ar
Linux  3.3.0-1.fc17.x86_64 #1 SMP Mon Mar 19 03:03:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Webcam:
[ 2964.425023] usb 2-2: new high-speed USB device number 2 using ehci_hcd
[ 2964.793390] usb 2-2: New USB device found, idVendor=046d, idProduct=081d
[ 2964.793403] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 2964.793411] usb 2-2: SerialNumber: 2E1256A0
[ 2964.894037] Linux media interface: v0.10
[ 2964.910362] Linux video capture interface: v2.00
[ 2964.917942] uvcvideo: Found UVC 1.00 device <unnamed> (046d:081d)
[ 2965.040875] input: UVC Camera (046d:081d) as /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.2/input/input13
[ 2965.041412] usbcore: registered new interface driver uvcvideo
[ 2965.041419] USB Video Class driver (1.1.1)
[ 2965.054312] ALSA sound/usb/mixer.c:846 5:0: cannot get min/max values for control 2 (id 5)
[ 2965.055349] usbcore: registered new interface driver snd-usb-audio
[ 2965.086864] ALSA sound/usb/mixer.c:810 set resolution quirk: cval->res = 384



How reproducible:
Always


Steps to Reproduce:
1. Start cheese
2.
3.
  
Actual results:
Segfault
(cheese:7215): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:7215): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:7215): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:7215): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:7215): Gtk-WARNING **: Attempting to add a widget with type GtkGrid to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:7215): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

** (cheese:7215): CRITICAL **: cheese_camera_device_get_uuid: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed
Segmentation fault

[ 2978.400072] cheese[7123]: segfault at 0 ip 0000003a56c84426 sp 00007fff5df9df28 error 4 in libc-2.15.so[3a56c00000+1ac000]
[ 2981.721743] cheese[7130]: segfault at 0 ip 0000003a56c84426 sp 00007fff3e2591f8 error 4 in libc-2.15.so[3a56c00000+1ac000]
[ 3022.614365] cheese[7142]: segfault at 0 ip 0000003a56c84426 sp 00007fffa2578ac8 error 4 in libc-2.15.so[3a56c00000+1ac000]
[ 3384.524966] cheese[7215]: segfault at 0 ip 0000003a56c84426 sp 00007fff2d0443b8 error 4 in libc-2.15.so[3a56c00000+1ac000]


Expected results:
cheese window opens


Additional info:
Same hardware, working under Fedora 16
On a latter kernel 3.3.2-8 there is no segfault but an application hang.
The window may or may not appear but is unresponsive

Comment 1 Richard Chan 2012-04-28 23:59:03 UTC
Webcam is Logitech HD 720p
Bus 002 Device 002: ID 046d:081d Logitech, Inc.
Works under F17 skype, F16 cheese

segfault occurs with latest kernel: 

Linux XXXXX 3.3.4-1.fc17.x86_64 #1 SMP Fri Apr 27 18:39:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

(with the previous kernel 3.3.2-8 I get application free)

[   84.731076] usb 2-2: new high-speed USB device number 2 using ehci_hcd
[   85.099284] usb 2-2: New USB device found, idVendor=046d, idProduct=081d
[   85.099294] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[   85.099302] usb 2-2: SerialNumber: 2E1256A0
[   85.205588] Linux media interface: v0.10
[   85.231928] Linux video capture interface: v2.00
[   85.347705] ALSA sound/usb/mixer.c:846 5:0: cannot get min/max values for control 2 (id 5)
[   85.348684] uvcvideo: Found UVC 1.00 device <unnamed> (046d:081d)
[   85.348692] usbcore: registered new interface driver snd-usb-audio
[   85.362797] input: UVC Camera (046d:081d) as /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.2/input/input13
[   85.363411] usbcore: registered new interface driver uvcvideo
[   85.363420] USB Video Class driver (1.1.1)
[   85.393651] ALSA sound/usb/mixer.c:810 set resolution quirk: cval->res = 384
[   94.676498] cheese[2424]: segfault at 0 ip 0000003a56c84426 sp 00007fff55979448 error 4 in libc-2.15.so[3a56c00000+1ac000]




$ cheese

(cheese:2501): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2501): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2501): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2501): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2501): Gtk-WARNING **: Attempting to add a widget with type GtkGrid to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2501): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

** (cheese:2501): CRITICAL **: cheese_camera_device_get_uuid: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed
Segmentation fault

Comment 2 Richard Chan 2012-05-23 00:24:19 UTC
This is a clone of #815134

Comment 3 Alan Eliasen 2012-05-30 08:10:34 UTC
I had this same problem after installing Fedora 17 (and upgrading all packages.)

I fixed it by removing the cheese package and reinstalling it (I don't know why this worked; it didn't bring in or remove any other dependencies and apparently reinstalled the exact same version.)

# yum remove cheese
# yum install cheese

Comment 4 Hans de Goede 2012-06-06 11:02:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.