Date: Tue, 31 Jan 2006 16:00:26 +0100 From: Paul POULAIN <paul.poulain@free.fr>
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@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 ;-) )
Well, at least we now understand the strange error-message in the web-server log. What we unfortunately do not know is what's causing it, and this is because -- $ perl ./test_cql2rpn.pl QUERY : test at ./test_cql2rpn.pl line 5. ICI at ./test_cql2rpn.pl line 10. LA at ./test_cql2rpn.pl line 13. Q : ZOOM::Query::CQL2RPN=HASH(0x8140aa8) at ./test_cql2rpn.pl line 16. Your program works perfectly for me. Hmm. Can you send me a stack-trace? _/|_ ___________________________________________________________________ /o ) \/ Mike Taylor <mike@miketaylor.org.uk> http://www.miketaylor.org.uk )_v__/\ "That's right, Pete. It's actually pronounced Mi'li-wau-KAY, and it's Algonquin for The Good Land" -- Alice Cooper, "Wayne's World"