enblend crahes without error message

Bug #1959518 reported by Ulrich-windl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Enblend
New
Undecided
Unassigned

Bug Description

When blending a vertical panorama with hugin 2020.0, enblend crashes in Windows 10.
Here is the (German) log:
============================================
Panorama zusammenfügen...
============================================

Plattform: Windows 10 (build 19043), 64-bit edition
Version: 2020.0.0.2f576e5d5b4a built by Thomas
Aktuelles Verzeichnis: D:\Work\Ulrich\Bilder\DC-G9\2022\Panorama\122-128
Ausgabe-Präfix: 1040122-1040128

Überblendung: enblend 4.3-6b604e79e85b
ExifTool-Version: 12.08

Anzahl der aktiven Bilder: 7
Ausgabe-Belichtungswert: 11,0
Rahmengrösse: 4599x10224
ROI: (443, 254) - (4131, 9392)
FOV: 28x58
Projektion: Gradlinig (Rectilinear)(0)
Verwende GPU für Umberechnung: falsch

Panorama-Ausgabe:
* Mit Belichtungskorrektur, niedriger Dynamikumfang

Erstes Quell-Bild
Nummer: 0
Dateiname: D:\Work\Ulrich\Bilder\DC-G9\2022\Panorama\122-128\_1040122.jpg
Größe: 3712x2784
Projektion: Gradlinig (Rectilinear)
Kamerakurve: Benutzerdefiniert (EMoR)
HFOV: 23
Belichtungswert: 11,0

Umberechnung von LDR-Bildern…
Multiple images output
loading _1040122.jpg
remapping _1040122.jpg
saving 1040122-10401280000.tif
loading _1040123.jpg
remapping _1040123.jpg
saving 1040122-10401280001.tif
loading _1040124.jpg
remapping _1040124.jpg
saving 1040122-10401280002.tif
loading _1040125.jpg
remapping _1040125.jpg
saving 1040122-10401280003.tif
loading _1040126.jpg
remapping _1040126.jpg
saving 1040122-10401280004.tif
loading _1040127.jpg
remapping _1040127.jpg
saving 1040122-10401280005.tif
loading _1040128.jpg
remapping _1040128.jpg
saving 1040122-10401280006.tif

Überblendung der Bilder…
---
In Windows Event Viewer I have these details (XML view):
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
  <Provider Name="Application Error" />
  <EventID Qualifiers="0">1000</EventID>
  <Version>0</Version>
  <Level>2</Level>
  <Task>100</Task>
  <Opcode>0</Opcode>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2022-01-30T16:27:00.5334092Z" />
  <EventRecordID>27351</EventRecordID>
  <Correlation />
  <Execution ProcessID="0" ThreadID="0" />
  <Channel>Application</Channel>
  <Computer>I74X4W7</Computer>
  <Security />
</System>
<EventData>
  <Data>enblend.exe</Data>
  <Data>0.0.0.0</Data>
  <Data>5dc316ba</Data>
  <Data>enblend.exe</Data>
  <Data>0.0.0.0</Data>
  <Data>5dc316ba</Data>
  <Data>c0000005</Data>
  <Data>0000000000065c50</Data>
  <Data>2960</Data>
  <Data>01d815f624ec1475</Data>
  <Data>C:\Program Files\Hugin\bin\enblend.exe</Data>
  <Data>C:\Program Files\Hugin\bin\enblend.exe</Data>
  <Data>80c743dd-0994-4ad6-b2ba-f028f860781c</Data>
  <Data />
  <Data />
</EventData>
</Event>

Also, it seems Hugin does not detect the crash, because the temporary files are removed after that, and the resulting JPG has size zero.
The bug seems rather persistent for this vertical panorama; even when running with differnt controlpoints and alignments, enblend crashed.

So I made Hugin save the repapped files and ran enblend interactively with --verbose=2; it also crashed:
---
D:\Work\Ulrich\Bilder\DC-G9\2022\Panorama\122-128>enblend --verbose=2 -o test.jpj 1040122-1040128*.tif
enblend --verbose=2 -o test.jpj 1040122-1040128*.tif
enblend: warning: unknown filetype of output file "test.jpj"
enblend: note: will fallback to type "pnm"
enblend: info: loading next image: 1040122-10401280000.tif 1/1
enblend: info: loading next image: 1040122-10401280001.tif 1/1
enblend: info: creating coarse/8 blend mask: 1/3 2/3 3/3
enblend: info: optimizing 1 distinct seam
enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4
enblend: info: Dijkstra Optimizer: s0
enblend: info: using 10 blending levels
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: blending layers: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: collapsing Laplacian pyramid: l9 l8 l7 l6 l5 l4 l3 l2 l1 l0
enblend: info: loading next image: 1040122-10401280002.tif 1/1
enblend: info: creating coarse/8 blend mask: 1/3 2/3 3/3
enblend: info: optimizing 1 distinct seam
enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4
enblend: info: Dijkstra Optimizer: s0
enblend: info: using 10 blending levels
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: blending layers: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: collapsing Laplacian pyramid: l9 l8 l7 l6 l5 l4 l3 l2 l1 l0
enblend: info: loading next image: 1040122-10401280003.tif 1/1
enblend: info: creating coarse/8 blend mask: 1/3 2/3 3/3
enblend: info: optimizing 1 distinct seam
enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4
enblend: info: Dijkstra Optimizer: s0
enblend: info: using 10 blending levels
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: blending layers: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
enblend: info: collapsing Laplacian pyramid: l9 l8 l7 l6 l5 l4 l3 l2 l1 l0
enblend: info: loading next image: 1040122-10401280004.tif 1/1
enblend: info: creating coarse/8 blend mask: 1/3 2/3 3/3
enblend: info: optimizing 1 distinct seam
enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4
D:\Work\Ulrich\Bilder\DC-G9\2022\Panorama\122-128>
---
Running with --verbose=4, the last lines were:
enblend: info: loading next image: 1040122-10401280004.tif 1/1
enblend: info: assembled images bounding box: [(0, 4228) to (3688, 7062) = (3688x2834)]
enblend: info: image union bounding box: [(0, 0) to (3688, 7062) = (3688x7062)]
enblend: info: image intersection bounding box: [(0, 4228) to (3688, 6218) = (3688x1990)]
enblend: info: creating coarse/8 blend mask: 1/3 2/3 3/3
enblend: info: optimizing 1 distinct seam
enblend: info: difference statistics: overlap size = 1849532 pixels
enblend: info: difference statistics: mismatch average = 0.0333519 [delta-e]
enblend: info: difference statistics: standard deviation = 0.0519767 [delta-e]
enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4

Tags: crash
Revision history for this message
Ulrich-windl (ulrich-windl) wrote :

I had the idea to try the same input files on openSUSE Leap 15.3 (enblend-enfuse-4.2-bp153.2.1.x86_64):
There the program did not crash; instead it seems to output a warning:
...
enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4
enblend: info: Dijkstra Optimizer: s0enblend: warning: unable to run Dijkstra optimizer
enblend: note: seam-line end point outside of cost-image
enblend: note: contour #1 of 1, segment #1 of 1, vertex #4 of 183

enblend: info: mask transition line bounding box: [(0, 5109) to (3688, 6235) = (3688x1126)]
enblend: info: region-of-interest bounding box: [(0, 0) to (3688, 7062) = (3688x7062)]
enblend: info: using 10 blending levels
enblend: info: generating Gaussian pyramid: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9
...
The resulting image was 3688x9107 pixels, and I could not see any artefacts; in fact the result looks very good, considering that the contributing shots were made without a tripod.

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.