[MDEV-10939] innodb.innodb_monitor failed with a timeout in buildbot on valgrind Created: 2016-10-02 Updated: 2020-07-16 Resolved: 2020-07-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
It's the first time it ever happened, according to the cross-reference.
|
| Comments |
| Comment by Marko Mäkelä [ 2017-02-16 ] | ||||||||||||||
|
There is not much in the server error log either:
9000 seconds is 2½ hours, which roughly matches the time stamp difference above (02:52:49 + 2½ hours = 05:22:49). Even though the server was killed with -ABRT on the timeout, this was a Valgrind run, and Valgrind would require a special measures to dump a core of the instrumented process.
The subsystem MONITOR_MODULE_METADATA that this symbol refers to appears to be completely unused, even in MySQL 5.7. If the hang is related to the SQL statement (it could be something else too), then the most likely cause would be something in the function innodb_monitor_update(). That function is sending some output to the client connection and some to the server error log, but it is not using any synchronization primitives explicitly. There is a monitor_mutex that serializes access to all monitor counters when HAVE_ATOMIC_BUILTINS_64 is not set. Maybe some other thread was stuck while holding this mutex? Does the build configuration on this platform define HAVE_ATOMIC_BUILTINS_64? | ||||||||||||||
| Comment by Marko Mäkelä [ 2017-02-16 ] | ||||||||||||||
|
The build log indicates that monitor_mutex should not be a culprit:
| ||||||||||||||
| Comment by Marko Mäkelä [ 2017-02-16 ] | ||||||||||||||
|
|