← Back to team overview

hugin-devs team mailing list archive

[Bug 1016472] Re: Hugin segfaults without error message when doing 'photometric optimisation'.

 

I tried with your project and images. But I got no crash (tested on Windows and Fedora). 
So it is something special with your configuration (probably build configuration). The only parameter related to photometric optimization stored in the (runtime) configuration is the number of points to sample, which is asked for each start of optimization. So it seems related to a special combination of Hugin (build) options and used/linked external libraries.
Maybe running in the debugger gdb could reveal some more details where the crash happens, if this is reproducible on your system.

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

Title:
  Hugin segfaults without error message when doing 'photometric
  optimisation'.

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  Hugin segfaults without error message when doing 'photometric
  optimisation'.

  I am using the latest hugin package from the ubuntu repository: 2011.4.0
  This is reproducable every time.
  This makes the program as a whole significantly less useful if not useless.

  Creating control points and quick optimisation complete successfully.
  Photometric optimisation segfaults.

  Here is an example of typical output from the console:
  --------------------------------------------------
  rob@SCKubuntu:~$ hugin
  MainFrame::RestoreLayoutOnNextResize()
  Optimizing Variables
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          191.175763083045 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):          190.060439310407 units

  Optimizing Variables
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          28.8694840888088 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):           28.556949233066 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 2 iteration(s):          5.90278123329757 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 3 iteration(s):          3.73065513754082 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 4 iteration(s):          3.34986549580114 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 5 iteration(s):           3.3102793335968 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 6 iteration(s):          3.30613110881024 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 7 iteration(s):          3.30577376989132 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 8 iteration(s):          3.30573576664621 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 9 iteration(s):          3.30573123609312 units                                                                                
  Strategy 2                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 10 iteration(s):          3.30573073713243 units                                                                               
                                                                                                                                       
  Optimizing Variables                                                                                                                 
  Strategy 1                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 0 iteration(s):          295.868079210197 units                                                                                
  Strategy 1                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 1 iteration(s):          295.773516799922 units                                                                                
  Strategy 1                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 2 iteration(s):          289.787270583921 units                                                                                
                                                                                                                                       
  Optimizing Variables                                                                                                                 
  Strategy 2                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 0 iteration(s):          33.1106827055407 units                                                                                
  Strategy 2                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 1 iteration(s):          32.9912617005289 units                                                                                
  Strategy 2                                                                                                                           
  Average (rms) distance between Controlpoints                                                                                         
  after 2 iteration(s):          9.02744677573805 units                                                                                
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 3 iteration(s):          8.33644527031289 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 4 iteration(s):          6.74727225937909 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 5 iteration(s):          5.11794634967591 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 6 iteration(s):          3.43677502597893 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 7 iteration(s):          3.07747961571125 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 8 iteration(s):          3.06004909392689 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 9 iteration(s):          3.05880277993589 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 10 iteration(s):          3.05870366947882 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 11 iteration(s):          3.05869529321485 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 12 iteration(s):           3.0586945639894 units

  Optimizing Variables
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          362.880401028013 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):          356.517037710134 units

  Optimizing Variables
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          31.5754138270898 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):          31.4606507459294 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 2 iteration(s):          5.48585053369501 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 3 iteration(s):          3.58978312616906 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 4 iteration(s):          3.30851315106018 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 5 iteration(s):          3.30462745217414 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 6 iteration(s):          3.30437442355183 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 7 iteration(s):          3.30436113485012 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 8 iteration(s):          3.30436040658572 units

  Optimizing Variables
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          499.202868568667 units
  Strategy 1
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):           492.74533529522 units

  Optimizing Variables
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 0 iteration(s):          36.9051279572196 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 1 iteration(s):           36.788294581778 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 2 iteration(s):          3.91818408307526 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 3 iteration(s):          3.33138678755494 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 4 iteration(s):          3.30602029659701 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 5 iteration(s):          3.30353439099806 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 6 iteration(s):          3.30310478539105 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 7 iteration(s):           3.3030259243128 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 8 iteration(s):          3.30301255666529 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 9 iteration(s):          3.30301040587421 units
  Strategy 2
  Average (rms) distance between Controlpoints 
  after 10 iteration(s):          3.30301006025524 units

  0x534aad8: 0%
  0x534aad8: 2%
  0x534aad8: 4%
  0x534aad8: 6%
  0x534aad8: 8%
  0x534aad8: 10%
  0x534aad8: 12%
  0x534aad8: 13%
  0x534aad8: 15%
  0x534aad8: 18%
  0x534aad8: 19%
  0x47f84b8: 19%
  0x47f84b8: 21%
  0x47f84b8: 23%
  0x47f84b8: 25%
  0x47f84b8: 27%
  0x47f84b8: 29%
  0x47f84b8: 31%
  0x47f84b8: 33%
  0x47f84b8: 35%
  0x47f84b8: 37%
  0x47f84b8: 39%
  Iteration: 0, error: 6.194024: 39%
  Iteration: 1, error: 6.109599: 39%
  Iteration: 2, error: 6.103825: 39%
  Iteration: 3, error: 6.102916: 39%
  Iteration: 4, error: 6.102898: 39%
  Iteration: 5, error: 6.102882: 39%
  Iteration: 0, error: 6.102882: 39%
  Segmentation fault
  rob@SCKubuntu:~$ 
  --------------------------------------------------
  Panorama stitching also fails if trying to use hugin via the digikam plugin, presumably for the same reason.

  Here is someone else having the same problem:
  http://forum.ubuntuusers.de/topic/digikam-kipi-panorama-creator-error-project-file/#post-4522757
  I regret it's in german, but could perhaps be translated by google...

  I've searched for duplicate bug reports but found none.

  Any help is appreciated.

  Rob

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


References