← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1487811] Re: assert wxIsStockId(GetId()) failed in SetItemLabel()

 

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. "

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to audacity in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1487811

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

Status in Audacity:
  New
Status in audacity package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/audacity/+bug/1487811/+subscriptions


References