Seg Fault on Fedora 64 bit

Bug #1185989 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
High
Markos Zaharioudakis

Bug Description

After the changes in rev 11455, several test-cases from "prod-TryCatchExpr" test-set started to Seg Fault:
"try-011", "try-catch-optimizations-1", "try-catch-optimizations-2", "try-catch-spec-example-4", "try-catch-nest-1", "try-catch-nest-2"

Here is the message shown on the virtual Fedora 64 bit machine set up by Cezar:

./zorba -f -q ../../test/fots_driver/cli.xq -e usePlanSerializer:=true -e mode:=run-test-case -e testSetName:=prod-TryCatchExpr -e testCaseName:=try-011 -e verbose:=true -o res1.xml --indent --disable-http-resolution
[...]
[1]: processing test case : try-011 in test set : prod-TryCatchExpr
zorba: /home/zorba/trunk_11455/src/compiler/rewriter/rules/hoist_rules.cpp:522: zorba::expr* zorba::HoistRule::hoistExpr(zorba::RewriterContext&, zorba::expr*, zorba::PathHolder*): Assertion `step->theExpr->get_expr_kind() == flwor_expr_kind || step->theExpr->get_expr_kind() == gflwor_expr_kind' failed.
Aborted

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

Markos changes in r11484 fixed the reported issues.

Marking this bug as "Fix committed".

Changed in zorba:
status: New → Fix Committed
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.