[ https://issues.apache.org/jira/browse/IOTDB-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17341213#comment-17341213 ]
刘珍 commented on IOTDB-1325: --------------------------- commit 8a500fe8875487091b5a1ccbba2bf7334ba8e2ba Author: Haonan <hhao...@outlook.com> Date: Fri May 7 11:40:17 2021 +0800 [To rel/0.12][IOTDB-1286] fix 4 C++ mem-leak points (#2976) (#3137) Co-authored-by: Jamber <jamber...@sina.com> Co-authored-by: haiyi.zb <haiyi...@alibaba-inc.com> 已解决。 > Count natural month query data results report stack overflow > ------------------------------------------------------------ > > Key: IOTDB-1325 > URL: https://issues.apache.org/jira/browse/IOTDB-1325 > Project: Apache IoTDB > Issue Type: Bug > Components: Server > Affects Versions: 0.12.0 > Environment: 192.168.130.11 > Reporter: xiaozhihong > Priority: Major > Labels: pull-request-available > Fix For: 0.12.1 > > > Steps: > > 1. insert into root.sg.d1(time,s1) values(1522425600000, 1) > 2. select count(*) from root.sg.d1 group by ((2018-01-31, 2018-03-31],1mo) > > log_error.log: > 2021-04-23 14:01:50,005 [pool-8-IoTDB-RPC-Client-8] ERROR > o.a.i.d.c.IoTDBDefaultThreadExceptionHandler:31 - Exception in thread > pool-8-IoTDB-RPC-Cl > ient-8-68 > java.lang.StackOverflowError: null > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.getNextIntervalAndSlidingStep(GroupByMonthFilter.java:166) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:73) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) > at > org.apache.iotdb.tsfile.read.filter.GroupByMonthFilter.satisfy(GroupByMonthFilter.java:74) -- This message was sent by Atlassian Jira (v8.3.4#803005)