Bug #93796 | 5.6 ASan: intermittent thread stack overrun on some MTR testcases | ||
---|---|---|---|
Submitted: | 3 Jan 2019 9:42 | Modified: | 16 Jan 2019 14:51 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S7 (Test Cases) |
Version: | 5.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[3 Jan 2019 9:42]
Laurynas Biveinis
[3 Jan 2019 13:46]
Laurynas Biveinis
Likewise rpl.rpl_row_sp011 'row' w3 [ fail ] Test ended at 2019-01-02 14:16:18 CURRENT_TEST: rpl.rpl_row_sp011 mysqltest: At line 76: query 'CALL test.p1()' failed: 1436: Thread stack overrun: 76976 bytes used of a 196608 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack. which is likewise fixed by commit 71d72830c2c6b487058eab9b2823d6313a133745 Author: parveez <parveez.baig@oracle.com> Date: Wed Sep 16 14:58:00 2015 +0200 Bug #21161874 -TEST:RPL.RPL_ROW_SP011 FAILS WITH THREAD STACK OVERRRUN. rpl_row_sp011 test was failing due to thread stack overrun problem.Fix: increased the thread stack size for the test in the opt file. diff --git a/mysql-test/suite/rpl/t/rpl_row_sp011-master.opt b/mysql-test/suite/rpl/t/rpl_row_sp011-master.opt index d03d176150d..2a213c3b06f 100644 --- a/mysql-test/suite/rpl/t/rpl_row_sp011-master.opt +++ b/mysql-test/suite/rpl/t/rpl_row_sp011-master.opt @@ -1 +1,2 @@ ${?PB_HOST_SPECIFIC_MYSQLD_ARGS} +--thread_stack=409600 diff --git a/mysql-test/suite/rpl/t/rpl_row_sp011.test b/mysql-test/suite/rpl/t/rpl_row_sp011.test index c5027c79f7b..a7a5209efbf 100644 --- a/mysql-test/suite/rpl/t/rpl_row_sp011.test +++ b/mysql-test/suite/rpl/t/rpl_row_sp011.test @@ -2,8 +2,11 @@ # Original Author: JBM # # Original Date: Aug/18/2005 # # Updated: 08/29/2005 turned on diff and commented out debug SQL statements# +# Updated: sep/16/2015 # +# This testcase requires minimum stack size of 300KB to run on WIN.# +# Modified *-master.opt file to increase the thread_stack to 400KB.# ############################################################################# -#TEST: SP to test alter table and nested SP calls # +# TEST: SP to test alter table and nested SP calls # ############################################################################# # Includes
[16 Jan 2019 14:51]
MySQL Verification Team
Hi, Thank you for your bug report. I have got similar results with XCode on my iMac by using the option for the stack logging and memory graph debugger. Hence, I verify this bug and will ask for the backport of the patches from 5.7 to 5.6. Thank you.