Bugs item #2037489, was opened at 2008-08-04 12:44
Message generated for change (Comment added) made by mlkersten
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2037489&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: MonetDB5 CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Martin Kersten (mlkersten)
Summary: M5: bbp.getDiskSpace() triggers assertion on database >= 2GB

Initial Comment:
Being designed to return values of type int (i.e., signed 32-bit integers), 
bbp.getDiskSpace() fails on databases of >= 2GB (occupied disk space) with

.../MonetDB5/src/modules/mal/bbp.mx:788: CMDbbpDiskSpace: Assertion 
`(-2147483647 - 1) <= s && s <= 2147483647' failed.

$ mserver5 --dbname=TPC-H.SF-10
# MonetDB server v5.7.0, based on kernel v1.25.0
# Serving database 'TPC-H.SF-10'
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically 
linked using 4 threads
# Copyright (c) 1993-2008 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
#warning: please don't forget to set your vault key!
#(see /ufs/manegold/_/scratch0/Monet/Testing/Current/prefix./etc/monetdb5.conf)
# Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
>a := bbp.getDiskSpace();
mserver5: 
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/bbp.mx:788:
 CMDbbpDiskSpace: Assertion `(-2147483647 - 1) <= s && s <= 2147483647' failed.
Aborted


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

>Comment By: Martin Kersten (mlkersten)
Date: 2008-08-05 01:49

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

resolved by using a larger data type to hold the result.
Needs no test.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2037489&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