← Back to team overview

zorba-coders team mailing list archive

[Bug 914655] Re: XQDB: Assertion `str.size() == length' failed.

 

** Changed in: zorba
       Status: Confirmed => In Progress

** Changed in: zorba
     Assignee: Markos Zaharioudakis (markos-za) => David Graf (davidagraf)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/914655

Title:
  XQDB: Assertion `str.size() == length' failed.

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  I am able to produce an assertion in xqdb on ubuntu 10.04 64bit.

  Query:
  for $x in (1,2,3)
  let $y := $x+1
  return $y

  Protocol:
  ./bin/xqdb -f -q debugger.xq
  Communication port: 28028
  Zorba executable:   ./bin/zorba
  Zorba arguments:    -d -f -q debugger.xq 
  Zorba XQuery Debugger Server
  Copyright 2006-2009 The FLWOR Foundation.
  License: Apache License 2.0: <http://www.apache.org/licenses/LICENSE-2.0>

  Established connection with XQuery client zorba
  (xqdb) break -f debugger.xq -l 2

  set breakpoint with id 1 and state enabled
  (xqdb) run
  <?xml version="1.0" encoding="UTF-8"?>

  break in query body at /home/dagraf/zorba/build/debugger.xq:2

  2 o| let $y := $x+1
  (xqdb) print -c x

  Error: Error while evaluating expression.
  (xqdb) print -c $x
  Segmentation fault
  xqdb: /home/dagraf/zorba/sandbox/src/debugger/debugger_clientimpl.cpp:60: virtual void zorba::DebuggerListener::run(): Assertion `str.size() == length' failed.
  Aborted

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/914655/+subscriptions


References