Bugs item #2831472, was opened at 2009-08-03 15:17
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2831472&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PFtijah
Group: Pathfinder "stable"
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ying Zhang (yingying)
Assigned to: Henning Rode (hrode)
Summary: tijah:queryall crashes Mserver

Initial Comment:
On FC10, 64bits, installed using ' monetdb-install.sh --enable-xquery 
--nightly=stable' about 3 days ago, executing a tijah:queryall function results 
in segmentation fault in Mserver:

================
In server side terminal
================

$ Mserver --dbinit="module(pathfinder);"
# MonetDB Server v4.30.4
# based on GDK   v1.30.4
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.13.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.28.3 loaded (default back-end is 'algebra')
# XRPC administrative console at http://127.0.0.1:50001/admin
MonetDB>Segmentation fault

================
In client side terminal
================

$ cat debates.xml 
<?xml version="1.0" standalone="yes"?>
<proceedings>
  <speech speaker="Roy Walter">
    <p>Wind farms at Heathrow are a good thing.</p>
  </speech>
</proceedings>

$ MonetDB/bin/mclient -lx
xquery>pf:add-doc("/tmp/debates.xml", "debates.xml")
more><>
xquery>pf:documents()
more><>
<document updatable="false" url="/tmp/debates.xml" 
collection="debates.xml">debates.xml</document>
xquery>tijah:create-ft-index()
more><>
xquery>tijah:queryall("//speech[about(., Heathrow)]")
more><>
MAPI  = mone...@localhost:50000
ACTION= read_line
QUERY = tijah:queryall("//speech[about(., Heathrow)]")
ERROR = Connection terminated

The same crash happens on the same machine, if the document was shredded as an 
updatable document with 10% hole.
The query also crashes Mserver on Windows Vista 64bits, installed using the 
latest released windows installer, with document shredded as both read-only and 
updatable.

I'm not sure if this is a 64bits related problem, as I got the query from a 
user who is using this tijah function on a 32-bits XP machine, and did not 
mention any crash.


Jennie

----------------------------------------------------------------------

>Comment By: Stefan Manegold (stmane)
Date: 2009-08-21 11:46

Message:
Is there a test for this one?
If so, please state where;
otherwise, please (try to) add one, or explain why that isn't (easily)
possible.

After that, please close, again.

Thanks!


----------------------------------------------------------------------

Comment By: Henning Rode (hrode)
Date: 2009-08-21 10:53

Message:
my last check-in seems to fix the problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2831472&group_id=56967

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to