assert wxIsStockId(GetId()) failed in SetItemLabel()

Bug #1487811 reported by themusicgod1
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Audacity
Confirmed
Undecided
Unassigned
Ubuntu Studio
Fix Released
Undecided
Unassigned
audacity (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Ubuntu: wily werewolf 15.10
audacity: 2.0.6-2build1

1) started up audacity with an argument of an old .aup that would have been created some time in 2013.
2) pop up window appears with "An assertion failed!

ASSERT INFO:
../src/common/menucmn.cpp(310): assert "wxIsStockID(GetId())" failed in SetItemLabel(): A non-stock menu item with an empty label?

BACKTRACE:
[1] wxMenuItemBase::SetItemLabel(wxString const&)
[2] wxMenuItemBase::wxMenuItemBase(wxMenu*, int, wxString const&, wxString const&, wxItemKind, wxMenu*)
[3] wxMenuItem::wxMenuItem(wxMenu*, int, wxString const&, wxString const&, wxItemKind, wxMenu*)
[4] wxMenuItemBase::New(wxMenu*, int, wxString const&, wxString const&, wxItemKind, wxMenu*)
[5] CommandManager::AddItemList(wxString, wxArrayString, CommandFunctor*, bool)
[6] AudacityProject::CreateMenusAndCommands()
[7] AudacityProject::AudacityProject(wxWindow*, int, wxPoint const&, wxSize const&)
[8] CreateNewAudacityProject()
[9] AudacityApp::OnInit()
[10] wxEntry(int&, wchar_t**)
[11] main
[12] __libc_start_main
[13] _start

followed by

ASSERT INFO:
../src/common/stockitem.cpp(213): assert "Assert failure" failed in wxGetStockLabel(): invalid stock item ID

BACKTRACE:
[1] wxGetStockLabel(int, long)
[2] wxMenuItemBase::SetItemLabel(wxString const&)
[3] wxMenuItemBase::wxMenuItemBase(wxMenu*, int, wxString const&, wxString const&, wxItemKind, wxMenu*)
[4] wxMenuItem::wxMenuItem(wxMenu*, int, wxString const&, wxString const&, wxItemKind, wxMenu*)
[5] wxMenuItemBase::New(wxMenu*, int, wxString const&, wxString const&, wxItemKind, wxMenu*)
[6] CommandManager::AddItemList(wxString, wxArrayString, CommandFunctor*, bool)
[7] AudacityProject::CreateMenusAndCommands()
[8] AudacityProject::AudacityProject(wxWindow*, int, wxPoint const&, wxSize const&)
[9] CreateNewAudacityProject()
[10] AudacityApp::OnInit()
[11] wxEntry(int&, wchar_t**)
[12] main
[13] __libc_start_main
[14] _start

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: audacity 2.0.6-2build1
Uname: Linux 4.1.0-040100rc1-generic x86_64
AlsaCards:
 0 [PCH ]: HDA-Intel - HDA Intel PCH
                       HDA Intel PCH at 0xd3610000 irq 32
ApportVersion: 2.18-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Aug 22 21:57:41 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (409 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: audacity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1487811

tags: added: iso-testing
Revision history for this message
Linuzo (jpeckover-r) wrote :

I can confirm this bug as well!

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

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

Changed in audacity (Ubuntu):
status: New → Confirmed
Changed in audacity (Ubuntu):
importance: Undecided → Low
Revision history for this message
Torbjörn Rathsman (milasudril) wrote :

I guess this is a version issue with the wx.

From audacity web page:

Warning icon GNU/Linux:

    "Some Linux distributions are supplying Audacity builds that are unstable because built with wxWidgets 3.x which Audacity does not yet support. This applies for example to Ubuntu "Daily Builds", Ubuntu Vivid and Debian Jessie (Testing). Audacity 2.1.1. will now issue a warning at start up if it was built with wx3 by mistake. You can find out more about this here: Incorrect wxWidgets Version. To avoid issues you can build wxWidgets 2.8.12 then compile Audacity against wxWidgets 2.8.12. "

Revision history for this message
Torbjörn Rathsman (milasudril) wrote :

Here is *the* solution. Until the bug gets fixed, this PPA can be used.

https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/audacity

any Audacity related directories needs to be removed before starting the new version.

tags: added: i386
removed: iso-testing
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1487811

tags: added: iso-testing
Revision history for this message
ipatrol (ipatrol6010) wrote :

May I suggest that, at least until the wx bugs are fixed, that the Audacity packages in the repository be replaced with the ones from comment 6? Those work perfectly, the ones in the official repo are unusable. That's quite a topsy-turvy situation that should be addressed.

Changed in ubuntustudio:
status: New → Confirmed
Changed in audacity:
status: New → Confirmed
Revision history for this message
themusicgod1 (themusicgod1) wrote :

Seems to be resolved in xenial/16.04

Revision history for this message
Erich Eickmeyer  (eeickmeyer) wrote :

Apparently resolved in 16.04 and 15.10 is past EOL. Closing.

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