2020.0.0 calibrate_lens_gui - multiple assertions at startup

Bug #1909484 reported by Andreas Metzler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned
hugin (Debian)
Fix Released
Unknown

Bug Description

Hello,

starting calibrate_lens_gui generates assertion errors:

ASSERT INFO:
../src/gtk/bitmap.cpp(1262): assert "bmpData->m_pixbufNoMask" failed in SetSourceSurface(): no bitmap data

BACKTRACE:
[1] wxBitmap::SetSourceSurface(_cairo*, int, int, wxColour const*, wxColour const*) const
[2] wxBitmap::Draw(_cairo*, int, int, bool, wxColour const*, wxColour const*) const
[3] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[4] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[5] wxEvtHandler::TryHereOnly(wxEvent&)
[6] wxEvtHandler::ProcessEventLocally(wxEvent&)
[7] wxEvtHandler::ProcessEvent(wxEvent&)
[8] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[9] wxWindow::GTKSendPaintEvents(_cairo*)
[10] g_closure_invoke
[11] g_signal_emit_valist
[12] g_signal_emit
[13] gtk_container_propagate_draw
[14] gtk_container_propagate_draw
[15] gtk_container_propagate_draw
[16] g_closure_invoke
[17] g_signal_emit_valist
[18] g_signal_emit
[19] gtk_container_propagate_draw
[20] g_closure_invoke
[21] g_signal_emit_valist
[22] g_signal_emit
[23] gtk_container_propagate_draw
[24] gtk_container_propagate_draw
[25] gtk_main_do_event
[26] g_signal_emit_valist
[27] g_signal_emit
[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] __libc_start_main

Te error is shown three times. After clicking though (Continue) the program is stuck (no window refresh) and nned to be Ctrl-C-ed.

cu Andreas

Revision history for this message
tmodes (tmodes) wrote :

I can't reproduce the issue. I get no assert on Windows and also not on Ubuntu.

The issue seems to stem from wxWidgets see http://trac.wxwidgets.org/ticket/18520
and seems to fixed up-streams already in the 3.1.x series.

Could you please test if the attached patch fixes the issue for you?

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote : Re: [Bug 1909484] Re: 2020.0.0 calibrate_lens_gui - multiple assertions at startup

On 2020-12-29 tmodes <email address hidden> wrote:
> I can't reproduce the issue. I get no assert on Windows and also not on
> Ubuntu.

> The issue seems to stem from wxWidgets see
> http://trac.wxwidgets.org/ticket/18520 and seems to fixed up-streams
> already in the 3.1.x series.

> Could you please test if the attached patch fixes the issue for you?

It does. Thanks a lot!

cu Andreas

Revision history for this message
tmodes (tmodes) wrote :

Committed changes to repository in default branch.

Andreas, thanks for testing.

Changed in hugin:
milestone: none → 2021.0beta1
status: New → Fix Committed
Changed in hugin (Debian):
status: Unknown → Fix Released
tmodes (tmodes)
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.