[ptx] optimization and amd64

Mickael Profeta mike at alezan.org
Tue Mar 22 23:47:45 GMT 2005


Hi

I discover Hugin to create my panomara and I quickly found it wonderful.

I compiled it on debian sid on an amd64 machine, and it seems to work 
quite well (at least hugin + nona + enblend)

Yet I discover recently that I have a trouble with PToptimizer: it 
segfault when you ask him to do some distortion optimisation.

mike at alezan:~$ PTOptimizer test.opti
Erreur de segmentation

mike at alezan:~$ less test.opti
p f2 w3000 h1500 v360  n"JPEG q90"
m g1 i0 f0

# image lines
i w800 h600 f0 a0.0001 b0.0001 c0.0001 d0 e0 g0 p0 r0 t0 v63.4603 y0  
u10 n"/home/mike/7laux/cpb/small/photo0018_2.jpg"
i w800 h600 f0 a=0 b=0 c=0 d=0 e=0 g0 p-1.67789 r-2.79849 t0 v=0 
y-35.1102  u10
n"/home/mike/7laux/cpb/small/photo0019_2.jpg"

# specify variables that should be optimized
v a0 b0 c0 d0 e0 v0
v p1 r1 y1
c n1 N0 x700.805 y224.155 X279.354 Y233.039 t0
c n1 N0 x492 y460 X79.0151 Y494.858 t0
c n1 N0 x711.111 y301.449 X293.673 Y304.628 t0


mike at alezan:~$ gdb /usr/local/bin/PTOptimizer
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) run /home/mike/test.opti
Starting program: /usr/local/bin/PTOptimizer /home/mike/test.opti

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaabccea7 in ParseScript (
   script=0x502010 "p f2 w3000 h1500 v360  n\"JPEG q90\"\nm g1 i0 
f0\n\n# image lines\ni w800 h600 f0 a0.0001 b0.0001 c0.0001 d0 e0 g0 p0 
r0 t0 v63.4603 y0  u10 
n\"/home/mike/7laux/cpb/small/photo0018_2.jpg\"\ni w800 h600 f0 a=0 "...,
   gl=0x7fffffffd890) at parser.c:429
429                                                                     
break;





Is this problem known? Or is there another alternative to PToptimizer to 
perform those optimisations?

If you need some more informations I will be please to send them quickly.

Thanks for any help

Mike




More information about the ptX mailing list