Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
10.1.13, 10.4.33
Description
How to repeat:
- Enable binary logging & Handlersocket plugin.
[mysqld]
log-bin
plugin_load=handlersocket
handlersocket_address = 127.0.0.1
handlersocket_port = 9998
handlersocket_port_wr = 9999
- Create a table.
+-------+--------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------+--------------------------------------------------------------------------------------------------------+
| t1 | CREATE TABLE `t1` (
`i` int(11) NOT NULL,
PRIMARY KEY (`i`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
+-------+--------------------------------------------------------------------------------------------------------+
- Execute the attached program.
Stack:
Program received signal SIGSEGV, Segmentation fault.
|
[Switching to Thread 0x7fffe37fb700 (LWP 19319)]
|
0x000055555629f84d in bitmap_bits_set (map=0x0) at /home/nirbhay/project/git-repo/maria/10.1/mysys/my_bitmap.c:600
|
600 my_bitmap_map *data_ptr= map->bitmap;
|
(gdb) bt
|
#0 0x000055555629f84d in bitmap_bits_set (map=0x0) at /home/nirbhay/project/git-repo/maria/10.1/mysys/my_bitmap.c:600
|
#1 0x0000555555d6a20c in pack_row (table=0x7fffc97ce470, cols=0x0,
|
row_data=0x7fffc9275958 '\245' <repeats 200 times>..., record=0x7fffc9275788 "")
|
at /home/nirbhay/project/git-repo/maria/10.1/sql/rpl_record.cc:65
|
#2 0x00005555559ea6c9 in THD::binlog_write_row (this=0x7fffe5a06070, table=0x7fffc97ce470, is_trans=true,
|
record=0x7fffc9275788 "") at /home/nirbhay/project/git-repo/maria/10.1/sql/sql_class.cc:6300
|
#3 0x0000555555c6d017 in Write_rows_log_event::binlog_row_logging_function (thd=0x7fffe5a06070,
|
table=0x7fffc97ce470, is_transactional=true, before_record=0x0, after_record=0x7fffc9275788 "")
|
at /home/nirbhay/project/git-repo/maria/10.1/sql/log_event.h:4566
|
#4 0x0000555555c6a8c7 in binlog_log_row (table=0x7fffc97ce470, before_record=0x0, after_record=0x7fffc9275788 "",
|
log_func=0x555555c6cfe2 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>) at /home/nirbhay/project/git-repo/maria/10.1/sql/handler.cc:5756
|
#5 0x0000555555c6afd5 in handler::ha_write_row (this=0x7fffc97a8088, buf=0x7fffc9275788 "")
|
at /home/nirbhay/project/git-repo/maria/10.1/sql/handler.cc:5887
|
#6 0x00007ffff5cde240 in dena::dbcontext::cmd_insert_internal (this=0x7ffff545f240, cb=..., pst=...,
|
fvals=0x7fffe37faa50, fvalslen=1)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/database.cpp:676
|
#7 0x00007ffff5ce0030 in dena::dbcontext::cmd_exec (this=0x7ffff545f240, cb=..., args=...)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/database.cpp:1165
|
#8 0x00007ffff5cec83c in dena::hstcpsvr_worker::do_exec_on_index (this=0x7ffff5461500,
|
cmd_begin=0x7fffc9b21001 "\t+\t1\t3\n", cmd_end=0x7fffc9b21001 "\t+\t1\t3\n", start=0x7fffc9b21007 "\n",
|
finish=0x7fffc9b21007 "\n", conn=...)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:801
|
#9 0x00007ffff5cec1cb in dena::hstcpsvr_worker::execute_line (this=0x7ffff5461500, start=0x7fffc9b21002 "+\t1\t3\n",
|
finish=0x7fffc9b21007 "\n", conn=...)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:711
|
#10 0x00007ffff5cebfc0 in dena::hstcpsvr_worker::execute_lines (this=0x7ffff5461500, conn=...)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:677
|
#11 0x00007ffff5ceb824 in dena::hstcpsvr_worker::run_one_ep (this=0x7ffff5461500)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:561
|
#12 0x00007ffff5cea686 in dena::hstcpsvr_worker::run (this=0x7ffff5461500)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:337
|
#13 0x00007ffff5cf4615 in dena::worker_throbj::operator() (this=0x7ffff54a8540)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/handlersocket/hstcpsvr.cpp:34
|
#14 0x00007ffff5cf5b0e in dena::thread<dena::worker_throbj>::thread_main (arg=0x7ffff54a8540)
|
at /home/nirbhay/project/git-repo/maria/10.1/plugin/handler_socket/libhsclient/thread.hpp:71
|
#15 0x00007ffff6afa182 in start_thread (arg=0x7fffe37fb700) at pthread_create.c:312
|
#16 0x00007ffff621d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
(gdb)
|
Attachments
Issue Links
- relates to
-
MDEV-33967 hander socket writes do not result in binary log entries
- Stalled