I just got my webcam plugged in on 12.04.1, and cheese hangs on startup.
Here's the stack:
Program received signal SIGINT, Interrupt.
0x00007ffff555888d in __libc_waitpid (pid=<optimized out>, stat_loc=<optimized
out>, options=<optimized out>)
at ../sysdeps/unix/sysv/linux/waitpid.c:41
41 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
(gdb) bt
#0 0x00007ffff555888d in __libc_waitpid (pid=<optimized out>,
stat_loc=<optimized out>, options=<optimized out>)
at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1 0x00007ffff57ebd11 in g_spawn_sync (working_directory=<optimized out>,
argv=<optimized out>, envp=<optimized out>, flags=<optimized out>,
child_setup=<optimized out>, user_data=<optimized out>,
standard_output=0x0, standard_error=0x0, exit_status=0x7fffffffdcbc, error=0x0)
at /build/buildd/glib2.0-2.32.3/./glib/gspawn.c:405
#2 0x00007ffff57ec179 in g_spawn_command_line_sync (command_line=<optimized
out>, standard_output=0x0, standard_error=0x0,
exit_status=0x7fffffffdcbc, error=0x0) at
/build/buildd/glib2.0-2.32.3/./glib/gspawn.c:722
#3 0x00007ffff74b9bc4 in gnome_desktop_thumbnail_factory_generate_thumbnail ()
from /usr/lib/libgnome-desktop-3.so.2
#4 0x00000000004187a3 in ?? ()
#5 0x00007ffff57add53 in g_main_dispatch (context=0x637f90) at
/build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#6 g_main_context_dispatch (context=0x637f90) at
/build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#7 0x00007ffff57ae0a0 in g_main_context_iterate (dispatch=1, block=<optimized
out>, context=0x637f90, self=<optimized out>)
at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#8 g_main_context_iterate (context=0x637f90, block=<optimized out>,
dispatch=1, self=<optimized out>)
at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#9 0x00007ffff57ae164 in g_main_context_iteration (context=0x637f90,
may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#10 0x00007ffff5f61c94 in g_application_run (application=0xb60790,
argc=<optimized out>, argv=0x7fffffffe018)
at /build/buildd/glib2.0-2.32.3/./gio/gapplication.c:1507
#11 0x0000000000417848 in _vala_main ()
#12 0x00007ffff51ad76d in __libc_start_main (main=0x40c670 <main>, argc=1,
ubp_av=0x7fffffffe018, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe008) at libc-start.c:226
#13 0x000000000040c6b9 in _start ()
So the problem appears to be that
gnome_desktop_thumbnail_factory_generate_thumbnail()
does an exec(), and cheese gets blocked in waitpid() waiting for the
thumbnail to complete.
Interestingly, I don't see any hung gnome-* processes:
ps auwx | grep gnome
xoloki 3452 0.0 0.1 664020 18600 ? Sl Sep20 0:00
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
xoloki 4437 0.0 0.0 306452 10672 ? Sl Sep20 0:00
/usr/bin/gnome-screensaver --no-daemon
xoloki 12500 0.0 0.0 290712 4092 ? Sl Sep21 0:00
/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
xoloki 18882 0.0 0.0 10332 872 pts/6 S+ 06:53 0:00 grep gnome
I'm about to download the source so I can figure out what's going on...
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cheese in Ubuntu.
https://bugs.launchpad.net/bugs/1001965
Title:
Cheese works intermittently on LTS 12.04
Status in “cheese” package in Ubuntu:
Confirmed
Bug description:
Problem reproducable?
Yes, just start cheese. It displays the program window. The part where the
webcam should work is black.
Sometimes it works, but there seems te be no pattern.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cheese 3.4.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: nvidia wl
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sun May 20 16:36:26 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386
(20120423)
MachineType: Hewlett-Packard HP Pavilion dv6 Notebook PC
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=nl_NL.UTF-8
SHELL=/bin/bash
RelatedPackageVersions:
cheese 3.4.1-0ubuntu2
cheese-common 3.4.1-0ubuntu2
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/14/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.02
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3629
dmi.board.vendor: Quanta
dmi.board.version: 18.0B
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias:
dmi:bvnHewlett-Packard:bvrF.02:bd11/14/2008:svnHewlett-Packard:pnHPPaviliondv6NotebookPC:pvrF.02:rvnQuanta:rn3629:rvr18.0B:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6 Notebook PC
dmi.product.version: F.02
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1001965/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp