← Back to team overview

hugin-devs team mailing list archive

[Bug 1698048] Re: faile assertion when deleting mask

 

I tested also on Fedora. And there were no assertions.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1698048

Title:
  faile assertion when deleting mask

Status in Hugin:
  Fix Committed

Bug description:
  I'm getting a failed assertion dialog when trying to delete a mask
  when there is more than one mask.

  To recreate:
  * start hugin, add one image, go to masks tab
  * add an "exclude region from all images of this lens" mask
  * add a second mask
  * click "Delete mask"
  * failed assertion window appears

  If I select the first mask before clicking delete, it works.

  Fencepost error?

  ---------------

  This is latest nightly on Kubuntu 16.10: 2017.1.0.6a5ba6861da0
  libpano13: 2.9.19 
  Boost: 1.61.0
  Exiv2: 0.25
  SQLite3: 3.14.1
  Vigra: 1.11.0
  LittleCMS2: 2.7

  Let me know if you have trouble reproducing.

  Thanks!

  ---------------------

  Backtrace:

  ASSERT INFO:
  ../src/generic/listctrl.cpp(3386): assert "litem >= 0 && (size_t)litem < GetItemCount()" failed in SetItemState(): invalid list ctrl item index in SetItem

  BACKTRACE:
  [1] wxGenericListCtrl::SetItemState(long, long, long)
  [2] MaskEditorPanel::panoramaImagesChanged(HuginBase::Panorama&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&)
  [3] HuginBase::Panorama::changeFinished(bool)
  [4] PanoCommand::PanoCommand::execute()
  [5] PanoCommand::CommandHistory::addCommand(PanoCommand::PanoCommand*, bool)
  [6] MaskEditorPanel::OnMaskDelete(wxCommandEvent&)
  [7] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
  [8] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
  [9] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
  [10] wxEvtHandler::TryHereOnly(wxEvent&)
  [11] wxEvtHandler::ProcessEventLocally(wxEvent&)
  [12] wxEvtHandler::ProcessEvent(wxEvent&)
  [13] wxWindowBase::TryAfter(wxEvent&)
  [14] wxWindowBase::TryAfter(wxEvent&)
  [15] wxWindowBase::TryAfter(wxEvent&)
  [16] wxWindowBase::TryAfter(wxEvent&)
  [17] wxEvtHandler::SafelyProcessEvent(wxEvent&)
  [18] g_closure_invoke
  [19] g_signal_emit_valist
  [20] g_signal_emit
  [21] g_closure_invoke
  [22] g_signal_emit_valist
  [23] g_signal_emit
  [24] g_closure_invoke
  [25] g_signal_emit_valist
  [26] g_signal_emit
  [27] gtk_propagate_event
  [28] gtk_main_do_event
  [29] g_main_context_dispatch
  [30] g_main_loop_run
  [31] gtk_main
  [32] wxGUIEventLoop::DoRun()
  [33] wxEventLoopBase::Run()
  [34] wxAppConsoleBase::MainLoop()
  [35] wxEntry(int&, wchar_t**)
  [36] main
  [37] __libc_start_main
  [38] _start

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


References