[Koha-zebra] ZOOM seg fault

Paul POULAIN paul.poulain at free.fr
Tue Jan 31 16:00:26 CET 2006


Mike Taylor a écrit :

> Super-yikes!  That _suggests_ to me that you're getting a segmentation
> fault -- the Apache process doing the CQL compilation is dying so
> rudely that it's not even able to send out the HTTP headers.
> 
> Can you reproduce this with a command-line script?  One that I can run
> without needing to install anything exotic?

yes I can :
#!/usr/bin/perl
use strict;
use ZOOM;
my $query="test";
	warn "QUERY : $query";
	my $Zconn;
	eval {
		$Zconn = new ZOOM::Connection('localhost','2100');
	};
	warn "ICI";
	$Zconn->option(cqlfile => "/home/paul/koha.dev/head/zebra/pqf.properties");
	warn "LA";
	my $q = new ZOOM::Query::CQL2RPN( $query, $Zconn);
# 	warn "ERROR : ".$Zconn->errcode();
	warn "Q : $q";
give a great :
[paul at bureau migration_tools]$ ./test_cql2rpn.pl
QUERY : test at ./test_cql2rpn.pl line 10.
ICI at ./test_cql2rpn.pl line 15.
LA at ./test_cql2rpn.pl line 17.
Erreur de segmentation (<< this is segfault in french ;-) )
-- 
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-zebra mailing list