Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1(EOL), 10.2(EOL)
Description
Preparing handlersocket |
# build from source
|
cd plugin/handler_socket/perl-Net-HandlerSocket
|
sed -e "s/LIBS.*/LIBS => ['-L.. -L..\/libhsclient -lhsclient'],/g" Makefile.PL.in | sed -e "s/INC.*/INC => '-I..\/libhsclient -I..\/..\/..\/include',/g" > Makefile.PL
|
perl Makefile.PL
|
make
|
cd plugin/handler_socket/regtest/test_01_lib
|
Options to start server |
--plugin-load=handlersocket --handlersocket_port=9998 --handlersocket_port_wr=9999 --log-bin
|
Run handlersocket tests |
MYHOST=127.0.0.1 MYPORT=3306 LD_LIBRARY_PATH=../../libhsclient/.libs/ PERL5LIB=../common:../../perl-Net-HandlerSocket/lib:../../perl-Net-HandlerSocket/blib/arch/auto/Net/HandlerSocket/ ./run.sh
|
10.1 9ed325efc1 |
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x000055d09c09f166 in bitmap_bits_set (map=0x0) at /data/src/10.1/mysys/my_bitmap.c:600
|
600 my_bitmap_map *data_ptr= map->bitmap;
|
 |
Thread 1 (Thread 0x7f968dfff700 (LWP 27498)):
|
#0 0x000055d09c09f166 in bitmap_bits_set (map=0x0) at /data/src/10.1/mysys/my_bitmap.c:600
|
#1 0x000055d09bb611d0 in pack_row (table=0x7f968bc9fe70, cols=0x0, row_data=0x7f968bc1db50 '\245' <repeats 200 times>..., record=0x7f968bc1cb88 "") at /data/src/10.1/sql/rpl_record.cc:65
|
#2 0x000055d09b7e14eb in THD::binlog_write_row (this=0x7f968bc16070, table=0x7f968bc9fe70, is_trans=true, record=0x7f968bc1cb88 "") at /data/src/10.1/sql/sql_class.cc:6431
|
#3 0x000055d09ba61d75 in Write_rows_log_event::binlog_row_logging_function (thd=0x7f968bc16070, table=0x7f968bc9fe70, is_transactional=true, before_record=0x0, after_record=0x7f968bc1cb88 "") at /data/src/10.1/sql/log_event.h:4569
|
#4 0x000055d09ba5f2ba in binlog_log_row (table=0x7f968bc9fe70, before_record=0x0, after_record=0x7f968bc1cb88 "", log_func=0x55d09ba61d40 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>) at /data/src/10.1/sql/handler.cc:5785
|
#5 0x000055d09ba5fac3 in handler::ha_write_row (this=0x7f968bc7f088, buf=0x7f968bc1cb88 "") at /data/src/10.1/sql/handler.cc:5947
|
#6 0x00007f96a31cf94f in dena::dbcontext::cmd_insert_internal (this=0x7f96a3cb6240, cb=..., pst=..., fvals=0x7f968dffea70, fvalslen=3) at /data/src/10.1/plugin/handler_socket/handlersocket/database.cpp:676
|
#7 0x00007f96a31d17c2 in dena::dbcontext::cmd_exec (this=0x7f96a3cb6240, cb=..., args=...) at /data/src/10.1/plugin/handler_socket/handlersocket/database.cpp:1165
|
#8 0x00007f96a31de385 in dena::hstcpsvr_worker::do_exec_on_index (this=0x7f96a3cb15c0, cmd_begin=0x7f968bc6b001 "\t+\t3\t0\tv1_0\tv2_0\nttbl", cmd_end=0x7f968bc6b001 "\t+\t3\t0\tv1_0\tv2_0\nttbl", start=0x7f968bc6b011 "\nttbl", finish=0x7f968bc6b011 "\nttbl", conn=...) at /data/src/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:801
|
#9 0x00007f96a31ddd07 in dena::hstcpsvr_worker::execute_line (this=0x7f96a3cb15c0, start=0x7f968bc6b002 "+\t3\t0\tv1_0\tv2_0\nttbl", finish=0x7f968bc6b011 "\nttbl", conn=...) at /data/src/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:711
|
#10 0x00007f96a31ddaf8 in dena::hstcpsvr_worker::execute_lines (this=0x7f96a3cb15c0, conn=...) at /data/src/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:677
|
#11 0x00007f96a31dd353 in dena::hstcpsvr_worker::run_one_ep (this=0x7f96a3cb15c0) at /data/src/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:561
|
#12 0x00007f96a31dc19c in dena::hstcpsvr_worker::run (this=0x7f96a3cb15c0) at /data/src/10.1/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:337
|
#13 0x00007f96a31e6373 in dena::worker_throbj::operator() (this=0x7f96a3caf500) at /data/src/10.1/plugin/handler_socket/handlersocket/hstcpsvr.cpp:34
|
#14 0x00007f96a31e786b in dena::thread<dena::worker_throbj>::thread_main (arg=0x7f96a3caf500) at /data/src/10.1/plugin/handler_socket/libhsclient/thread.hpp:71
|
#15 0x00007f96a640c494 in start_thread (arg=0x7f968dfff700) at pthread_create.c:333
|
#16 0x00007f96a455793f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Attachments
Issue Links
- relates to
-
MDEV-15699 CREATE TABLE for Spider table causes binlog-related crash
- Closed