Bug #39673 | Server crashes in close_thread_tables() called from plugin_load() | ||
---|---|---|---|
Submitted: | 26 Sep 2008 14:35 | Modified: | 28 Jun 2009 0:54 |
Reporter: | Paul McCullagh (Basic Quality Contributor) (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 6.0 | OS: | Any |
Assigned to: | Magne Mæhre | CPU Architecture: | Any |
Tags: | close_thread_tables, crash, free_root, mdl, qc, server |
[26 Sep 2008 14:35]
Paul McCullagh
[29 Sep 2008 16:38]
MySQL Verification Team
Thank you for the bug report. I was able compile and install without crash on 5.1, however with current source 6.0 I got the below compile error: ha_pbxt.cc:4426: warning: missing initializer for member âXTDictionary::dic_key_countâ ha_pbxt.cc:4426: warning: missing initializer for member âXTDictionary::dic_keysâ ha_pbxt.cc:4426: warning: missing initializer for member âXTDictionary::dic_my_tableâ ha_pbxt.cc:4449: error: cannot convert âTABLE*â to âst_table*â for argument â2â to âXTDDTable* myxt_create_table_from_table(XTThread*, st_table*)â ha_pbxt.cc:4453: error: cannot convert âTABLE*â to âst_table*â in assignment ha_pbxt.cc: At global scope: ha_pbxt.cc:2072: warning: âint equ_bin(const uchar*, const char*)â defined but not used ha_pbxt.cc:2082: warning: âvoid dump_bin(const uchar*, int, int)â defined but not used make[1]: *** [libpbxt_a-ha_pbxt.o] Error 1 make[1]: Leaving directory `/home/miguel/bzr/pbxt/src' make: *** [install-recursive] Error 1 [miguel@hegel pbxt]$
[29 Sep 2008 17:12]
Paul McCullagh
Hi Miguel, In 6.0.6 in handler.h, TABLE is defined as follows: struct st_table; typedef struct st_table TABLE; struct st_table is defined in table.h. If you are not using 6.0.6, then this may have changed, in which case, references to st_table in PBXT will have to be changed as well.
[2 Oct 2008 19:12]
MySQL Verification Team
Hi Paul, Indeed I used the current source server 6.0, so are you able to test PBXT with the latest 6.0 source?. I tried to compile on 64-bit FC 8.0 and 5.1 didn't presented that issue.
[3 Nov 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[20 Feb 2009 9:32]
Sergei Golubchik
same with the latest 6.0, without pbxt. start the server, install, for example, fulltext example plugin, restart the server. You need debug server for that (with dbug and safemalloc)
[15 Jun 2009 8:55]
Magne Mæhre
Closing the bug as it is no longer reproducible. Investigations indicate it was fixed by: Bug#44137: Transactional DDL locking broke dynamic plugins (Setting to Documenting in case the doc team wants to add some notes in the changelog -- otherwise it can be closed)
[28 Jun 2009 0:54]
Paul DuBois
No changelog entry needed.