[Koha-devel] Re: [Koha-zebra] ZOOM seg fault

Paul POULAIN paul.poulain at free.fr
Wed Feb 1 15:01:14 CET 2006


Mike Taylor a écrit :
> OK, so this pretty much confirms the hypothesis that the problem is
> heap corruption, but doesn't tell us anything about where it's
> happening.
> 
> Please can you try running it with ElectricFence?
> 
> $ sudo apt-get install electric-fence

apt-get does not exist on mandriva, it's not a standard package, but 
rpmfind gave me what I was looking for :

(gdb) set environment LD_PRELOAD libefence.so.0.0
(gdb) run test_cql2rpn.pl
Starting program: /usr/bin/perl test_cql2rpn.pl

   Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens 
<bruce at perens.com>

   Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens 
<bruce at perens.com>

   Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens 
<bruce at perens.com>

   Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens 
<bruce at perens.com>

   Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens 
<bruce at perens.com>
Reading symbols from shared object read from target memory...(no 
debugging symbols found)...done.
Loaded system supplied DSO at 0xffffe000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211459360 (LWP 310)]

   Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens 
<bruce at perens.com>
QUERY : test at test_cql2rpn.pl line 10.
ICI at test_cql2rpn.pl line 15.
LA at test_cql2rpn.pl line 17.
/usr/bin/perl: symbol lookup error: 
/usr/lib/perl5/site_perl/5.8.7/i386-linux/auto/Net/Z3950/ZOOM/ZOOM.so: 
undefined symbol: ZOOM_query_cql2rpn

Program exited with code 0177.

ls -l /usr/lib/perl5/site_perl/5.8.7/i386-linux/auto/Net/Z3950/ZOOM/ show :
-rwxr-xr-x  1 root root 2058095 jan 19 13:52 ZOOM.so*

-- 
Paul POULAIN et Henri Damien LAURENT
Consultants indépendants
en logiciels libres et bibliothéconomie (http://www.koha-fr.org)





More information about the Koha-devel mailing list