kangkaisen opened a new issue #439: UNIQUE table streaming load core dump URL: https://github.com/apache/incubator-doris/issues/439 **Describe the bug** when a UNIQUE table streaming load data to doris, all BE core dump: ``` #0 0x0000000000cc0587 in fixed_size_memory_copy<25> (src=0x13528c02, dst=0x3000000) at /home/kangkaisen/palo/be/src/util/mem_util.hpp:31 #1 doris::memory_copy (dst=0x3000000, src=0x13528c02, size=25) at /home/kangkaisen/palo/be/src/util/mem_util.hpp:156 #2 0x0000000000d71066 in aggregate (arena=<optimized out>, right=0x1352881c "", left=0x1cbffc6c "") at /home/kangkaisen/palo/be/src/olap/aggregate_func.h:204 #3 doris::AggregateFuncTraits<(doris::FieldAggregationMethod)4, (doris::FieldType)17>::aggregate (left=0x1cbffc6c "", right=0x1352881c "", arena=<optimized out>) at /home/kangkaisen/palo/be/src/olap/aggregate_func.h:220 #4 0x00000000012b0285 in aggregate (this=<optimized out>, this=<optimized out>, arena=0x1b7aebb0, right=<optimized out>, left=<optimized out>) at /home/kangkaisen/palo/be/src/olap/schema.h:71 #5 aggregate (arena=0x1b7aebb0, right=<optimized out>, left=<optimized out>, this=<optimized out>) at /home/kangkaisen/palo/be/src/olap/schema.h:123 #6 Aggregate (this=0x17031e00, this=0x17031e00, k1=<optimized out>, k2=@0x1b7aebe0: 0x13528730 "") at /home/kangkaisen/palo/be/src/olap/skiplist.h:352 #7 doris::SkipList<char*, doris::MemTable::RowCursorComparator>::Insert (this=0x17031e00, key=@0x1b7aebe0: 0x13528730 "", overwritten=overwritten@entry=0x7f4ba834ef20, keys_type=doris::UNIQUE_KEYS) at /home/kangkaisen/palo/be/src/olap/skiplist.h:364 ``` **Additional context** After I added log to aggregate_func.h, I found the l_slice->size is abnormal. ``` W1217 16:58:42.986918 11318 aggregate_func.h:204] l_slice->size 3602906314339070264 W1217 16:58:42.986925 11318 aggregate_func.h:205] r_slice->size 7 W1217 16:58:42.957592 17277 aggregate_func.h:204] l_slice->size 5498971363628172620 W1217 16:58:42.957598 17277 aggregate_func.h:205] r_slice->size 7 ``` I also found there are null left Slices. So I think we should add a null check.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
