proj-imim:
PanoTools seg faults
Neil Bomberger 2000-Nov-04 00:16:06
Hi,
I downloaded PanoTools 2.1 for Linux and the PanoTools plugin
v1.8.b1 for gimp. I installed the gimp plugin PanTools in my
.gimp/plug-ins directory and started gimp, but PanTools did not appear
in my filters sub-menu. Also, when I started gimp, I got the following
message:
wire_read: unexpected EOF (plug-in crashed?)
When I run PanTools by typing ./PanTools from the command line, I get a
segmentation fault rather than the usual message about the program being
a gimp plug-in.
I then checked the library dependencies of the gimp plug-in PanTools
using ldd, and got the following results:
libgimpui.so.1 => /usr/local/lib/libgimpui.so.1 (0x4000f000)
libgimp.so.1 => /usr/local/lib/libgimp.so.1 (0x40012000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40021000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40141000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0
(0x40175000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40178000)
libdl.so.1 => /lib/libdl.so.1 (0x4019b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4019e000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401aa000)
libm.so.5 => /usr/lib/libm.so.5 (0x4024e000)
libc.so.5 => not found
libc.so.6 => /lib/libc.so.6 (0x40257000)
libdl.so.2 => /lib/libdl.so.2 (0x4034a000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4034d000)
libm.so.6 => /lib/libm.so.6 (0x40355000)
ld-linux.so.2 => /lib/ld-linux.so.2 (0x40371000)
Note the dependency on both libc.so.5 and libc.so.6, and both libm.so.5
and libm.so.6. Is this supposed to be?
Next I tried to run the Linux version of PanoTools 2.1 by typing
"java -jar ptpicker.jar". I loaded the project in the Panorama
directory of the Linux examples, and then selected "Optimizer" from the
"Project" menu. The program crashes and I get the following message:
Average Difference between Controlpoints after 0
iteration(s): 98.491 pixels
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Success
si_code [0]: SI_USER [pid: 0, uid: 0]
stackpointer=0xbf1ff0a4
Full thread dump Classic VM (Linux_JDK_1.2.2_FCS, native
threads):
"Thread-0" (TID:0x40ea10e8, sys_thread_t:0x8053e40,
state:CW, native ID:0x400) prio=5
followed by a bunch of java exception statements. I checked the library
dependencies of some of the programs in the "Helpers" directory of
PanoTools, and got the following response:
libpano12.so => /usr/lib/libpano12.so (0x4000f000)
libc.so.5 => not found
libm.so.5 => /usr/lib/libm.so.5 (0x40046000)
libjpeg.so.6 => /usr/local/lib/libjpeg.so.6 (0x4004f000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40072000)
libc.so.6 => /lib/libc.so.6 (0x4009f000)
ld-linux.so.2 => /lib/ld-linux.so.2 (0x40192000)
Again, there are dependencies on both libc.so.5 and libc.so.6.
Any clues about why both versions 5 and 6 of libc and libm are being
linked, and what may be causing the seg faults? Is the source code
available for PanoTools so that I could compile it?
-Neil Bomberger
#removed#