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

Table UDF: SEGV raised when invoking a non existing function #6379

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

Table UDF: SEGV raised when invoking a non existing function #6379

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

Comments

@monetdb-team
Copy link

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

Date: 2017-07-27 19:19:55 +0200
From: Dean De Leo <>
To: SQL devs <>
Version: -- development
CC: @njnes

Last updated: 2017-10-26 14:01:39 +0200

Comment 25505

Date: 2017-07-27 19:19:55 +0200
From: Dean De Leo <>

User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36
Build Identifier:

The SQL front-end crashes when a SQL statement contains an invocation to a non existing function

Reproducible: Always

Steps to Reproduce:

See attached repro.

Actual Results:

The SQL frontend attempts to access a null pointer and hits a segmentation fault. See attached stack trace.

Expected Results:

An meaningful error should be raised, possibly not resolving in the crash of the server.

Comment 25506

Date: 2017-07-27 19:20:15 +0200
From: Dean De Leo <>

Created attachment 563
repro.sql

Attached file: repro.sql (application/sql, 129 bytes)
Description: repro.sql

Comment 25507

Date: 2017-07-27 19:20:35 +0200
From: Dean De Leo <>

Created attachment 564
stacktrace.txt

Attached file: stacktrace.txt (text/plain, 3029 bytes)
Description: stacktrace.txt

Comment 25508

Date: 2017-07-27 19:23:33 +0200
From: Dean De Leo <>

Sorry I've forgotten to mention I'm on Linux, developer build at commit:
commit 3eeb3cb
Merge: 076f8e6 fe682d4
Author: Sjoerd Mullender sjoerd@acm.org
Date: Wed Jul 26 14:11:12 2017 +0200

 Merge with Jul2017 branch.

Comment 25515

Date: 2017-07-28 13:10:39 +0200
From: MonetDB Mercurial Repository <>

Changeset 471a91ee613d made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=471a91ee613d

Changeset description:

fixes for bug #6379

Comment 25516

Date: 2017-07-28 13:11:14 +0200
From: @njnes

fixed, ie protect against missing function (please add the test to the repo)

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