Bugs item #1730547, was opened at 2007-06-04 10:42
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1730547&group_id=56967

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: PF/runtime
Group: Pathfinder CVS Head
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Stefan Manegold (stmane)
Summary: XQ: Mserver crashes on concatenated query

Initial Comment:
The attached query looks like:

"aap",
"aap",
"aap",
"aap",
... (1000 times)
"aap",
"aap"

When given to Mserver, it says: Segmentation Fault (0.12 as well as 0.17 (build 
last week)).

This bug should not have high priority.




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

>Comment By: Stefan Manegold (stmane)
Date: 2008-11-19 14:52

Message:
It was the "expected" output, since this test used to trigger a "ERROR =
!fatal error: aborted too deep recursion" (and hence produce no output) on
all platforms.

Apparently, this is no longer the case but now some platforms are able to
run the test without error, i.e., producing some (correct? -> to be
checked! ...) output.

Maybe, we need to split this test into two, a small one that works on all
platforms and a huge one that fails (i.e., triggers a reasonable error
message) on all platforms ...


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

Comment By: Jan Rittinger (tsheyar)
Date: 2008-11-19 14:42

Message:
Hmm I'm not sure if the 'correct' output is indeed the correct one:
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/Int.64.32.d.1-Fedora8/tests_BugTracker/crash_on_concatenated_query.SF-1730547.out.00.html

@ Stefan could you please verify.

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

Comment By: Stefan Manegold (stmane)
Date: 2007-06-05 20:44

Message:
Logged In: YES 
user_id=572415
Originator: NO

Test added in
pathfinder/tests/BugTracker/Tests/Attic/crash_on_concatenated_query.SF-1730547.*

Thanks to Peter's latest fix, it now correctly triggers
"ERROR = !fatal error: aborted too deep recursion"
instead of crashing the server.


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

Comment By: Peter Boncz (boncz)
Date: 2007-06-05 18:31

Message:
Logged In: YES 
user_id=591107
Originator: NO

fixed

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

Comment By: Peter Boncz (boncz)
Date: 2007-06-05 18:31

Message:
Logged In: YES 
user_id=591107
Originator: NO

fixed

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

Comment By: Stefan Manegold (stmane)
Date: 2007-06-04 21:19

Message:
Logged In: YES 
user_id=572415
Originator: NO

Debugging releaved that the segfault is indeed caused by burg running out
of stack space due to too deep recursion.

See also
[ 1607210 ] XQ: server-side compilation crash (member benchmark)
http://sourceforge.net/tracker/index.php?func=detail&aid=1607210&group_id=56967&atid=482468


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

Comment By: Stefan Manegold (stmane)
Date: 2007-06-04 18:21

Message:
Logged In: YES 
user_id=572415
Originator: NO

for got to mention:
pf "eventually" produces some MIL plan; no error.


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

Comment By: Stefan Manegold (stmane)
Date: 2007-06-04 18:20

Message:
Logged In: YES 
user_id=572415
Originator: NO

Running this through plain pf (0.18), i.e.,

{ for i in `seq 1 999` ; do echo '"aap",' ; done ; echo '"aap"' ; } | pf

makes pf grow to 2.7 GB virt (1.8 GB res) on my 64-bit FC6 machine;
hence, this might well be a memory and/or burg problem,
especially on 32-bit machines.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1730547&group_id=56967

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to