Cheese doesn't start, hangs with 100% CPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gstreamer0.10 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Cheese doesn't work on my system (Ubuntu 12.04). It never opens a window, and keeps using 100% CPU until I kill it.
Version of cheese:
cheese:
Installed: 3.3.92-0ubuntu1
Candidate: 3.3.92-0ubuntu1
Version table:
*** 3.3.92-0ubuntu1 0
500 http://
100 /var/lib/
My laptop is a Lenovo x121e with Intel Core i3 2367M processor, 4GB RAM and Intel HD graphics. The webcam does seem to work correctly through gstreamer, using:
gst-launch-0.10 v4l2src ! video/x-
Here's the backtrace from running cheese:
=================
GNU gdb (Ubuntu/Linaro 7.4-2012.
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/cheese
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7fffeb67d700 (LWP 5229)]
[New Thread 0x7fffeae7c700 (LWP 5230)]
(cheese:5226): 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:5226): 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:5226): 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:5226): 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:5226): 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:5226): 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
[New Thread 0x7fffe2692700 (LWP 5231)]
[Thread 0x7fffe2692700 (LWP 5231) exited]
Program received signal SIGINT, Interrupt.
0x00007ffff5a1aeb0 in g_type_is_a () from /usr/lib/
(gdb) backtrace full
#0 0x00007ffff5a1aeb0 in g_type_is_a () from /usr/lib/
No symbol table info available.
#1 0x00007ffff5a1d955 in g_type_
No symbol table info available.
#2 0x00007ffff776b9a2 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#3 0x00007ffff776bc2c in gst_value_subtract () from /usr/lib/
No symbol table info available.
#4 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#5 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#6 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#7 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#8 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#9 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
No symbol table info available.
#10 0x00007ffff774ee10 in ?? () from /usr/lib/
No symbol table info available.
#11 0x00007ffff774f4b1 in gst_structure_
No symbol table info available.
#12 0x00007ffff770b6bc in gst_caps_
No symbol table info available.
#13 0x00007ffff770caf3 in gst_caps_
No symbol table info available.
#14 0x00007ffff034e4cf in ?? () from /usr/lib/
No symbol table info available.
#15 0x00007ffff772a804 in ?? () from /usr/lib/
No symbol table info available.
#16 0x00007ffff772de0d in gst_pad_
No symbol table info available.
#17 0x00007ffff775f9ab in gst_element_
No symbol table info available.
#18 0x00007ffff7760a3a in gst_element_
No symbol table info available.
#19 0x00007fffe03b00ba in ?? () from /usr/lib/
No symbol table info available.
#20 0x00007fffe03b026f in ?? () from /usr/lib/
No symbol table info available.
#21 0x00007fffe03b045d in ?? () from /usr/lib/
No symbol table info available.
#22 0x00007fffe03a495c in ?? () from /usr/lib/
No symbol table info available.
#23 0x00007ffff7717dac in gst_element_
No symbol table info available.
#24 0x00007ffff77186d0 in ?? () from /usr/lib/
No symbol table info available.
#25 0x00007ffff7bd02e5 in cheese_camera_play () from /usr/lib/
No symbol table info available.
#26 0x00000000004167b0 in cheese_
No symbol table info available.
#27 0x0000000000417632 in cheese_
No symbol table info available.
#28 0x00007ffff59f9e72 in g_closure_invoke () from /usr/lib/
No symbol table info available.
#29 0x00007ffff5a0b943 in ?? () from /usr/lib/
No symbol table info available.
#30 0x00007ffff5a14230 in g_signal_
No symbol table info available.
#31 0x00007ffff5a14472 in g_signal_emit () from /usr/lib/
No symbol table info available.
#32 0x00000000004172f8 in ?? ()
No symbol table info available.
#33 0x00007ffff5efa978 in g_application_run () from /usr/lib/
No symbol table info available.
#34 0x0000000000417848 in _vala_main ()
No symbol table info available.
#35 0x00007ffff513c76d in __libc_start_main () from /lib/x86_
No symbol table info available.
#36 0x000000000040c6b9 in _start ()
No symbol table info available.
(gdb) info registers
rax 0x7ffff5c3a6c0 140737316628160
rbx 0x7fffffffd138 140737488343352
rcx 0x0 0
rdx 0x39 57
rsi 0xdc 220
rdi 0xe4 228
rbp 0x14617d8 0x14617d8
rsp 0x7fffffffd018 0x7fffffffd018
r8 0x64865a0 105407904
r9 0x0 0
r10 0x0 0
r11 0x4 4
r12 0x7fffffffd120 140737488343328
r13 0x7fffffffd138 140737488343352
r14 0xdc 220
r15 0x1c8 456
rip 0x7ffff5a1aeb0 0x7ffff5a1aeb0 <g_type_is_a>
eflags 0x202 [ IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb) x/16u[Ko[Ki #[K$pc
=> 0x7ffff5a1aeb0 <g_type_is_a>: push %rbp
0x7ffff5a1aeb1 <g_type_is_a+1>: mov %rdi,%rbp
0x7ffff5a1aeb4 <g_type_is_a+4>: and $0xffffffffffff
0x7ffff5a1aeb8 <g_type_is_a+8>: push %rbx
0x7ffff5a1aeb9 <g_type_is_a+9>: sub $0x8,%rsp
0x7ffff5a1aebd <g_type_is_a+13>: cmp $0x3fc,%rdi
0x7ffff5a1aec4 <g_type_is_a+20>: ja 0x7ffff5a1aed5 <g_type_is_a+37>
0x7ffff5a1aec6 <g_type_is_a+22>: lea 0x21f7f3(%rip),%rax # 0x7ffff5c3a6c0
0x7ffff5a1aecd <g_type_is_a+29>: shr $0x2,%rdi
0x7ffff5a1aed1 <g_type_is_a+33>: mov (%rax,%rdi,8),%rbp
0x7ffff5a1aed5 <g_type_is_a+37>: mov %rsi,%rbx
0x7ffff5a1aed8 <g_type_is_a+40>: and $0xffffffffffff
0x7ffff5a1aedc <g_type_is_a+44>: cmp $0x3fc,%rsi
0x7ffff5a1aee3 <g_type_is_a+51>: ja 0x7ffff5a1aef4 <g_type_is_a+68>
0x7ffff5a1aee5 <g_type_is_a+53>: lea 0x21f7d4(%rip),%rax # 0x7ffff5c3a6c0
0x7ffff5a1aeec <g_type_is_a+60>: shr $0x2,%rsi
(gdb) thread apply all backtrace
Thread 3 (Thread 0x7fffeae7c700 (LWP 5230)):
#0 0x00007ffff5201b03 in poll () from /lib/x86_
#1 0x00007ffff573d0e6 in ?? () from /lib/x86_
#2 0x00007ffff573d54a in g_main_loop_run () from /lib/x86_
#3 0x00007ffff5f2e656 in ?? () from /usr/lib/
#4 0x00007ffff575ecd5 in ?? () from /lib/x86_
#5 0x00007ffff54dfe9a in start_thread () from /lib/x86_
#6 0x00007ffff520d4bd in clone () from /lib/x86_
#7 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffeb67d700 (LWP 5229)):
#0 0x00007ffff5201b03 in poll () from /lib/x86_
#1 0x00007ffff573d0e6 in ?? () from /lib/x86_
#2 0x00007ffff573d54a in g_main_loop_run () from /lib/x86_
#3 0x00007fffebebe98b in ?? () from /usr/lib/
#4 0x00007ffff575ecd5 in ?? () from /lib/x86_
#5 0x00007ffff54dfe9a in start_thread () from /lib/x86_
#6 0x00007ffff520d4bd in clone () from /lib/x86_
#7 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fc4940 (LWP 5226)):
#0 0x00007ffff5a1aeb0 in g_type_is_a () from /usr/lib/
#1 0x00007ffff5a1d955 in g_type_
#2 0x00007ffff776b9a2 in gst_value_subtract () from /usr/lib/
#3 0x00007ffff776bc2c in gst_value_subtract () from /usr/lib/
#4 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
#5 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
#6 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
#7 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
#8 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
#9 0x00007ffff776bba6 in gst_value_subtract () from /usr/lib/
#10 0x00007ffff774ee10 in ?? () from /usr/lib/
#11 0x00007ffff774f4b1 in gst_structure_
#12 0x00007ffff770b6bc in gst_caps_
#13 0x00007ffff770caf3 in gst_caps_
#14 0x00007ffff034e4cf in ?? () from /usr/lib/
#15 0x00007ffff772a804 in ?? () from /usr/lib/
#16 0x00007ffff772de0d in gst_pad_
#17 0x00007ffff775f9ab in gst_element_
#18 0x00007ffff7760a3a in gst_element_
#19 0x00007fffe03b00ba in ?? () from /usr/lib/
#20 0x00007fffe03b026f in ?? () from /usr/lib/
#21 0x00007fffe03b045d in ?? () from /usr/lib/
#22 0x00007fffe03a495c in ?? () from /usr/lib/
#23 0x00007ffff7717dac in gst_element_
#24 0x00007ffff77186d0 in ?? () from /usr/lib/
#25 0x00007ffff7bd02e5 in cheese_camera_play () from /usr/lib/
#26 0x00000000004167b0 in cheese_
#27 0x0000000000417632 in cheese_
#28 0x00007ffff59f9e72 in g_closure_invoke () from /usr/lib/
#29 0x00007ffff5a0b943 in ?? () from /usr/lib/
#30 0x00007ffff5a14230 in g_signal_
#31 0x00007ffff5a14472 in g_signal_emit () from /usr/lib/
#32 0x00000000004172f8 in ?? ()
#33 0x00007ffff5efa978 in g_application_run () from /usr/lib/
#34 0x0000000000417848 in _vala_main ()
#35 0x00007ffff513c76d in __libc_start_main () from /lib/x86_
#36 0x000000000040c6b9 in _start ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 5226] will be killed.
Quit anyway? (y or n)
=================
Attached is the output from strace.
---
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120315)
MachineType: LENOVO 30457JG
Package: cheese 3.3.92-0ubuntu1
PackageArchitec
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
cheese 3.3.92-0ubuntu1
cheese-common 3.3.92-0ubuntu1
Tags: precise
Uname: Linux 3.2.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 01/11/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 8QET54WW (1.15 )
dmi.board.
dmi.board.name: 30457JG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 30457JG
dmi.product.
dmi.sys.vendor: LENOVO
apport information