Audacity crashes on Click Track plugin

Bug #454859 reported by Val Danylchuk
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
audacity (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: audacity

Using Karmic beta, Audacity 1.3.9.

Application crashes when trying to generate more than 1 measure of metronome track with Click Track plugin.
All settings except the number of measures were left at default values.

ProblemType: Crash
Architecture: amd64
Date: Sun Oct 18 21:05:39 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/audacity
NonfreeKernelModules: nvidia
Package: audacity 1.3.9-5
ProcCmdline: audacity
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SegvAnalysis:
 Segfault happened at: 0x7a3b87: mov (%rdx),%rcx
 PC (0x007a3b87) ok
 source "(%rdx)" (0xfffffffff460d608) not located in a known VMA region (needed readable region)!
 destination "%rcx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: audacity
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 xcond ()
 ?? ()
Title: audacity crashed with SIGSEGV in xcond()
Uname: Linux 2.6.31-14-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev sambashare scanner video
XsessionErrors:
 (gnome-settings-daemon:2251): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:2251): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2310): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2296): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:2293): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.2/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

Related branches

Revision history for this message
Val Danylchuk (valwire) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:evform (form=<value optimized out>) at nyquist/xlisp/xleval.c:231
evpushargs (fun=<value optimized out>,
evform (form=<value optimized out>)
xcond () at nyquist/xlisp/xlcont.c:394
evform (form=<value optimized out>)

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in audacity (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Benjamin Drung (bdrung)
visibility: private → public
Revision history for this message
Frank Cheung (fcuk112) wrote :

unable to reproduce in karmic latest, audacity 1.3.9 - can you please tell me if you can still produce this bug?

Changed in audacity (Ubuntu):
status: New → Incomplete
Revision history for this message
Val Danylchuk (valwire) wrote :

Yes, still reproduces with 1.3.9-6 in Karmic with all the latest updates.

I even performed a complete removal of audacity and audacity-data in Synaptic,
then manually removed the .audacity* folders in my home directory and
re-installed both packages.

Still, when I go to Generate -> Click Track and leave all the default settings,
the first time there is no result (no track generated), and on the second
attempt, Audacity crashes. This is 100% reproducible on my system.

What additional materials I can attach to debug the problem?

Revision history for this message
Val Danylchuk (valwire) wrote :

Maybe this will help

== Console output when running the plugin the first time: ====================

ERROR: Could not find sinewave.raw in rawwaves. Something is wrong with the installation or configuration.

; loading "/usr/share/audacity/nyquist/init.lsp"
SETDIR: No such file or directory
Set *default-sf-dir* to "/home/valikd" in fileio.lsp
AutoNorm feature is on.
Default sound file is valikd-temp.wav.
system.lsp : *RUNTIME-PATH* = /usr/share/audacity/nyquist/

Nyquist -- A Language for Sound Synthesis and Composition
    Copyright (c) 1991,1992,1995,2007-2009 by Roger B. Dannenberg
    Version 3.03

error: too few arguments

== ...and the second time: ==============================
1> Segmentation fault

Revision history for this message
Benjamin Drung (bdrung) wrote :

When I open audacity, Generate -> Click Track..., I get an error dialog saying "Nyquist returned the value: 10". The output on the terminal is different:

$ audacity
ERROR: Could not find sinewave.raw in rawwaves. Something is wrong with the installation or configuration.

; loading "/usr/share/audacity/nyquist/init.lsp"
SETDIR: No such file or directory
Set *default-sf-dir* to "/home/skipper" in fileio.lsp
AutoNorm feature is on.
Default sound file is skipper-temp.wav.
system.lsp : *RUNTIME-PATH* = /usr/share/audacity/nyquist/

Nyquist -- A Language for Sound Synthesis and Composition
    Copyright (c) 1991,1992,1995,2007-2009 by Roger B. Dannenberg
    Version 3.03

error: bad place form
1> 0
1> 1
1> 92
1> 80
1> #<Sound: #2fd06b0>
1>

Revision history for this message
Benjamin Drung (bdrung) wrote :

I removed ~/.audacity-data, but the result was the same. It does not crash, but it does not work either.

Changed in audacity (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Benjamin Drung (bdrung) wrote :

I ran this command twice, and then audacity crashes.

Revision history for this message
tifff (horst-fiedler) wrote :

As nobody seems to be affected: I'm adding my observation:

When creating clock track (Erzeugen -> Click track) console shows:

ERROR: Could not find sinewave.raw in rawwaves. Something is wrong with the installation or configuration.

; loading "/usr/share/audacity/nyquist/init.lsp"
SETDIR: No such file or directory
Set *default-sf-dir* to "/home/horst/tmp" in fileio.lsp
AutoNorm feature is on.
Default sound file is horst-temp.wav.
system.lsp : *RUNTIME-PATH* = /usr/share/audacity/nyquist/

Nyquist -- A Language for Sound Synthesis and Composition
    Copyright (c) 1991,1992,1995,2007-2009 by Roger B. Dannenberg
    Version 3.03

error: bad place form
1> 0
1> 1
1> 92
1> 80
1> #<Sound: #b500cf60>
1>

and popup confirm dialog shows Nyquist error 10. That happens only on first call after adaucity start, when repeating click track creation that works normal (audacity never crashed).

Happens since I upgraded from jaunty to karmic on all my machines (Intel Core 2 Quad, AMD Athlon 64).

Revision history for this message
Benjamin Drung (bdrung) wrote :

tifff, the bug is already triaged. You reported the same as me (refer to comment #7). The bug is still in audacity 1.3.10-1 with an changed Nyquist error:

error: too few arguments

When running the click track command twice, audacity will segfault.

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

This bug was fixed in the package audacity - 1.3.11-1

---------------
audacity (1.3.11-1) unstable; urgency=low

  * New upstream release.
    - builds with binutils-gold (Closes: #553969)
    - builds with upcoming gcc 4.5 (gcc-snapshot 20100117-1) (Closes: #564865)
    - Click Track and other Nyquist plugins work on amd64 (LP: #454859)
  * Drop hurd.patch (accepted upstream).
  * Remove asterisk from debian/NEWS.

audacity (1.3.10-2) unstable; urgency=low

  * Build against system libvamp and taglib.
  * Add hurd.patch to fix missing NOFILE on GNU/Hurd.
 -- Benjamin Drung <email address hidden> Tue, 02 Feb 2010 20:55:44 +0000

Changed in audacity (Ubuntu):
status: Triaged → Fix Released
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.