zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #09256
[Bug 996084] Re: crash in Streamable*Item with file module
** Attachment added: "crashing example query"
https://bugs.launchpad.net/bugs/996084/+attachment/3135433/+files/test3.xq
** Tags added: 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
References