0x00007f229f8f83b6 in Protocol_text::prepare_for_resend (this=0x7f22a2565080) at /home/psergey/dev-git/10.1/libmysqld/lib_sql.cc:1254
(gdb) wher
#0 0x00007f229f8f83b6 in Protocol_text::prepare_for_resend (this=0x7f22a2565080) at /home/psergey/dev-git/10.1/libmysqld/lib_sql.cc:1254
#1 0x00007f229fbd3e4e in select_send::send_data (this=0x7f22a24f19b0, items=...) at /home/psergey/dev-git/10.1/sql/sql_class.cc:2666
#2 0x00007f229fabb0f1 in end_send (join=0x7f22a24f19d0, join_tab=0x7f22a24f2d78, end_of_records=false) at /home/psergey/dev-git/10.1/sql/sql_select.cc:18755
#3 0x00007f229fab8f71 in evaluate_join_record (join=0x7f22a24f19d0, join_tab=0x7f22a24f2a38, error=0) at /home/psergey/dev-git/10.1/sql/sql_select.cc:17863
#4 0x00007f229fab8865 in sub_select (join=0x7f22a24f19d0, join_tab=0x7f22a24f2a38, end_of_records=false) at /home/psergey/dev-git/10.1/sql/sql_select.cc:17638
#5 0x00007f229fab80d0 in do_select (join=0x7f22a24f19d0, fields=0x7f22a1771a50, table=0x0, procedure=0x0) at /home/psergey/dev-git/10.1/sql/sql_select.cc:17298
#6 0x00007f229fa93bb9 in JOIN::exec_inner (this=0x7f22a24f19d0) at /home/psergey/dev-git/10.1/sql/sql_select.cc:3093
#7 0x00007f229fa90e18 in JOIN::exec (this=0x7f22a24f19d0) at /home/psergey/dev-git/10.1/sql/sql_select.cc:2388
#8 0x00007f229fa94469 in mysql_select (thd=0x7f22a176da50, rref_pointer_array=0x7f22a1771bb0, tables=0x7f22a24f1328, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f22a24f19b0, unit=0x7f22a1771250, select_lex=0x7f22a1771938) at /home/psergey/dev-git/10.1/sql/sql_select.cc:3320
#9 0x00007f229fa8a312 in handle_select (thd=0x7f22a176da50, lex=0x7f22a1771188, result=0x7f22a24f19b0, setup_tables_done_option=0) at /home/psergey/dev-git/10.1/sql/sql_select.cc:372
Stack trace
we crash in Protocol_text::prepare_for_resend here:
and the reason is that data==NULL.