When taking a photo, Cheese gets stuck after the countdown and no photo is taken

Bug #942238 reported by Christopher Kyle Horton
78
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Cheese
Fix Released
High
cheese (Ubuntu)
Fix Released
High
Andrew Starr-Bochicchio

Bug Description

Today I noticed on my Precise laptop that when using Cheese to try to take a photo, it would countdown, then just get "stuck" when it is supposed to take the picture. It still shows video from the webcam, but all the buttons and most of the menu entries gray out and stay that way until Cheese is closed and restarted.

Running cheese from a terminal shows the following error message after the countdown ends:
** CRITICAL **: cheese_main_window_finish_countdown_callback: assertion `self != NULL' failed

Taking multiple photos in a burst causes Cheese to show multiple countdowns, but can still be interacted with normally. No pictures are actually taken here, either, but it doesn't end up stuck like it would with a single photo.

Recording video still works perfectly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cheese 3.3.90-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 15:33:49 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1)
MachineType: TOSHIBA Satellite A505
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 cheese 3.3.90-0ubuntu1
 cheese-common 3.3.90-0ubuntu1
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/25/2010
dmi.bios.vendor: INSYDE
dmi.bios.version: 1.80
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnINSYDE:bvr1.80:bd05/25/2010:svnTOSHIBA:pnSatelliteA505:pvrPSAP0U-007007:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: Satellite A505
dmi.product.version: PSAP0U-007007
dmi.sys.vendor: TOSHIBA

Related branches

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :
Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

Running cheese in a terminal shows the following error message immediately after the countdown for a picture is up:

** CRITICAL **: cheese_main_window_finish_countdown_callback: assertion `self != NULL' failed

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cheese (Ubuntu):
status: New → Confirmed
Timo Aaltonen (tjaalton)
Changed in cheese (Ubuntu):
importance: Undecided → High
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Upstream comments from David King <email address hidden> 2012-03-01 11:26:15 UTC:
"I cannot reproduce this, and that assertion should never be false, as it is
from a function internal to the MainWindow class. The only problem that I can
imagine is a threading problem. Please provide a backtrace, breaking on
cheese_main_window_finish_countdown_callback."

See https://wiki.ubuntu.com/Backtrace for more info

