Bugs item #1982210, was opened at 2008-06-02 16:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1982210&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 0.24
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: crash when shredding is interrupted
Initial Comment:
The following script crashes MonetDB in about 20 steps... (0.24, preJune, 28
may 2008)
QUERY='element { "test" } { for $i in 1 to 100000000 return <aap/> }'
QUERY2='pf:add-doc("/tmp/tempdoc.xml","tempdoc.xml")'
QUERY3='pf:del-doc("tempdoc.xml")'
# create a large temporary document
time echo $QUERY | mclient -lxq > /tmp/tempdoc.xml;
n=0;
while [ "$n" -ne "100" ]
do
echo "Iter $n"
# shred document
mclient -lxq -s $QUERY2 &
MAPI_PID=$!
# do not allow mclient enough time to finish shredding
sleep .01
kill $MAPI_PID
# remove document again (should fail, as it was never shredded completely)
echo $QUERY3 | mclient -lxq
n=$(($n + 1))
sleep 2
done
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1982210&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs