Skip to content
New issue

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

SQL query kills the mserver5 (Segmentation fault) #3490

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

SQL query kills the mserver5 (Segmentation fault) #3490

monetdb-team opened this issue Nov 30, 2020 · 0 comments

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2014-06-06 17:33:30 +0200
From: Martin van Dinther <<martin.van.dinther>>
To: SQL devs <>
Version: 11.17.17 (Jan2014-SP2)
CC: @njnes

Last updated: 2014-10-31 14:13:59 +0100

Comment 19832

Date: 2014-06-06 17:33:30 +0200
From: Martin van Dinther <<martin.van.dinther>>

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0
Build Identifier:

Executing SQL query:
select * from "dependencies_tables_on_views"
kills the mserver5 (Segmentation fault)

Reproducible: Always

Steps to Reproduce:

  1. start mserver5
  2. start SQL Frontend (I tested via SQuirreL and mclient), connect to running mserver5
  3. Execute SQL query:
    select * from "dependencies_tables_on_views"

Actual Results:

bash-4.2$ /ufs/dinther/MonetDB201405/bin/mserver5 -d10
builtin opt gdk_dbpath = /ufs/dinther/MonetDB201405/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.15 "Jan2014-SP2"
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
Segmentation fault
bash-4.2$

Expected Results:

no crashed server
and
a result of the query

The table "dependencies_tables_on_views" is listed as one of the (internal) system tables:

Execute:
select * from "_tables" where name = 'dependencies_tables_on_views'
this returns 1 row

Execute:
select * from "_columns" where table_id in (select id from "_tables" where name = 'dependencies_tables_on_views')
this returns 3 rows

Comment 19889

Date: 2014-07-09 13:20:54 +0200
From: @njnes

these tables do not longer exist in the default branch. This type of tables existed for handling table return type, which isn't stored in the _tables table
anymore. So fixed for the to be created feature release branch

Comment 20348

Date: 2014-10-31 14:13:59 +0100
From: @sjoerdmullender

Oct2014 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant