hugin?

Gary Aitken vagabond at blackfoot.net
Fri Aug 23 16:59:10 UTC 2013


On 08/23/13 07:10, Warren Block wrote:
> On Thu, 22 Aug 2013, Gary Aitken wrote:
> 
>> Is anyone using the current port of hugin successfully on 9.1? I've
>> never used it before but an attempt to start it crashes:
>> 
>> $ hugin /usr/local/share/hugin/data/plugins/top_five.py CAT:Control
>> Points NAM:keep 5 CPs per image pair 
>> /usr/local/share/hugin/data/plugins/woa.py CAT:Control Points 
>> NAM:Warped Overlap Analysis 
>> /usr/local/share/hugin/data/plugins/shooting_pattern.py CAT:initial
>> distribution NAM:6-1-1 Shooting Pattern 
>> /usr/local/share/hugin/data/plugins/crop_cp.py CAT:Control Points 
>> NAM:Crop Control Points Segmentation fault: 11 (core dumped)
> 
> That could be from having the OpenGL preview window enabled.  In
> ~/.hugin, go to the [GLPreviewFrame] section and set isShown to zero.
> After the program starts, that can be set in the Preferences:
> File/Preferences/Assistant "After align open".  Set it to "Preview
> Window" rather than "Fast preview window".

I don't see any "GLPreviewFrame", or any "Preview" at all; or any "Shown":

cat .hugin
version=2012.0
[AutoPano]
AutoPanoCount=10
Default=0
[AutoPano/AutoPano_0]
Type=1
Description=Hugin's CPFind
Program=cpfind
Arguments=--multirow -o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_1]
Type=1
Description=Hugin's CPFind + Celeste (slower but more accurate, no cps on clouds)
Program=cpfind
Arguments=--celeste --multirow -o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_2]
Type=2
Description=Cpfind (multirow/stacked)
Program=cpfind
Arguments=-o %o --multirow %s
ProgramMatcher=
ArgumentsMatcher=
ProgramStack=align_image_stack
ArgumentsStack=-f %v -v -p %o %i
Option=1
[AutoPano/AutoPano_3]
Type=1
Description=Autopano-SIFT-C
Program=autopano-noop.sh
Arguments=--maxmatches %p --projection %f,%v %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_4]
Type=1
Description=Panomatic
Program=panomatic
Arguments=-o %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_5]
Type=4
Description=Autopano-SIFT-C (multirow/stacked)
Program=generatekeys
Arguments=%i %k 800
ProgramMatcher=autopano
ArgumentsMatcher=--maxmatches %p %o %k
ArgumentsCleanup=
ProgramStack=align_image_stack
ArgumentsStack=-f %v -v -p %o %i
Option=1
[AutoPano/AutoPano_6]
Type=1
Description=Align image stack
Program=align_image_stack
Arguments=-f %v -v -p %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_7]
Type=1
Description=Align image stack FullFrameFisheye
Program=align_image_stack
Arguments=-f %v -e -p %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_8]
Type=1
Description=Vertical lines
Program=linefind
Arguments=-o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_9]
Type=1
Description=Hugin's CPFind (prealigned)
Program=cpfind
Arguments=--prealigned -o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1

gdb shows the following:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 812807400 (LWP 100339/hugin)]
0x000000080525cab0 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
(gdb) where
#0  0x000000080525cab0 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#1  0x0000000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#2  0x00000008053546f0 in wxWindowBase::Layout () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#3  0x000000080537f5d6 in wxPanel::OnSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#4  0x0000000804dfe48d in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
#5  0x0000000804dfe64c in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#6  0x0000000804dfe78d in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#7  0x000000080525ca85 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#8  0x0000000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#9  0x0000000805342c03 in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#10 0x0000000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#11 0x0000000805342c03 in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#12 0x0000000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#13 0x0000000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00000008053546f0 in wxWindowBase::Layout () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00000008056b7f08 in wxAuiManager::DoFrameLayout () from /usr/local/lib/libwx_gtk2u_aui-2.8.so.0
#16 0x00000008056bf720 in wxAuiManager::Update () from /usr/local/lib/libwx_gtk2u_aui-2.8.so.0
#17 0x000000000054e0b8 in HuginBase::Nona::ReduceStitcher<vigra::BasicImage<vigra::RGBValue<float, 0u, 1u, 2u>, std::allocator<vigra::RGBValue<float, 0u, 1u, 2u> > >, vigra::BasicImage<unsigned char, std::allocator<unsigned char> > >::stitch<vigra::BasicImageIterator<vigra::RGBValue<float, 0u, 1u, 2u>, vigra::RGBValue<float, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<float, 0u, 1u, 2u> >, vigra::BasicImageIterator<unsigned char, unsigned char**>, vigra::StandardValueAccessor<unsigned char>, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u> > > ()
#18 0x0000000000471469 in wxListEvent::~wxListEvent ()

so it appears to be ui related.
BTW, the splash screen displays before anything starts happening:
  <splash screen displays>
/usr/local/share/hugin/data/plugins/top_five.py
   CAT:Control Points
   NAM:keep 5 CPs per image pair
/usr/local/share/hugin/data/plugins/woa.py
   CAT:Control Points
   NAM:Warped Overlap Analysis
/usr/local/share/hugin/data/plugins/shooting_pattern.py
   CAT:initial distribution
   NAM:6-1-1 Shooting Pattern
/usr/local/share/hugin/data/plugins/crop_cp.py
   CAT:Control Points
   NAM:Crop Control Points
Segmentation fault: 11 (core dumped)


More information about the freebsd-questions mailing list