Assertion failure with repeated empty-sequence predicate

Bug #1039254 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Markos Zaharioudakis

Bug Description

let $a := (1, 2) return ($a[()], $a[()])

produces

Zorba error [zerr:ZXQP0002]: "false": assertion failed.; raised at /home/ceej/zo/src/src/runtime/core/var_iterators.cpp:925

in Zorba 2.6. This query:

let $a := (1, 2) return ($a[1], $a[()])

throws the same error, but this does not:

let $a := (1, 2) return ($a[()])

So it seems to be some combination of multiple predicates and empty-sequence predicates.

Chris Hillery (ceejatec)
Changed in zorba:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Markos Zaharioudakis (markos-za)
Changed in zorba:
status: Confirmed → In Progress
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
milestone: none → 2.7
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.