1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-25 18:38:00 +03:00
Files
mariadb/sql
Aditya A b61f494c4b Bug#14234028 - CRASH DURING SHUTDOWN WITH BACKGROUND PURGE THREAD
Analysis
 --------- 
 
 my_stat() calls stat() and if the stat() call fails we try to set 
 the variable  my_errno which is actually a thread specific data .
 We try to get the  address of this thread specific data using
 my_pthread_getspecifc(),but for the purge thread we have not defined 
 any thread specific data so it returns null and when dereferencing 
 null we get a segmentation fault.
        init_available_charsets() seen in the core stack is invoked 
 through  pthread_once() .pthread_once is used for one time 
 initialization.Since free_charsets() is called before innodb plugin 
 shutdown ,purge thread calls init_avaliable_charsets() which leads 
 to the crash.

 Fix
 ---
 Call free_charsets() after the innodb plugin shutdown,since purge 
 threads are still using the charsets.
2012-11-08 15:14:29 +05:30
..
2011-06-30 17:31:31 +02:00
2011-06-30 17:37:13 +02:00
2012-02-15 17:21:38 +01:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2012-02-15 17:21:38 +01:00
2012-06-29 18:24:43 +04:00
2011-11-18 14:47:11 +01:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2012-09-25 16:03:05 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2012-02-15 17:13:47 +01:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:31:31 +02:00
2011-07-03 17:47:37 +02:00
2012-02-15 17:21:38 +01:00
2011-06-30 17:31:31 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:31:31 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2012-03-20 17:35:41 +01:00
2012-01-09 11:28:02 +01:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2012-08-17 13:14:04 +04:00
2012-08-17 13:14:04 +04:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-07-03 17:47:37 +02:00
2012-02-15 17:21:38 +01:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2012-09-12 08:36:12 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2012-02-15 17:13:47 +01:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2011-07-03 17:47:37 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:31:31 +02:00
2012-02-15 17:13:47 +01:00
2011-06-30 17:37:13 +02:00
2012-06-29 18:24:43 +04:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-07-03 17:47:37 +02:00
2012-02-15 17:21:38 +01:00