← Back to team overview

hugin-devs team mailing list archive

[Bug 1385707] [NEW] 2014.0.0 assert errors in hugin and PTBatcherGUI

 

Public bug reported:

Hello,

on Debian some of our users still see assertion errors with hugin
2014.0.0 (plus 52_044b08eb6adf_Several_fixes_to_treelistctrl.diff and
53_f88dc95914ae_Use_correct_class_wxStaticBitmap_for_bitmap_controls.diff)
either in hugin itself or in PTBatcherGUI:

in https://bugs.debian.org/764759 boris writes:
I'm starting with:

$ hugin IMG_4749.png

open: View -> Panorama Editor

in Panorama Editor:

Select tab: Stitcher
switching to format png (but shouldn't matter) 

and click the "Stitch!" botton which triggers (sorry forgot to add this
too):


ASSERT INFO:
/usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype &
/(wxFormatStringSpecifier<T>::value)) == argtype" failed in
/wxArgNormalizer(): format specifier doesn't match argument type

BACKTRACE:
[1] FillPlaceholders(std::map<wxString, wxString, std::less<wxString>,
std::allocator<std::pair<wxString const, wxString> > >&, HuginBase::Panorama
const&)
[2] getDefaultProjectName(HuginBase::Panorama const&, wxString)
[3] MainFrame::OnSaveProjectAs(wxCommandEvent&)
[4] MainFrame::OnSaveProject(wxCommandEvent&)
[5] PanoPanel::DoSendToBatch()
[6] PanoPanel::OnDoStitch(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] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[16] g_signal_emit_valist
[17] g_signal_emit
[18] g_signal_emit_valist
[19] g_signal_emit
[20] g_closure_invoke
[21] g_signal_emit_valist
[22] g_signal_emit
[23] gtk_propagate_event
[24] gtk_main_do_event
[25] g_main_context_dispatch
[26] g_main_loop_run
[27] gtk_main
[28] wxGUIEventLoop::DoRun()
[29] wxEventLoopBase::Run()
[30] wxAppConsoleBase::MainLoop()
[31] wxEntry(int&, wchar_t**)
[32] main
[33] __libc_start_main
[34] _start

Click: Continue

In the "Save project file" Window
(default filename)

Click: Save

Which triggers:

ASSERT INFO:
/usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype &
/(wxFormatStringSpecifier<T>::value)) == argtype" failed in
/wxArgNormalizer(): format specifier doesn't match argument type

BACKTRACE:
[1] ProjectListBox::GetAttributeString(int, Project*)
[2] ProjectListBox::AppendProject(Project*)
[3] ProjectListBox::Fill(Batch*)
[4] BatchFrame::BatchFrame(wxLocale*, wxString)
[5] PTBatcherGUI::OnInit()
[6] wxEntry(int&, wchar_t**)
[7] main
[8] __libc_start_main
[9] _start
-------------------------------

And in 
https://bugs.debian.org/766093 Yuri D'Elia says 
-------------------------------
Something seems to be broken in either hugin or wxgtk3 right now.

Starting hugin with no existing configuration gives me the following startup
assertion failures:

$ hugin
10:22:20 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion 'width > 0' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion 'width > 0' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed

When trying to stich a panorama, the following assertions are emitted:

/usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
/usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
10:24:39 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
/usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
.../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
.../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
.../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
.../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
.../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
.../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
.../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
.../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
.../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
.../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime

I was thinking that something was broken in libwxgtk3, but I'm also using pgadmin3
and it seems to work just fine.
-------------------------------

Both submitters see these as the messy click-and-confirm assertions.
Personally I see the assertions Yuri reports on the starting console,
without click-through

cu Andreas

** 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/1385707

