zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #12151
[Bug 1024033] [NEW] segfault in parse-xml:parse()
Public bug reported:
parse-xml:parse() results in a segfault when called with:
<opt:options>
<opt:parse-external-parsed-entity opt:skip-root-nodes="0" />
</opt:options>
or with
<opt:options>
<opt:parse-external-parsed-entity opt:skip-root-nodes="1" />
</opt:options>
for that matter.
With only <opt:options /> it works.
Reproduce:
echo "<page />" > acc.xml
zorba -f -q xmlparse.xq
This was tested with the zorba build from revision 10923.
zorba -f -q xmlparse.xq
[Thread debugging using libthread_db enabled]
<?xml version="1.0" encoding="UTF-8"?>
fetch [0]: xs:string(<page />
)
Program received signal SIGSEGV, Segmentation fault.
0xb54e29de in std::basic_istream<char, std::char_traits<char> >::sentry::sentry(std::basic_istream<char, std::char_traits<char> >&, bool) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
** 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/1024033
Title:
segfault in parse-xml:parse()
Status in Zorba - The XQuery Processor:
New
Bug description:
parse-xml:parse() results in a segfault when called with:
<opt:options>
<opt:parse-external-parsed-entity opt:skip-root-nodes="0" />
</opt:options>
or with
<opt:options>
<opt:parse-external-parsed-entity opt:skip-root-nodes="1" />
</opt:options>
for that matter.
With only <opt:options /> it works.
Reproduce:
echo "<page />" > acc.xml
zorba -f -q xmlparse.xq
This was tested with the zorba build from revision 10923.
zorba -f -q xmlparse.xq
[Thread debugging using libthread_db enabled]
<?xml version="1.0" encoding="UTF-8"?>
fetch [0]: xs:string(<page />
)
Program received signal SIGSEGV, Segmentation fault.
0xb54e29de in std::basic_istream<char, std::char_traits<char> >::sentry::sentry(std::basic_istream<char, std::char_traits<char> >&, bool) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1024033/+subscriptions
Follow ups
References