Changed in cheese (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Franco Bombi (franco.bombi) wrote :

I have the same behavior on my ACER TravelMate 6593 and ACER Aspire One 532h.

In the attachment you will find a backtrace taken on the TravelMate

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Seems to be a bug in ATI drivers

Changed in cheese (Ubuntu):
status: Incomplete → New
Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

@Vadim You sure? My laptop uses integrated Intel graphics, and it was where I originally reported this issue from.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Christopher, this is what the backtrace from Franco says. Could you please repeat the same instructions (https://wiki.ubuntu.com/DebuggingProgramCrash) and provider a new backtrace?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

@Vadim, here's my backtrace. Let me know if there's anything else you need me to do.

Revision history for this message
Vadim Rutkovsky (roignac) wrote : Re: [Bug 942238] Re: When taking a photo, Cheese gets stuck after the countdown and no photo is taken

Could you please do the same procedure after installing
libglib2.0-0-dbg and libc6-dbg packages? This would give us a bit more
information

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

My apologies. I installed those packages and got a new backtrace. I hope this one will be more useful.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cheese (Ubuntu):
status: New → Confirmed
Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

Now that I'm back in my dorm room and ran all available updates, I can confirm this issue now also occurs on my desktop using Nouveau on integrated NVIDIA graphics. I won't add another backtrace unless you think it's necessary, though.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Thanks, Christopher, I've sent the backtrace to the upstream bug
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in cheese:
importance: Unknown → High
status: Unknown → New
Revision history for this message
William (bthomas-akld) wrote :

Happens when using nvidia blob too.

Revision history for this message
8200 (8200) wrote :

I can confirm this bug on my Dell Vostro V131 notebook with all latest Update.
Ubuntu 12.04 amd64.

Device: "Laptop_Integrated_Webcam_HD(/dev/video0)"

Taking pictures is impossible. But video works just fine, also the effects are funny.

Revision history for this message
Nikol (nikol) wrote :

I can confirm this as well on my HP Pavilion dv6 notebook, 64-bit Ubuntu 12.04, all the latest updates.

Bus 001 Device 004: ID 064e:d281 Suyin Corp.

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
 driver : "uvcvideo"
 card : "HP TrueVision HD"
 bus_info : "usb-0000:00:1a.0-1.2"
 version : 3.2.9
 capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]

I can still take pictures if I turn off the countdown.

Revision history for this message
RC Lages (rclages) wrote :
Download full text (4.2 KiB)

I confirm this bug in my POSITIVO laptop.

tuxmatrix@USS-StarGazer:~$ sudo lshw
[sudo] password for tuxmatrix:
uss-stargazer
    descrição: Laptop
    produto: POSITIVO MOBILE (1234567890)
    fabricante: POSITIVO
    versão: 1.04.00_SIM
    serial: 1A445MY5E
    largura: 64 bits
    capabilities: smbios-2.6 dmi-2.6 vsyscall32
    configuração: boot=normal chassis=laptop sku=1234567890
  *-core
       descrição: Placa-mãe
       produto: MB40II4
       fabricante: POSITIVO
       physical id: 0
       versão: SIM
       serial: Not Applicable
     *-firmware
          descrição: BIOS
          fabricante: Phoenix Technologies LTD
          physical id: 0
          versão: 1.04.00.PO
          date: 06/03/2011
          tamanho: 101KiB
          capacity: 4032KiB
          capabilities: pci pnp upgrade shadowing escd cdboot acpi usb biosbootspecification
     *-cpu
          descrição: CPU
          produto: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
          fabricante: Intel Corp.
          physical id: 4
          informações do barramento: cpu@0
          slot: CPU
          tamanho: 900MHz
          capacity: 900MHz
          largura: 64 bits
          clock: 100MHz
     *-memory
          descrição: Memória do sistema
          physical id: f
          slot: System board or motherboard
          tamanho: 6GiB
        *-display
             descrição: VGA compatible controller
             produto: 2nd Generation Core Processor Family Integrated Graphics Controller
             fabricante: Intel Corporation
             physical id: 2
             informações do barramento: pci@0000:00:02.0
             versão: 09
             largura: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuração: driver=i915 latency=0
             recursos: irq:43 memória:f0000000-f03fffff memória:d0000000-dfffffff ioport:1800(tamanho=64)
tuxmatrix@USS-StarGazer:~$ lscpu
Arquitetura: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) por núcleo: 2
Núcleo(s) por soquete:4
Soquete(s): 1
NUMA node(s): 1
ID do fabricante: GenuineIntel
CPU family: 6
Modelo: 42
Stepping: 7
CPU MHz: 800.000
BogoMIPS: 3990.76
Virtualização: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-7
tuxmatrix@USS-StarGazer:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 004: ID 1ea7:0002
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 004: ID 5986:02a8 Acer, Inc
tuxmatrix@USS-StarGazer:~$ v4l-info

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
 driver : "uvcvideo"
 card...

Read more...

Revision history for this message
Oleksij Rempel (olerem) wrote :

as i said it upstream. The source used by ubuntu package is not clean. You should run "make maintainer-clean-generic" before building package.

Revision history for this message
8200 (8200) wrote :

When I start cheese in a terminal and then click onto "Take a Photo" in the terminal I get the error

"** CRITICAL **: cheese_main_window_finish_countdown_callback: assertion `self != NULL' failed"

Changed in cheese (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cheese - 3.3.90-0ubuntu3

---------------
cheese (3.3.90-0ubuntu3) precise; urgency=low

  * debian/rules: Remove vala generated c files in clean
    target (LP: #942238).
  * debian/patches/01_update_translations.patch:
   - Update to latest translations from git (LP: #953095).
 -- Andrew Starr-Bochicchio <email address hidden> Mon, 19 Mar 2012 00:32:51 -0400

Changed in cheese (Ubuntu):
status: In Progress → Fix Released
Changed in cheese:
status: New → Confirmed
Revision history for this message
8200 (8200) wrote :

With the latest updates cheese really works just fine :-)

Changed in cheese:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.