Bugs item #3335408, was opened at 2011-06-27 01:42
Message generated for change (Comment added) made by al-indigo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3335408&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: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: server segfault / strange errors on query execution

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
---   let $data := 
---   <data>
---     <row><name>dummy</name></row>
---     <row><name>dummy</name></row>
---     <row><name>dummy</name></row>
---   </data>
---   let $el := element foo {
---     $data/*[position() = (1 to 3)]/name
---   } 
---   return element { node-name($el) } {
---     for $cel in $el/*[position() = (2 to 3)]
---     return element { node-name($cel) } {
---       attribute foo {'foo'}
---     }
---   }
FATAL 27/06/2011 00:32:57 (SM ft pid=23167) 
[bm_core.cpp:calculate_offset_and_file_handler:169]: Offset is out of range

If you play around with the second position() sequence you get various errors 
instead of server crash.
Here's the error for (1 to 3):
SEDNA Message: ERROR SE1003
Sedna internal error.
Details: Unexpected type of node passed to dm:node-name

Another error encountered when just changing the sequences:
SEDNA Message: ERROR SE1036
Cannot (un)swap blocks, because the address is out of bounds.


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

>Comment By: al-indigo  (al-indigo)
Date: 2011-08-01 13:48

Message:
It's the same bug as:
https://sourceforge.net/tracker/?func=detail&aid=3317775&group_id=129076&atid=713730

And it's fixed now in current developement version actually.

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

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

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to