[ https://issues.apache.org/jira/browse/TRAFODION-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396648#comment-15396648 ]
David Wayne Birdsall commented on TRAFODION-2131: ------------------------------------------------- The problem was first noticed on a test table involving an INTERVAL YEAR(1) TO MONTH column. When UPDATE STATISTICS was done on such a table (and there was data in it), we would get a core like the following: (gdb) bt #0 0x00007f7167583625 in raise () from /lib64/libc.so.6 #1 0x00007f7167584e05 in abort () from /lib64/libc.so.6 #2 0x00007f716757c74e in __assert_fail_base () from /lib64/libc.so.6 #3 0x00007f716757c810 in __assert_fail () from /lib64/libc.so.6 #4 0x00007f7170fedacd in NAHeap::doCheckInuseFragment (this=0x7f7150b34958, p=0x7f714fedc0f0) at ../common/NAMemory.cpp:3960 #5 0x00007f7170fec026 in NAHeap::deallocateHeapMemory (this=0x7f7150b34958, addr=0x7f714fedc100) at ../common/NAMemory.cpp:3508 #6 0x00007f7170fe792b in NAMemory::deallocateMemory (this=0x7f7150b34958, addr=0x7f714fedc100) at ../common/NAMemory.cpp:1399 #7 0x00007f716fcebafe in HSColGroupStruct::freeISMemory (this=0x7f7150b38258, freeStrData=1, freeMCData=1) at ../ustat/hs_globals.cpp:1615 #8 0x00007f716fd0d9b6 in HSGlobalsClass::createStatsForColumn ( this=0x7ffc35255b60, group=0x7f7150b38258, rowsAllocated=2144) at ../ustat/hs_globals.cpp:11546 #9 0x00007f716fd0d06a in HSGlobalsClass::createStats (this=0x7ffc35255b60, rowsAllocated=2144) at ../ustat/hs_globals.cpp:11409 #10 0x00007f716fcf95ce in HSGlobalsClass::CollectStatistics ( this=0x7ffc35255b60) at ../ustat/hs_globals.cpp:5570 #11 0x00007f716fd7ddd1 in UpdateStats ( input=0x7f7150b825d8 "update statistics for table b2uwl02g on int3_ytom_4;", requestedByCompiler=0) at ../ustat/hs_update.cpp:432 Later, it was noticed that similar cores occur on TINYINT columns as well. > UPDATE STATS cores, buffer overrun, on TINYINT and small INTERVAL cols > ---------------------------------------------------------------------- > > Key: TRAFODION-2131 > URL: https://issues.apache.org/jira/browse/TRAFODION-2131 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-cmp > Affects Versions: 2.1-incubating > Environment: All > Reporter: David Wayne Birdsall > Assignee: David Wayne Birdsall > -- This message was sent by Atlassian JIRA (v6.3.4#6332)