SET GLOBAL wsrep_on=ON;
|
CREATE TABLE t (c INT) ENGINE=InnoDB;
|
Leads to:
10.3.37 32bab2ce0518d829b4f97a272fc2431169744c75 (Optimized)
|
Core was generated by `/test/MD190922-mariadb-10.3.37-linux-x86_64-opt/bin/mysqld --no-defaults --core'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x00005568f329ddce in wsrep_TOI_begin (alter_info=<optimized out>,
|
table_list=0x0, table_=<optimized out>, db_=<optimized out>, thd=
|
0x14d974000c48) at /test/10.3_opt/sql/wsrep_mysqld.cc:1237
|
[Current thread is 1 (Thread 0x14d9cc073700 (LWP 2304835))]
|
(gdb) bt
|
#0 0x00005568f329ddce in wsrep_TOI_begin (alter_info=<optimized out>, table_list=0x0, table_=<optimized out>, db_=<optimized out>, thd=0x14d974000c48) at /test/10.3_opt/sql/wsrep_mysqld.cc:1237
|
#1 wsrep_to_isolation_begin (alter_info=0x0, table_list=0x0, table_=<optimized out>, db_=<optimized out>, thd=0x14d974000c48) at /test/10.3_opt/sql/wsrep_mysqld.cc:1916
|
#2 wsrep_to_isolation_begin (thd=thd@entry=0x14d974000c48, db_=<optimized out>, table_=<optimized out>, table_list=table_list@entry=0x0, alter_info=alter_info@entry=0x0) at /test/10.3_opt/sql/wsrep_mysqld.cc:1860
|
#3 0x00005568f31d96ce in Sql_cmd_create_table_like::execute (this=<optimized out>, thd=0x14d974000c48) at /test/10.3_opt/sql/handler.h:2037
|
#4 0x00005568f31412e0 in mysql_execute_command (thd=<optimized out>) at /test/10.3_opt/sql/sql_parse.cc:6076
|
#5 0x00005568f3148162 in mysql_parse (thd=thd@entry=0x14d974000c48, rawbuf=rawbuf@entry=0x14d97400f4d0 "CREATE TABLE t (c INT) ENGINE=InnoDB", length=length@entry=36, parser_state=parser_state@entry=0x14d9cc0725d0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_opt/sql/sql_parse.cc:7871
|
#6 0x00005568f31489f6 in wsrep_mysql_parse (thd=0x14d974000c48, rawbuf=0x14d97400f4d0 "CREATE TABLE t (c INT) ENGINE=InnoDB", length=36, parser_state=0x14d9cc0725d0, is_com_multi=false, is_next_command=false) at /test/10.3_opt/sql/sql_parse.cc:7663
|
#7 0x00005568f314a203 in dispatch_command (command=COM_QUERY, thd=0x14d974000c48, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.3_opt/sql/sql_parse.cc:1938
|
#8 0x00005568f314b8fd in do_command (thd=0x14d974000c48) at /test/10.3_opt/sql/sql_parse.cc:1398
|
#9 0x00005568f3229a9e in do_handle_one_connection (connect=<optimized out>) at /test/10.3_opt/sql/sql_connect.cc:1403
|
#10 0x00005568f3229b1d in handle_one_connection (arg=<optimized out>) at /test/10.3_opt/sql/sql_connect.cc:1308
|
#11 0x000014d9d8035609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#12 0x000014d9d7f5a133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
10.3.37 32bab2ce0518d829b4f97a272fc2431169744c75 (Debug)
|
Core was generated by `/test/MD190922-mariadb-10.3.37-linux-x86_64-dbg/bin/mysqld --no-defaults --core'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x000055eb029ae1ed in wsrep_TOI_begin (alter_info=0x0, table_list=0x0,
|
table_=0x14cb04010a18 "t", db_=0x14cb040110c8 "test", thd=0x14cb04000d28)
|
at /test/10.3_dbg/sql/wsrep_mysqld.cc:1708
|
[Current thread is 1 (Thread 0x14cb500ec700 (LWP 2305563))]
|
(gdb) bt
|
#0 0x000055eb029ae1ed in wsrep_TOI_begin (alter_info=0x0, table_list=0x0, table_=0x14cb04010a18 "t", db_=0x14cb040110c8 "test", thd=0x14cb04000d28) at /test/10.3_dbg/sql/wsrep_mysqld.cc:1708
|
#1 wsrep_to_isolation_begin (thd=thd@entry=0x14cb04000d28, db_=0x14cb040110c8 "test", table_=0x14cb04010a18 "t", table_list=table_list@entry=0x0, alter_info=alter_info@entry=0x0) at /test/10.3_dbg/sql/wsrep_mysqld.cc:1916
|
#2 0x000055eb028b39b9 in Sql_cmd_create_table_like::execute (this=0x14cb04010a48, thd=0x14cb04000d28) at /test/10.3_dbg/sql/sql_table.cc:11441
|
#3 0x000055eb0280b1f6 in mysql_execute_command (thd=thd@entry=0x14cb04000d28) at /test/10.3_dbg/sql/sql_parse.cc:6076
|
#4 0x000055eb0280cb1b in mysql_parse (thd=thd@entry=0x14cb04000d28, rawbuf=rawbuf@entry=0x14cb04010960 "CREATE TABLE t (c INT) ENGINE=InnoDB", length=length@entry=36, parser_state=parser_state@entry=0x14cb500eb5e0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_dbg/sql/sql_parse.cc:7871
|
#5 0x000055eb0280dc04 in wsrep_mysql_parse (thd=thd@entry=0x14cb04000d28, rawbuf=0x14cb04010960 "CREATE TABLE t (c INT) ENGINE=InnoDB", length=36, parser_state=parser_state@entry=0x14cb500eb5e0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_dbg/sql/sql_parse.cc:7663
|
#6 0x000055eb0280ebd4 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14cb04000d28, packet=packet@entry=0x14cb04018aa9 "CREATE TABLE t (c INT) ENGINE=InnoDB", packet_length=packet_length@entry=36, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_dbg/sql/sql_class.h:1152
|
#7 0x000055eb0281102b in do_command (thd=0x14cb04000d28) at /test/10.3_dbg/sql/sql_parse.cc:1398
|
#8 0x000055eb0291b17f in do_handle_one_connection (connect=<optimized out>) at /test/10.3_dbg/sql/sql_connect.cc:1403
|
#9 0x000055eb0291b2af in handle_one_connection (arg=<optimized out>) at /test/10.3_dbg/sql/sql_connect.cc:1308
|
#10 0x000014cb65962609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#11 0x000014cb65887133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.3.37 (dbg), 10.3.37 (opt)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.4.27 (dbg), 10.4.27 (opt), 10.5.18 (dbg), 10.5.18 (opt), 10.6.10 (dbg), 10.6.10 (opt), 10.7.6 (dbg), 10.7.6 (opt), 10.8.5 (dbg), 10.8.5 (opt), 10.9.3 (dbg), 10.9.3 (opt), 10.10.2 (dbg), 10.10.2 (opt), 10.11.0 (dbg), 10.11.0 (opt)
$ cat BUILD_CMD_CMAKE # optimized
|
cmake . -DWITH_SSL=bundled -DBUILD_CONFIG=mysql_release -DWITH_JEMALLOC=no -DWITH_TOKUDB=0 -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_405270 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_SAFEMALLOC=OFF -DPLUGIN_PERFSCHEMA=NO -DWITH_DBUG_TRACE=OFF -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DWITH_MARIABACKUP=0 -DFORCE_INSOURCE_BUILD=1 -DCMAKE_C_FLAGS='-Og -march=native -mtune=native' -DCMAKE_CXX_FLAGS='-Og -march=native -mtune=native'
|
$ cat BUILD_CMD_CMAKE # debug
|
cmake . -DWITH_SSL=bundled -DCMAKE_BUILD_TYPE=Debug -DBUILD_CONFIG=mysql_release -DWITH_TOKUDB=0 -DWITH_JEMALLOC=no -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_834136 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_SAFEMALLOC=OFF -DPLUGIN_PERFSCHEMA=NO -DWITH_DBUG_TRACE=OFF -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DWITH_MARIABACKUP=0 -DFORCE_INSOURCE_BUILD=1 -DCMAKE_C_FLAGS='-Og -march=native -mtune=native' -DCMAKE_CXX_FLAGS='-Og -march=native -mtune=native' -DMYSQL_MAINTAINER_MODE=OFF
|
{"report":{"fcp":798.9000000953674,"ttfb":275.09999990463257,"pageVisibility":"visible","entityId":115218,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"ef93f640-89d7-472c-adc1-1ac6daff64eb","navigationType":0,"readyForUser":852.5,"redirectCount":0,"resourceLoadedEnd":809.7999999523163,"resourceLoadedStart":281,"resourceTiming":[{"duration":17.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":281,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":281,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":298.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":19.200000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":281.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":281.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":300.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":79,"initiatorType":"script","name":"https://jira.mariadb.org/s/c54b129276d75dc2a3460e1d78f37913-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":281.2999999523163,"connectEnd":281.2999999523163,"connectStart":281.2999999523163,"domainLookupEnd":281.2999999523163,"domainLookupStart":281.2999999523163,"fetchStart":281.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":281.2999999523163,"responseEnd":360.2999999523163,"responseStart":360.2999999523163,"secureConnectionStart":281.2999999523163},{"duration":140.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/f867843cd2fdb209d4d1d4f760f86346-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":281.40000009536743,"connectEnd":281.40000009536743,"connectStart":281.40000009536743,"domainLookupEnd":281.40000009536743,"domainLookupStart":281.40000009536743,"fetchStart":281.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":281.40000009536743,"responseEnd":422,"responseStart":422,"secureConnectionStart":281.40000009536743},{"duration":144.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/ffdb17665775c5b4d6f097f3974ee359-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":281.59999990463257,"connectEnd":281.59999990463257,"connectStart":281.59999990463257,"domainLookupEnd":281.59999990463257,"domainLookupStart":281.59999990463257,"fetchStart":281.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":281.59999990463257,"responseEnd":426,"responseStart":426,"secureConnectionStart":281.59999990463257},{"duration":144.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":281.59999990463257,"connectEnd":281.59999990463257,"connectStart":281.59999990463257,"domainLookupEnd":281.59999990463257,"domainLookupStart":281.59999990463257,"fetchStart":281.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":281.59999990463257,"responseEnd":426.5,"responseStart":426.5,"secureConnectionStart":281.59999990463257},{"duration":145.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":281.7000000476837,"connectEnd":281.7000000476837,"connectStart":281.7000000476837,"domainLookupEnd":281.7000000476837,"domainLookupStart":281.7000000476837,"fetchStart":281.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":281.7000000476837,"responseEnd":427.2999999523163,"responseStart":427.2999999523163,"secureConnectionStart":281.7000000476837},{"duration":146,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":281.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":281.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":427.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":145.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":281.90000009536743,"connectEnd":281.90000009536743,"connectStart":281.90000009536743,"domainLookupEnd":281.90000009536743,"domainLookupStart":281.90000009536743,"fetchStart":281.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":281.90000009536743,"responseEnd":427.7000000476837,"responseStart":427.7000000476837,"secureConnectionStart":281.90000009536743},{"duration":146.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":282.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":282.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":428.5,"responseStart":0,"secureConnectionStart":0},{"duration":146.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":282.2000000476837,"connectEnd":282.2000000476837,"connectStart":282.2000000476837,"domainLookupEnd":282.2000000476837,"domainLookupStart":282.2000000476837,"fetchStart":282.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":282.2000000476837,"responseEnd":428.7000000476837,"responseStart":428.7000000476837,"secureConnectionStart":282.2000000476837},{"duration":500.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":282.7999999523163,"connectEnd":282.7999999523163,"connectStart":282.7999999523163,"domainLookupEnd":282.7999999523163,"domainLookupStart":282.7999999523163,"fetchStart":282.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":282.7999999523163,"responseEnd":783.5,"responseStart":783.5,"secureConnectionStart":282.7999999523163},{"duration":526.8999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":282.90000009536743,"connectEnd":282.90000009536743,"connectStart":282.90000009536743,"domainLookupEnd":282.90000009536743,"domainLookupStart":282.90000009536743,"fetchStart":282.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":282.90000009536743,"responseEnd":809.7999999523163,"responseStart":809.7999999523163,"secureConnectionStart":282.90000009536743},{"duration":214.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":574.4000000953674,"connectEnd":574.4000000953674,"connectStart":574.4000000953674,"domainLookupEnd":574.4000000953674,"domainLookupStart":574.4000000953674,"fetchStart":574.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":574.4000000953674,"responseEnd":788.5999999046326,"responseStart":788.5999999046326,"secureConnectionStart":574.4000000953674},{"duration":57,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":756.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":756.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":813.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":126.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":893,"connectEnd":893,"connectStart":893,"domainLookupEnd":893,"domainLookupStart":893,"fetchStart":893,"redirectEnd":0,"redirectStart":0,"requestStart":893,"responseEnd":1019.2000000476837,"responseStart":1019.2000000476837,"secureConnectionStart":893}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":136,"responseStart":275,"responseEnd":278,"domLoading":279,"domInteractive":966,"domContentLoadedEventStart":966,"domContentLoadedEventEnd":1010,"domComplete":1121,"loadEventStart":1121,"loadEventEnd":1122,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":946.9000000953674},{"name":"bigPipe.sidebar-id.end","time":947.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":947.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":949.0999999046326},{"name":"activityTabFullyLoaded","time":1026.4000000953674}],"measures":[],"correlationId":"6d5dba15f870ef","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":75,"dbReadsTimeInMs":12,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
UniqueID's seen
SIGSEGV|wsrep_TOI_begin|wsrep_to_isolation_begin|Sql_cmd_create_table_like::execute|mysql_execute_command
SIGSEGV|wsrep_TOI_begin|wsrep_to_isolation_begin|wsrep_to_isolation_begin|Sql_cmd_create_table_like::execute