Bugs item #1632239, was opened at 2007-01-10 12:13
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1632239&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: (zombie: Pathfinder 0.14)
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Jan Rittinger (tsheyar)
>Assigned to: Stefan Manegold (stmane)
Summary: MonetDB/XQuery leaks memory on erroneous XQuery query

Initial Comment:
No free() is called after a fatal PFoops call in pf which (after some errors) 
crashes the Mserver. (This bug affects only the embedded variant of pf as the 
standalone one quits anyway.)

The following small script reproduces the bug:

echo 'module(pathfinder);' > bug.mil;for a in `seq 0 10000`; do echo 
"xquery(\"var$a\");" >> bug.mil; done; Mserver bug.mil

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

>Comment By: Stefan Manegold (stmane)
Date: 2008-06-06 20:34

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

Running 10000 incorrect queries via `mclient -lx` (as opposed to using the
non-recommended "xquery();" MIL command) does not show any groth in the
Mserver at all, neither with MPS nor with ALG.
Hence, I consider this one "out of date" and close it.


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

Comment By: Jan Rittinger (tsheyar)
Date: 2007-06-04 11:14

Message:
Logged In: YES 
user_id=993208
Originator: YES

If I run the above query -- assuming the xquery command uses mps -- the
memory usage of Mserver still continues growing. (Note that tested version
is 2-3 weeks old.)

After the 10000 buggy queries Mserver is still running but uses 683MB
memory (+ 902MB virtual) --- If this behaviour is ok for you I don't object
if you close the bug. With my (old) version I however can still see (a
small) memory leak.

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

Comment By: Peter Boncz (boncz)
Date: 2007-06-04 10:38

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

Hi Jan,

any news on this one? Is this only happening when the algebra version is
the 'embedded' compiler? I usually don't compile that way (yet).

Peter

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

Comment By: Peter Boncz (boncz)
Date: 2007-05-25 13:44

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

is this bug still open? 

at least with MPS it seems not to crash.. and the PFmem_destroy() is
called so which free() is being missed?

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

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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to