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

MonetDB server 11.46.0 crashes at BLOBcmp #7380

Closed
fuboat opened this issue Jun 16, 2023 · 2 comments
Closed

MonetDB server 11.46.0 crashes at BLOBcmp #7380

fuboat opened this issue Jun 16, 2023 · 2 comments
Labels
bug Something isn't working major
Milestone

Comments

@fuboat
Copy link

fuboat commented Jun 16, 2023

Describe the bug
MonetDB server 11.46.0 crashes at BLOBcmp after executing SQL statements through mclient.

To Reproduce

CREATE TABLE a (p_id INT, p_name BLOB);
INSERT INTO a VALUES (1,NULL);
TRACE select * from a where p_name='Lilu';

Expected behavior
Executing statements successfully or throwing errors, instead of breaking down the whole MonetDB server.

Backtrace

#0 0x7f2b15259d39 (BLOBcmp+0x19)
#1 0x7f2b14b2a171 (prepareMalEvent+0x541)
#2 0x7f2b14b2b10f (sqlProfilerEvent+0x6f)
#3 0x7f2b14b152ec (runtimeProfileExit+0x11c)
#4 0x7f2b14b1ab01 (runMALsequence+0x1601)
#5 0x7f2b14b1d5d4 (DFLOWworker+0x2c4)
#6 0x7f2b15254ba0 (THRstarter+0x100)
#7 0x7f2b152c4cc4 (thread_starter+0x34)
#8 0x7f2b14639609 (start_thread+0xd9)
#9 0x7f2b1455e133 (clone+0x43)

Software versions

  • MonetDB server version: 11.46.0 (hg id: 63a42c2) (pulled from the master branch)
  • MonetDB client version: mclient, version 11.48.0 (hg id: 63a42c2)
  • OS and version: ubuntu 20.04
  • Self-installed and compiled. The command line of compilation: CC=clang-12 CXX=clang++-12 cmake /root/monetdb_master -DCMAKE_BUILD_TYPE=RelWithDebInfo

Issue labeling
bug

Additional context
The MonetDB here runs in-memory database. The command line of starting MonetDB server is mserver5 --in-memory.

@mvdvm mvdvm added bug Something isn't working major labels Jun 19, 2023
@mvdvm
Copy link
Contributor

mvdvm commented Jun 19, 2023

Is also reproducable with MonetDB 5 server v11.45.17 (Sep2022-SP3).

@njnes
Copy link
Contributor

njnes commented Jun 19, 2023

@njnes njnes closed this as completed Jun 19, 2023
@njnes njnes added this to the NEXTRELEASE milestone Jun 19, 2023
@sjoerdmullender sjoerdmullender modified the milestones: NEXTRELEASE, Jun2023 Jul 20, 2023
monetdb-team pushed a commit that referenced this issue Oct 31, 2023
sql.claim has schema / table as 2 and 3 rd arg (not 3 and 4)
better check for null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

4 participants