← Back to team overview

hugin-devs team mailing list archive

[Bug 1451172] [NEW] hugin 2015.0.0-beta1 throws ASSERT INFO; invalid list ctrl item index in SetItem when deleteing a mask

 

Public bug reported:

In hugin 2015.0.0-Beta1, when deleting a mask, the following is thrown

ASSERT INFO:
../src/generic/listctrl.cpp(3367): 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_signal_emit_valist
[19] g_signal_emit
[20] g_closure_invoke
[21] g_signal_emit_valist
[22] g_signal_emit
[23] g_closure_invoke
[24] g_signal_emit_valist
[25] g_signal_emit
[26] gtk_propagate_event
[27] gtk_main_do_event
[28] g_main_context_dispatch
[29] g_main_loop_run
[30] gtk_main
[31] wxGUIEventLoop::DoRun()
[32] wxEventLoopBase::Run()
[33] wxAppConsoleBase::MainLoop()
[34] wxEntry(int&, wchar_t**)
[35] main
[36] __libc_start_main
[37] _start

This is under Ubuntu 14.04 LTS using 2015.0.0~beta1+dfsg-0ubuntu2~trusty from 
https://launchpad.net/~hugin/+archive/ubuntu/next. 

Please note that this version already has 
6903:aace4a6969bc : Fixes a further assert message
and
6904:213b546a477e: Fixes crash in cp editor [1449065]
applied

With kind regards

Stefan Peter

** Affects: hugin
     Importance: Undecided
         Status: New

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

Title:
  hugin 2015.0.0-beta1 throws ASSERT INFO; invalid list ctrl item index
  in SetItem when deleteing a mask

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  In hugin 2015.0.0-Beta1, when deleting a mask, the following is thrown

  ASSERT INFO:
  ../src/generic/listctrl.cpp(3367): 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_signal_emit_valist
  [19] g_signal_emit
  [20] g_closure_invoke
  [21] g_signal_emit_valist
  [22] g_signal_emit
  [23] g_closure_invoke
  [24] g_signal_emit_valist
  [25] g_signal_emit
  [26] gtk_propagate_event
  [27] gtk_main_do_event
  [28] g_main_context_dispatch
  [29] g_main_loop_run
  [30] gtk_main
  [31] wxGUIEventLoop::DoRun()
  [32] wxEventLoopBase::Run()
  [33] wxAppConsoleBase::MainLoop()
  [34] wxEntry(int&, wchar_t**)
  [35] main
  [36] __libc_start_main
  [37] _start

  This is under Ubuntu 14.04 LTS using 2015.0.0~beta1+dfsg-0ubuntu2~trusty from 
  https://launchpad.net/~hugin/+archive/ubuntu/next. 

  Please note that this version already has 
  6903:aace4a6969bc : Fixes a further assert message
  and
  6904:213b546a477e: Fixes crash in cp editor [1449065]
  applied

  With kind regards

  Stefan Peter

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


Follow ups

References