Zorba error [zerr:ZXQP0002]: "bound": assertion failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Markos Zaharioudakis |
Bug Description
Hello
I was able to reproduce an assertion during compilation by the usage of try-cache and eval (tested with zorba revision 10761 on Ubuntu 10.04 64Bit).
I don't know if Nicolae is the right assignee and if this bug needs to be fixed for Zorba 2.5. Please reassign and/or retag whoever is in charge.
Thank you!
David
Query:
xquery version "3.0";
import module namespace reflection = "http://
import module namespace err = "http://
for $x in (1,2,3)
let $code := "($x cast as xs:integer, 1, 2, 3)"
return
try {
reflection:
} catch err:FORG0001 {
$err:code eq $err:FORG0001
}
Error:
./bin/zorba -q test.xq -f
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
/home/dagraf/
./bin/zorba() [0x411a69]
./bin/zorba() [0x41328a]
/lib/libc.
./bin/zorba() [0x40f849]
Zorba error [zerr:ZXQP0002]: "bound": assertion failed.; raised at /home/dagraf/
description: | updated |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
Nicolae, Dana asked me to look at this bug, because it is urgent for 2.5.