apport-gtk hangs when cancel button is clicked during audio test tone

Bug #678360 reported by Eliah Kagan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: apport

I wanted to hear Apport's audio test tone on a computer with working audio, to compare it to the tone I heard on a different system that was having sound problems. So even though this bug occurred when using Apport to "report" an audio bug, the system where the bug occurred does *not* have an audio problem. This is a dual-core x86-64 Ubuntu 10.10 Maverick Meerkat system with:

ek@Apok:~$ uname -a
Linux Apok 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux

ek@Apok:~$ apt-cache policy apport-gtk apport
apport:
  Installed: 1.14.1-0ubuntu8
  Candidate: 1.14.1-0ubuntu8
  Version table:
 *** 1.14.1-0ubuntu8 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status
apport-gtk:
  Installed: 1.14.1-0ubuntu8
  Candidate: 1.14.1-0ubuntu8
  Version table:
 *** 1.14.1-0ubuntu8 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

These steps produced the bug:

I ran ubuntu-bug with no arguments, and answered the questions it presented me as follows.

Q: What kind of problem do you want to report?
A: Sound/audio related problems

Q: What particular problem do you observe?
A: Playback does not work, or is crackling

Q: Have you checked that your sound system is plugged in, and turned on?
A: Yes

Q: What is the name of the sound card you are having problems with?
A: HDA-Intel - HDA Intel

Then I was presented with the message box explaining the speaker test and clicked Close. As expected, focus switched to the "Collecting problem information" window, and the test tone started playing. While it was playing, I clicked Cancel.

I expected that this would close the Apport window, but it did not. Instead, the progress bar froze, but the test tone continued playing correctly (i.e. it switched between the two audio channels, it was not frozen). The test tone ended, but the "Collecting problem information" window did not close. The Cancel button appeared pressed, and clicking it again was ineffective, as was clicking the window's "X". I killed apport with SIGTERM.

I have reproduced the bug several times, clicking Cancel during different times in the test tone. Whether I click it at the very beginning of the test tone or after a significant duration of the test tone has passed, Apport freezes as describe above.

I use the LXDE desktop environment via lubuntu-desktop, so to ensure that the bug was not related to interaction between Apport and the Openbox window manager, I logged in (to the same Ubuntu system) with an Xubuntu Desktop (which uses the xfwm4 window manager). I had no trouble reproducing the bug.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apport-gtk 1.14.1-0ubuntu8
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
ApportLog:

Architecture: amd64
Date: Sun Nov 21 20:08:10 2010
ExecutablePath: /usr/share/apport/apport-gtk
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.utf8
 LANG=en_US.utf8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apport

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :
Revision history for this message
fdsoqweo4 (nfiewiqp4n321fdsaniro34214) wrote :

Able to reproduce on i386 Ubuntu 10.10

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

I had forgotten to mention in the bug report: I have confirmed that under other situations on my system, clicking the cancel button in Apport works correctly (i.e., when reporting a bug in a specific package, or while in the process of answering the questions described above).

Revision history for this message
fdsoqweo4 (nfiewiqp4n321fdsaniro34214) wrote :

This is a duplicate of https://bugs.launchpad.net/ubuntu/+source/apport/+bug/667451

Fix recommended:

This is due to an error in speaker-test. The fix (to abort when the stream cannot be opened, instead of trying over and over), is accepted upstream, so it will be fixed in Natty.
For now, please use "ubuntu-bug alsa-base" instead to file the bug. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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