hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07760
[Bug 1998020] Re: Hugin Calibrate Lens asserts on start
I can't reproduce it. Assuming this is with wxWidgets 3.2 with GTK3? And it does not happen with wxWidgets 3.1.x?
Trying to blind fix in repository.
** Summary changed:
- Hugin Calibrate Lens crashes on start
+ Hugin Calibrate Lens asserts on start
** Changed in: hugin
Status: New => Fix Committed
** Changed in: hugin
Milestone: None => 2022.0rc1
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1998020
Title:
Hugin Calibrate Lens asserts on start
Status in Hugin:
Fix Committed
Bug description:
When I start "Hugin Calibrate Lens" from my Debian Testing Cinnamon
Start Menu, a popup labelled "calibrate_lens_gui" pops up saying "An
assertion failed!"
Hugin version: 2021.0.0+dfsg-3
ASSERT INFO:
./src/gtk/bitmap.cpp(541): assert ""width > 0 && height > 0"" failed in Create(): invalid bitmap size
BACKTRACE:
[1] wxBitmap::Create(int, int, int)
[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[3] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[4] wxEvtHandler::TryHereOnly(wxEvent&)
[5] wxEvtHandler::ProcessEventLocally(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[8] wxWindow::DoSetSize(int, int, int, int, int)
[9] wxBoxSizer::RepositionChildren(wxSize const&)
[10] wxStaticBoxSizer::RepositionChildren(wxSize const&)
[11] wxSizer::Layout()
[12] wxSizerItem::SetDimension(wxPoint const&, wxSize const&)
[13] wxBoxSizer::RepositionChildren(wxSize const&)
[14] wxSizer::Layout()
[15] wxWindowBase::Layout()
[16] wxWindowBase::InternalOnSize(wxSizeEvent&)
[17] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[18] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[19] wxEvtHandler::TryHereOnly(wxEvent&)
[20] wxEvtHandler::ProcessEventLocally(wxEvent&)
[21] wxEvtHandler::ProcessEvent(wxEvent&)
[22] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[23] wxWindow::DoSetSize(int, int, int, int, int)
[24] wxWindowBase::WXSetInitialFittingClientSize(int, wxSizer*)
[25] wxSizer::Fit(wxWindow*)
[26] wxSizerXmlHandler::Handle_sizer()
[27] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[28] wxXmlResourceHandlerImpl::CreateChildren(wxObject*, bool)
[29] wxPanelXmlHandler::DoCreateResource()
[30] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[31] wxSizerXmlHandler::Handle_sizeritem()
[32] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[33] wxXmlResourceHandlerImpl::CreateChildren(wxObject*, bool)
[34] wxSizerXmlHandler::Handle_sizer()
[35] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[36] wxXmlResourceHandlerImpl::CreateChildren(wxObject*, bool)
[37] wxFrameXmlHandler::DoCreateResource()
[38] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[39] wxXmlResource::LoadFrame(wxFrame*, wxWindow*, wxString const&)
[40] wxEntry(int&, wchar_t**)
[41] __libc_start_main
Clicking "Continue" brings the same popup again. Clicking "Stop"
closes the program. So Calibrate lens is not usable.
This reminds me of an earlier bug #1909484 (2020.0.0
calibrate_lens_gui - multiple assertions at startup) with the previous
version. This one has been fixed by the wx-widgets team (issue 18520)
- they said, they would check width/height instead bmpData. Seems,
Hugin still calls wxBitmap:Create with an invalid bitmap.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1998020/+subscriptions
References