Start mserver5 (built from default branch with assertions enabled)
Start mclient
Issue SQL queries for all (currently 15) system views:
select count() from "sys"."columns";
select count() from "sys"."environment";
select count() from "sys"."optimizers";
select count() from "sys"."querylog_calls";
select count() from "sys"."querylog_catalog";
select count() from "sys"."querylog_history";
select count() from "sys"."queue";
select count() from "sys"."rejects";
select count() from "sys"."sessions";
select count() from "sys"."storage";
select count() from "sys"."storagemodel";
select count() from "sys"."tables";
select count() from "sys"."tablestoragemodel";
select count() from "sys"."tracelog";
select count(*) from "sys"."users";
Actual Results:
builtin opt gdk_dbpath = /export/scratch2/dinther_scratch1/INSTALL/var/monetdb5/dbfarm/demo
builtin opt gdk_debug = 0
builtin opt gdk_vmtrim = no
builtin opt monet_prompt = >
builtin opt monet_daemon = no
builtin opt mapi_port = 50000
builtin opt mapi_open = false
builtin opt mapi_autosense = false
builtin opt sql_optimizer = default_pipe
builtin opt sql_debug = 0
cmdline opt embedded_r = true
cmdline opt mapi_port = 41000
cmdline opt gdk_debug = 10
MonetDB 5 server v11.22.0
This is an unreleased version
Serving database 'demo', using 8 threads
Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs and 128bit integers dynamically linked
Found 15.589 GiB available main-memory.
Copyright (c) 1993-July 2008 CWI.
Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved
Visit http://www.monetdb.org/ for further information
Listening for connection requests on mapi:monetdb://127.0.0.1:41000/
MonetDB/GIS module loaded
Start processing logs sql/sql_logs version 52200
Finished processing logs sql/sql_logs
MonetDB/SQL module loaded
MonetDB/R module loaded
Date: 2015-12-17 13:21:55 +0100
From: Martin van Dinther <<martin.van.dinther>>
To: SQL devs <>
Version: -- development
CC: @njnes
Last updated: 2016-01-15 11:38:15 +0100
Comment 21669
Date: 2015-12-17 13:21:55 +0100
From: Martin van Dinther <<martin.van.dinther>>
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
Build Identifier:
BBPkeepref: range error 50462774
mserver5: ../../dev/gdk/gdk_bbp.c:2470: getBBPdescriptor: Assertion `BBP[abs(i)>>14][abs(i)&((1 << 14)-1)].refs' failed.
./start_INSTALL_mserver5.sh: line 6: 9522 Aborted (core dumped) /export/scratch2/dinther_scratch1/INSTALL/bin/mserver5 -d10 --set embedded_r=true --set mapi_port=41000
Reproducible: Always
Steps to Reproduce:
select count() from "sys"."columns";
select count() from "sys"."environment";
select count() from "sys"."optimizers";
select count() from "sys"."querylog_calls";
select count() from "sys"."querylog_catalog";
select count() from "sys"."querylog_history";
select count() from "sys"."queue";
select count() from "sys"."rejects";
select count() from "sys"."sessions";
select count() from "sys"."storage";
select count() from "sys"."storagemodel";
select count() from "sys"."tables";
select count() from "sys"."tablestoragemodel";
select count() from "sys"."tracelog";
select count(*) from "sys"."users";
Actual Results:
builtin opt gdk_dbpath = /export/scratch2/dinther_scratch1/INSTALL/var/monetdb5/dbfarm/demo
builtin opt gdk_debug = 0
builtin opt gdk_vmtrim = no
builtin opt monet_prompt = >
builtin opt monet_daemon = no
builtin opt mapi_port = 50000
builtin opt mapi_open = false
builtin opt mapi_autosense = false
builtin opt sql_optimizer = default_pipe
builtin opt sql_debug = 0
cmdline opt embedded_r = true
cmdline opt mapi_port = 41000
cmdline opt gdk_debug = 10
MonetDB 5 server v11.22.0
This is an unreleased version
Serving database 'demo', using 8 threads
Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs and 128bit integers dynamically linked
Found 15.589 GiB available main-memory.
Copyright (c) 1993-July 2008 CWI.
Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved
Visit http://www.monetdb.org/ for further information
Listening for connection requests on mapi:monetdb://127.0.0.1:41000/
MonetDB/GIS module loaded
Start processing logs sql/sql_logs version 52200
Finished processing logs sql/sql_logs
MonetDB/SQL module loaded
MonetDB/R module loaded
bash-4.3$ mclient -p 41000
Welcome to mclient, the MonetDB/SQL interactive terminal (unreleased)
Database: MonetDB v11.22.0 (unreleased), 'demo'
Type \q to quit, ? for a list of available commands
auto commit mode: on
sql>select count() from "sys"."columns";
+------+
| L1 |
+======+
| 361 |
+------+
1 tuple (1.623ms)
sql>select count() from "sys"."environment";
+------+
| L1 |
+======+
| 22 |
+------+
1 tuple (0.761ms)
sql>select count() from "sys"."optimizers";
+------+
| L1 |
+======+
| 4 |
+------+
1 tuple (0.737ms)
sql>select count() from "sys"."querylog_calls";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (557.079ms)
sql>select count() from "sys"."querylog_catalog";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (1.453ms)
sql>select count() from "sys"."querylog_history";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (2.040ms)
sql>select count() from "sys"."queue";
+------+
| L1 |
+======+
| 1 |
+------+
1 tuple (0.762ms)
sql>select count() from "sys"."rejects";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (0.666ms)
sql>select count() from "sys"."sessions";
+------+
| L1 |
+======+
| 2 |
+------+
1 tuple (0.750ms)
sql>select count() from "sys"."storage";
+------+
| L1 |
+======+
| 250 |
+------+
1 tuple (4.209ms)
sql>select count() from "sys"."storagemodel";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (10.755ms)
sql>select count() from "sys"."tables";
+------+
| L3 |
+======+
| 54 |
+------+
1 tuple (59.083ms)
sql>select count() from "sys"."tablestoragemodel";
+------+
| L7 |
+======+
| 0 |
+------+
1 tuple (3.693ms)
sql>select count() from "sys"."tracelog";
sql>select count(*) from "sys"."users";
bash-4.3$
Expected Results:
bash-4.3$ mclient
Welcome to mclient, the MonetDB/SQL interactive terminal (unreleased)
Database: MonetDB v11.22.0 (unreleased), 'demo'
Type \q to quit, ? for a list of available commands
auto commit mode: on
sql>select count() from "sys"."columns";
+------+
| L1 |
+======+
| 361 |
+------+
1 tuple (1.623ms)
sql>select count() from "sys"."environment";
+------+
| L1 |
+======+
| 22 |
+------+
1 tuple (0.761ms)
sql>select count() from "sys"."optimizers";
+------+
| L1 |
+======+
| 4 |
+------+
1 tuple (0.737ms)
sql>select count() from "sys"."querylog_calls";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (557.079ms)
sql>select count() from "sys"."querylog_catalog";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (1.453ms)
sql>select count() from "sys"."querylog_history";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (2.040ms)
sql>select count() from "sys"."queue";
+------+
| L1 |
+======+
| 1 |
+------+
1 tuple (0.762ms)
sql>select count() from "sys"."rejects";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (0.666ms)
sql>select count() from "sys"."sessions";
+------+
| L1 |
+======+
| 2 |
+------+
1 tuple (0.750ms)
sql>select count() from "sys"."storage";
+------+
| L1 |
+======+
| 250 |
+------+
1 tuple (4.209ms)
sql>select count() from "sys"."storagemodel";
+------+
| L1 |
+======+
| 0 |
+------+
1 tuple (10.755ms)
sql>select count() from "sys"."tables";
+------+
| L3 |
+======+
| 54 |
+------+
1 tuple (59.083ms)
sql>select count() from "sys"."tablestoragemodel";
+------+
| L7 |
+======+
| 0 |
+------+
1 tuple (3.693ms)
sql>select count() from "sys"."tracelog";
+------+
| L7 |
+======+
| 0 |
+------+
1 tuple (3.693ms)
sql>select count(*) from "sys"."users";
+------+
| L7 |
+======+
| 1 |
+------+
1 tuple (3.693ms)
No assertion violation. No crash of mserver5 proces.
Comment 21670
Date: 2015-12-17 14:27:45 +0100
From: MonetDB Mercurial Repository <>
Changeset 7124d3e42bee made by Martin van Dinther martin.van.dinther@monetdbsolutions.com in the MonetDB repo, refers to this bug.
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=7124d3e42bee
Changeset description:
Comment 21672
Date: 2015-12-18 13:05:23 +0100
From: @njnes
fixed, ie return error when profiler isn't started jet.
Comment 21673
Date: 2015-12-18 13:07:17 +0100
From: MonetDB Mercurial Repository <>
Changeset 6a05428d4df7 made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=6a05428d4df7
Changeset description:
The text was updated successfully, but these errors were encountered: