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

debugger aborting because missing DBUG_RETURN or DBUG_VOID_RETURN macro in function "any_slave_sql_running"



    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0
    • 10.0.20
    • Replication
    • None


      Note: I don't have a test case for this, but I hope that code inspection will be enough to locate the problem.

      150613 15:19:07 [Note] 10.0-patched/sql/mysqld: Normal shutdown
      150613 15:19:07 [Note] Event Scheduler: Purging the queue. 0 events
      150613 15:19:07 [Note] Slave: received end packet from server, apparent master shutdown: 
      150613 15:19:07 [Note] Slave I/O thread killed while reading event
      150613 15:19:07 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.000001', position 975449; GTID position 0-1-3487
      sql/mysqld: debugger aborting because missing DBUG_RETURN or DBUG_VOID_RETURN macro in function "any_slave_sql_running"
      150613 15:19:07 [ERROR] mysqld got signal 6 ;

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x8f8f8f8f8f8f8f8f): Can't read from address 0x8f8f8f8f8f8f8f8f
      Connection ID (thread ID): 10344644715844964239
      Status: UNKNOWN

      Thread 1 (Thread 0x7f3edba86700 (LWP 5832)):
      #0  0x00007f3edd012f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e68f08 in my_write_core (sig=6) at mysys/stacktrace.c:457
      #2  0x000000000085bdd3 in handle_fatal_signal (sig=6) at sql/signal_handler.cc:262
      #3  <signal handler called>
      #4  0x00007f3edbe40425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
      #5  0x00007f3edbe43b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x0000000000e87758 in DbugExit (why=0x7f3edba85690 "missing DBUG_RETURN or DBUG_VOID_RETURN macro in function \"any_slave_sql_running\"\n") at dbug/dbug.c:1986
      #7  0x0000000000e8627e in _db_return_ (_line_=4857, _stack_frame_=0x7f3edba85970) at dbug/dbug.c:1175
      #8  0x00000000005c81b5 in handle_slave_sql (arg=0x7f3ebc726000) at sql/slave.cc:4857
      #9  0x00007f3edd00de9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #10 0x00007f3edbefdcbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #11 0x0000000000000000 in ?? ()

      Stack trace from 10.0 commit d437c35d9748d33281d270ba2258fef9d90601b8 + patches 1,2 from MDEV-7818.




            knielsen Kristian Nielsen
            elenst Elena Stepanova
            0 Vote for this issue
            2 Start watching this issue



              Git Integration

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