Bugs item #3328520, was opened at 2011-06-24 23:47
Message generated for change (Settings changed) made by shcheklein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3328520&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 (development)
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Alexander Kalinin (allexk)
Summary: server segfault with invalid query

Initial Comment:
<sedna version="3.4" build="332"/>
Linux 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux
LOG   24/06/2011 22:44:22 (TRN ft pid=11349 sid=49 trid=-1) 
[tr.cpp:TRmain:182]: Session is ready
LOG   24/06/2011 22:44:22 (TRN ft pid=11349 sid=49 trid=-1) 
[tr_common_funcs.cpp:on_transaction_end:411]: Transaction has been COMMITED
LOG   24/06/2011 22:44:22 (TRN ft pid=11349 sid=49 trid=49) 
[tr_functions.cpp:on_user_statement_begin:104]: User query:
---   let $el := <foo/>
---   return $el/*[position() = (1 to n)]
FATAL 24/06/2011 22:44:22 (TRN ft pid=11349 sid=49 trid=49) [tr.cpp:TRmain:92]: 
Access violation or stack overflow
The query is invalid (n is not a defined variable) but should see an error 
message instead.

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

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2011-06-29 01:09

Message:
lreturn's checkIfPosConjunct doesn't check context dependence. Possible
solution add:

if(cand && it->use_cxt) 
    it->use_pos = true;

at lreturn.cpp:2064

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

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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to