[ https://issues.apache.org/jira/browse/TRAFODION-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005423#comment-16005423 ]
Hans Zeller commented on TRAFODION-2612: ---------------------------------------- The problem is in ExDDLwithStatusTcb::work(). We deallocate memory without setting the pointer to it back to NULL. This can cause the code to try to deallocate the memory a second time in some error cases. The result is an assert in NAMemory. > Internal assert in CLEANUP command in some unusual cases > -------------------------------------------------------- > > Key: TRAFODION-2612 > URL: https://issues.apache.org/jira/browse/TRAFODION-2612 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-exe > Affects Versions: 2.1-incubating > Reporter: Hans Zeller > Assignee: Hans Zeller > Priority: Minor > Fix For: 2.2-incubating > > > I've seen an internal assert in a CLEANUP in the - unusual - case where the > compile of the SQL command used inside gives an error. > Example: seabase/TEST026 failure NAHeap assert during CLEANUP. This only > happened with a build where I had a compiler bug that caused a failure of a > compile. -- This message was sent by Atlassian JIRA (v6.3.15#6346)