Server started with skip-aria crashes on an attempt to connect to it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Medium
|
Michael Widenius |
Bug Description
I've built MariaDB server without-
CONF_COMMAND = ./configure '--prefix=
When I start server with Aria and check the variables, it says, as expected,
....
| aria_used_
....
If I try to start it with skip-aria, it starts, also as expected, saying in the error log
111220 21:56:25 [Note] Plugin 'Aria' is disabled.
but upon a connection it crashes:
#3 0x082735dd in handle_segfault (sig=11) at mysqld.cc:2838
#4 <signal handler called>
#5 0x0825e616 in thd_ha_data (thd=0x91c9608, hton=0x0) at sql_class.cc:347
#6 0x084c2e64 in ha_maria:
#7 0x0828e79a in dispatch_command (command=COM_QUERY, thd=0x91c9608, packet=0x9216599 "", packet_length=28)
at sql_parse.cc:1611
#8 0x0828ff3b in do_command (thd=0x91c9608) at sql_parse.cc:922
#9 0x0827e848 in handle_
#10 0x400c2b25 in start_thread () from /lib/libpthread
the corresponding lines at sql_parse.cc:
#ifdef WITH_ARIA_
ha_maria:
#endif
Reproducible on 5.2 and 5.3, did not check 5.1.
To reproduce it, it's enough to build as described and run
mtr --skip-aria 1st
(or just try to connect to the server using the client).
Related branches
Changed in maria: | |
milestone: | 5.2 → 5.1 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in maria: | |
status: | Confirmed → In Progress |
Fix pushed to 5.1