Title:
  2014.0.0 assert errors in hugin and PTBatcherGUI

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  Hello,

  on Debian some of our users still see assertion errors with hugin
  2014.0.0 (plus 52_044b08eb6adf_Several_fixes_to_treelistctrl.diff and
  53_f88dc95914ae_Use_correct_class_wxStaticBitmap_for_bitmap_controls.diff)
  either in hugin itself or in PTBatcherGUI:

  in https://bugs.debian.org/764759 boris writes:
  I'm starting with:

  $ hugin IMG_4749.png

  open: View -> Panorama Editor

  in Panorama Editor:

  Select tab: Stitcher
  switching to format png (but shouldn't matter) 

  and click the "Stitch!" botton which triggers (sorry forgot to add
  this too):

  
  ASSERT INFO:
  /usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype &
  /(wxFormatStringSpecifier<T>::value)) == argtype" failed in
  /wxArgNormalizer(): format specifier doesn't match argument type

  BACKTRACE:
  [1] FillPlaceholders(std::map<wxString, wxString, std::less<wxString>,
  std::allocator<std::pair<wxString const, wxString> > >&, HuginBase::Panorama
  const&)
  [2] getDefaultProjectName(HuginBase::Panorama const&, wxString)
  [3] MainFrame::OnSaveProjectAs(wxCommandEvent&)
  [4] MainFrame::OnSaveProject(wxCommandEvent&)
  [5] PanoPanel::DoSendToBatch()
  [6] PanoPanel::OnDoStitch(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] wxEvtHandler::SafelyProcessEvent(wxEvent&)
  [16] g_signal_emit_valist
  [17] g_signal_emit
  [18] g_signal_emit_valist
  [19] g_signal_emit
  [20] g_closure_invoke
  [21] g_signal_emit_valist
  [22] g_signal_emit
  [23] gtk_propagate_event
  [24] gtk_main_do_event
  [25] g_main_context_dispatch
  [26] g_main_loop_run
  [27] gtk_main
  [28] wxGUIEventLoop::DoRun()
  [29] wxEventLoopBase::Run()
  [30] wxAppConsoleBase::MainLoop()
  [31] wxEntry(int&, wchar_t**)
  [32] main
  [33] __libc_start_main
  [34] _start

  Click: Continue

  In the "Save project file" Window
  (default filename)

  Click: Save

  Which triggers:

  ASSERT INFO:
  /usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype &
  /(wxFormatStringSpecifier<T>::value)) == argtype" failed in
  /wxArgNormalizer(): format specifier doesn't match argument type

  BACKTRACE:
  [1] ProjectListBox::GetAttributeString(int, Project*)
  [2] ProjectListBox::AppendProject(Project*)
  [3] ProjectListBox::Fill(Batch*)
  [4] BatchFrame::BatchFrame(wxLocale*, wxString)
  [5] PTBatcherGUI::OnInit()
  [6] wxEntry(int&, wchar_t**)
  [7] main
  [8] __libc_start_main
  [9] _start
  -------------------------------

  And in 
  https://bugs.debian.org/766093 Yuri D'Elia says 
  -------------------------------
  Something seems to be broken in either hugin or wxgtk3 right now.

  Starting hugin with no existing configuration gives me the following startup
  assertion failures:

  $ hugin
  10:22:20 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion 'width > 0' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion 'width > 0' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
  (hugin:28839): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed

  When trying to stich a panorama, the following assertions are emitted:

  /usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
  /usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
  10:24:39 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
  /usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
  .../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
  .../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
  .../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
  .../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
  .../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
  .../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
  .../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
  .../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime
  .../src/common/datetime.cpp(1392): assert "IsValid()" failed in GetTm(): invalid wxDateTime
  .../include/wx/datetime.h(1740): assert "IsValid()" failed in GetTicks(): invalid wxDateTime

  I was thinking that something was broken in libwxgtk3, but I'm also using pgadmin3
  and it seems to work just fine.
  -------------------------------

  Both submitters see these as the messy click-and-confirm assertions.
  Personally I see the assertions Yuri reports on the starting console,
  without click-through

  cu Andreas

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


Follow ups

References