optimiser hangs on this specific pto file

Bug #813423 reported by 蜥蜴
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned
Panotools
Fix Released
Undecided
Unassigned

Bug Description

After the first success alignment, I'm trying to use Clean control points in the image tab. but it always stuck and cause hugin to crash after one second. And the windows told me the software is not responding. I didn't experience that before. The CPU usage always stuck at 25%.
Also, after all these, I'm trying to re-align my saved file. but it fail, too. The "Running assistance" windows works slower and slower and eventually stop (at least for 20 hours) at the same commend line. Also the Windows task manage told me the "autooptimiser.exe" stuck at 25%. I hit cancel, a window show up telling me the assistant did not run completely..... and automatically open the FPW and it crashs. If I manually force the hugin close, that autooptimizer.exe will still stuck there until I kill it via task manager.

Revision history for this message
蜥蜴 (f039281310) wrote :
Revision history for this message
蜥蜴 (f039281310) wrote :
Revision history for this message
蜥蜴 (f039281310) wrote :
Revision history for this message
蜥蜴 (f039281310) wrote :
Revision history for this message
蜥蜴 (f039281310) wrote :

I'm using hugin 2011.2.0.cf0eaefbe0dd built by Matthew Petroff on win7 64bit with Nvidia GTX460 plus newest driver version.

Revision history for this message
蜥蜴 (f039281310) wrote :

http://www.youtube.com/watch?v=Pa88mZNAGyk
Screen recording to demonstrate.

Revision history for this message
Yuv (yuv) wrote :

What version of Hugin are you using? If it is a 2011 version, can you please hide the Overview in the Fast Preview, close Hugin, restart again and try to reproduce the error? This is to exclude a race condition due to bug 792896. Please set the ticket status to New (hit the yellow round button next to the current status) after reporting back. Thank you.

Changed in hugin:
status: New → Incomplete
Revision history for this message
蜥蜴 (f039281310) wrote :

I've installed 2011.2.0.ca00bb7b3e88 built by Matthew Petroff (prebuilt_RC2)
The original project still has the same problem with Overviwe hidden. The original file is attached below.
And I've tried to start a new project with same photos. This time, I can't reproduce the error on that new project ! Both align and clean CP works normal.

Revision history for this message
蜥蜴 (f039281310) wrote :
Revision history for this message
蜥蜴 (f039281310) wrote :
Changed in hugin:
status: Incomplete → New
Revision history for this message
Yuv (yuv) wrote : Re: [Bug 813423] Re: Clean control points cause hugin not responding

On August 7, 2011 05:31:25 am 蜥蜴 wrote:
> I've installed 2011.2.0.ca00bb7b3e88 built by Matthew Petroff
> (prebuilt_RC2) The original project still has the same problem with
> Overviwe hidden. The original file is attached below. And I've tried to
> start a new project with same photos. This time, I can't reproduce the
> error on that new project ! Both align and clean CP works normal.

Thank you for the quick turnaround and detailed report. Very encouraging.

I loaded the attached project and Hugin stays busy in a loop here too. 100%
CPU usage. I also confirmed that it is a cpclean problem by running cpclean
from the command line on the same project. Seems to be caught in a loop.

Unlike my initial suspicion, this is not a duplicate of bug 813423 and we now
have a good test case thanks to your work. For completeness of the test case,
can you please attach the project that could not reproduce the error?

This new information refutes my hypothesis that this is a duplicate of bug
792896
. I unset the duplicate status.

 duplicate no
 status confirmed
 tag cpclean hang testcase
 summary "cpclean hangs on this specific pto file"

Yuv (yuv)
Changed in hugin:
status: New → Confirmed
tags: added: cpclean hang testcase
summary: - Clean control points cause hugin not responding
+ cpclean hangs on this specific pto file
Revision history for this message
蜥蜴 (f039281310) wrote : Re: cpclean hangs on this specific pto file
Revision history for this message
蜥蜴 (f039281310) wrote :
Revision history for this message
蜥蜴 (f039281310) wrote :

Test2 is the file which I started today that have no problem with CPclean and align
Thanks for all the work and time you have spent on the hugin project. Sorry for my insufficient ability that can not provide anymore help.

Revision history for this message
蜥蜴 (f039281310) wrote :

I think it just happened again with another project I work today.
I'm wondering if there is any bad habit I have that trigger this. But again, there is no any warning.
Here's the file.

Revision history for this message
蜥蜴 (f039281310) wrote :

Also, the FPW will also crash when it automatically opened after I cancel the assistant and press the "OK" on the "assistant is not complete, please check...." warning window.

Revision history for this message
蜥蜴 (f039281310) wrote :

OK, I just figure it out about how to trigger this bug. I'll just describe how I'm doing this.
Hugin version: 2011.2.0.752ea80728d6 built by Matthew Petroff (2011.2.0 rc3)
test with: 35 18-mm images. Some of the image are difficult to detect control points.

1.Under normal maneuver
 I load the images and directly hit align. A window pop up saying "2 unconnected image groups found: ...." I hit OK and hugin automatically junp to the control point tab and show one of each group. I go back to "Images" tab and select image 6 and 16,which I already know they are connected and CPFing can find CPs for them, and hit "Create control points" let the CPFind only concentrate on these two images. CPFind found 9 CPs. Back to the "assstant" tab, hit align again, assistant window show up and start running command lines. After it finished, the FPW opened and crash (with autooptimizer.exe at 25% of CPU usage). If you load lot more image at the first plase, it will just stuck at "strategy XX ...."

2.Bypass the bug
Load images, directly go to "images" tab, hit "Create control points" and let it find CPs. After finished, back to assistant tab, saying 2 unconnected image groups found:.... touch nothing directly back to "Images" tab,select image 6 and 16 and hit "Create control points". It generate 9 CPs. Back to "assistant" tab, it only remain "images are connected with XXX control points" hit align and everything runs smoothly afterwards.

Revision history for this message
tmodes (tmodes) wrote :

It is the optimiser which is hanging and not cpclean. This needs to be fixed in libpano13.

The problem with the fast preview windows is another one, see e.g. https://bugs.launchpad.net/hugin/+bug/792896

summary: - cpclean hangs on this specific pto file
+ optimiser hangs on this specific pto file
Revision history for this message
tmodes (tmodes) wrote :

The issue seems to be fixed. With current version 2016.2 all run fine.
I committed some more fixes for glitches in cpclean.

Changed in panotools:
status: New → Fix Released
Changed in hugin:
status: Confirmed → 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.