Public bug reported: In an extended version of the plan_serializer unit test we run into this error:
#0 0xb52ef0e5 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6 #1 0xb7144a0f in zorba::assertion_failed (condition=0xb79f3632 "found", file=0xb79f35c0 "/home/tillw/code/zorba/zorba/src/compiler/expression/var_expr.cpp", line=260) at /home/tillw/code/zorba/zorba/src/diagnostics/assert.cpp:66 #2 0xb6fc3538 in zorba::var_expr::remove_set_expr (this=0x836abd0, e=0x836ad50) at /home/tillw/code/zorba/zorba/src/compiler/expression/var_expr.cpp:260 #3 0xb6fde15b in zorba::var_set_expr::~var_set_expr (this=0x836ad50, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/compiler/expression/script_exprs.cpp:346 #4 0xb6fde1fb in zorba::var_set_expr::~var_set_expr (this=0x836ad50, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/compiler/expression/script_exprs.cpp:347 #5 0xb6d9758c in zorba::SimpleRCObject::free (this=0x836ad50) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:124 #6 0xb78b2821 in zorba::RCObject::removeReference (this=0x836ad50, sharedCounter=0x0, lock=0x0) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.cpp:120 #7 0xb6e6c125 in zorba::rchandle<zorba::expr>::~rchandle (this=0x8376cf8, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:169 #8 0xb7339240 in zorba::user_function::~user_function (this=0x8376ca8, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/functions/udf.cpp:89 #9 0xb7339321 in zorba::user_function::~user_function (this=0x8376ca8, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/functions/udf.cpp:91 #10 0xb6d9758c in zorba::SimpleRCObject::free (this=0x8376ca8) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:124 #11 0xb78b2821 in zorba::RCObject::removeReference (this=0x8376ca8, sharedCounter=0x0, lock=0x0) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.cpp:120 #12 0xb6ee620b in zorba::rchandle<zorba::function>::~rchandle (this=0x837663c, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:169 ** Affects: zorba Importance: Undecided Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/919438 Title: assertion failed in var_expr::remove_set_expr during shutdown Status in Zorba - The XQuery Processor: New Bug description: In an extended version of the plan_serializer unit test we run into this error: #0 0xb52ef0e5 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6 #1 0xb7144a0f in zorba::assertion_failed (condition=0xb79f3632 "found", file=0xb79f35c0 "/home/tillw/code/zorba/zorba/src/compiler/expression/var_expr.cpp", line=260) at /home/tillw/code/zorba/zorba/src/diagnostics/assert.cpp:66 #2 0xb6fc3538 in zorba::var_expr::remove_set_expr (this=0x836abd0, e=0x836ad50) at /home/tillw/code/zorba/zorba/src/compiler/expression/var_expr.cpp:260 #3 0xb6fde15b in zorba::var_set_expr::~var_set_expr (this=0x836ad50, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/compiler/expression/script_exprs.cpp:346 #4 0xb6fde1fb in zorba::var_set_expr::~var_set_expr (this=0x836ad50, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/compiler/expression/script_exprs.cpp:347 #5 0xb6d9758c in zorba::SimpleRCObject::free (this=0x836ad50) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:124 #6 0xb78b2821 in zorba::RCObject::removeReference (this=0x836ad50, sharedCounter=0x0, lock=0x0) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.cpp:120 #7 0xb6e6c125 in zorba::rchandle<zorba::expr>::~rchandle (this=0x8376cf8, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:169 #8 0xb7339240 in zorba::user_function::~user_function (this=0x8376ca8, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/functions/udf.cpp:89 #9 0xb7339321 in zorba::user_function::~user_function (this=0x8376ca8, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/functions/udf.cpp:91 #10 0xb6d9758c in zorba::SimpleRCObject::free (this=0x8376ca8) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:124 #11 0xb78b2821 in zorba::RCObject::removeReference (this=0x8376ca8, sharedCounter=0x0, lock=0x0) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.cpp:120 #12 0xb6ee620b in zorba::rchandle<zorba::function>::~rchandle (this=0x837663c, __in_chrg=<value optimized out>) at /home/tillw/code/zorba/zorba/src/zorbatypes/rchandle.h:169 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/919438/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp