Public bug reported:

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() try to delete
the same ifstream.

** Affects: zorba
     Importance: High
     Assignee: Matthias Brantner (matthias-brantner)
         Status: New


** Tags: crash

-- 
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:
  New

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() try to
  delete the same ifstream.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/996084/+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

Reply via email to