[MDEV-10540] mysqld started by mysql_install_db will hang when having log-bin in config file Created: 2016-08-11 Updated: 2016-12-26 Resolved: 2016-12-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.2.1 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Environment: |
linux |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I'm installing with a custom setup script and a my.cnf template that has "log-bin" in it from the very start. This makes mysql_install_db, or actually the bootstrap mysqld process, hang. The last line printed before hanging is
strace shows mysqld hanging on:
|
| Comments |
| Comment by Hartmut Holzgraefe [ 2016-08-11 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
gdb backtrace of hanging mysqld bootstrap process:
Attaching "thread apply all bt full" as a file | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It seems the problem was introduced by this commit:
Assertion failure on the debug build:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jaime Crespo [ 2016-11-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I can confirm still present on 10.2.2. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-12-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The problem was fixed by this commit:
Particularly by this chunk:
|