Bug 2020 - search.pl chokes on searches with "+and+" in the url
Summary: search.pl chokes on searches with "+and+" in the url
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: rel_3_0
Hardware: PC All
: PATCH-Sent (DO NOT USE) critical
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 25505
  Show dependency treegraph
 
Reported: 2008-04-16 10:50 UTC by Chris Cormack
Modified: 2020-05-14 14:28 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 00:37:17 UTC


---- Reported by matthew.metzger@cono.org 2008-04-16 22:50:53 ----

My server became unresponsive quite a few times before I tracked this down.

If a search, such as "mice and men", with the word "and" in the search terms is run, the search.pl process eats up processor and memory and eventually crashes the server with out of memory errors.

http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men

I found this behavior to be consistent in Koha 3 alpha. I've upgraded to beta2 and tested it out several times. search.pl becomes unresponsive every time I run a search with +and+. I have to kill the process from the command line before it takes down my server. Even the command line becomes sluggish when the bad search.pl process is running. It takes a while to type in the kill command and for the server to respond by actually killing the process.

I would consider this bug critical.



---- Additional Comments From jmf@liblime.com 2008-04-17 03:43:59 ----

Can you clarify, are you running Zebra or NoZebra?



---- Additional Comments From matthew.metzger@cono.org 2008-04-17 06:58:56 ----

I'm running NoZebra.



---- Additional Comments From jmf@liblime.com 2008-04-17 08:51:13 ----

OK, and can you specify how large is your database(how many bib and item records?), and what indexes do you have defined? Finally, what hardware are you running on (how much memory and processor speed, etc.).



---- Additional Comments From matthew.metzger@cono.org 2008-04-17 09:06:32 ----

Our library is small. Under 6000 items.

I'm running on a new Mac mini (intel) with a core duo (1.8 mhz, I think). 1 GB of RAM.



---- Additional Comments From matthew.metzger@cono.org 2008-04-17 09:13:32 ----

Our Librarian is working right now, so I don't want to intentionally run the search that crashes the machine right now, however, it looks like I'm getting errors on about everything. I'm not sure that this is normal so I'll paste some of these errors here (I'll paste the results of the bad search a little later):

[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :Brothers and sisters at /usr/share/koha/lib/C4/Biblio.pm line 22
86., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=
[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :Fiction. at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :J FI at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :J FIC RO at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :0 at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :000006949 at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :8.00 at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :5906 at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :STAM at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :4/17/08 at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008] additem.pl: INDEXING :STAM at /usr/share/koha/lib/C4/Biblio.pm line 2286., referer: http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu Apr 17 11:07:54 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:54 2008] MARCdetail.pl: Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 450., referer:



---- Additional Comments From henridamien@koha-fr.org 2008-04-17 09:44:02 ----

(In reply to comment #5)
> I'm not sure that this is normal so I'll paste some
> of these errors here (I'll paste the results of the bad search a little later):
http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu
> Apr 17 11:07:16 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:16 2008]
> additem.pl: INDEXING :STAM at /usr/share/koha/lib/C4/Biblio.pm line 2286.,
> referer:
> http://stam.library.admin/cgi-bin/koha/cataloguing/additem.pl?biblionumber=5972&frameworkcode=[Thu
> Apr 17 11:07:54 2008] [error] [client 192.168.1.128] [Thu Apr 17 11:07:54 2008]
> MARCdetail.pl: Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 450.,
> referer:
> 

This is only some trace in order to try and debug indexing.
You may have DEBUG 1
in some script.



---- Additional Comments From matthew.metzger@cono.org 2008-04-17 13:19:43 ----

I forgot to mention my operating system is:
Linux 2.6.24-16-server #1 SMP i686 GNU/Linux
Ubuntu Hardy

There could have been confusion because it's running on Mac hardware. I'm not
using Mac OS X; I'm using the latest dev release of Ubuntu.



---- Additional Comments From matthew.metzger@cono.org 2008-04-17 13:31:45 ----

I noticed a discrepancy with with my perl install. mod_perl is 5.8.8 while koha reports it as 5.010000. (5.10.0). Could this be a problem?

Apache/2.2.8 (Ubuntu) DAV/2 PHP/5.2.4-2ubuntu5 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8 Server at stam.library.admin Port 80

Here's a "tail -80 /var/log/koha/koha-error_log". It looks like the error just repeats over and over (closed loop?).

[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:14 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:14 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: node : mice /  and  / men , referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl:  NZanalyse at /usr/share/koha/lib/C4/Search.pm line 1568., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: string :mice at /usr/share/koha/lib/C4/Search.pm line 1622., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:22:15 2008] search.pl: no parenthesis. left : mice operator:  and  right: men  at /usr/share/koha/lib/C4/Search.pm line 1627., referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:22:15 2008] [error] [client 192.168.1.212] Premature end of script headers: search.pl, referer: http://stam.library.admin/cgi-bin/koha/catalogue/search.pl?q=mice+and+men
[Thu Apr 17 15:25:56 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:25:56 2008] mainpage.pl: Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 450.
[Thu Apr 17 15:25:56 2008] [error] [client 192.168.1.212] kohaversion : 3.0000067
[Thu Apr 17 15:25:56 2008] [error] [client 192.168.1.212] AUTH_SESSION: ()\t  - 
[Thu Apr 17 15:26:02 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:26:02 2008] mainpage.pl: Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 450., referer: http://stam.library.admin/
[Thu Apr 17 15:26:02 2008] [error] [client 192.168.1.212] kohaversion : 3.0000067, referer: http://stam.library.admin/
[Thu Apr 17 15:26:02 2008] [error] [client 192.168.1.212] AUTH_SESSION: ()\t  - , referer: http://stam.library.admin/
[Thu Apr 17 15:26:07 2008] [error] [client 192.168.1.212] [Thu Apr 17 15:26:07 2008] about.pl: Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 450., referer: http://stam.library.admin/
[Thu Apr 17 15:26:07 2008] [error] [client 192.168.1.212] kohaversion : 3.0000067, referer: http://stam.library.admin/
[Thu Apr 17 15:26:07 2008] [error] [client 192.168.1.212] AUTH_SESSION: (kohaadmin)\tkohaadmin kohaadmin - NO_LIBRARY_SET, referer: http://stam.library.admin/



---- Additional Comments From gmcharlt@gmail.com 2008-05-13 19:38:37 ----

I have identified the cause of the bug - it was in fact triggered by your running Perl 5.10 instead of 5.8; there is a bug in Perl 5.8's regular expression handling that was fixed in 5.10.  That fix in turn shows a weakness in the NoZebra code.

I'm working on a patch - should be available in the next day or two.



---- Additional Comments From gmcharlt@gmail.com 2008-05-14 15:10:11 ----

Patch submitted to correct this bug.



---- Additional Comments From jmf@liblime.com 2008-05-19 12:49:04 ----

Fixed, thanks Galen!



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:37 UTC  ---

This bug was previously known as _bug_ 2020 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2020

Unknown operating system Linux - Other. Setting to default OS "All".
Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was matthew.metzger@cono.org.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, gmcharlt@gmail.com.
   Previous assignee was jmf@liblime.com.