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 eq_typeswitchloop (sqlsmith) #6427

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

Assertion error in eq_typeswitchloop (sqlsmith) #6427

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-10-15 22:07:04 +0200
From: @mlkersten
To: GDK devs <>
Version: 11.27.5 (Jul2017-SP1)
CC: @njnes

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

Comment 25730

Date: 2017-10-15 22:07:04 +0200
From: @mlkersten

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

After 250K queries over mergedb

0 0x00007f8767f1969b in raise () from /lib64/libc.so.6
1 0x00007f8767f1b4a0 in abort () from /lib64/libc.so.6
2 0x00007f8767f11d5a in __assert_fail_base () from /lib64/libc.so.6
3 0x00007f8767f11dd2 in __assert_fail () from /lib64/libc.so.6
4 0x00007f876ab0fdf4 in eq_typeswitchloop (lft=0x0, tp1=0, incr1=1, hp1=0x0, wd1=0, rgt=0x7f87141a33f0, tp2=10, incr2=0, hp2=0x0, wd2=0,
dst=0x7f8730015d50 '\275' <repeats 200 times>..., cnt=0, start=0, end=0, cand=0x0, candend=0x0, candoff=0, nonil=0,
func=0x7f876ad348c8 <func.34404> "BATcalceqcst") at /export/scratch1/home/mk/default//package/gdk/gdk_calc_compare.h:27
5 0x00007f876ab2103c in BATcalceq_intern (lft=0x0, tp1=0, incr1=1, hp1=0x0, wd1=0, rgt=0x7f87141a33f0, tp2=10, incr2=0, hp2=0x0, wd2=0,
cnt=0, start=0, end=0, cand=0x0, candend=0x0, candoff=0, nonil=0, seqbase=0, func=0x7f876ad348c8 <func.34404> "BATcalceqcst")
at /export/scratch1/home/mk/default//package/gdk/gdk_calc_compare.h:555
6 0x00007f876ab22546 in BATcalceqcst (b=0x7f8730005010, v=0x7f87141a33f0, s=0x0)
at /export/scratch1/home/mk/default//package/gdk/gdk_calc_compare.h:626
7 0x00007f876b12cd8b in CMDbatBINARY0 (stk=0x7f87141a2f90, pci=0x7f87141b6ee0, batfunc=0x7f876ab21163 ,
batfunc1=0x7f876ab21c65 , batfunc2=0x7f876ab22573 , malfunc=0x7f876b182122 "batcalc.==")
at /export/scratch1/home/mk/default//package/monetdb5/modules/mal/batcalc.c:482
8 0x00007f876b12ddbe in CMDbatEQ (cntxt=0x7f87642da650, mb=0x7f8714159160, stk=0x7f87141a2f90, pci=0x7f87141b6ee0)
at /export/scratch1/home/mk/default//package/monetdb5/modules/mal/batcalc.c:836
9 0x00007f876aff4863 in runMALsequence (cntxt=0x7f87642da650, mb=0x7f8714159160, startpc=11, stoppc=12, stk=0x7f87141a2f90, env=0x0,
pcicaller=0x0) at /export/scratch1/home/mk/default//package/monetdb5/mal/mal_interpreter.c:645
10 0x00007f876aff9c73 in DFLOWworker

Reproducible: Always

Steps to Reproduce:

select
cast(nullif(sample_1.id,
cast(null as oid)) as oid) as c0,
sample_1.tuples as c1,
sample_1.tuples as c2,
sample_1.cpu as c3,
sample_1.cpu as c4,
sample_1.stop as c5
from
sys.querylog_calls as sample_1
where sample_1.io is NULL
limit 125;

Comment 25748

Date: 2017-10-17 13:57:45 +0200
From: @sjoerdmullender

Fixed by changeset 259a2c0a55d0

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