Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36803

Assertion `resizing == RESIZING || !disabled' failed in log_t::write_buf<(log_t::resizing_and_latch)0>

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • N/A
    • N/A
    • None
    • Clang version 18.1.3

    Description

      MDEV-36301 CS 10.11.12 f42c3fa2d940f62dfde8efe85d64a962e41d441f (Debug)

      Core was generated by `./sql/mysqld --no-defaults --basedir=/home/saahil/MDEV-36301/dbuild --datadir=/'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x0000000070000002 in ?? ()
      [Current thread is 1 (Thread 0x14a144d1e6c0 (LWP 103525))]
      (gdb) set print addr off
      (gdb) bt
      #0  ?? ()
      #1  _raw_syscall () at /home/roel/rr/src/preload/raw_syscall.S:120
      #2  traced_raw_syscall (call=) at /home/roel/rr/src/preload/syscallbuf.c:379
      #3  sys_setsockopt (call=<optimized out>) at /home/roel/rr/src/preload/syscallbuf.c:3461
      #4  syscall_hook_internal (call=) at /home/roel/rr/src/preload/syscallbuf.c:4282
      #5  syscall_hook (call=) at /home/roel/rr/src/preload/syscallbuf.c:4387
      #6  syscall_hook (call=) at /home/roel/rr/src/preload/syscallbuf.c:4371
      #7  _syscall_hook_trampoline () at /home/roel/rr/src/preload/syscall_hook.S:308
      #8  __morestack () at /home/roel/rr/src/preload/syscall_hook.S:443
      #9  _syscall_hook_trampoline_48_3d_01_f0_ff_ff () at /home/roel/rr/src/preload/syscall_hook.S:457
      #10 __GI_kill () at ../sysdeps/unix/syscall-template.S:120
      #11 handle_fatal_signal (sig=6) at /home/saahil/MDEV-36301/sql/signal_handler.cc:310
      #12 <signal handler called>
      #13 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
      #14 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      #15 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
      #16 __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #17 __GI_abort () at ./stdlib/abort.c:79
      #18 __assert_fail_base (fmt="%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry="resizing == RESIZING || !disabled", file=file@entry="/home/saahil/MDEV-36301/storage/innobase/log/log0log.cc", 
          line=line@entry=1188, function=function@entry="lsn_t log_t::write_buf() [resizing = log_t::RETAIN_LATCH]") at ./assert/assert.c:96
      #19 __assert_fail (assertion="resizing == RESIZING || !disabled", file="/home/saahil/MDEV-36301/storage/innobase/log/log0log.cc", line=1188, function="lsn_t log_t::write_buf() [resizing = log_t::RETAIN_LATCH]")
          at ./assert/assert.c:105
      #20 log_t::write_buf<(log_t::resizing_and_latch)0> (this=<optimized out>) at /home/saahil/MDEV-36301/storage/innobase/log/log0log.cc:1188
      #21 log_write_and_flush () at /home/saahil/MDEV-36301/storage/innobase/log/log0log.cc:1490
      #22 mtr_t::commit_file (this=, space=..., name=) at /home/saahil/MDEV-36301/storage/innobase/mtr/mtr0mtr.cc:693
      #23 fil_space_t::drop (id=id@entry=5, detached_handle=detached_handle@entry=) at /home/saahil/MDEV-36301/storage/innobase/fil/fil0fil.cc:1552
      #24 fil_delete_tablespace (id=id@entry=5) at /home/saahil/MDEV-36301/storage/innobase/fil/fil0fil.cc:1642
      #25 trx_t::commit (this=, deleted=std::vector of length 0, capacity 0) at /home/saahil/MDEV-36301/storage/innobase/dict/drop.cc:281
      #26 ha_innobase::delete_table (this=<optimized out>, name=<optimized out>) at /home/saahil/MDEV-36301/storage/innobase/handler/ha_innodb.cc:13850
      #27 hton_drop_table (hton=<optimized out>, path=) at /home/saahil/MDEV-36301/sql/handler.cc:575
      #28 ha_delete_table (thd=thd@entry=, hton=, hton@entry=, path=path@entry="./test/oltp1", db=db@entry=, alias=alias@entry=, generate_warning=true) at /home/saahil/MDEV-36301/sql/handler.cc:3238
      #29 mysql_rm_table_no_locks (thd=thd@entry=, tables=tables@entry=, current_db=current_db@entry=, ddl_log_state=, ddl_log_state@entry=, if_exists=true, drop_temporary=false, drop_view=<optimized out>, 
          drop_sequence=<optimized out>, dont_log_query=<optimized out>, dont_free_locks=<optimized out>) at /home/saahil/MDEV-36301/sql/sql_table.cc:1644
      #30 mysql_rm_table (thd=thd@entry=, tables=tables@entry=, if_exists=<optimized out>, drop_temporary=false, drop_sequence=<optimized out>, dont_log_query=<optimized out>)
          at /home/saahil/MDEV-36301/sql/sql_table.cc:1211
      #31 mysql_execute_command (thd=thd@entry=, is_called_from_prepared_stmt=<optimized out>) at /home/saahil/MDEV-36301/sql/sql_parse.cc:5071
      #32 mysql_parse (thd=thd@entry=, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=) at /home/saahil/MDEV-36301/sql/sql_parse.cc:8179
      #33 dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=, packet=packet@entry="DROP TABLE /*! IF EXISTS*/ oltp1 /* QNO 4 CON_ID 72 */ ", packet_length=packet_length@entry=55, blocking=true)
          at /home/saahil/MDEV-36301/sql/sql_parse.cc:1905
      #34 do_command (thd=thd@entry=, blocking=<optimized out>) at /home/saahil/MDEV-36301/sql/sql_parse.cc:1418
      #35 do_handle_one_connection (connect=<optimized out>, connect@entry=, put_in_cache=true) at /home/saahil/MDEV-36301/sql/sql_connect.cc:1386
      #36 handle_one_connection (arg=) at /home/saahil/MDEV-36301/sql/sql_connect.cc:1298
      #37 start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
      #38 clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
      

      RR trace is present here:-
      /home/saahil/.local/share/rr/mysqld-0 # on rr instance

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              saahil Saahil Alam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.