Bugs item #2640943, was opened at 2009-02-26 20:13
Message generated for change (Comment added) made by justinjohansson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2640943&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Query Execution
Group: Sedna (current)
Status: Open
Resolution: Accepted
Priority: 9
Private: No
Submitted By: Ivan Shcheklein (shcheklein)
Assigned to: Ivan Shcheklein (shcheklein)
Summary: Infinite recursion may crash Sedna

Initial Comment:
### Bug report replaces first part of the  
### PR/2636813 
(https://sourceforge.net/tracker/?func=detail&aid=2636813&group_id=129076&atid=713730)

se_trn.exe process may crash because of (say) infinite recursion in
XQuery (apparently causing stack overflow), invalid characters and so on.
When a crash happens, the system dialog shows up prompting to debug the
process.

Suggestion: Add something like top-level exception handler to se_trn.exe
code, so that even if fatal exception occurs, the process still finishes
gracefully with appropriate diagnostic information. On Windows, the event
log is a good place where to submit diagnostic information.


----------------------------------------------------------------------

Comment By: Justin Johansson (justinjohansson)
Date: 2009-08-18 17:46

Message:
No problem.  Was just wondering the status of it.  Good luck.

----------------------------------------------------------------------

Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-08-18 16:47

Message:
Hi Justin,

We are sill working on it. Unfortunately some bugs are not very easy to
fix (.

----------------------------------------------------------------------

Comment By: Justin Johansson (justinjohansson)
Date: 2009-08-18 10:47

Message:
Hi Ivan,

Please can you say what is the current status for fixing this bug?  It
seems to be an ongoing issue.  For example, the following recursive query
brings down Sedna in a rather unfriendly fashion:

declare function local:count($xs)
{
  if ( empty( $xs)) then
    0
  else
   1 + local:count(subsequence($xs,2))
};

local:count( 1 to 2000)

Regards
Justin Johansson



----------------------------------------------------------------------

Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-04-15 17:44

Message:
Nope. 

Simply this query is a very long running I believe. It returns 1 billion
values approx. 

Since WikiXMLdb demo have a restriction in 60 seconds per query it can not
be completely executed there.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-15 01:13

Message:
The end of that code snippet should be:

where $a = $b
return $a

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-15 01:12

Message:
This XQuery crashes Senda ?:

declare default element namespace
"http://www.mediawiki.org/xml/export-0.3/";;

for $a in
index-scan('article-by-title','NASA','EQ')//link/@label/string(.)
for $b in index-scan('article-by-title','Outer
space','EQ')//link/@label/string(.)
for $c in
index-scan('article-by-title','Satellite','EQ')//link/@label/string(.)
for $d in index-scan('article-by-title','Project
Gemini','EQ')//link/@label/string(.)
for $e in
index-scan('article-by-title','Radar','EQ')//link/@label/string(.)
return $a


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2640943&group_id=129076

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to