This is autopano-sift-c from trunk doing segfault. (I decided to
recompile it from trunk, because Debian apparently updated the jpeg
library and my old version of autopano-sift-c complained that the
library was not the same version as the one it was built against.)
(gdb) r --projection 2,133 output.pto *.jpg
Starting program: /home/adl/usr/bin/autopano-sift-c --projection 2,133
output.pto *.jpg
APSCpp, enhanced autopano-sift-c version 2.5.2 23July2009
Default fisheye lens type is equal-area.
Focal length will be computed from hfov.
Stereographic projection enabled for hfov >= 65.0 degrees.
Filename imgp4147.jpg
equal-angle fish width 3872 height 2592 hfov inf
reduce to 1600 x 1071 (Scale 2.4200)...
Program received signal SIGSEGV, Segmentation fault.
saRemap_new (ps=0x0, pd=0x62e5d0)
at /home/adl/git/autopano-sift-C/APSCpp/saRemap.c:82
82 p->sX0 = ps->hCpix;
(gdb) bt
#0 saRemap_new (ps=0x0, pd=0x62e5d0)
at /home/adl/git/autopano-sift-C/APSCpp/saRemap.c:82
#1 0x000000000040c5a8 in GenerateKeyspp (imgname=<value optimized out>,
maxdim=<value optimized out>, pdi=<value optimized out>,
stgfov=<value optimized out>, KPcount=<value optimized out>,
globFov=<value optimized out>)
at /home/adl/git/autopano-sift-C/APSCpp/APSCpp.c:443
#2 0x000000000040b2b6 in main (argc=<value optimized out>,
argv=<value optimized out>)
at /home/adl/git/autopano-sift-C/APSCpp/APSCpp_main.c:533
(gdb) p ps
$1 = (CamLens *) 0x0
(gdb)
Any idea?
The code around APSCpp.c:443 is
// create the projections
psp = CamLens_new1( pW, pH, pdi->format, hfov, 16.0 );
pdp = CamLens_new1( dwid, dhgt, _stereographic, hfov, 0 );
// create the mapping
443: prm = saRemap_new( psp, pdp );
saRemap_inv ( prm, 0.5 * dwid, 0.5 * dhgt, &Xcen, &Ycen );
WriteLine(" convert to stereographic projection ...");
CamLens_delete( psp );
CamLens_delete( pdp );
The first call to CamLens_new1() returned 0.
Also, I don't understand why the output prints "equal-angle fish
width 3872 height 2592 hfov inf " instad of "... hfov 133" as
specified on the command line.
--
Alexandre Duret-Lutz
--
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