Bug#1023954: WX assertion failure within the raw importer

2023-12-29 Thread Andreas Metzler
On 2023-04-25 Michael Deegan  wrote:
> Package: hugin
> Version: 2022.0.0+dfsg-2
> Followup-For: Bug #1023954

> Hello,

> I can confirm this bug still also occurs with 2022.0.0+dfsg-2.

> I'm currently using dcraw as converter of choice (as having to close
> Darktable each time I want to import images is annoying) but I can elicit
> the error by selecting the darktable and then dcraw radio buttons before
> hitting the Import button.
[...]

Good morning Michael,

I have just uploaded 2023.0.0+dfsg-1 which includes the following
upstream patch:
-
# HG changeset patch
# User tmodes
# Date 1702570211 -3600
#  Thu Dec 14 17:10:11 2023 +0100
# Node ID fa894490ea86b812be8331703f6d7fe8e43a65d5
# Parent  29dc27506fb89490c8ec1895862b842a2c5b4891
Fixes several asserts in raw import dialog

This should also fix the display of the progress bar.
-

Could you give it a spin when you have some time to spare?

TIA, cu Andreas



Bug#1023954: WX assertion failure within the raw importer

2023-04-25 Thread Michael Deegan
Package: hugin
Version: 2022.0.0+dfsg-2
Followup-For: Bug #1023954

Hello,

I can confirm this bug still also occurs with 2022.0.0+dfsg-2.

I'm currently using dcraw as converter of choice (as having to close
Darktable each time I want to import images is annoying) but I can elicit
the error by selecting the darktable and then dcraw radio buttons before
hitting the Import button.

-- System Information:
Debian Release: 12.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'oldstable-updates'), (500, 'oldstable-debug'), (500, 'stable'), (500, 
'oldstable'), (490, 'testing'), (400, 'unstable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/4 CPU threads; PREEMPT)
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-10+b1
ii  enfuse  4.2-10+b1
ii  hugin-tools 2022.0.0+dfsg-2
ii  libc6   2.36-9
ii  libexiv2-27 0.27.6-1
ii  libfftw3-double33.3.10-1
ii  libgcc-s1   12.2.0-14
ii  libglew2.2  2.2.0-4+b1
ii  libglu1-mesa [libglu1]  9.0.2-1.1
ii  libglx0 1.6.0-1
ii  libgomp112.2.0-14
ii  libimage-exiftool-perl  12.16+dfsg-2
ii  liblcms2-2  2.14-2
ii  libopengl0  1.6.0-1
ii  libpano13-3 2.9.20~rc3+dfsg-1
ii  libsqlite3-03.40.1-2
ii  libstdc++6  12.2.0-14
ii  libtiff64.5.0-5
ii  libvigraimpex11 1.11.1+dfsg-8
ii  libwxbase3.2-1  3.2.2+dfsg-2
ii  libwxgtk-gl3.2-13.2.2+dfsg-2
ii  libwxgtk3.2-1   3.2.2+dfsg-2
ii  make4.3-4.1

hugin recommends no packages.

Versions of packages hugin suggests:
ii  darktable4.2.1-4
ii  dcraw9.28-2
ii  rawtherapee  5.9-1+b1

-- debconf-show failed

-MD

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



Bug#1023954: WX assertion failure within the raw importer

2022-11-30 Thread Michael Deegan
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=0x576f9170, index=1, 
item=0x575bbec0) at ./src/common/sizer.cpp:2273
flags = 752
__FUNCTION__ = "DoInsert"
#1  0x5581d4eb in wxSizer::Insert (item=, 
index=, this=0x576f9170) at 
/usr/include/wx-3.2/wx/sizer.h:1181
No locals.
#2  wxSizer::Add (item=0x575bbec0, this=0x576f9170) at 
/usr/include/wx-3.2/wx/sizer.h:1188
No locals.
#3  wxSizer::Add (userData=0x0, border=10, flag=752, proportion=0, 
window=0x5709e010, this=0x576f9170) at 
/usr/include/wx-3.2/wx/sizer.h:1194
No locals.
#4  RawImportProgress::RawImportProgress (this=0x7fffb410, 
parent=, converter=..., rawImages=..., images=..., 
refImg=) at ./src/hugin1/hugin/RawImport.cpp:487
topsizer = 0x569ffae0
bottomsizer = 0x576f9170
topsizer = 
bottomsizer = 
__PRETTY_FUNCTION__ = 
topsizer = 
bottomsizer = 
#5  0x55819dbd in RawImportDialog::OnOk (this=0x7fffd220, 
e=...) at ./src/hugin1/hugin/RawImport.cpp:824
rawConverter = std::shared_ptr (use count 2, weak count 
0) = {get() = 0x57767f80}
rawConverterInt = 0

