We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date: 2014-09-05 13:12:15 +0200 From: Martin van Dinther <<martin.van.dinther>> To: SQL devs <> Version: 11.17.21 (Jan2014-SP3)
Last updated: 2014-10-31 14:13:54 +0100
Date: 2014-09-05 13:12:15 +0200 From: Martin van Dinther <<martin.van.dinther>>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Build Identifier:
Assertion failure in gdk_bat.c
Reproducible: Always
1.compile MonetDB sources with --enable-assert 2. start mserver5 3. start mclient and enter following SQL:
sql>CREATE TABLE FLOAT8_TBL(f1 double); operation successful (77.854ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200'); 1 affected rows (2.131ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e-200'); 1 affected rows (2.014ms)
sql>SELECT * FROM FLOAT8_TBL f; +--------------------------+ | f1 | +==========================+ | 1.2345678901234e+200 | | 1.2345678901234e-200 | +--------------------------+ 2 tuples (0.992ms)
sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f; +--------------------------+--------------------------+ | f1 | round_f1 | +==========================+==========================+ | 1.2345678901234e+200 | 1.2345678901234e+200 | | 1.2345678901234e-200 | 0 | +--------------------------+--------------------------+ 2 tuples (1.222ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200'); 1 affected rows (2.354ms)
sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f; now the server stopped due to assertion failure
builtin opt gdk_dbpath = /ufs/dinther/MonetDB201408/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 MonetDB 5 server v11.17.21 "Jan2014-SP3" Serving database 'demo', using 8 threads Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked Found 15.356 GiB available main-memory. Copyright (c) 1993-July 2008 CWI. Copyright (c) August 2008-2014 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:50000/ MonetDB/GIS module loaded MonetDB/JAQL module loaded MonetDB/SQL module loaded
Bulk operator required for str.stringleft Bulk operator required for str.stringleft mserver5: gdk_bat.c:2855: BATassertHeadProps: Assertion `!b->H->revsorted || cmp >= 0' failed. ./start_mserver5.sh: line 4: 27262 Aborted ./MonetDB201408/bin/mserver5 -d10 bash-4.2$
Welcome to mclient, the MonetDB/SQL interactive terminal (unreleased) Database: MonetDB v11.17.21 (Jan2014-SP3), 'demo' Type \q to quit, ? for a list of available commands auto commit mode: on sql>CREATE TABLE FLOAT8_TBL(f1 double); operation successful (77.854ms) sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200'); 1 affected rows (2.131ms) sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e-200'); 1 affected rows (2.014ms) sql>SELECT * FROM FLOAT8_TBL f; +--------------------------+ | f1 | +==========================+ | 1.2345678901234e+200 | | 1.2345678901234e-200 | +--------------------------+ 2 tuples (0.992ms) sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f; +--------------------------+--------------------------+ | f1 | round_f1 | +==========================+==========================+ | 1.2345678901234e+200 | 1.2345678901234e+200 | | 1.2345678901234e-200 | 0 | +--------------------------+--------------------------+ 2 tuples (1.222ms) sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200'); 1 affected rows (2.354ms) sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f; sql> bash-4.2$
no assertion failure
Also happens with mserver5 compiled from default branch sources. Gives: mserver5: /ufs/dinther/dev/dev/gdk/gdk_bat.c:2912: BATassertHeadProps: Assertion `!b->H->revsorted || cmp >= 0' failed.
See also bug #3542
Date: 2014-09-08 17:10:29 +0200 From: MonetDB Mercurial Repository <>
Changeset 546a6cc20772 made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=546a6cc20772
Changeset description:
Fix bug #3562 + added test. You also need to set the revsorted property!
Date: 2014-10-31 14:13:54 +0100 From: @sjoerdmullender
Oct2014 has been released.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Date: 2014-09-05 13:12:15 +0200
From: Martin van Dinther <<martin.van.dinther>>
To: SQL devs <>
Version: 11.17.21 (Jan2014-SP3)
Last updated: 2014-10-31 14:13:54 +0100
Comment 20137
Date: 2014-09-05 13:12:15 +0200
From: Martin van Dinther <<martin.van.dinther>>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
Build Identifier:
Assertion failure in gdk_bat.c
Reproducible: Always
Steps to Reproduce:
1.compile MonetDB sources with --enable-assert
2. start mserver5
3. start mclient and enter following SQL:
sql>CREATE TABLE FLOAT8_TBL(f1 double);
operation successful (77.854ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
1 affected rows (2.131ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e-200');
1 affected rows (2.014ms)
sql>SELECT * FROM FLOAT8_TBL f;
+--------------------------+
| f1 |
+==========================+
| 1.2345678901234e+200 |
| 1.2345678901234e-200 |
+--------------------------+
2 tuples (0.992ms)
sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f;
+--------------------------+--------------------------+
| f1 | round_f1 |
+==========================+==========================+
| 1.2345678901234e+200 | 1.2345678901234e+200 |
| 1.2345678901234e-200 | 0 |
+--------------------------+--------------------------+
2 tuples (1.222ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
1 affected rows (2.354ms)
sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f;
now the server stopped due to assertion failure
Actual Results:
builtin opt gdk_dbpath = /ufs/dinther/MonetDB201408/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
MonetDB 5 server v11.17.21 "Jan2014-SP3"
Serving database 'demo', using 8 threads
Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
Found 15.356 GiB available main-memory.
Copyright (c) 1993-July 2008 CWI.
Copyright (c) August 2008-2014 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:50000/
MonetDB/GIS module loaded
MonetDB/JAQL module loaded
MonetDB/SQL module loaded
Welcome to mclient, the MonetDB/SQL interactive terminal (unreleased)
Database: MonetDB v11.17.21 (Jan2014-SP3), 'demo'
Type \q to quit, ? for a list of available commands
auto commit mode: on
sql>CREATE TABLE FLOAT8_TBL(f1 double);
operation successful (77.854ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
1 affected rows (2.131ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e-200');
1 affected rows (2.014ms)
sql>SELECT * FROM FLOAT8_TBL f;
+--------------------------+
| f1 |
+==========================+
| 1.2345678901234e+200 |
| 1.2345678901234e-200 |
+--------------------------+
2 tuples (0.992ms)
sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f;
+--------------------------+--------------------------+
| f1 | round_f1 |
+==========================+==========================+
| 1.2345678901234e+200 | 1.2345678901234e+200 |
| 1.2345678901234e-200 | 0 |
+--------------------------+--------------------------+
2 tuples (1.222ms)
sql>INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
1 affected rows (2.354ms)
sql>SELECT f.f1, round(f.f1, 0) AS round_f1 FROM FLOAT8_TBL f;
sql>
bash-4.2$
Expected Results:
no assertion failure
Also happens with mserver5 compiled from default branch sources.
Gives: mserver5: /ufs/dinther/dev/dev/gdk/gdk_bat.c:2912: BATassertHeadProps: Assertion `!b->H->revsorted || cmp >= 0' failed.
See also bug #3542
Comment 20143
Date: 2014-09-08 17:10:29 +0200
From: MonetDB Mercurial Repository <>
Changeset 546a6cc20772 made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=546a6cc20772
Changeset description:
Comment 20344
Date: 2014-10-31 14:13:54 +0100
From: @sjoerdmullender
Oct2014 has been released.
The text was updated successfully, but these errors were encountered: