xtradb crashes on shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Undecided
|
Unassigned | ||
Percona-XtraDB |
Invalid
|
Undecided
|
Unassigned |
Bug Description
on windows, mariadb-5.1, built with default options (win\configure.js) - xtradb is built as dll.
On load it prints "Mutexes and rw_locks use InnoDB's own implementation"
On shutdown it crashes.
In innobase_
2192 dict_close();
2193 btr_search_
2194
2195 /* 3. Free all InnoDB's own mutexes and the os_fast_mutexes inside
2196 them */
2197 os_aio_free();
2198 sync_close();
2199 srv_free();
Now, btr_search_
182 btr_search_
184 {
185 mem_free(
186 btr_search_
It crashes later, in sync_close():
1449 mutex = UT_LIST_
1451 while (mutex) {
1458 mutex_free(mutex);
1459 mutex = UT_LIST_
1460 }
because one of the mutexes (3rd in the list) is filled with 0xFEEEFEEE. This is the value that windows uses to fill the freed memory. And this mutex is freed in btr_search_
Changed in maria: | |
milestone: | none → 5.1 |
All development of XtraDB has moved under the Percona Server project - https:/ /launchpad. net/percona- server - If this bug can be reproduced against current Percona Server, please file this bug against percona-server (you can simply do so by using the "Also affects project" link above).
Thanks,
Stewart Smith
Director of Server Development
Percona.