Bugs item #1537500, was opened at 2006-08-09 18:21
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1537500&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/compiler
Group: Pathfinder CVS Head
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: Torsten Grust (teggy)
Assigned to: Jan Rittinger (tsheyar)
Summary: PF/algebra: bogus text() location step break MIL generation

Initial Comment:
Hi all,

the (bogus) query

      doc("foo.xml")/@a/text()

causes a MIL generator hiccup:

looking for att: item, ty: 0x200
environment looks like:
  att: iter, type: 0x1, mvar->name: a0001
  att: item, type: 0x800, mvar->name: a0004
  att: item, type: 0x400, mvar->name: a0005
/Users/grust/sci/XQuery/pf/compiler/mil/milgen.brg:461:
failed assertion `0'
Abort trap

(For reference: 
   type 0x200 = pre
   type 0x800 = attr
   type 0x400 = attr fragment
)

Cheers,
   --Teggy

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

>Comment By: Stefan Manegold (stmane)
Date: 2007-07-25 17:58

Message:
Logged In: YES 
user_id=572415
Originator: NO

With yesterday's (Tue Jul 24 2007) checkins, the error message in the MPS
case is back, cf,:
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/bogus_text_step.SF-1537500.mps.err.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/bogus_text_step.SF-1537500.mps.out.00.html

Is this intended?
If so, please (re-)approve the new (old) stable output.
If not, please fix the new code.

The algebra case (still?/now?) fails with
========
looking for att: item, ty: 0x200
environment looks like:
  att: iter, type: 0x1, mvar->name: a0004
  att: item, type: 0x800, mvar->name: a0005
  att: item, type: 0x400, mvar->name: a0006
fatal error: attribute 'item' with type '0x200' not found in environment
========
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/bogus_text_step.SF-1537500.alg.err.00.html


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

Comment By: Stefan Manegold (stmane)
Date: 2007-06-05 22:38

Message:
Logged In: YES 
user_id=572415
Originator: NO

Lowered priority of algebra bug for this release.
The algebra version will be subject of the next release.


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

Comment By: Stefan Manegold (stmane)
Date: 2007-05-20 10:35

Message:
Logged In: YES 
user_id=572415
Originator: NO

just to keep you posted:

after Peter's recent changes,
the MPS version simply produces an empty result and/but no error message
any more;
cf.,
[ 1712449 ] PF: "bogus_text_step" test fails since 2007.03.08
http://sourceforge.net/tracker/index.php?func=detail&aid=1712449&group_id=56967&atid=482468

the algebra version still fails as initially reported;
cf.,
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/bogus_text_step.SF-1537500.alg.err.00.html


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

Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-02-19 15:57

Message:
Logged In: YES 
user_id=43607
Originator: NO

Jan is responsible for the algebra version.

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

Comment By: Stefan Manegold (stmane)
Date: 2006-11-05 16:58

Message:
Logged In: YES 
user_id=572415

added tests in
pathfinder/tests/BugTracker/Tests/bogus_text_step.SF-1537500.{mps,alg}.*

milprint_summer (mps) version produces correct/expected
!ERROR: path steps are only supported starting from
non-attribute nodes

algebra (alg) version fails as reported


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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to