data_dictionary crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Andrew Hutchings | ||
7.0 |
Fix Released
|
Medium
|
Andrew Hutchings |
Bug Description
Crash when doing:
SELECT * FROM `data_dictionary` . SHOW_COLUMNS;
Simple as that :(
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdeffd700 (LWP 11297)]
0x000000376049e4eb in std::basic_
(gdb) bt
#0 0x000000376049e4eb in std::basic_
#1 0x0000000000bbeade in drizzled:
#2 0x0000000000bbd6e8 in ShowColumns:
#3 0x0000000000bbec4c in ShowColumns:
#4 0x00000000009f0fd8 in FunctionCursor:
#5 0x000000000073c2f7 in drizzled:
#6 0x00000000008db6e6 in drizzled:
#7 0x000000000091edd0 in drizzled:
#8 0x000000000091dc0b in drizzled:
#9 0x000000000091d822 in drizzled::do_select (join=0x7fffc80
#10 0x0000000000856abc in drizzled:
#11 0x0000000000917562 in drizzled:
#12 0x0000000000916e75 in drizzled:
#13 0x000000000091309d in drizzled:
#14 0x000000000096cba3 in drizzled:
#15 0x0000000000912d3b in drizzled:
#16 0x000000000091397a in drizzled::parse (session=0x1d346e0, inBuf=0x7fffc80
#17 0x000000000091265f in drizzled:
#18 0x00000000008e28c8 in drizzled:
#19 0x00000000008e224a in drizzled:
#20 0x00007ffff557071d in multi_thread:
#21 0x00007ffff558280e in boost::
#22 0x00007ffff5581d01 in boost::
#23 0x00007ffff55814fc in boost::
#24 0x00007ffff55809a0 in boost::
#25 0x00007ffff7830a55 in thread_proxy () from /usr/lib64/
#26 0x0000003755406d5b in start_thread () from /lib64/
#27 0x00000037550e4a7d in clone () from /lib64/libc.so.6
Related branches
- Drizzle Developers: Pending requested
-
Diff: 185 lines (+66/-0)12 files modifieddrizzled/statement.h (+2/-0)
drizzled/statement/show.h (+2/-0)
plugin/show_dictionary/show.h (+8/-0)
plugin/show_dictionary/show_columns.cc (+3/-0)
plugin/show_dictionary/show_create_schema.cc (+3/-0)
plugin/show_dictionary/show_create_table.cc (+3/-0)
plugin/show_dictionary/show_indexes.cc (+3/-0)
plugin/show_dictionary/show_schemas.cc (+2/-0)
plugin/show_dictionary/show_table_status.cc (+3/-0)
plugin/show_dictionary/show_tables.cc (+3/-0)
plugin/show_dictionary/tests/r/show_columns.result (+30/-0)
plugin/show_dictionary/tests/t/show_columns.test (+4/-0)
looks like we are expecting to only hit this table from a SHOW command, which is probably not a good idea