Bug #98120 | using debug method cause mysqld crash with SEGV signal | ||
---|---|---|---|
Submitted: | 3 Jan 2020 8:18 | Modified: | 31 Jan 2020 13:49 |
Reporter: | zhanghe zhang | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S6 (Debug Builds) |
Version: | 8.0 | OS: | Ubuntu (19.10) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | debug, Optimizer |
[3 Jan 2020 8:18]
zhanghe zhang
[3 Jan 2020 8:21]
zhanghe zhang
the patch fixed this issue
Attachment: fixed_crash.patch (text/x-patch), 1.12 KiB.
[3 Jan 2020 8:25]
zhanghe zhang
add version info: zhanghe@node3:~/database/mysql-server$ git branch -a * 8.0 remotes/origin/5.5 remotes/origin/5.6 remotes/origin/5.7 remotes/origin/8.0 remotes/origin/HEAD -> origin/8.0 remotes/origin/cluster-7.2 remotes/origin/cluster-7.3 remotes/origin/cluster-7.4 remotes/origin/cluster-7.5 remotes/origin/cluster-7.6 zhanghe@node3:~/database/mysql-se
[3 Jan 2020 8:39]
zhanghe zhang
modify os version
[27 Jan 2020 14:05]
MySQL Verification Team
Hi Mr. Zhang, I build my source tree with all debug options, but it runs just fine. I am not able to crash it at all. Hence, how can we repeat the crash ?????
[31 Jan 2020 13:25]
zhanghe zhang
hi, Sinisa Milivojevic! the original source tree hasn't problem, these code has been commented , in file sql_optimizer.cc:263, sql_optimizer.cc:269 of function dump_TABLE_LIST_graph , i think it's a very useful debug function, so subscribe this issue.
[31 Jan 2020 13:38]
MySQL Verification Team
Hi Mr. zhang, I must admit that I truly do not understand much of what you have written here. Second, if you are changing our source code, I have to set this bug to "Not a bug". We do not support MySQL server built from a changed source. We do however support our Plugin interfaces.
[31 Jan 2020 13:46]
zhanghe zhang
ok, now i understood this rule. please set it 'not a bug'.
[31 Jan 2020 13:49]
MySQL Verification Team
Thank you Mr. zhang, You are truly welcome to report bugs on our unchanged code. You can also file a feature request with your patch that would improve the functionality or speed of our software.