FOTS: generate-id tests results in Seg Fault

Bug #947130 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Critical
Nicolae Brinza

Bug Description

The following test from the
fn/generate-id.xml
results in a Segmentation Fault :

- "generate-id-901"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';
let $f := function() {generate-id()} return $f()

Expected result is XPDY0002.

- "generate-id-902"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';
let $f := function($x as item()) {generate-id($x)} return $f(3)

Expected result is XPTY0004.

Related branches

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Assigned to Nicolai because AFAIK he's working on the HOF.

Changed in zorba:
assignee: nobody → Nicolae Brinza (nbrinza)
Changed in zorba:
milestone: none → 2.8
importance: High → Critical
tags: added: fots-seg-fault
removed: fots
Changed in zorba:
milestone: 2.8 → 2.9
Revision history for this message
Nicolae Brinza (nbrinza) wrote :

Tests are fixed in the trunk.

Changed in zorba:
status: New → Fix Committed
Chris Hillery (ceejatec)
tags: removed: fots-seg-fault
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.