Commit 77306a4
Bug#30031130: MYSQL SERVER SEGFAULTS AT
STD::CONDITION_VARIABLE::WAIT_FOR IN SOLARIS/X86 When a MySQL Server built with ndbcluster engine is run in a Solaris/x86 platform, it crashes everytime when NDB_SCHEMA_OBJECT::client_wait_completed() method is called. The segfault happens when this method calls the std::condition_variable::wait_for() method. This particular crash happens only in the release builds. The reason seems to be an issue with the compiler used in Solaris. When the optimization level -xO2 is used, it fills the wait_for() call with a bogus code that triggers this segfault during runtime. Fixed the issue by making the release builds use optimization level -xO1 for ndbcluster instead. Change-Id: I8471970169cd971958ac2f5aa6dcb0ccd8d083a31 parent 4869291 commit 77306a4
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
98 | 107 | | |
| |||
0 commit comments