Bugs item #1320331, was opened at 2005-10-09 06:52
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1320331&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: Core
Group: MonetDB4 CVS Head
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Fabian (mr-meltdown)
Summary: MonetDB: \"Out of client slots\"

Initial Comment:
When MonetDB is used for shredding and deleting
XML-docs (via MapiClient) and querying those XML docs
(via MapiClient), after a while, I guess it takes
several 100's of sequential MapiClient invocations, the
server crashes with the following error message:


MonetDB>!ERROR: initClient: Out of client slots
*** glibc detected *** Mserver: free(): invalid
pointer: 0x00000000417ff598 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3a2366a94e]
/lib64/libc.so.6(__libc_free+0x6e)[0x3a2366ae7e]
/home/alink/local/lib/libbat.so.0(GDKfree+0x38)[0x2aaaab74bb38]
/home/alink/local/lib/MonetDB/lib_mapi.so(MAPIlisten+0xabc)[0x2aaab5ae012c]
/home/alink/local/lib/libmonet.so.0(interpret+0xd5e)[0x2aaaaaac54ce]
/home/alink/local/lib/libmonet.so.0(interpret_seqblock+0xa5)[0x2aaaaaacd7a5]
/home/alink/local/lib/libmonet.so.0(interpret+0xa53)[0x2aaaaaac51c3]
/home/alink/local/lib/libmonet.so.0(interpret_seqblock+0xa5)[0x2aaaaaacd7a5]
/home/alink/local/lib/libmonet.so.0(interpret+0xa53)[0x2aaaaaac51c3]
/home/alink/local/lib/libmonet.so.0(interpret+0x5a4)[0x2aaaaaac4d14]
/home/alink/local/lib/libmonet.so.0(interpret_seqblock+0xa5)[0x2aaaaaacd7a5]
/home/alink/local/lib/libmonet.so.0(interpret+0xa53)[0x2aaaaaac51c3]
/home/alink/local/lib/libmonet.so.0(interpret_seqblock+0xa5)[0x2aaaaaacd7a5]
/home/alink/local/lib/libmonet.so.0(interpret+0xa53)[0x2aaaaaac51c3]
/home/alink/local/lib/libmonet.so.0(interpret+0x5a4)[0x2aaaaaac4d14]
/home/alink/local/lib/libmonet.so.0(handleRequest+0xa7)[0x2aaaaaad0327]
/home/alink/local/lib/libmonet.so.0(doRequest+0x49)[0x2aaaaaad0999]
/home/alink/local/lib/libmonet.so.0(monetInterpreter+0x6d)[0x2aaaaab0ad8d]
/lib64/libpthread.so.0[0x3a2470697c]
/lib64/libc.so.6(__clone+0x6e)[0x3a236c9c2e]
======= Memory map: ========
./start_mserver.sh: line 2: 21540 Aborted             
   Mserver --dbfarm=/home/alink/dbfarm49
--dbinit="module(pathfinder);pfstart();mapi_start();"


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

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-12-20 19:20

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

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 365 days (the time period specified by
the administrator of this Tracker).

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

Comment By: SourceForge Robot (sf-robot)
Date: 2006-12-19 19:20

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

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 365 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Niels Nes (nielsnes)
Date: 2005-12-19 12:14

Message:
Logged In: YES 
user_id=43556

BugDay_2005-12-19, Niels: RELEASED / REASSIGN 
Should be test using a xquery version of mapi sample/smack tests

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

Comment By: Fabian (mr-meltdown)
Date: 2005-10-10 06:21

Message:
Logged In: YES 
user_id=963970

I attached the (modified) scripts files to do the same sort
of testing for:
mil,
sql and
xquery

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

Comment By: Fabian (mr-meltdown)
Date: 2005-10-10 06:15

Message:
Logged In: YES 
user_id=963970

Fixed in current CVS.

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

Comment By: Wouter Alink (vzzzbx)
Date: 2005-10-09 09:57

Message:
Logged In: YES 
user_id=621590

p.s. forgot to mention: the script itself does not let
Mserver crash... the next MapiClient session attempt will :)

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

Comment By: Wouter Alink (vzzzbx)
Date: 2005-10-09 09:53

Message:
Logged In: YES 
user_id=621590

Here is a test-script (in my best bash-scripting) that
produces the error... on my PC (MonetDB 4.9.3, 64bit,
32bit-oid, FC4, x86_64) it always crashes after 509 times.


#!/bin/bash
declare -i i=0
echo "1+1" > test.xq
# ==== lets execute this query a few times ===
while [[ $i -lt 1000 ]]
do
MapiClient -lxq test.xq > /dev/null
if [ $? != 0 ]
then
 crashed=true
 break
fi
i=$(($i+1))
printf .
done

# ==== did we crash? ===
if [ $crashed ]
then
  echo "crashed at query attempt $i"
fi
~


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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to