#2 0x0000555bbe9b6a48 in Event_db_repository::update_timing_fields_for_event (this=<optimized out>, thd=thd@entry=0x14f5e8018db8, event_db_name=0x14f5dc000c40, event_name=0x14f5dc000c50, last_executed=last_executed@entry=1695286210, status=status@entry=1) at /test/11.3_opt/sql/event_db_repository.cc:1159
#3 0x0000555bbe9b490e in Event_queue::get_top_for_execution_if_time (this=0x555bc100e4d0, thd=thd@entry=0x14f5e8018db8, event_name=event_name@entry=0x14f62c0ddd48) at /test/11.3_opt/sql/event_queue.cc:696
#4 0x0000555bbe9b37df in Event_scheduler::run (this=this@entry=0x555bc125adc0, thd=0x14f5e8018db8) at /test/11.3_opt/sql/event_scheduler.cc:492
#5 0x0000555bbe9b38fc in event_scheduler_thread (arg=0x14f5e8017628) at /test/11.3_opt/sql/event_scheduler.cc:236
#6 0x000014f659002609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7 0x000014f658bee133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#3 0x000055d25264ce00 in Event_db_repository::update_timing_fields_for_event (this=<optimized out>, thd=thd@entry=0x1488ec016f38, event_db_name=<optimized out>, event_name=0x1488e0000c50, last_executed=last_executed@entry=1695289600, status=status@entry=1) at /test/10.4_opt/sql/event_db_repository.cc:1154
#4 0x000055d25264af8e in Event_queue::get_top_for_execution_if_time (this=0x55d254c44b20, thd=thd@entry=0x1488ec016f38, event_name=event_name@entry=0x14890b8b1e08) at /test/10.4_opt/sql/event_queue.cc:690
#5 0x000055d252649e8f in Event_scheduler::run (this=this@entry=0x55d254c11da0, thd=0x1488ec016f38) at /test/10.4_opt/sql/event_scheduler.cc:478
#6 0x000055d252649fac in event_scheduler_thread (arg=0x1488ec021ed8) at /test/10.4_opt/sql/event_scheduler.cc:235
#7 0x000014894a872609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8 0x000014894a45e133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#3 0x000014d897988fd6 in __GI___assert_fail (assertion=assertion@entry=0x55c18e9b1c48 "thd->transaction.stmt.is_empty() || thd->in_sub_stmt || (thd->state_flags & Open_tables_state::BACKUPS_AVAIL)", file=file@entry=0x55c18e9b1570 "/test/10.4_dbg/sql/sql_base.cc", line=line@entry=897, function=function@entry=0x55c18e9b1c28 "void close_thread_tables(THD*)") at assert.c:101
#4 0x000055c18dd3e683 in close_thread_tables (thd=thd@entry=0x14d838000d28) at /test/10.4_dbg/sql/handler.h:1712
#5 0x000055c18e228cf8 in Event_db_repository::create_event (this=<optimized out>, thd=thd@entry=0x14d838000d28, parse_data=parse_data@entry=0x14d8380125e8, event_already_exists=event_already_exists@entry=0x14d87cea961f) at /test/10.4_dbg/sql/event_db_repository.cc:748
#6 0x000055c18dec125d in Events::create_event (thd=thd@entry=0x14d838000d28, parse_data=0x14d8380125e8) at /test/10.4_dbg/sql/events.cc:364
#7 0x000055c18ddb5f7d in mysql_execute_command (thd=thd@entry=0x14d838000d28) at /test/10.4_dbg/sql/sql_parse.cc:5268
#8 0x000055c18ddbb262 in mysql_parse (thd=thd@entry=0x14d838000d28, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14d87ceab3b0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_parse.cc:8012
#9 0x000055c18ddbdd7d in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14d838000d28, packet=packet@entry=0x14d838019509 "CREATE EVENT e_x2 ON SCHEDULE EVERY 1 SECOND DO DROP TABLE x_t", packet_length=packet_length@entry=62, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_class.h:1231
#10 0x000055c18ddc05a7 in do_command (thd=0x14d838000d28) at /test/10.4_dbg/sql/sql_parse.cc:1378
#11 0x000055c18dedd4e9 in do_handle_one_connection (connect=<optimized out>) at /test/10.4_dbg/sql/sql_connect.cc:1420
#12 0x000055c18dedd5a5 in handle_one_connection (arg=<optimized out>) at /test/10.4_dbg/sql/sql_connect.cc:1324
#13 0x000014d897e88609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x000014d897a74133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
As far as I can tell, the crash occurs because table->pos_in_table_list is a null pointer. The reference to that was added by nikitamalyavin in MDEV-30378 and modified by midenok in MDEV-25644.
Marko Mäkelä
added a comment - As far as I can tell, the crash occurs because table->pos_in_table_list is a null pointer. The reference to that was added by nikitamalyavin in MDEV-30378 and modified by midenok in MDEV-25644 .
People
Nikita Malyavin
Ramesh Sivaraman
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":824.5,"ttfb":194.2000000011176,"pageVisibility":"visible","entityId":125174,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"cb2ff1ac-e864-4cd4-9806-ead25d9a3797","navigationType":0,"readyForUser":921.5999999996275,"redirectCount":0,"resourceLoadedEnd":887.9000000003725,"resourceLoadedStart":200.30000000074506,"resourceTiming":[{"duration":149,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":200.30000000074506,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":349.30000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":149,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":200.59999999962747,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.59999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":349.59999999962747,"responseStart":0,"secureConnectionStart":0},{"duration":164.40000000037253,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":200.80000000074506,"connectEnd":200.80000000074506,"connectStart":200.80000000074506,"domainLookupEnd":200.80000000074506,"domainLookupStart":200.80000000074506,"fetchStart":200.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":200.80000000074506,"responseEnd":365.2000000011176,"responseStart":365.2000000011176,"secureConnectionStart":200.80000000074506},{"duration":202.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":201,"connectEnd":201,"connectStart":201,"domainLookupEnd":201,"domainLookupStart":201,"fetchStart":201,"redirectEnd":0,"redirectStart":0,"requestStart":201,"responseEnd":403.5,"responseStart":403.5,"secureConnectionStart":201},{"duration":205.89999999850988,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":201.2000000011176,"connectEnd":201.2000000011176,"connectStart":201.2000000011176,"domainLookupEnd":201.2000000011176,"domainLookupStart":201.2000000011176,"fetchStart":201.2000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":201.2000000011176,"responseEnd":407.09999999962747,"responseStart":407.09999999962747,"secureConnectionStart":201.2000000011176},{"duration":206.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":201.40000000037253,"connectEnd":201.40000000037253,"connectStart":201.40000000037253,"domainLookupEnd":201.40000000037253,"domainLookupStart":201.40000000037253,"fetchStart":201.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":201.40000000037253,"responseEnd":407.90000000037253,"responseStart":407.90000000037253,"secureConnectionStart":201.40000000037253},{"duration":206.90000000037253,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":201.59999999962747,"connectEnd":201.59999999962747,"connectStart":201.59999999962747,"domainLookupEnd":201.59999999962747,"domainLookupStart":201.59999999962747,"fetchStart":201.59999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":201.59999999962747,"responseEnd":408.5,"responseStart":408.5,"secureConnectionStart":201.59999999962747},{"duration":306.90000000037253,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":201.80000000074506,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":508.7000000011176,"responseStart":0,"secureConnectionStart":0},{"duration":207.09999999962747,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":202,"connectEnd":202,"connectStart":202,"domainLookupEnd":202,"domainLookupStart":202,"fetchStart":202,"redirectEnd":0,"redirectStart":0,"requestStart":202,"responseEnd":409.09999999962747,"responseStart":409.09999999962747,"secureConnectionStart":202},{"duration":306.7000000011176,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":202.09999999962747,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":202.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":508.80000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":207.59999999962747,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":202.30000000074506,"connectEnd":202.30000000074506,"connectStart":202.30000000074506,"domainLookupEnd":202.30000000074506,"domainLookupStart":202.30000000074506,"fetchStart":202.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":202.30000000074506,"responseEnd":409.90000000037253,"responseStart":409.90000000037253,"secureConnectionStart":202.30000000074506},{"duration":442.2999999988824,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":203.2000000011176,"connectEnd":203.2000000011176,"connectStart":203.2000000011176,"domainLookupEnd":203.2000000011176,"domainLookupStart":203.2000000011176,"fetchStart":203.2000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":203.2000000011176,"responseEnd":645.5,"responseStart":645.5,"secureConnectionStart":203.2000000011176},{"duration":683.2999999988824,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":203.30000000074506,"connectEnd":203.30000000074506,"connectStart":203.30000000074506,"domainLookupEnd":203.30000000074506,"domainLookupStart":203.30000000074506,"fetchStart":203.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":203.30000000074506,"responseEnd":886.5999999996275,"responseStart":886.5999999996275,"secureConnectionStart":203.30000000074506},{"duration":149.09999999962747,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":535.5,"connectEnd":535.5,"connectStart":535.5,"domainLookupEnd":535.5,"domainLookupStart":535.5,"fetchStart":535.5,"redirectEnd":0,"redirectStart":0,"requestStart":535.5,"responseEnd":684.5999999996275,"responseStart":684.5999999996275,"secureConnectionStart":535.5},{"duration":110.30000000074506,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":777.5999999996275,"connectEnd":777.5999999996275,"connectStart":777.5999999996275,"domainLookupEnd":777.5999999996275,"domainLookupStart":777.5999999996275,"fetchStart":777.5999999996275,"redirectEnd":0,"redirectStart":0,"requestStart":777.5999999996275,"responseEnd":887.9000000003725,"responseStart":887.9000000003725,"secureConnectionStart":777.5999999996275},{"duration":188.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":817.3000000007451,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":817.3000000007451,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1005.8000000007451,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":20,"responseStart":194,"responseEnd":195,"domLoading":197,"domInteractive":1028,"domContentLoadedEventStart":1028,"domContentLoadedEventEnd":1072,"domComplete":1184,"loadEventStart":1184,"loadEventEnd":1184,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1011.4000000003725},{"name":"bigPipe.sidebar-id.end","time":1012.2000000011176},{"name":"bigPipe.activity-panel-pipe-id.start","time":1012.4000000003725},{"name":"bigPipe.activity-panel-pipe-id.end","time":1013.3000000007451},{"name":"activityTabFullyLoaded","time":1095.7000000011176}],"measures":[],"correlationId":"d118cb1edab630","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":15,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
As far as I can tell, the crash occurs because table->pos_in_table_list is a null pointer. The reference to that was added by nikitamalyavin in
MDEV-30378and modified by midenok inMDEV-25644.