← Back to team overview

hugin-devs team mailing list archive

[Bug 1402347] Re: Segmentation autooptimiser

 

OK, some additional comments.
I tried to open your .pto in hugin, and ended up with a seg fault. That suggested to me that there is something skew-whiff with your .pto file.
I stripped the pathname out of your filenames in your .pto and saved as newunopt.pto.
I ran ptodummy on newunopt.pto and generated a set of dummy images.
I then ran pto_gen -o genpto.pto *.png to generate a .pto from the dummy images. This process used defaults for FOV etc.
I then copied all your c lines from unopt.pto and pasted them into genpto.pto.
hugin seg faulted when asked to open genpto.pto (after a long wait).
I then ran cpclean -p -o clean-genpto.pto genpto.pto to do a pairwise clean out of bad control points and 591 control points were removed.
hugin loads clean-genpto.pto OK, but quite a few of the images don't have control points.
I suspect that the problem you are seeing is a resulting from (some of) your control points
I have attached clean-genpto.pto for your info.

The above has proved to be a good way to consume some cpu cycles and decrease global productivity :-)
Cheers,
Terry


** Attachment added: "modified .pto file"
   https://bugs.launchpad.net/hugin/+bug/1402347/+attachment/4281260/+files/clean-genpto.pto

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1402347

Title:
  Segmentation autooptimiser

Status in Hugin - Panorama Tools GUI:
  Incomplete

Bug description:
  Segfault using command line 
  OSX 10.9.5
  Very large set of control points (10k+) - could this be it?  How come it segfaults late after a lot of steps and not early?
  Any way to get it to output after each iteration so I don't lose a day of CPU time?
  autooptimiser version 2014.0.0 built by Matthieu DESILE

  
  Thanks!

  /Applications/CIOTW/Hugin/Hugin.app/Contents/MacOS/autooptimiser -a -s -m -o project1.pto unopt.pto
  *** Adaptive geometric optimisation
  Optimizing Variables
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          21.3412455531342 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):           20.782719988699 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 2 iteration(s):          19.7306247970753 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 3 iteration(s):          17.6435844732556 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 4 iteration(s):          13.5340788487278 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 5 iteration(s):          5.65389441304538 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 6 iteration(s):          3.07970340905523 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 7 iteration(s):          2.73728694462394 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 8 iteration(s):          2.34698686018928 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 9 iteration(s):          2.11046162527549 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 10 iteration(s):          2.07022086098916 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 11 iteration(s):          2.07022086098916 units

  Optimizing Variables
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          1.92672078393405 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):          1.88786069412307 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 2 iteration(s):          1.87438550339538 units

  
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 3 iteration(s):          1.85729101654478 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 4 iteration(s):          1.85106831230553 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 5 iteration(s):          1.84714255659054 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 6 iteration(s):          1.84596023689701 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 7 iteration(s):          1.84548453420456 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 8 iteration(s):          1.84531574757642 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 9 iteration(s):          1.84525847815409 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 10 iteration(s):          1.84523932666178 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 11 iteration(s):          1.84522703991422 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 12 iteration(s):          1.84522589794342 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 13 iteration(s):          1.84522580718591 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 14 iteration(s):           1.8452255766334 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 15 iteration(s):          1.84522335069066 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 16 iteration(s):          1.84522208887578 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 17 iteration(s):          1.84522208726154 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 18 iteration(s):          1.84522207229919 units

  Segmentation fault: 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1402347/+subscriptions


References