Kevin -
Am Mittwoch, 28. November 2012 12:54:03 UTC+1 schrieb kevin360:
> I reduced the number of input images to 2 and it still segfaults.
Nice job! Two is perfect for testing.
If the images aren't too large, do you think it
makes sense to supply them to us? I'd like to
reproduce your findings on my system.
> Next I reduced the image size which caused the segfaults to go away.
> I increased the size and it came back. I'm using images that are
> 9,000 pixels on the long side right now. Doing 40 runs with 2 of
> those images it segfaulted 12 times. Turning off openmp from the
> shell (OMP_NUM_THREADS=1) and it completes every run.
The OMP_NUM_THREADS=1 test proves that
either the OpenMP synchronization is faulty or
at least one thread tramples on another one's
memory. None of which I have ever heard before
for Enfuse code as its OpenMP code is
extraordinarily simple.
> Next I tried to compile in the debug support but that crashes the
> compile. Just to be sure I re-ran configure and just removed the
> --enable-debug, compiles fine. Run configure again putting back in
> --enable-debug, make clean, make and it crashes. Here's the command
> where it crashes:
Doh, I should have been more specific.
I meant: ensure that the "-g" option is passed
to the compiler _and_ the linker when I said
"compile with debug support". This makes
backtraces much easier to read.
Whether you configure with or without debug
support, i.e. `--enable-debug' or
`--disable-debug' should not matter.
One more idea: If you have a suitable
"libgomp.so" (i.e. configured with
`--disable-linux-futex') at hand, you can run
Enfuse under the supervision of Helgrind (after
preloading the correct "libgomp.so"). No idea,
whether this will unveil the cause of the
problem, though.
HTH,
Chris
--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx