Bugs item #2866544, was opened at 2009-09-25 14:56
Message generated for change (Tracker Item Submitted) made by yingying
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2866544&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 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ying Zhang (yingying)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mserver assertion failed at monet_tbl.mx:1747: TBL_M_decref

Initial Comment:
(stable branch, source code 'cvs up'-ed this morning.  compiled with configure 
option --enable-debug, --enable-assert, --enable-strict, --disable-optimise, on 
CWI desktop)

First load 'module(mapi);' and then load 'module(pathfinder);' seems to cause 
assertion failure in Mserver:

-----------------------
Assertion failure 1:
-----------------------

In terminal 1:

$ Mserver --dbinit="module(mapi); mapi_register(mil_frontend()); 
module(pathfinder); "
# MonetDB Server v4.32.2
# based on GDK   v1.32.1
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.13.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.28.3 loaded (default back-end is 'algebra')
# XRPC administrative console at http://127.0.0.1:50001/admin
MonetDB>Mserver: /ufs/zhang/monet/stable/MonetDB4/src/monet/monet_tbl.mx:1747: 
TBL_M_decref: Assertion `p != ((BUN) 9223372036854775807LL)' failed.
Aborted

This was caused by '\q' in terminal 2:

$ mclient -lmil
mil>"blah".print();
+-----------------------------------------------------------------------------+
| blah                                                                        |
+-----------------------------------------------------------------------------+
1 tuple
mil>\q

Using 'exit();' or 'quit();', instead of '\q' didn't cause the assertion 
failure.

-----------------------
Assertion failure 2:
-----------------------

In terminal 1:

$ Mserver --dbinit="module(mapi); mapi_register(mil_frontend()); 
module(pathfinder); "
# MonetDB Server v4.32.2
# based on GDK   v1.32.1
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.13.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.28.3 loaded (default back-end is 'algebra')
# XRPC administrative console at http://127.0.0.1:50001/admin
MonetDB>Mserver: /ufs/zhang/monet/stable/MonetDB4/src/monet/monet_tbl.mx:1747: 
TBL_M_decref: Assertion `p != ((BUN) 9223372036854775807LL)' failed.
Aborted

This was caused by the command in terminal 2:

$ echo '"blah".print();' | mclient -lmil
[ "blah" ]

Correct output has been given before the assertion.


The assertion was not triggered by any particular MIL statement, as it happens 
by (seemly) any MIL statement.

The assertion won't happen if Mserver was started without 'module(pathfinder);':

    Mserver --dbinit="module(mapi); mapi_register(mil_frontend()); "

or, if 'module(pathfinder);' is loaded before 'module(mapi);':

    Mserver --dbinit="module(pathfinder); module(mapi); 
mapi_register(mil_frontend()); "

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

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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to