Bugs item #1850772, was opened at 2007-12-14 14:28
Message generated for change (Comment added) made by stmane
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1850772&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: PF/runtime
Group: Pathfinder CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Flokstra (jflokstra)
Assigned to: Nobody/Anonymous (nobody)
Summary: [preceding and following]-sibling:: bug
Initial Comment:
Im posting this bug on behalf of a student of ours,
[EMAIL PROTECTED] . I had a quick look at the problem and it looks like a real
bug to me.
Attached is a file "xmark01.xml" which is a small (33K)XMARK document. When we
run the query:
count(doc("xmark01.xml")//*/following-sibling::regions)
the system reponds with:
MAPI = [EMAIL PROTECTED]:50000
QUERY = count(doc("xmark01.xml")//*/following-sibling::regions)
ERROR = !ERROR: BATfetchjoin(tmp_746,1000000000_rid_prop) does not hit always
(|bn|=245 != 246=|l|) => can't use fetchjoin.
!ERROR: CMDleftfetchjoin: operation failed.
!ERROR: interpret_params: leftjoin(param 1): evaluation error.
!ERROR: interpret_params: hmark(param 1): evaluation error.
It does so in the Stable- (on Windows) and the Current (on Suse10.0) branch.
Furthermore we get an error with the preceding-sibling. But this is the same
problem I suppose.
I will not be there the coming 2 weeks so if somebody fixes this it would be
nice to inform
[EMAIL PROTECTED] the problem is fixed,
Thanx, Jan Flokstra.
----------------------------------------------------------------------
>Comment By: Stefan Manegold (stmane)
Date: 2007-12-14 21:57
Message:
Logged In: YES
user_id=572415
Originator: NO
Added test in
pathfinder/tests/BugTracker/Tests/preceding_following-sibling_bug.SF-1850772.*
Works fine for me with both the latest Stable and the latest Current
sources from CVS.
Testing will tell us more about other platforms tomorrow.
----------------------------------------------------------------------
Comment By: Jan Flokstra (jflokstra)
Date: 2007-12-14 16:54
Message:
Logged In: YES
user_id=1054297
Originator: YES
Hi Stefan,
I used a pretty up-to-date head version but to be sure I recompiled on my
own SuSe9.3 notebook and used the Current of today (14 dec 16:15). The bug
was still there. I'm using a 32 bit Pentium (with 32 bit oid:-) running
SuSe9.3 and gcc 3.3.5. I do not know which Windows and Pathfinder version
the student, who's first name is Gerben (sorry), is running. He has no SF
account and I only showed him how to follow this discussion. This will
probably be my last e-mail on this issue the coming 2 weeks.
Jan.
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2007-12-14 16:14
Message:
Logged In: YES
user_id=572415
Originator: NO
With a Current checkout of Wednesday Dec 12 2007, configure with
--enable-debug, compiled with gcc 4.1.2 on 64-bit Fedora Core 6 on an
Athlon 64 X2, it seems to work for me --- provided the expected result is
"0":
========
$ Mserver --dbinit='module(pathfinder);'
# MonetDB Server v4.21.0
# based on GDK v1.21.0
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.3.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.21.0 loaded
# XRPC administrative console at http://localhost:50001/admin
MonetDB>
========
$ ls -l /tmp/xmark01.xml
-rw-r--r-- 1 manegold ins 33928 Dec 14 16:03 /tmp/xmark01.xml
========
$ mclient -lx
xquery>count(doc("/tmp/xmark01.xml")//*/following-sibling::regions)
more><>
0
xquery>
========
Hence, which "Current" version did/do you use?
(I currently don't have a running Stable available, and no time to
build/install one ...)
(In case JanF is not available for discussions/feedback, it would be handy
if "[EMAIL PROTECTED]" (sorry, Jan did not reveal your name)
could follow/join the discussion, here.)
----------------------------------------------------------------------
Comment By: Jan Flokstra (jflokstra)
Date: 2007-12-14 15:52
Message:
Logged In: YES
user_id=1054297
Originator: YES
Yep, I tried -d10 and the result was exactly the same. There were no
warnings in the server window:
[EMAIL PROTECTED]:~/scripts> Mserver -d10
--config=/usr/local/flokstra/etc/MonetDB.conf --dbname test
# MonetDB Server v4.21.0
# based on GDK v1.21.0
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
MonetDB>module(pathfinder);
# PF/Tijah module v0.3.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.21.0 loaded
# XRPC administrative console at http://localhost:50001/admin
MonetDB>
And the log of the client window was:
[EMAIL PROTECTED]:~/scripts> mclient -lx
xquery>count(doc("xmark01.xml")//*/following-sibling::regions)
more>MAPI = [EMAIL PROTECTED]:50000
QUERY = count(doc("xmark01.xml")//*/following-sibling::regions)
ERROR = !ERROR: BATfetchjoin(tmp_565,1000000000_rid_prop) does not hit
always (|bn|=245 != 246=|l|) => can't use fetchjoin.
!ERROR: CMDleftfetchjoin: operation failed.
!ERROR: interpret_params: leftjoin(param 1): evaluation error.
!ERROR: interpret_params: hmark(param 1): evaluation error.
xquery>
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2007-12-14 15:33
Message:
Logged In: YES
user_id=572415
Originator: NO
Did/could you try with `Mserver -d10 ...`?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1850772&group_id=56967
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs