Bug#1023954: WX assertion failure within the raw importer

Michael Deegan bugs at deegan.id.au
Thu Dec 1 03:16:28 GMT 2022


Package: hugin
Version: 2022.0~beta1+dfsg-1
Followup-For: Bug #1023954

This bug still exists with 2022.0~beta1+dfsg-1. (As does #1023279, BTW)

Complete console output:

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.719: gtk_widget_set_size_request: assertion 'height >= -1' failed

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.806: gtk_widget_set_size_request: assertion 'height >= -1' failed

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.809: gtk_widget_set_size_request: assertion 'height >= -1' failed

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.809: gtk_widget_set_size_request: assertion 'height >= -1' failed

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.815: gtk_widget_set_size_request: assertion 'height >= -1' failed

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.818: gtk_widget_set_size_request: assertion 'height >= -1' failed

    (hugin:2312042): Gtk-CRITICAL **: 10:31:00.818: gtk_widget_set_size_request: assertion 'height >= -1' failed
    /usr/share/hugin/data/plugins/top_five.py
       CAT:Control Points
       NAM:keep 5 CPs per image pair
       fails @api-max
    /usr/share/hugin/data/plugins/woa.py
       CAT:Control Points
       NAM:Warped Overlap Analysis
       fails @api-max
    ERROR: 10:31:04.966707 (./src/hugin1/hugin/GLViewer.cpp:133) SetUpContext(): Error initialising GLEW: Unknown error.
    ./src/common/sizer.cpp(2267): assert "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT)))" failed in DoInsert(): wxALIGN_RIGHT will be ignored in this sizer: only vertical alignment flags can be used in horizontal sizers

    DO NOT PANIC !!

    If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.

    You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.

    If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.
    Trace/breakpoint trap

And after installing some debug symbol packages and asking gdb for a
backtrace:

    #0  wxBoxSizer::DoInsert (this=0x5555576f9170, index=1, item=0x5555575bbec0) at ./src/common/sizer.cpp:2273
            flags = 752
            __FUNCTION__ = "DoInsert"
    #1  0x000055555581d4eb in wxSizer::Insert (item=<optimized out>, index=<optimized out>, this=0x5555576f9170) at /usr/include/wx-3.2/wx/sizer.h:1181
    No locals.
    #2  wxSizer::Add (item=0x5555575bbec0, this=0x5555576f9170) at /usr/include/wx-3.2/wx/sizer.h:1188
    No locals.
    #3  wxSizer::Add (userData=0x0, border=10, flag=752, proportion=0, window=0x55555709e010, this=0x5555576f9170) at /usr/include/wx-3.2/wx/sizer.h:1194
    No locals.
    #4  RawImportProgress::RawImportProgress (this=0x7fffffffb410, parent=<optimized out>, converter=..., rawImages=..., images=..., refImg=<optimized out>) at ./src/hugin1/hugin/RawImport.cpp:487
            topsizer = 0x5555569ffae0
            bottomsizer = 0x5555576f9170
            topsizer = <optimized out>
            bottomsizer = <optimized out>
            __PRETTY_FUNCTION__ = <optimized out>
            topsizer = <optimized out>
            bottomsizer = <optimized out>
    #5  0x0000555555819dbd in RawImportDialog::OnOk (this=0x7fffffffd220, e=...) at ./src/hugin1/hugin/RawImport.cpp:824
            rawConverter = std::shared_ptr<RawImport> (use count 2, weak count 0) = {get() = 0x555557767f80}
            rawConverterInt = 0

                dlg = {<wxDialog> = {<wxDialogBase> = {<wxNavigationEnabled<wxTopLevelWindow>> = {<wxTopLevelWindow> = {<wxTopLevelWindowGTK> = {<wxTopLevelWindowBase> = {<wxNonOwnedWindow> = {<wxNonOwnedWindowBase> = {<wxWindow> = {<wxWindowBase> = {<wxEvtHandler> = {<wxObject> = {_vptr.wxObject = 0x5555558d2b70 <vtable for RawImportProgress+16>, static ms_classInfo = {m_className = 0x7ffff7724348 L"wxObject", m_objectSize = 16, m_objectConstructor = 0x0, m_baseInfo1 = 0x0, 
    [snip remainder of unreasonably large stack frame]

This suggests that WX is complaining about attempted right-alignment of the Cancel button
of the import progress dialog?

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 'oldoldstable'), (500, 'stable'), (500, 'oldstable'), (480, 'testing-debug'), (480, 'testing'), (470, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-18-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hugin depends on:
ii  enblend                 4.2-9
ii  enfuse                  4.2-9
ii  hugin-tools             2022.0~beta1+dfsg-1
ii  libc6                   2.36-5
ii  libexiv2-27             0.27.5-4
ii  libfftw3-double3        3.3.8-2
ii  libgcc-s1               10.2.1-6
ii  libglew2.2              2.2.0-4+b1
ii  libglu1-mesa [libglu1]  9.0.2-1.1
ii  libglx0                 1.5.0-1
ii  libgomp1                10.2.1-6
ii  libimage-exiftool-perl  12.16+dfsg-2
ii  liblcms2-2              2.12~rc1-2
ii  libopengl0              1.5.0-1
ii  libpano13-3             2.9.20~rc3+dfsg-1
ii  libsqlite3-0            3.40.0-1
ii  libstdc++6              12.2.0-9
ii  libtiff5                4.2.0-1+deb11u1
ii  libvigraimpex11         1.11.1+dfsg-8
ii  libwxbase3.2-0          3.2.1+dfsg-1
ii  libwxgtk3.2-0           3.2.1+dfsg-1
ii  make                    4.3-4.1

hugin recommends no packages.

Versions of packages hugin suggests:
ii  darktable    4.0.0-1+b1
ii  dcraw        9.28-2
ii  rawtherapee  5.8-3

-- debconf-show failed

-MD

-- 
-----------------------------------------------------------------------------
Michael Deegan               Hugaholic              https://www.deegan.id.au/
------------------------  Jung, zr jbeel?  ----------------------------------



More information about the Pkg-phototools-devel mailing list