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

Segmentation fault with certain queries #21323

Closed
YuanchengJiang opened this issue May 16, 2023 · 2 comments
Closed

Segmentation fault with certain queries #21323

YuanchengJiang opened this issue May 16, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@YuanchengJiang
Copy link

YuanchengJiang commented May 16, 2023

Bug Description
Server crashed with certain queries

05/16 03:41:50.583963 00000188 UTL FATAL crash signal is 11
05/16 03:41:50.583986 00000188 UTL FATAL sender PID:8 cmdline:
05/16 03:41:50.585051 00000188 UTL FATAL obtained 19 stack frames
05/16 03:41:50.585054 00000188 UTL FATAL frame:0, /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7f54afd38980]
05/16 03:41:50.585057 00000188 UTL FATAL frame:1, /usr/lib/libtaos.so.1(+0x244a85) [0x7f54b0e7ca85]
05/16 03:41:50.585058 00000188 UTL FATAL frame:2, /usr/lib/libtaos.so.1(+0x246fda) [0x7f54b0e7efda]
05/16 03:41:50.585060 00000188 UTL FATAL frame:3, /usr/lib/libtaos.so.1(+0x24720b) [0x7f54b0e7f20b]
05/16 03:41:50.585061 00000188 UTL FATAL frame:4, /usr/lib/libtaos.so.1(+0x24717c) [0x7f54b0e7f17c]
05/16 03:41:50.585063 00000188 UTL FATAL frame:5, /usr/lib/libtaos.so.1(+0x24717c) [0x7f54b0e7f17c]
05/16 03:41:50.585065 00000188 UTL FATAL frame:6, /usr/lib/libtaos.so.1(+0x247bd7) [0x7f54b0e7fbd7]
05/16 03:41:50.585066 00000188 UTL FATAL frame:7, /usr/lib/libtaos.so.1(+0x247de1) [0x7f54b0e7fde1]
05/16 03:41:50.585068 00000188 UTL FATAL frame:8, /usr/lib/libtaos.so.1(+0x247fb2) [0x7f54b0e7ffb2]
05/16 03:41:50.585070 00000188 UTL FATAL frame:9, /usr/lib/libtaos.so.1(createPhysiPlan+0x6f) [0x7f54b0e8026c]
05/16 03:41:50.585071 00000188 UTL FATAL frame:10, /usr/lib/libtaos.so.1(qCreateQueryPlan+0xcc) [0x7f54b0e6ccf5]
05/16 03:41:50.585073 00000188 UTL FATAL frame:11, /usr/lib/libtaos.so.1(+0xa477f) [0x7f54b0cdc77f]
05/16 03:41:50.585075 00000188 UTL FATAL frame:12, /usr/lib/libtaos.so.1(launchAsyncQuery+0x15e) [0x7f54b0cdcc4f]
05/16 03:41:50.585080 00000188 UTL FATAL frame:13, /usr/lib/libtaos.so.1(+0xb1f76) [0x7f54b0ce9f76]
05/16 03:41:50.585082 00000188 UTL FATAL frame:14, /usr/lib/libtaos.so.1(ctgCallUserCb+0x9e) [0x7f54b0ea504c]
05/16 03:41:50.585084 00000188 UTL FATAL frame:15, /usr/lib/libtaos.so.1(+0x2e6c88) [0x7f54b0f1ec88]
05/16 03:41:50.585085 00000188 UTL FATAL frame:16, /usr/lib/libtaos.so.1(+0x103f20) [0x7f54b0d3bf20]
05/16 03:41:50.585087 00000188 UTL FATAL frame:17, /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f54afd2d6db]
05/16 03:41:50.585090 00000188 UTL FATAL frame:18, /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f54af64a61f]
Segmentation fault (core dumped)

To Reproduce

create database test;
use test;
create table test(time TIMESTAMP, symbol VARCHAR(16), price DOUBLE, day_volume INT);
insert into test values ('2023-04-14 19:10:48.002','INTC',31.82,NULL);
select count(*) from test as a join test as b on a.time=b.time where a.time=b.time;

Environment (please complete the following information):

  • OS: ubuntu 20.04
  • TDengine Version: 3.0.4.1
@YuanchengJiang YuanchengJiang added the bug Something isn't working label May 16, 2023
@sangshuduo
Copy link
Contributor

Thanks for your report. We will fix it ASAP.

@sangshuduo
Copy link
Contributor

Already been fixed and shipped with 3.0.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants