Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.10
-
None
-
CentOS 6
Description
I created an OQGraph table and pointed it to an existing MyISAM table that already contains data. Upon querying the OQGraph table I see
MariaDB [MidSchipDB_unstable]> SELECT * FROM version_history; |
ERROR 1017 (HY000): Can't find file: './MidSchipDB_unstable/db_history@=Cܹ' (errno: 2 "No such file or directory") |
My setup is:
MariaDB [MidSchipDB_unstable]> SHOW CREATE TABLE db_history \G |
Table: db_history |
Create Table: CREATE TABLE `db_history` ( |
`version` varchar(10) NOT NULL, |
`updateJSON` mediumtext,
|
`prevVersion` varchar(10) NOT NULL, |
`nodeID` bigint(20) unsigned NOT NULL DEFAULT '0', |
`prevNodeID` bigint(20) unsigned NOT NULL DEFAULT '0', |
PRIMARY KEY (`prevNodeID`,`nodeID`), |
KEY `prevVersion` (`prevVersion`) USING BTREE, |
KEY `version` (`version`) USING BTREE, |
KEY `nodeID` (`nodeID`) |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 |
1 row in set (0.00 sec) |
|
MariaDB [MidSchipDB_unstable]> SELECT COUNT(*) FROM db_history; |
+----------+ |
| COUNT(*) | |
+----------+ |
| 129 |
|
+----------+ |
1 row in set (0.00 sec) |
MariaDB [MidSchipDB_unstable]> CREATE TABLE IF NOT EXISTS version_history ( |
-> latch VARCHAR(32) NULL, |
-> origid BIGINT UNSIGNED NULL, |
-> destid BIGINT UNSIGNED NULL, |
-> weight DOUBLE NULL, |
-> seq BIGINT UNSIGNED NULL, |
-> linkid BIGINT UNSIGNED NULL, |
-> KEY (latch, origid, destid) USING HASH, |
-> KEY (latch, destid, origid) USING HASH |
-> ) ENGINE=OQGRAPH
|
-> data_table='db_history' |
-> origid='prevNodeID' |
-> destid='nodeID'; |
Query OK, 0 rows affected (0.01 sec) |
Attachments
Issue Links
- relates to
-
MDEV-6014 Merge fixed OQGRAPH into 10.0 tree
-
- Closed
-
Activity
I can actually repeat this. I am having a bit of trouble narrowing on the exact combinations that cause - possibly heisenbug related, but I expect to get the exact test case eventually
The very same test case that was provided in the description worked for me, just add
create database MidSchipDB_unstable; |
use MidSchipDB_unstable; |
before selecting and querying the table.
I also replaced the names with something like d0123... t0123... , it happens all the same as long as the combination of lengths is preserved.
or not - combinations which fail sometimes pass if things done in a different order. I smell a memory overrun of some kind. In particular because sometimes the fails show junk at the end of the table name in the error message.
There is a fragment of code in ha_oqgraph::open() which I never really grokked why it was done the way it is, I suspect the cause is in there, and will investigate that further.
Yes, using the exact example was the first thing I repeated. Where the sands were shifting was when I added and removed characters and the order I created different combinations. At on point i got it to fail with a database called `1` and a table called `4444`...
I thought I used to be able to run mtr with valgrind, but not the tets exits, it seems o have a timeout waiting for mysqld or something
You should still be able to run with valgrind, but it should be a fairly new valgrind. With the old one, it fails due to an unknown option (I don't remember the exact symptoms, it could look like a timeout on startup – but in any case, it should appear in the error logs)
Here is what I'm getting with valgrind (just dumping the whole thing):
==15993== Thread 4:
|
==15993== Invalid write of size 1
|
==15993== at 0x4C29832: __GI_strcpy (mc_replace_strmem.c:444)
|
==15993== by 0x70F982F: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:561)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== by 0x791377: do_handle_one_connection(THD*) (sql_connect.cc:1379)
|
==15993== by 0x7910CA: handle_one_connection (sql_connect.cc:1293)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xFD801C: strxmov (strxmov.c:53)
|
==15993== by 0x74AE9D: open_table_def(THD*, TABLE_SHARE*, unsigned int) (table.cc:568)
|
==15993== by 0x70F98E9: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:580)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== by 0x791377: do_handle_one_connection(THD*) (sql_connect.cc:1379)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xF5C2A7: dirname_length (mf_dirname.c:33)
|
==15993== by 0xF5C32F: dirname_part (mf_dirname.c:69)
|
==15993== by 0xF5CB41: fn_format (mf_format.c:40)
|
==15993== by 0xDFBD05: mi_open (mi_open.c:106)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0x4C292B0: __GI_strchr (mc_replace_strmem.c:224)
|
==15993== by 0xF5CC89: fn_format (mf_format.c:59)
|
==15993== by 0xDFBD05: mi_open (mi_open.c:106)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xF5CF3D: strlength (mf_format.c:133)
|
==15993== by 0xF5CCF3: fn_format (mf_format.c:75)
|
==15993== by 0xDFBD05: mi_open (mi_open.c:106)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xF5CF4B: strlength (mf_format.c:134)
|
==15993== by 0xF5CCF3: fn_format (mf_format.c:75)
|
==15993== by 0xDFBD05: mi_open (mi_open.c:106)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xF5C2A7: dirname_length (mf_dirname.c:33)
|
==15993== by 0xF5C32F: dirname_part (mf_dirname.c:69)
|
==15993== by 0xF5CB41: fn_format (mf_format.c:40)
|
==15993== by 0xE02A1B: mi_open_datafile (mi_open.c:1267)
|
==15993== by 0xDFD8DF: mi_open (mi_open.c:502)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0x4C292B0: __GI_strchr (mc_replace_strmem.c:224)
|
==15993== by 0xF5CC89: fn_format (mf_format.c:59)
|
==15993== by 0xE02A1B: mi_open_datafile (mi_open.c:1267)
|
==15993== by 0xDFD8DF: mi_open (mi_open.c:502)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xF5CF3D: strlength (mf_format.c:133)
|
==15993== by 0xF5CCF3: fn_format (mf_format.c:75)
|
==15993== by 0xE02A1B: mi_open_datafile (mi_open.c:1267)
|
==15993== by 0xDFD8DF: mi_open (mi_open.c:502)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0xF5CF4B: strlength (mf_format.c:134)
|
==15993== by 0xF5CCF3: fn_format (mf_format.c:75)
|
==15993== by 0xE02A1B: mi_open_datafile (mi_open.c:1267)
|
==15993== by 0xDFD8DF: mi_open (mi_open.c:502)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0x4C29724: __GI_strlen (mc_replace_strmem.c:405)
|
==15993== by 0xDFDDB0: mi_open (mi_open.c:597)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
==15993== Invalid read of size 1
|
==15993== at 0x4C29823: __GI_strcpy (mc_replace_strmem.c:444)
|
==15993== by 0xDFDEFB: mi_open (mi_open.c:606)
|
==15993== by 0xDCF2D2: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:755)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x70F9AAC: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:625)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== Address 0xdaca200 is 0 bytes after a block of size 64 alloc'd
|
==15993== at 0x4C28CCE: malloc (vg_replace_malloc.c:292)
|
==15993== by 0xF80B16: my_malloc (my_malloc.c:100)
|
==15993== by 0xF721D9: alloc_root (my_alloc.c:180)
|
==15993== by 0x70F97D2: ha_oqgraph::open(char const*, int, unsigned int) (ha_oqgraph.cc:560)
|
==15993== by 0x86E1EB: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2432)
|
==15993== by 0x751AC7: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2851)
|
==15993== by 0x611D5B: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2457)
|
==15993== by 0x6143E8: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3915)
|
==15993== by 0x6155CA: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4457)
|
==15993== by 0x616479: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5072)
|
==15993== by 0x60A8CE: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:485)
|
==15993== by 0x67B0CF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5251)
|
==15993== by 0x673725: mysql_execute_command(THD*) (sql_parse.cc:2590)
|
==15993== by 0x67DAEE: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6452)
|
==15993== by 0x67089D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
|
==15993== by 0x66FC3F: do_command(THD*) (sql_parse.cc:1005)
|
^ Found warnings in /data/repo/bzr/10.0-valgrind/mysql-test/var/log/mysqld.1.err
|
ok
|
|
- saving '/data/repo/bzr/10.0-valgrind/mysql-test/var/log/bug.t1/' to '/data/repo/bzr/10.0-valgrind/mysql-test/var/log/bug.t1/'
|
***Warnings generated in error logs during shutdown after running tests: bug.t1
|
|
==15993== Thread 5:
|
==15993== Invalid read of size 8
|
==15993== at 0x86E4F2: handler::ha_close() (handler.cc:2488)
|
==15993== by 0x751E8C: closefrm(TABLE*, bool) (table.cc:2941)
|
==15993== by 0x70FA49F: ha_oqgraph::close() (ha_oqgraph.cc:758)
|
==15993== by 0x86E5C2: handler::ha_close() (handler.cc:2494)
|
==15993== by 0x751E8C: closefrm(TABLE*, bool) (table.cc:2941)
|
==15993== by 0x60DCA9: intern_close_table(TABLE*) (sql_base.cc:342)
|
==15993== by 0x7F87F9: tc_purge(bool) (table_cache.cc:231)
|
==15993== by 0x60E015: close_cached_tables(THD*, TABLE_LIST*, bool, unsigned long) (sql_base.cc:449)
|
==15993== by 0x7F9132: tdc_start_shutdown() (table_cache.cc:519)
|
==15993== by 0x5B3B45: clean_up(bool) (mysqld.cc:2019)
|
==15993== by 0x5B38FA: unireg_end() (mysqld.cc:1927)
|
==15993== by 0x5B381C: kill_server(void*) (mysqld.cc:1855)
|
==15993== by 0x5B3839: kill_server_thread (mysqld.cc:1878)
|
==15993== by 0xCEA081: pfs_spawn_thread (pfs.cc:1853)
|
==15993== by 0x4E35B4F: start_thread (pthread_create.c:304)
|
==15993== by 0x6588A7C: clone (clone.S:112)
|
==15993== Address 0xda91b80 is 4,208 bytes inside a block of size 21,936 free'd
|
==15993== at 0x4C27BF4: free (vg_replace_malloc.c:469)
|
==15993== by 0xF80FF6: my_free (my_malloc.c:216)
|
==15993== by 0x5C0273: ilink::operator delete(void*, unsigned long) (sql_list.h:633)
|
==15993== by 0x636628: THD::~THD() (sql_class.cc:1638)
|
==15993== by 0x5B534C: unlink_thd(THD*) (mysqld.cc:2730)
|
==15993== by 0x5B56AC: one_thread_per_connection_end(THD*, bool) (mysqld.cc:2841)
|
==15993== by 0x79141D: do_handle_one_connection(THD*) (sql_connect.cc:1390)
|
==15993== by 0x7910CA: handle_one_connection (sql_connect.cc:1293)
|
==15993== by 0xCEA081: pfs_spawn_thread (pfs.cc:1853)
|
==15993== by 0x4E35B4F: start_thread (pthread_create.c:304)
|
==15993== by 0x6588A7C: clone (clone.S:112)
|
==15993== Invalid write of size 8
|
==15993== at 0x86E507: handler::ha_close() (handler.cc:2488)
|
==15993== by 0x751E8C: closefrm(TABLE*, bool) (table.cc:2941)
|
==15993== by 0x70FA49F: ha_oqgraph::close() (ha_oqgraph.cc:758)
|
==15993== by 0x86E5C2: handler::ha_close() (handler.cc:2494)
|
==15993== by 0x751E8C: closefrm(TABLE*, bool) (table.cc:2941)
|
==15993== by 0x60DCA9: intern_close_table(TABLE*) (sql_base.cc:342)
|
==15993== by 0x7F87F9: tc_purge(bool) (table_cache.cc:231)
|
==15993== by 0x60E015: close_cached_tables(THD*, TABLE_LIST*, bool, unsigned long) (sql_base.cc:449)
|
==15993== by 0x7F9132: tdc_start_shutdown() (table_cache.cc:519)
|
==15993== by 0x5B3B45: clean_up(bool) (mysqld.cc:2019)
|
==15993== by 0x5B38FA: unireg_end() (mysqld.cc:1927)
|
==15993== by 0x5B381C: kill_server(void*) (mysqld.cc:1855)
|
==15993== by 0x5B3839: kill_server_thread (mysqld.cc:1878)
|
==15993== by 0xCEA081: pfs_spawn_thread (pfs.cc:1853)
|
==15993== by 0x4E35B4F: start_thread (pthread_create.c:304)
|
==15993== by 0x6588A7C: clone (clone.S:112)
|
==15993== Address 0xda91b80 is 4,208 bytes inside a block of size 21,936 free'd
|
==15993== at 0x4C27BF4: free (vg_replace_malloc.c:469)
|
==15993== by 0xF80FF6: my_free (my_malloc.c:216)
|
==15993== by 0x5C0273: ilink::operator delete(void*, unsigned long) (sql_list.h:633)
|
==15993== by 0x636628: THD::~THD() (sql_class.cc:1638)
|
==15993== by 0x5B534C: unlink_thd(THD*) (mysqld.cc:2730)
|
==15993== by 0x5B56AC: one_thread_per_connection_end(THD*, bool) (mysqld.cc:2841)
|
==15993== by 0x79141D: do_handle_one_connection(THD*) (sql_connect.cc:1390)
|
==15993== by 0x7910CA: handle_one_connection (sql_connect.cc:1293)
|
==15993== by 0xCEA081: pfs_spawn_thread (pfs.cc:1853)
|
==15993== by 0x4E35B4F: start_thread (pthread_create.c:304)
|
==15993== by 0x6588A7C: clone (clone.S:112)
|
thanks, that pretty much nails it wround where I thought it would be
Once case it fails when the length of the backing store name > length of oqgraph table name
Although on reflection looking more like a zero terminated problem.
I don't think so. I use the same table names in a different database (with a slightly shorter database name) and there it works fine.
I have pushed the fix for this in my branch https://code.launchpad.net/~andymc73/maria/oqgraph-maintenance , commit 3974
This was merged in 10.0.11 and tests currently pass, so I hope I can take the liberty of resolving it...
The culprit is the combination of length of the schema name and the table name. So, to reproduce the bug with the provided create table statements, it is important that you have a schema with the same name MidSchipDB_unstable, or a different name of the same length.