|
| From: | Paul POULAIN |
| Subject: | Re: [Koha-zebra] ZOOM seg fault |
| Date: | Tue, 31 Jan 2006 16:00:26 +0100 |
| User-agent: | Mozilla Thunderbird 1.0.6-7.2.20060mdk (X11/20050322) |
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 :
address@hidden 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)
| [Prev in Thread] | Current Thread | [Next in Thread] |