1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
Davi Arnaut 064c1b2cac Bug#43706: libmysqld segfaults when re-intialised
Bug#44091: libmysqld gets stuck waiting on mutex on initialization

The problem was that libmysqld wasn't enforcing a certain
initialization and deinitialization order for the mysys
library. Another problem was that the global object used
for management of log event handlers (aka LOGGER) wasn't
being prepared for a possible reutilization.

What leads to the hang/crash reported is that a failure
to load the language file triggers a double call of the
cleanup functions, causing an already destroyed mutex to
be used.

The solution is enforce a order on the initialization and
deinitialization of the mysys library within the libmysqld
library and to ensure that the global LOGGER object reset
it's internal state during cleanup.
2009-04-09 12:25:25 -03:00
..
2008-10-23 17:59:22 +02:00
2009-04-09 14:22:06 +08:00
2007-10-11 13:29:09 -04:00
2009-04-09 14:38:50 +05:00
2009-01-05 18:10:20 +02:00
2008-10-23 21:27:09 +02:00
2009-01-05 18:10:20 +02:00
2009-03-27 13:34:24 +04:00
2008-11-27 00:02:10 +01:00
2007-10-11 13:29:09 -04:00
2007-10-11 13:29:09 -04:00
2009-02-19 17:59:00 +04:00
2008-12-12 15:13:11 +04:00
2007-08-15 17:43:08 +04:00
2009-03-19 09:44:58 -04:00
2009-03-11 14:29:59 +02:00
2009-02-07 16:50:31 +01:00
2009-04-01 16:02:26 +05:00
2009-04-01 16:02:26 +05:00
2008-02-12 10:43:38 +01:00
2009-04-09 14:31:09 +08:00
2009-01-23 13:22:05 +01:00
2008-10-23 17:59:22 +02:00
2007-10-11 13:29:09 -04:00
2008-11-27 12:33:04 +01:00
2009-04-08 16:17:26 +08:00
2008-06-17 17:57:04 +05:30
2007-10-16 16:11:50 -04:00
2009-03-19 09:44:58 -04:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-03-24 15:58:52 +02:00
2008-08-25 21:18:22 +04:00
2007-10-11 14:37:45 -04:00
2009-03-19 09:44:58 -04:00
2008-07-15 21:46:02 +04:00
2009-02-22 13:40:52 +00:00
2008-07-03 23:41:22 +04:00
2008-07-03 23:41:22 +04:00
2009-04-08 16:17:26 +08:00
2008-01-23 13:26:41 -07:00
2009-04-09 07:42:51 +08:00
2008-04-08 20:31:40 +04:00
2008-07-17 11:31:22 +02:00
2009-03-25 23:41:16 +04:00
2008-12-10 18:16:21 +04:00
2007-10-16 16:11:50 -04:00
2009-03-19 09:44:58 -04:00
2009-04-08 16:17:26 +08:00
2009-03-17 16:29:24 -04:00
2009-04-08 16:17:26 +08:00
2009-03-19 09:44:58 -04:00
2009-03-19 09:44:58 -04:00
2009-01-26 16:39:00 +01:00
2009-01-14 18:50:51 +04:00
2009-03-19 09:44:58 -04:00
2009-01-05 18:10:20 +02:00
2009-03-19 11:44:57 +01:00