[Yazlist] pazpar2 crashes

Adam Dickmeiss adam at indexdata.dk
Sat Mar 1 12:00:19 UTC 2014


On 03/01/2014 11:59 AM, Sven-S. Porst wrote:
> While testing my user interface, I observed a few pazpar2 (1.6.39 with yaz 5.0.18) crashes. I attach some context from the log file around them, as well as the stack traces from the crashed threads which my Mac created.
>
> As it only affected the worker process, pazpar2 kept on working afterwards, I don’t think I would have noticed more than a minor glitch if the system hadn’t shown me the crash report (neat!). With pazpar2 usually being very stable for me, seeing a bunch of crashes on the same day is uncommon.
>
> As I was trying out the native facets at the time (and never really did that before), I am tempted to suspect it is related to that. But the stacktraces of the crashes (of which there seem to be two types) do no clearly point that out to me:
Please attach the main Pazpar2 configuration for a start.

/ Adam
> Type1:
>> Thread 4 Crashed:
>> 0   pazpar2                       	0x000000010f1a9303 connection_get_link + 4
>> 1   pazpar2                       	0x000000010f1a6e2d client_record_response + 48
>> 2   pazpar2                       	0x000000010f1a9483 non_block_events + 289
>> 3   pazpar2                       	0x000000010f1aa0db connection_handler + 196
>
> Type 2:
>> Thread 2 Crashed:
>> 0   libyaz.5.dylib                	0x000000010f225980 ZOOM_connection_put_event + 4
>> 1   libyaz.5.dylib                	0x000000010f225227 record_cache_add + 62
>> 2   libyaz.5.dylib                	0x000000010f2251c3 ZOOM_record_cache_add + 49
>> 3   libyaz.5.dylib                	0x000000010f22485a handle_srw_response + 890
>> 4   libyaz.5.dylib                	0x000000010f2244d4 ZOOM_handle_sru + 612
>> 5   libyaz.5.dylib                	0x000000010f220243 ZOOM_connection_fire_event_socket + 1363
>> 6   pazpar2                       	0x000000010f1aa0d3 connection_handler + 188
>
> (In case you require full crash logs, please let me know where to send them.)
>
> Unfortunately I could not figure out how to reproduce the crash in a controlled fashion.
>
> Regards
>
> 		Sven
>
>
>
> Log messages:
>
> ➜  ~  cat /tmp/pazpar2.log |  grep -C 10 SIGSEGV
>      <sx>1236-9039</sx>
>    </d830>
>    <d850 i1=" " i2=" ">
>      <sa>FI-Hc</sa>
>      <sa>FI-Hxai</sa>
>      <sa>FI-TYL</sa>
>    </d850>
> </r>
>
> 23:19:48-28/02 pazpar2 [log] Session 285964845: Cluster id content: merge-title weristdiesefrauannaherungenanlebenundwerkastridlindgrens merge-author dankert from sru.gbv.de/gvk-stabikat (#33)
> 23:19:53-28/02 pazpar2 [warn] Received SIGSEGV from child 93763
> 23:19:54-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=search&query=lindgren&session=285964845&windowid=&sort=date%3A0&filter=&limit=medium%3Dbook
> 23:19:54-28/02 pazpar2 [warn] HTTP 417 Session does not exist or it has expired: 285964845
> 23:19:54-28/02 pazpar2 [log] Response: 0.00050 8 /pazpar2/search.pz2?command=search&query=lindgren&session=285964845&windowid=&sort=date%3A0&filter=&limit=medium%3Dbook
> 23:19:54-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=init&service=vifanord
> 23:19:54-28/02 pazpar2 [log] Session 285968897: create
> 23:19:54-28/02 pazpar2 [log] Response: 0.00099 8 /pazpar2/search.pz2?command=init&service=vifanord
> 23:19:54-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=stat&session=285968897&windowid=
> 23:19:54-28/02 pazpar2 [log] Response: 0.00016 8 /pazpar2/search.pz2?command=stat&session=285968897&windowid=
> 23:19:54-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=search&query=lindgren&session=285968897&windowid=&sort=date%3A0&filter=&limit=
> 23:19:54-28/02 pazpar2 [log] Client bsb/sisis-ost: CCL query: lindgren limit: @and @attr 1=5054 oe
> --
> --
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="Z 20035">WLB Stuttgart</pz:metadata>
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="1 XIV BZ 1">Herder-Institut</pz:metadata>
>    <pz:metadata type="merge-title">Admirál Satan Pierre -André de Suffren de Saint-Tropez (1729-1788). Legenda a skutečnost = Admiral Satan Pierre-André de Suffren de Saint-Tropez (1729-1788). Legend and reality </pz:metadata>
>    <pz:metadata type="merge-author">Wanner</pz:metadata>
> </pz:record>
>
> 23:30:49-28/02 pazpar2 [log] Session 286129667: Facet filtered out record no 6 from sru.gbv.de/olcssg-oeu
> 23:30:49-28/02 pazpar2 [log] Client sru.gbv.de/gvk-stabikat: CCL query: satan limit: @and @attr 1=pica.bib 0001
> 23:30:49-28/02 pazpar2 [log] Session 286129667: PQF for Client sru.gbv.de/gvk-stabikat: @and @attr 1=pica.bib 0001 @attr 1=pica.all satan
> 23:30:49-28/02 pazpar2 [log] Session 286129667: Client sru.gbv.de/gvk-stabikat native query: pica.bib=0001 and pica.all=satan (get)
> 23:30:49-28/02 pazpar2 [warn] Received SIGSEGV from child 94743
> 23:30:50-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=search&query=satan&session=286129667&windowid=&sort=date%3A0&filter=&limit=region%3Dnord
> 23:30:50-28/02 pazpar2 [warn] HTTP 417 Session does not exist or it has expired: 286129667
> 23:30:50-28/02 pazpar2 [log] Response: 0.00028 8 /pazpar2/search.pz2?command=search&query=satan&session=286129667&windowid=&sort=date%3A0&filter=&limit=region%3Dnord
> 23:30:50-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=init&service=vifanord
> 23:30:50-28/02 pazpar2 [log] Session 286136833: create
> 23:30:50-28/02 pazpar2 [log] Response: 0.00049 8 /pazpar2/search.pz2?command=init&service=vifanord
> 23:30:50-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=stat&session=286136833&windowid=
> 23:30:50-28/02 pazpar2 [log] Response: 0.00014 8 /pazpar2/search.pz2?command=stat&session=286136833&windowid=
> 23:30:50-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=search&query=satan&session=286136833&windowid=&sort=date%3A0&filter=&limit=
> 23:30:50-28/02 pazpar2 [log] Client bsb/sisis-ost: CCL query: satan limit: @and @attr 1=5054 oe
> --
> --
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="">UB Osnabrück</pz:metadata>
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="">HSB Emden/Leer</pz:metadata>
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="!1960! ">UB Potsdam</pz:metadata>
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="">Nationallizenzen</pz:metadata>
>    <pz:metadata xmlns="http://www.indexdata.com/turbomarc" type="gbv-library" shelf-mark="">MPI Bildungsforschung</pz:metadata>
>    <pz:metadata type="merge-title">Satan revealed; or the dragon overcome. With an explanation of the twelfth chapter of the Revelations. And also, a testimony that Richard Brothers, is a prophet sent from the Lord. By Sarah Flaxmer  </pz:metadata>
>    <pz:metadata type="merge-author">Flaxmer</pz:metadata>
> </pz:record>
>
> 23:30:59-28/02 pazpar2 [log] Session 286136833: Facet filtered out record no 347 from sru.gbv.de/gvk-stabikat
> 23:31:00-28/02 pazpar2 [warn] Received SIGSEGV from child 94799
> 23:31:01-28/02 pazpar2 [log] Request: - 8 GET /pazpar2/search.pz2?command=bytarget&session=286136833&block=1&windowid=
> 23:31:01-28/02 pazpar2 [log] Request: - 9 GET /pazpar2/search.pz2?command=search&query=satan&session=286136833&windowid=&sort=date%3A0&filter=&limit=region%3Dnord
> 23:31:01-28/02 pazpar2 [log] Request: - 10 GET /pazpar2/search.pz2?command=termlist&session=286136833&name=region%2Cxtargets%2Cgbv-library%2Cse-kb-collection%2Cmedium%2Clanguage%2Cdate&windowid=&num=2000
> 23:31:01-28/02 pazpar2 [log] Request: - 11 GET /pazpar2/search.pz2?command=stat&session=286136833&windowid=
> 23:31:01-28/02 pazpar2 [warn] HTTP 417 Session does not exist or it has expired: 286136833
> 23:31:01-28/02 pazpar2 [warn] HTTP 417 Session does not exist or it has expired: 286136833
> 23:31:01-28/02 pazpar2 [warn] HTTP 417 Session does not exist or it has expired: 286136833
> 23:31:01-28/02 pazpar2 [warn] HTTP 417 Session does not exist or it has expired: 286136833
> 23:31:01-28/02 pazpar2 [log] Response: 0.00100 8 /pazpar2/search.pz2?command=bytarget&session=286136833&block=1&windowid=
> 23:31:01-28/02 pazpar2 [log] Response: 0.00101 9 /pazpar2/search.pz2?command=search&query=satan&session=286136833&windowid=&sort=date%3A0&filter=&limit=region%3Dnord
>




More information about the Yazlist mailing list