Fix for bug #1410928. Mxosrvr coring during performance tests.
The core seems to be occurring because of a lack of synchronization
between the timer thread and main thread accessing a global statement
object. When the statement is dropped the associated pSrvrStmt
is also deleted and hence the global pointer is invalidated and causes
the core when accessed. The fix now also nulls the global statement
pointer so that the timer thread ignores the dropped
statement.
Reviewed: https:/ /review. trafodion. org/1019 /github. com/trafodion/ core/commit/ 93df4ee8593ec4d 505a2295cc7ba36 035ba9dc6e
Committed: https:/
Submitter: Trafodion Jenkins
Branch: master
commit 93df4ee8593ec4d 505a2295cc7ba36 035ba9dc6e
Author: Tharaknath Capirala <email address hidden>
Date: Thu Jan 22 17:50:55 2015 +0000
Fix for bug #1410928. Mxosrvr coring during performance tests.
The core seems to be occurring because of a lack of synchronization
between the timer thread and main thread accessing a global statement
object. When the statement is dropped the associated pSrvrStmt
is also deleted and hence the global pointer is invalidated and causes
the core when accessed. The fix now also nulls the global statement
pointer so that the timer thread ignores the dropped
statement.
Fixes bug #1410928
Change-Id: I06b15b90325a7b 405d4adcca871b5 8c9dba51729