2011-10-04 11:25:46 |
Daniel Turcanu |
bug |
|
|
added bug |
2011-10-04 11:25:46 |
Bug Importer |
bug |
|
|
Imported external bug #3388985 |
2012-04-12 07:16:15 |
Matthias Brantner |
zorba: milestone |
|
2.5 |
|
2012-09-19 16:16:05 |
Dana Florescu |
zorba: milestone |
2.5 |
2.8 |
|
2013-01-22 07:37:43 |
Chris Hillery |
zorba: status |
New |
Confirmed |
|
2013-01-22 07:38:11 |
Chris Hillery |
zorba: assignee |
Matthias Brantner (matthias-brantner) |
Chris Hillery (ceejatec) |
|
2013-01-22 07:38:14 |
Chris Hillery |
zorba: milestone |
2.8 |
2.9 |
|
2013-04-02 07:41:43 |
Chris Hillery |
tags |
core-runtime |
|
|
2013-04-03 07:27:02 |
Chris Hillery |
description |
When I try to load the page http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html the http module raises an error, and then zorba crashes at finish with the message "strings still in the pool".
The test looks like:
import module namespace http = "http://expath.org/ns/http-client";
variable $load-result;
$load-result := http:send-request(<http:request method="GET" href="http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html"/>);
$load-result
and the error message is (after I removed some try - catch in http-client.xq):
<?xml version="1.0" encoding="UTF-8"?>
<E:\xquery_development\zorba_28mai09\release\URI_PATH\com\zorba-xquery\www\modules\converters\html.xq>:85,5: type error [err:XPTY0004]: Cannot treat empty sequence as [NodeXQType documentNode content=[XQType ANY_TYPE_KIND*]].
=================================================
html:parse#1 <http://www.zorba-xquery.com/modules/converters/html>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 218 column 7
=================================================
http:tidy-result#2 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 151 column 8
=================================================
http:send-request#3 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 177 column 5
=================================================
http:send-request#1 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\scripts\test.xq at line 30 column 17
i = 27 String http://saxon.sf.net/ is still in the pool
i = 89 String http://www.w3.org/1999/xhtml is still in the pool
Zorba Internal Fatal Error in ..\..\src\store\naive\string_pool.cpp:42:
"count == 0": condition failed: 2 strings remain in the string pool |
When I try to load the page http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html the http module raises an error, and then zorba crashes at finish with the message "strings still in the pool".
The test looks like:
import module namespace http = "http://expath.org/ns/http-client";
variable $load-result;
$load-result := http:send-request(<http:request method="GET" href="http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html"/>);
$load-result
and the error message is (after I removed some try - catch in http-client.xq):
<?xml version="1.0" encoding="UTF-8"?>
<E:\xquery_development\zorba_28mai09\release\URI_PATH\com\zorba-xquery\www\modules\converters\html.xq>:85,5: type error [err:XPTY0004]: Cannot treat empty sequence as [NodeXQType documentNode content=[XQType ANY_TYPE_KIND*]].
=================================================
html:parse#1 <http://www.zorba-xquery.com/modules/converters/html>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 218 column 7
=================================================
http:tidy-result#2 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 151 column 8
=================================================
http:send-request#3 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 177 column 5
=================================================
http:send-request#1 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\scripts\test.xq at line 30 column 17
i = 27 String http://saxon.sf.net/ is still in the pool
i = 89 String http://www.w3.org/1999/xhtml is still in the pool
Zorba Internal Fatal Error in ..\..\src\store\naive\string_pool.cpp:42:
"count == 0": condition failed: 2 strings remain in the string pool |
|
2013-04-03 07:28:21 |
Chris Hillery |
description |
When I try to load the page http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html the http module raises an error, and then zorba crashes at finish with the message "strings still in the pool".
The test looks like:
import module namespace http = "http://expath.org/ns/http-client";
variable $load-result;
$load-result := http:send-request(<http:request method="GET" href="http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html"/>);
$load-result
and the error message is (after I removed some try - catch in http-client.xq):
<?xml version="1.0" encoding="UTF-8"?>
<E:\xquery_development\zorba_28mai09\release\URI_PATH\com\zorba-xquery\www\modules\converters\html.xq>:85,5: type error [err:XPTY0004]: Cannot treat empty sequence as [NodeXQType documentNode content=[XQType ANY_TYPE_KIND*]].
=================================================
html:parse#1 <http://www.zorba-xquery.com/modules/converters/html>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 218 column 7
=================================================
http:tidy-result#2 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 151 column 8
=================================================
http:send-request#3 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\release\URI_PATH\org\expath\ns\http-client.xq at line 177 column 5
=================================================
http:send-request#1 <http://expath.org/ns/http-client>
E:\xquery_development\zorba_28mai09\scripts\test.xq at line 30 column 17
i = 27 String http://saxon.sf.net/ is still in the pool
i = 89 String http://www.w3.org/1999/xhtml is still in the pool
Zorba Internal Fatal Error in ..\..\src\store\naive\string_pool.cpp:42:
"count == 0": condition failed: 2 strings remain in the string pool |
When I try to load the page http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html there are two errors (from libxml?) on the console, then Zorba crashes with an assertion failure.
The test looks like:
import module namespace http = "http://expath.org/ns/http-client";
variable $load-result;
$load-result := http:send-request(<http:request method="GET" href="http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html"/>);
$load-result
and the output is:
I/O error : encoder error
xmlParseChunk: encoder error
zorba: /home/ceej/zo/src/src/store/naive/loader_fast.cpp:485: virtual store::Item_t zorba::simplestore::FastXmlLoader::loadXml(const zstring &, const zstring &, std::istream &): Assertion `thePathStack.empty()' failed.
zsh: abort (core dumped) bin/zorba -f -q /tmp/foo.xq |
|
2013-04-03 07:29:17 |
Chris Hillery |
zorba: assignee |
Chris Hillery (ceejatec) |
Nicolae Brinza (nbrinza) |
|
2013-04-05 17:38:50 |
Dana Florescu |
tags |
|
xml-parser |
|
2013-04-05 18:03:32 |
Dana Florescu |
tags |
xml-parser |
segfault xml-parser |
|
2013-06-03 21:32:37 |
Dana Florescu |
zorba: milestone |
2.9 |
3.0 |
|
2013-08-09 00:03:21 |
Chris Hillery |
zorba: milestone |
3.0 |
|
|