[Insight-users] ImageRegistrationMethod and possible threads problem,

Ruben Cardenes rcaralm at canarias-digital . org
Mon, 05 Aug 2002 20:40:23 +0100


Hi all,

I was doing some experiments with the itk::ImageRegistrationMethod, but
after compiling I'm not able to execute it. There is always a
segmentation fault during the "StartRegistration" method. 
I'm using Solaris 8, ang gcc 2.95.3. 

It seems to be a problem with the libthread.so library.
I compiled ITK from the CVS just a month ago, with pthread support, do I
have to recompile ITK? 

This is the gdb output:

Program received signal SIGABRT, Aborted.
0xfed69b0c in __sigprocmask () from /usr/lib/libthread.so.1
(gdb) bt
#0  0xfed69b0c in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xfed5e544 in _resetsig () from /usr/lib/libthread.so.1
#2  0xfed5dc34 in _sigon () from /usr/lib/libthread.so.1
#3  0xfed60da8 in _thrp_kill () from /usr/lib/libthread.so.1
#4  0xfeccae68 in raise () from /usr/lib/libc.so.1
#5  0xfecb5644 in abort () from /usr/lib/libc.so.1
#6  0xfedc22d4 in __default_terminate ()
   from /usr/local/lib/libstdc++.so.2.10.0
#7  0xfedc2304 in __terminate () from /usr/local/lib/libstdc++.so.2.10.0
#8  0xfedc2e1c in throw_helper (eh=0x96f88, pc=0x26117,
my_udata=0xffbeee20, 
    offset_p=0xffbeee1c) from /usr/local/lib/libstdc++.so.2.10.0
#9  0xfedc3024 in __throw () from /usr/local/lib/libstdc++.so.2.10.0
#10 0x27a9c in main (argc=635768, argv=0xffbef15c) at
registration.cxx:93


-- 
Rubén Cárdenes Almeida
Dep. Ingeniería Telemática, University of Las Palmas de GC.
Phone: 928449970 FAX: 928449191
email: rcaralm@canarias-digital.org &  rcardenes@yahoo.es