Crash upon clicking on "AutoCrop"

Bug #1953275 reported by Scott Cowles Jacobs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

[... The Hugin Debug window appeared and after describing the situation, I clicked on "OK".
I don't know if the bug info was automatically sent here, or if I was to gather the files and come here and log in and copy the info. In case the latter, here it is... ]

[Copy of Notes.txt follows]
Two input images, one turned approx. 45 degrees from the first (taken from an airplane), "did not complete successfully" I added a bunch of control points, and aligned again, again to get "did not complete successfully". I "enlarged" the "align"ed images in the Fast Panorama preview window, went to "Crop", and clicked on "Autocrop", intending to enlarge the crop window to encompass the entire set of images, when this "Debug report " window appeared.

Following the original crash, I brought up Hugin again, loaded the images again, aligned again
(but did not again add control points and re-align). I immediately went to "Crop", and "Autocrop" again crashed Hugin.

I have not had Hugin crash before.

There is no .pto file, as it never got to that point.

------------------------------

[Clicking on the Hugin "Help/About" generates an error window (as well as the About window...):
08:20:24 PM: can't open file '/usr/share/hugin/xrc/data/COPYING.txt' (error 2: No such file or directory)
08:20:24 PM: File couldn't be loaded.

'/usr/share/hugin/xrc/data/' exists, but the file does not]

Hugin being use on Debian Testing with Sway Wayland compositor.
Debian Hugin version: 2021.0~beta1+dfsg-1

About: System:
Operating System: Linux 5.14.0-4-amd64 x86_64
Architecture: 64 bit
Free memory: 10143908 kiB

Hugin
Version: 2021.0.0.f77f3586f101
Path to resources: /usr/share/hugin/xrc/
Path to data: /usr/share/hugin/data/
Hugins camera and lens database: /home/scott/.hugindata/camlens.db
Multi-threading using C++11 std::thread and OpenMP

Libraries
wxWidgets: wxWidgets 3.0.5
wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.24.

libpano13: 2.9.20
Boost: 1.74.0
Exiv2: 0.27.3
SQLite3: 3.36.0
Vigra: 1.11.1
LittleCMS2: 2.12

Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :
Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :
Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :
Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :
Revision history for this message
tmodes (tmodes) wrote :

Please provide the pto file before pressing auto crop. The debug log does not really help further.
Load the images, press align and then save the pto file without pressing autocrop.

Changed in hugin:
status: New → Incomplete
Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :

I'm sorry. I have only ever seen the saving of .pto files as part of the "3:Create Panorama" process, and it never occurred to me that one could do it before then by selecting "Save" from the "Fast Panorama preview" window menu until now...

Here it is...

Revision history for this message
tmodes (tmodes) wrote :

Thanks for the file.
The main cause for the crash was the big canvas size - this resulted in an overflow in the internal calculation.
This is fixed in the repository and will be in 2021.0 rc1.

A workaround is to reduce the canvas size (currently it is 108276x54138).

Changed in hugin:
milestone: none → 2021.0rc1
status: Incomplete → Fix Committed
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.