← Back to team overview

zorba-coders team mailing list archive

[Bug 996084] Re: crash in Streamable*Item with file module

 

** Changed in: zorba
       Status: In Progress => Fix Committed

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

Title:
  crash in Streamable*Item with file module

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  I was trying to

  1. read a data file
  2. get the md5 of the file content
  3. return both the md5 and content in one XML node:
    <file><md5>...</md5><data>...</data></file>

  Executing the complete example (see attachment) with any data.txt file
  leads to a crash. It seems that the streamreleaser in
  ~StreamableBase64BinaryItem() and ~StreamableStringItem() tries to
  delete the same ifstream.

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


References