#3 0x0000563a4047e7bb in fread (__stream=0x563a43c123f0, __n=255, __size=1, __ptr=0x563a43bf1dc8) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:297
|
#4 os_file_read_string (file=0x563a43c123f0, str=0x563a43bf1dc8 "", size=size@entry=256) at /test/10.5_dbg/storage/innobase/os/os0file.cc:399
|
#5 0x0000563a40600fc1 in trx_set_detailed_error_from_file (trx=trx@entry=0x6c663bd251c0, file=<optimized out>) at /test/10.5_dbg/storage/innobase/trx/trx0trx.cc:99
|
#6 0x0000563a4050f272 in row_ins_set_detailed (trx=trx@entry=0x6c663bd251c0, foreign=foreign@entry=0x66517c023448) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:684
|
#7 0x0000563a4050ffd3 in row_ins_foreign_report_add_err (trx=trx@entry=0x6c663bd251c0, foreign=foreign@entry=0x66517c023448, rec=0x6651705b8070 "supremum", entry=entry@entry=0x66517c020b28)
|
at /test/10.5_dbg/storage/innobase/row/row0ins.cc:807
|
#8 0x0000563a40513868 in row_ins_check_foreign_constraint (check_ref=check_ref@entry=1, foreign=foreign@entry=0x66517c023448, table=table@entry=0x66517c022468, entry=entry@entry=0x66517c020b28,
|
thr=thr@entry=0x66517c077450) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:1807
|
#9 0x0000563a40514507 in row_ins_check_foreign_constraints (table=0x66517c022468, index=index@entry=0x66517c023b78, pk=pk@entry=true, entry=entry@entry=0x66517c020b28, thr=thr@entry=0x66517c077450)
|
at /test/10.5_dbg/storage/innobase/row/row0ins.cc:1981
|
#10 0x0000563a40514979 in row_ins_clust_index_entry (index=index@entry=0x66517c023b78, entry=entry@entry=0x66517c020b28, thr=thr@entry=0x66517c077450, n_ext=n_ext@entry=0)
|
at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3234
|
#11 0x0000563a40516c00 in row_ins_index_entry (thr=0x66517c077450, entry=0x66517c020b28, index=0x66517c023b78) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3404
|
#12 row_ins_index_entry_step (thr=0x66517c077450, node=<optimized out>) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3572
|
#13 row_ins (thr=0x66517c077450, node=<optimized out>) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3709
|
#14 row_ins_step (thr=thr@entry=0x66517c077450) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3852
|
#15 0x0000563a4053af22 in row_insert_for_mysql (mysql_rec=mysql_rec@entry=0x66517c0760e8 "\377\001", prebuilt=0x66517c076d38, ins_mode=ROW_INS_NORMAL) at /test/10.5_dbg/storage/innobase/row/row0mysql.cc:1394
|
#16 0x0000563a403a5037 in ha_innobase::write_row (this=0x66517c0764e0, record=0x66517c0760e8 "\377\001") at /test/10.5_dbg/storage/innobase/handler/ha_innodb.cc:7709
|
#17 0x0000563a3fffa503 in handler::ha_write_row (this=0x66517c0764e0, buf=0x66517c0760e8 "\377\001") at /test/10.5_dbg/sql/handler.cc:7348
|
#18 0x0000563a3fcd6ce0 in write_record (thd=thd@entry=0x66517c000d48, table=table@entry=0x66517c075cb8, info=info@entry=0x5c7a60e5bba0, sink=sink@entry=0x0) at /test/10.5_dbg/sql/sql_insert.cc:2197
|
#19 0x0000563a3fce21e9 in mysql_insert (thd=thd@entry=0x66517c000d48, table_list=<optimized out>, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false, result=0x0)
|
at /test/10.5_dbg/sql/sql_insert.cc:1127
|
#20 0x0000563a3fd25727 in mysql_execute_command (thd=thd@entry=0x66517c000d48) at /test/10.5_dbg/sql/sql_parse.cc:4650
|
#21 0x0000563a3fd1052a in mysql_parse (thd=thd@entry=0x66517c000d48, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x5c7a60e5c2c0, is_com_multi=is_com_multi@entry=false,
|
is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:8203
|
#22 0x0000563a3fd1ece7 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x66517c000d48, packet=packet@entry=0x66517c00aa19 "INSERT INTO t2 VALUES (1)", packet_length=packet_length@entry=25,
|
is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_class.h:1328
|
Can you provide any more details, such as the detailed_error string? The purpose of trx_t::assert_freed() is to catch cases where some data members of an object have not been cleared. We have a special allocator for trx_t objects in order to minimize overhead.