Bug#1066864: assert "x > double((-0x7fffffff - 1)) - 0.5 && x < double(0x7fffffff) + 0.5" failed in wxRound(): argument out of supported range

Michael Deegan bugs at deegan.id.au
Thu Mar 14 16:45:31 GMT 2024


Package: hugin
Version: 2023.0.0+dfsg-1
Severity: normal

Hello,

I encountered this bug while placing horizontal control points (or,
specifically, very shortly afterwards when hugin tried to render what I just
placed). It doesn't occur if I'm zoomed out far enough that the entire
image fits in the window (until I zoom in again). I normally place points at
100% zoom though.

This might not be a wx3.2 bug, for once.

ASSERT INFO:
./include/wx/math.h(139): assert "x > double((-0x7fffffff - 1)) - 0.5 && x < double(0x7fffffff) + 0.5" failed in wxRound(): argument out of supported range

BACKTRACE:
[1] wxGCDCImpl::LogicalToDevice(int, int) const
[2] wxGCDCImpl::DoDrawLines(int, wxPoint const*, int, int)
[3] wxAnyScrollHelperBase::HandleOnPaint(wxPaintEvent&)
[4] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[5] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[6] wxWindow::GTKSendPaintEvents(_cairo*)
[7] g_closure_invoke
[8] g_signal_emit_valist
[9] g_signal_emit
[10] gtk_container_propagate_draw
[11] gtk_container_propagate_draw
[12] g_closure_invoke
[13] g_signal_emit_valist
[14] g_signal_emit
[15] gtk_container_propagate_draw
[16] g_closure_invoke
[17] g_signal_emit_valist
[18] g_signal_emit
[19] gtk_container_propagate_draw
[20] gtk_container_propagate_draw
[21] g_closure_invoke
[22] g_signal_emit_valist
[23] g_signal_emit
[24] gtk_container_propagate_draw
[25] g_closure_invoke
[26] g_signal_emit_valist
[27] g_signal_emit
[28] gtk_container_propagate_draw
[29] gtk_container_propagate_draw
[30] g_closure_invoke
[31] g_signal_emit_valist
[32] g_signal_emit
[33] gtk_container_propagate_draw
[34] g_closure_invoke
[35] g_signal_emit_valist
[36] g_signal_emit
[37] gtk_container_propagate_draw
[38] gtk_container_propagate_draw
[39] gtk_main_do_event
[40] g_signal_emit_valist
[41] g_signal_emit
[42] g_main_loop_run
[43] gtk_main
[44] wxGUIEventLoop::DoRun()
[45] wxEventLoopBase::Run()
[46] wxAppConsoleBase::MainLoop()
[47] wxEntry(int&, wchar_t**)
[48] __libc_start_main

I've attach a minimal project file, a size-reduced version of one of my
images, and a screenshot which might provide a hint at what's going wrong
inside the control point renderer. Visiting the control point editor and
some combination of changing the zoom level, panning around the image, and
resizing the window ought to trigger the bug.

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

Kernel: Linux 6.1.0-18-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 /usr/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             2023.0.0+dfsg-1
ii  libc6                   2.36-9+deb12u4
ii  libepoxy0               1.5.10-1
ii  libexiv2-27             0.27.6-1
ii  libfftw3-double3        3.3.10-1
ii  libgcc-s1               14-20240201-3
ii  libglu1-mesa [libglu1]  9.0.2-1.1
ii  libglx0                 1.6.0-1
ii  libgomp1                14-20240201-3
ii  libimage-exiftool-perl  12.57+dfsg-1
ii  liblcms2-2              2.14-2
ii  libopengl0              1.6.0-1
ii  libpano13-3             2.9.21+dfsg-3
ii  libsqlite3-0            3.40.1-2
ii  libstdc++6              14-20240201-3
ii  libtiff6                4.5.0-6+deb12u1
ii  libvigraimpex11         1.11.2+dfsg-3+b1
ii  libwxbase3.2-1          3.2.4+dfsg-3
ii  libwxgtk-gl3.2-1        3.2.4+dfsg-3
ii  libwxgtk3.2-1           3.2.4+dfsg-3
ii  make                    4.3-4.1

hugin recommends no packages.

Versions of packages hugin suggests:
ii  darktable    4.2.1-4
ii  dcraw        9.28-3+b1
ii  rawtherapee  5.9-1+b1

-- no debconf information

-MD

-- 
-----------------------------------------------------------------------------
Michael Deegan               Hugaholic              https://www.deegan.id.au/
------------------------  Jung, zr jbeel?  ----------------------------------
-------------- next part --------------
# hugin project file
#hugin_ptoversion 2
p f1 w21052 h5622 v360  k0 E14.2958 R0 S0,21052,1007,5271 n"TIFF_m c:LZW r:CROP"
m i0

# image lines
#-hugin  cropFactor=2.00308
i w4608 h3456 f0 v69.1399286286525 Ra0.013093045912683 Rb0.637263178825378 Rc-1.57526445388794 Rd-0.481777012348175 Re0.710481941699982 Eev14.2520202208294 Er1.00714919026201 Eb1.0126693628412 r-90.7169853173519 p-4.69013716097104 y163.002381740074 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b-0.00127299834394015 c0 d-134.735759252954 e-15.5231035594526 g0 t0 Va1 Vb-0.0344400070043871 Vc-0.0699145560398295 Vd-0.00367658073351947 Vx0 Vy0  Vm5 n"p3049499-placeholder.jpg"


# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v r0
v p0
v y0
v Vb0
v Vc0
v Vd0
v


# control points
c n0 N0 x2420.54421937157 y315.401715354925 X2477.11599297012 Y3053.10369068541 t2

#hugin_optimizeReferenceImage 0
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions 
#hugin_enfuseOptions 
#hugin_hdrmergeOptions -m avg -c
#hugin_verdandiOptions 
#hugin_edgeFillMode 0
#hugin_edgeFillKeepInput false
#hugin_outputLDRBlended true
#hugin_outputLDRLayers false
#hugin_outputLDRExposureRemapped false
#hugin_outputLDRExposureLayers false
#hugin_outputLDRExposureBlended false
#hugin_outputLDRStacks false
#hugin_outputLDRExposureLayersFused false
#hugin_outputHDRBlended false
#hugin_outputHDRLayers false
#hugin_outputHDRStacks false
#hugin_outputLayersCompression LZW
#hugin_outputImageType tif
#hugin_outputImageTypeCompression LZW
#hugin_outputJPEGQuality 90
#hugin_outputImageTypeHDR exr
#hugin_outputImageTypeHDRCompression LZW
#hugin_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_outputRangeCompression 0
#hugin_optimizerMasterSwitch 0
#hugin_optimizerPhotoMasterSwitch 21
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p3049499-placeholder.jpg
Type: image/jpeg
Size: 133186 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20240315/08ecba8f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2024-03-15_00-36-18.png
Type: image/png
Size: 106107 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20240315/08ecba8f/attachment-0001.png>


More information about the Pkg-phototools-devel mailing list