Failing assertion: strchr(path, '/') != __null in file fil0fil.cc line 2099
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Activity
Show:
Julia Vural March 4, 2025 at 9:28 PM
It appears that this issue is no longer being worked on, so we are closing it for housekeeping purposes. If you believe the issue still exists, please open a new ticket after confirming it's present in the latest release.

Krunal Bauskar March 8, 2017 at 10:43 AM
This is due to incompatible charset on node-1 and node-2.
I believe this should happen even with master-slave question is what different charset settings causes it since the sql file has tons of them.

Krunal Bauskar March 7, 2017 at 10:48 AM
CREATE TABLESPACE ibport_s16 ADD DATAFILE '..\\\\\\\\\\\\data\\\\\\\\test\\\\\\\\\\\\..\\\\\\\\ibport_s16.ibd'
on replication fails as the name of data file then get converted to something like "..ÖÖÖdataÖÖtestÖÖÖ..ÖÖibport_s16.ibd"
Won't Do
Details
Assignee
UnassignedUnassignedReporter
Ramesh SivaramanRamesh Sivaraman(Deactivated)Labels
Affects versions
Priority
Medium
Details
Details
Assignee
Unassigned
UnassignedReporter

Labels
Affects versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created March 1, 2017 at 11:06 AM
Updated March 4, 2025 at 9:28 PM
Resolved March 4, 2025 at 9:28 PM
gdb info
+bt #0 0x00007f5a0604d771 in pthread_kill () from /lib64/libpthread.so.0 #1 0x00000000018887ce in my_write_core (sig=6) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/mysys/stacktrace.c:249 #2 0x0000000000e8da66 in handle_fatal_signal (sig=6) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/signal_handler.cc:235 #3 <signal handler called> #4 0x00007f5a041d95d7 in raise () from /lib64/libc.so.6 #5 0x00007f5a041dacc8 in abort () from /lib64/libc.so.6 #6 0x0000000001c06681 in ut_dbg_assertion_failed (expr=0x22f43d8 "strchr(path, '/') != __null", file=0x22f3318 "/mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/fil/fil0fil.cc", line=2099) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/ut/ut0dbg.cc:67 #7 0x0000000001cf01dc in fil_op_write_log (type=MLOG_FILE_CREATE2, space_id=117, first_page_no=0, path=0x7f59ce2ea2f8 "..ÖÖÖdataÖÖtestÖÖÖ..ÖÖibport_s16.ibd", new_path=0x0, flags=2048, mtr=0x7f5a065bd110) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/fil/fil0fil.cc:2099 #8 0x0000000001cf4c70 in fil_ibd_create (space_id=117, name=0x7f59ce3cce38 "ibport_s16", path=0x7f59ce2ea168 "..ÖÖÖdataÖÖtestÖÖÖ..ÖÖibport_s16.ibd", flags=2048, size=4) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/fil/fil0fil.cc:3769 #9 0x0000000001ca2afd in dict_build_tablespace (tablespace=0x7f5a065be380) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/dict/dict0crea.cc:418 #10 0x00000000019cb1aa in innobase_create_tablespace (hton=0x7f59ff3fa4e0, thd=0x7f59ce00f000, alter_info=0x7f59ce0239c8) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/handler/ha_innodb.cc:14906 #11 0x00000000019cb6b2 in innobase_alter_tablespace (hton=0x7f59ff3fa4e0, thd=0x7f59ce00f000, alter_info=0x7f59ce0239c8) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/storage/innobase/handler/ha_innodb.cc:15035 #12 0x00000000015f09fe in mysql_alter_tablespace (thd=0x7f59ce00f000, ts_info=0x7f59ce0239c8) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/sql_tablespace.cc:163 #13 0x0000000001552ca9 in mysql_execute_command (thd=0x7f59ce00f000, first_level=true) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/sql_parse.cc:5991 #14 0x000000000155537c in mysql_parse (thd=0x7f59ce00f000, parser_state=0x7f5a065bf8c0) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/sql_parse.cc:6883 #15 0x00000000017b9e39 in Query_log_event::do_apply_event (this=0x7f59ccfb6020, rli=0x7f59ce045000, query_arg=0x7f59ce096129 "CREATE TABLESPACE ibport_s16 ADD DATAFILE '..\\\\\\\\\\\\data\\\\\\\\test\\\\\\\\\\\\..\\\\\\\\ibport_s16.ibd'", q_len_arg=90) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/log_event.cc:4621 #16 0x00000000017b8cc9 in Query_log_event::do_apply_event (this=0x7f59ccfb6020, rli=0x7f59ce045000) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/log_event.cc:4340 #17 0x00000000017b5d04 in Log_event::apply_event (this=0x7f59ccfb6020, rli=0x7f59ce045000) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/log_event.cc:3339 #18 0x0000000000eaeaa9 in wsrep_apply_events (thd=0x7f59ce00f000, events_buf=0x7f59f1d2ae52, buf_len=0) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/wsrep_applier.cc:171 #19 0x0000000000eaf2cd in wsrep_apply_cb (ctx=0x7f59ce00f000, buf=0x7f59f1d2ae52, buf_len=156, flags=5, meta=0x7f5a065c1030) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/wsrep_applier.cc:277 #20 0x00007f59fa0a63bf in galera::TrxHandle::apply (this=0x7f59ce309800, recv_ctx=0x7f59ce00f000, apply_cb=0xeaef9f <wsrep_apply_cb(void*, void const*, unsigned long, unsigned int, wsrep_trx_meta const*)>, meta=...) at galera/src/trx_handle.cpp:315 #21 0x00007f59fa0e18b9 in apply_trx_ws (recv_ctx=0x7f59ce00f000, apply_cb=0xeaef9f <wsrep_apply_cb(void*, void const*, unsigned long, unsigned int, wsrep_trx_meta const*)>, commit_cb=0xeafa72 <wsrep_commit_cb(void*, unsigned int, wsrep_trx_meta const*, bool*, bool)>, trx=..., meta=...) at galera/src/replicator_smm.cpp:39 #22 0x00007f59fa0e498c in galera::ReplicatorSMM::apply_trx (this=0x7f59ff3cfc00, recv_ctx=0x7f59ce00f000, trx=0x7f59ce309800) at galera/src/replicator_smm.cpp:491 #23 0x00007f59fa0e8bd9 in galera::ReplicatorSMM::process_trx (this=0x7f59ff3cfc00, recv_ctx=0x7f59ce00f000, trx=0x7f59ce309800) at galera/src/replicator_smm.cpp:1295 #24 0x00007f59fa0c6660 in galera::GcsActionSource::dispatch (this=0x7f59ff3d01d8, recv_ctx=0x7f59ce00f000, act=..., exit_loop=@0x7f5a065c1d0f: false) at galera/src/gcs_action_source.cpp:116 #25 0x00007f59fa0c6da6 in galera::GcsActionSource::process (this=0x7f59ff3d01d8, recv_ctx=0x7f59ce00f000, exit_loop=@0x7f5a065c1d0f: false) at galera/src/gcs_action_source.cpp:181 #26 0x00007f59fa0e41c1 in galera::ReplicatorSMM::async_recv (this=0x7f59ff3cfc00, recv_ctx=0x7f59ce00f000) at galera/src/replicator_smm.cpp:413 #27 0x00007f59fa101778 in galera_recv (gh=0x7f5a020183c0, recv_ctx=0x7f59ce00f000) at galera/src/wsrep_provider.cpp:244 #28 0x0000000000eb1902 in wsrep_replication_process (thd=0x7f59ce00f000) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/wsrep_thd.cc:362 #29 0x0000000000e7dfd5 in start_wsrep_THD (arg=0xeb17e2 <wsrep_replication_process(THD*)>) at /mnt/workspace/qa.pxc57.build/BUILD_TYPE/debug/label_exp/centos7-64/sql/mysqld.cc:7132 #30 0x00007f5a06048df5 in start_thread () from /lib64/libpthread.so.0 #31 0x00007f5a0429a1ad in clone () from /lib64/libc.so.6