MS says a lot of things to sell its stuff. You're the first user that
reported this issue and thousands have downloaded and used Hugin 0.8
snapshots on Windows XP and Vista without reporting any of this. If it
was a systemic problem, we'd read more such reports.
The current assumption is that the bug is well hidden and for whatever
reason it triggers only on your specific setup. The bug may trigger
another kind of error on other setups; or may not trigger at all.
BAD NEWS: This kind of spurious, non-reproducible bugs are the most
nasty ones to identify and fix.
The solution is not to change things for others. We need to analyze
thoroughly Hugin's behavior on your machine under controlled
circumstances so that we can infer from the difference in circumstances
where the problem is.
People here are willing to help, but it all depends on you because
nobody else has access to a machine that triggers the error.
First we need to establish a version of Hugin that works on your box. I
hope this will be one of the 0.7.0.XXXX installer.
Then you will get from SVN that XXXX version and build it against the
SDK that you have currently on your machine.
Best case scenario both work well, then we know that the bug is
somewhere between XXXX and the lastest TRUNK. The next step would be to
find the YYYY SVN version where YYYY+1 triggers the bug and YYYY does
not. Then the developers can look at the code between those two releases
and hopefully identify the bug and fix it.
If we are lucky, there is a difference in behavior between 0.7.0.XXXX
installed and SVN XXXX built with your SDK. Then we know that the
problem is in the SDK and we can start looking at the different SDK
components to identify which one it is. This is the most likely scenario.
Worse case scenario, also 0.7.0.XXXX does not work, and we have to dig
even further down.
At this point it is counter productive to introduce *any* change that
affects the general public. It is only on your setup. You'll need to be
patient and follow the advice that is given to you here on the list, and
not what MS says.
Yuv
It is possible this is the same problem encountered by RueiKe.
--
Bruno
I did not want to speculate. I think it is likely the same bug causing
the two problems, which would be an extra bonus as both Rick and Howard
can take a systematic approach to identify the bug from two different
spurious behaviors.
The big question is whether to release 0.8 before this bug is fixed, or
keep postponing 0.8. For users that are not affected by this bug, the
current snapshot is good enough for a release...
Yuv
Yes, I'd like to go with the current release candidate, but I'm not
sure if these problems are in hugin, the windows build, windows
itself or some 3rd party windows software.
Does anyone else see these crashes on OS X or Linux? (note that
enblend or enfuse crashing during stitching isn't a hugin bug)
--
Bruno
thanks for your help, Howard. The first thing we need is to find the
basement, i.e. how far back we need to go for the bug NOT to trigger.
try
<https://sourceforge.net/projects/hugin/files/hugin/hugin-0.7.0_win32-setup.exe>
cross fingers and report back.
good luck
Yuv
OK, I booted my workstation (X2 6000+, 8GB RAM) in Windows (XP SP2). I
completely removed any trace of Hugin from it, fetched Ad's latest
installer (SVN3975) and run my 294 pics project through it.
1. Load Pictures works well
2. Align triggers autopano-sift-c (I had to manually set the options to
"--maxdim 800 --maxmatches %p %o %s" like I have them on my Pentium M
1.6GHz, 2GB RAM Ubuntu notebook).
autopano-sift-c runs, the first couple of images are processed and I go
away. When I come back there is a wxExecute error window saying that it
could not run the autopano-sift-c command.
next I'll try the same with an earlier, 0.7 version.
Yuv
ryan+...@sleevi.com wrote:
> To be fair, DEP has caused me more headache than it's worth, simply
> because the sheer number of buggy programs out there.
in this case DEP may prove to be a debugging tool :)
honestly I don't think that researching DEP is of any help in his
context. If DEP had not caught the buffer overflow, it may have gone
unnoticed for a longer while. We have an issue to take care of in the
Hugin codebase or in an SDK component. Once it will be fixed it won't be
relevant to DEP anymore.
Yuv
Ryan Sleevi wrote:
> I went ahead and built a binary based on the latest SVN (for native
> x64), through the full build process, including the installer.
this means that you also built enblend-enfuse? autopano-sift-c? libpano?
wxwidgets? and all the other SDK components? for native x64? it would be
nice if you could contribute documentation of the process so that we can
release an x64 "official" version as well.
we had a case recently when enblend-enfuse built with debug symbols
would work while stripped of them it would crash - the debug symbols
were just enough "padding" for the overflow not to do too much damage. I
hope this is not the explanation for why your build does not crash.
On the other hand, it could be that the bug is in the updated SDK. Would
have to take the old SDK, re-build the old wxWidgets to support the
GLCanvas and try a recent Hugin SVN against it...
Yuv
did I thank you? THANK YOU, Ryan!
I've linked the pages from
<http://wiki.panotools.org/Development_of_Open_Source_tools#Supported_Platforms>
and with you and your expertise around I allowed myself to note that
64bit Windows is now supported.
Will you contribute a 64bit installer of 0.8.0 final after Bruno
released it?
Yuv
Well, it's only supported if those two patch sets get merged upstream prior
to 0.8 (your prior e-mail asking for thoughts). My belief is they should be
very minor (the patches to Hugin itself, really Vigra, were straight from
upstream just backported).
The patches to the supplementary products are (more or less) just patching
the solution files, although other projects that use Vigra had a few changes
applied to them as well. I'll try to update the libpano .sln patch (part of
the second set), since I found I missed something with x64 on it.
> Will you contribute a 64bit installer of 0.8.0 final after Bruno
> released it?
With regards to the installer itself, my process has not been clean. I get
several errors with the .iss that I haven't bothered to look deeper into.
Mostly issues with matchnsift/matchpoint/perl files being missing. I haven't
bothered to look into this, because it hasn't affected my personal usage,
but it would be a hindrance towards a 'proper' release. The other part is
still my own personal concern regarding the patented code and compiling it -
being an American and all. The whole distinction of direct and indirect
infringement is a point of concern.
As to the steps/compilation themselves, the process can be fully
accomplished with Microsoft's free-as-in-beer toolchain. The x64 compilers,
while not native to the Visual Studio 2008 Express Edition, can be obtained
from the Windows Platform SDK 6.1 and native x64 binaries compiled (or
cross-compiled, for those on x32). Using the Express Edition requires one
extra step (as documented at
http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and
-64-bit-targets/ ), but otherwise, compilation should prove quite smooth.
Sorry these didn't get applied, I'm trying not to break anything
that is currently already working and 64bit Windows is a new feature
rather than a bugfix (this shouldn't stop anyone creating a 0.8.0
64bit binary installer, they will just have to patch first).
--
Bruno