Bugs item #2079937, was opened at 2008-08-28 07:28
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2079937&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/tests
Group: Pathfinder CVS Head
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: PF: module pathfinder fails to load with 32-bit OIDs

Initial Comment:
Since Tuesday August 26 2008, i.e., after checkins on Monday August 25 2008, 
module pathfinder fails to load when compiled with 32-bit OIDs:

Mtest.py:  ERROR:  ' Mserver 
"--config=/scratch/monet.GNU.64.32.d.1.22647/MonetDB4/.GNU.64.32.d.1-Fedora8/etc/MonetDB.conf"
 --debug=10 --set gdk_nr_threads=1 --set 
"monet_mod_path=/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/runtime/.libs:/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/runtime:/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/modules/pftijah/.libs:/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/modules/pftijah:/scratch/monet.GNU.64.32.d.1.22647/MonetDB4/.GNU.64.32.d.1-Fedora8/lib64/MonetDB4:/scratch/monet.GNU.64.32.d.1.22647/MonetDB4/.GNU.64.32.d.1-Fedora8/lib64/MonetDB4/lib:/scratch/monet.GNU.64.32.d.1.22647/MonetDB4/.GNU.64.32.d.1-Fedora8/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/dbfarm" --set 
"sql_logdir=/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/sql_logs" 
--set 
"xquery_logdir=/scratch/monet.GNU.64.32.d.1.22647/pathfinder/Fedora8/xquery_logs"
 --set mapi_open=true --set xr
 pc_open=true --set mapi_port=32638 --set xrpc_port=40252 --set monet_prompt= 
--trace  --dbname=mTests "--dbinit=module(pathfinder);"` failed:

# MonetDB Server v4.25.0
# based on GDK   v1.25.0
# Copyright (c) 1993-2008, CWI. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 32bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.5.0 loaded. http://dbappl.cs.utwente.nl/pftijah
!ERROR: CMDslice: argument out of range
!ERROR: CMDslice_int: operation failed.
!ERROR: interpret_params: rename(param 1): evaluation error.
quit();

Mtest.py:  ERROR:  Stopping Pathfinder testing as module "pathfinder" fails to 
load!

Cf.,
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.GNU.64.32.d.1-Fedora8/test10.out.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.64.32.d.1-Fedora8..2008.08.28_00-09-02/test10.out.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.GNU.32.32.d.1-Fedora9..2008.08.28_00-09-02/test10.out.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.GNU.32.32.d.1-SunOS5.11..2008.08.28_00-09-02/test10.out.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Sun.32.32.d.1-SunOS5.11..2008.08.28_00-09-02/test10.out.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.32.32.d.1-Windows5.1..2008.08.28_00-09-02/test10.out.html


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

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-09-01 10:23

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

Fixed by noting that you can't slice to INT_MAX if sizeof(int) ==
sizeof(BUN).  slice checks the bounds and wants the bounds to be <= BUN_MAX
which in this case is INT_MAX-1.

No test needed.

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

Comment By: Stefan Manegold (stmane)
Date: 2008-08-28 07:36

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

possibly related to
[ 2079946 ] PF: MonetDB segfaults when loading documents w/ 64-bit OIDs
http://sourceforge.net/tracker/index.php?func=detail&aid=2079946&group_id=56967&atid=482468


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

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