Bugs item #2122091, was opened at 2008-09-21 22:58
Message generated for change (Comment added) made by tsheyar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2122091&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: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ying Zhang (yingying)
Assigned to: Jan Rittinger (tsheyar)
Summary: PF: distinct-values triggers assertion

Initial Comment:
[query written by an ADT student]

The use of fn:distinct-values in the following query results in an assertion 
failed, only when the algebra backend is used (hence, not in MPS):

$ echo 'for $fname in 
distinct-values(doc("people")/people/person/leisure_activities/*)
order by $fname
return <activity> { $fname/text() } </activity>' | pf -A
pf: /ufs/zhang/monet/stable/pathfinder/compiler/mil/milgen.brg:7875: do_reduce: 
Assertion `!(type_of (((p)->child[0]), p->sem.ii.item) & ~0x0000F000)' failed.
Aborted


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

>Comment By: Jan Rittinger (tsheyar)
Date: 2008-11-15 22:31

Message:
Testweb is green again -- closing.

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

Comment By: Stefan Manegold (stmane)
Date: 2008-10-04 13:46

Message:
re-opened as the CVS head still/again/now fails with

pf:
/scratch/monet.Int.64.32.d.1.18921/pathfinder/compiler/mil/milgen.brg:7895:
do_reduce: Assertion `!(type_of (((p)->child[0]), p->sem.ii.item) &
~0x0000F000)' failed.
./distinct-values-triggers-assertion.SF-2122091_ALG.sh: line 7: 22629
Aborted                 $p $q > /dev/null

http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/Int.64.32.d.1-Fedora8/tests_BugTracker/distinct-values-triggers-assertion.SF-2122091_ALG.err.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTestsg103/Int.64.32.d.1-Fedora8/tests_BugTracker/distinct-values-triggers-assertion.SF-2122091_ALG.err.00.html

Please check & comment whether this is indeed the desired/expected error
message.


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

Comment By: Jan Rittinger (tsheyar)
Date: 2008-09-23 12:14

Message:
The query should always generate an error.

Avoided the assertion for this query in the CVS Head -- back-porting is
not possible due to usage of new error type.

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

Comment By: Ying Zhang (yingying)
Date: 2008-09-21 23:15

Message:
- test added in
pathfinder/tests/BugTracker/Tests/distinct-values-triggers-assertion.SF-2122091_ALG.*

- corrected typo in summary

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

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to