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

Assertion error in debugging mode #3020

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

Assertion error in debugging mode #3020

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


Copy link

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

Date: 2012-02-17 09:06:24 +0100
From: @mlkersten
To: clients devs <>
Version: 11.7.5 (Dec2011) [obsolete]

Last updated: 2012-02-29 10:34:26 +0100

Comment 16919

Date: 2012-02-17 09:06:24 +0100
From: @mlkersten

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Build Identifier:

Debugging a SQL query and stepping through its execution works up to the point you exit the debugger with the 'q' command. Then mclient traps with an assertion error on inactive handle

Reproducible: Always

Steps to Reproduce:

debug select count(*) from tables;

Actual Results:

Assertion `hdl->active != result' failed.

0 0x0000003a45436285 in raise () from /lib64/
1 0x0000003a45437b9b in abort () from /lib64/
2 0x0000003a4542ee9e in __assert_fail_base () from /lib64/
3 0x0000003a4542ef42 in __assert_fail () from /lib64/
4 0x00007ffff7de4a91 in close_result (hdl=0x638c10) at /export/scratch1/mk/current//package/clients/mapilib/mapi.c:1506
5 0x00007ffff7de5204 in mapi_next_result (hdl=0x638c10) at /export/scratch1/mk/current//package/clients/mapilib/mapi.c:1580
6 0x0000000000407722 in format_result (mid=0x61d3b0, hdl=0x638c10, singleinstr=1 '\001') at /export/scratch1/mk/current//package/clients/mapiclient/mclient.c:1543
7 0x000000000040a321 in doFile (mid=0x61d3b0, file=0x414595 "-", useinserts=0, interactive=1, save_history=0) at /export/scratch1/mk/current//package/clients/mapiclient/mclient.c:2448

Comment 16920

Date: 2012-02-17 13:43:19 +0100
From: @sjoerdmullender

Changeset 85e6ba7c194a made by Sjoerd Mullender in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=85e6ba7c194a

Changeset description:

Continue reading even after we've seen mdb>EOD.
This fixes bug #3020.

Comment 16921

Date: 2012-02-17 13:44:18 +0100
From: @sjoerdmullender

Fixed. No test possible since it deals with an interactive mclient.

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

Successfully merging a pull request may close this issue.

None yet
1 participant