dlg = { = { = 
{> = { = 
{ = { = { = 
{ = { = { = { = 
{ = {_vptr.wxObject = 0x558d2b70 , static ms_classInfo = {m_className = 0x77724348 
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-double33.3.8-2
ii  libgcc-s1   10.2.1-6
ii  libglew2.2  2.2.0-4+b1
ii  

Bug#1023954: WX assertion failure within the raw importer

2022-11-29 Thread Andreas Metzler
On 2022-11-13 Michael Deegan  wrote:
> Package: hugin
> Version: 2021.0.0+dfsg-3
> Severity: normal

> The raw file importer triggers an assertion after selecting the raw importer
> (dcraw, in my case) to use:

> ASSERT INFO:
> ./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
[...]

Hello Michael,

do you still see this with 2022.0~beta1+dfsg-1?

TIA, cu Andreas



Bug#1023954: WX assertion failure within the raw importer

2022-11-12 Thread Michael Deegan
Package: hugin
Version: 2021.0.0+dfsg-3
Severity: normal

The raw file importer triggers an assertion after selecting the raw importer
(dcraw, in my case) to use:

ASSERT INFO:
./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.

BACKTRACE:
[1] wxBoxSizer::DoInsert(unsigned long, wxSizerItem*)
[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] wxWindowBase::TryAfter(wxEvent&)
[8] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[9] g_signal_emit_valist
[10] g_signal_emit
[11] g_signal_emit_valist
[12] g_signal_emit
[13] g_signal_emit_valist
[14] g_signal_emit
[15] g_cclosure_marshal_VOID__BOXEDv
[16] g_signal_emit_valist
[17] g_signal_emit
[18] gtk_event_controller_handle_event
[19] g_closure_invoke
[20] g_signal_emit_valist
[21] g_signal_emit
[22] gtk_main_do_event
[23] g_main_context_dispatch
[24] g_main_loop_run
[25] gtk_main
[26] wxGUIEventLoop::DoRun()
[27] wxEventLoopBase::Run()
[28] wxDialog::ShowModal()
[29] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[30] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[31] wxEvtHandler::TryHereOnly(wxEvent&)
[32] wxEvtHandler::ProcessEventLocally(wxEvent&)
[33] wxEvtHandler::ProcessEvent(wxEvent&)
[34] wxWindowBase::TryAfter(wxEvent&)
[35] wxWindowBase::TryAfter(wxEvent&)
[36] wxWindowBase::TryAfter(wxEvent&)
[37] wxWindowBase::TryAfter(wxEvent&)
[38] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[39] g_signal_emit_valist
[40] g_signal_emit
[41] g_signal_emit_valist
[42] g_signal_emit
[43] g_signal_emit_valist
[44] g_signal_emit
[45] g_cclosure_marshal_VOID__BOXEDv
[46] g_signal_emit_valist
[47] g_signal_emit
[48] gtk_event_controller_handle_event
[49] g_closure_invoke
[50] g_signal_emit_valist
[51] g_signal_emit
[52] gtk_main_do_event
[53] g_main_context_dispatch
[54] g_main_loop_run
[55] gtk_main
[56] wxGUIEventLoop::DoRun()
[57] wxEventLoopBase::Run()
[58] wxAppConsoleBase::MainLoop()
[59] wxEntry(int&, wchar_t**)
[60] __libc_start_main

(Also, I receive a "Could not process of output of reference image. Can't
process further images." (sic) error message during raw conversion that
didn't occur with the previous build. I suspect it is affecting colour
balance of subsequent imported images.)

-- 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 2021.0.0+dfsg-3
ii  libc6   2.35-4
ii  libexiv2-27 0.27.5-4
ii  libfftw3-double33.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  libgomp110.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-03.34.1-3
ii  libstdc++6  12.2.0-3
ii  libtiff54.2.0-1+deb11u1
ii  libvigraimpex11 1.11.1+dfsg-8
ii  libwxbase3.2-0  3.2.1+dfsg-1
ii