Hi all, I need to port some Perl code my research group wrote earlier to UIMA. For this, I decided to install UIMACPP and Perltator first on my own machine (which is a Mac); this worked perfectly. However, I also had to install the library on a shared virtual machine running Ubuntu. I was able to build and run UIMACPP correctly. The Perltator was also compiled, but it gave me a segmentation fault when I tried to run the sample annotator:
*runAECpp PerlSample.xml ../../examples/data/ > *Perltator: Initialize - debug=100 > sample.pl: Using match string = Dave|David|human\s+rights > Perltator: typeSystemInit > Segmentation fault Running gdb gave the following backtrace: from > /home/rahuljha/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux-gnu-thread-multi/CORE/libperl.so > #1 0x00007ffff3d15dde in Perl_hv_common_key_len () > from > /home/rahuljha/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux-gnu-thread-multi/CORE/libperl.so > #2 0x00007ffff3ffd89c in SWIG_Perl_MakePtr (sv=0x674e30, ptr=0x6d1770, > t=0x0, flags=3) at uima_wrap.cxx:1251 > #3 0x00007ffff3ffdbd0 in SWIG_Perl_NewPointerObj (ptr=0x6d1770, t=0x0, > flags=3) at uima_wrap.cxx:1272 > #4 0x00007ffff4010390 in _wrap_TypeSystem_getType (my_perl=0x6c8380, > cv=0x7a74f8) at uima_wrap.cxx:2442 > #5 0x00007ffff3d1a4d0 in Perl_pp_entersub () > from > /home/rahuljha/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux-gnu-thread-multi/CORE/libperl.so > #6 0x00007ffff3d18ff6 in Perl_runops_standard () > from > /home/rahuljha/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux-gnu-thread-multi/CORE/libperl.so > #7 0x00007ffff3cbc3b6 in Perl_call_sv () > from > /home/rahuljha/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux-gnu-thread-multi/CORE/libperl.so > #8 0x00007ffff3ff97b1 in Perltator::typeSystemInit (this=0x6c39b0, > ts=...) at Perltator.cpp:284 > #9 0x00007ffff3ff8802 in ThreadAnnotator<Perltator>::threadfunc > (this_thread=0x6c3be0, p=0x6dbbf0) at ../ThreadAnnotator.h:80 > #10 0x00007ffff69c49ca in start_thread () from /lib/libpthread.so.0 > #11 0x00007ffff430a70d in clone () from /lib/libc.so.6 There seems to be an issue libperl.so. I am using perl-5.12.3 because that is the version on my Mac, on which this worked correctly. I also tried switching to Perl-5.8.8 but it gave the same error. Has anyone else faced this issue? Any ideas? Thanks! Rahul -- http://umich.edu/~rahuljha
