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

LP:790513 - MariaDB crashes on startup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      I wanted to add skip-pbxt to the config of one of a pair of mariadb dual masters. I added it, tried a restart, failure. Removed it, restart, failure. I've since then been trying a bunch of things:

      • error log was complaining about deprecated options, so I disabled those.
      • kept disabling unnecessary things from the my.cnf until I got to the bare minimum it is at now (see log below)
      • upgraded to the latest version of mariadb 5.2.6 (from 5.2.5 rpms from askmonty.org)
      • tried using strace to see what that would come up with
      • No results. strace output attached. Command line log:

      [root@yomamma ~]# cat /etc/my.cnf

      1. Server settings.
        [mysqld]
        datadir = /mysql/data

      log-bin = /mysql/blog/mysql-bin
      log-error = /mysql/blog/error.log
      general_log = 1
      general_log_file = /mysql/blog/general.log
      log-slave-updates

      [root@yomamma ~]# mysqld_safe --safe-mode
      110530 16:06:26 mysqld_safe Logging to '/mysql/blog/error.log'.
      110530 16:06:26 mysqld_safe Starting mysqld daemon with databases from /mysql/data
      110530 16:06:26 mysqld_safe mysqld from pid file /mysql/data/yomamma.dedi.someplace.co.uk.pid ended
      [root@yomamma ~]# tail /mysql/blog/error.log -n100
      110530 15:32:10 mysqld_safe mysqld from pid file /mysql/data/yomamma.dedi.someplace.co.uk.pid ended
      110530 16:06:26 mysqld_safe Starting mysqld daemon with databases from /mysql/data
      110530 16:06:26 [ERROR] mysqld got signal 11 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
      We will try our best to scrape up some info that will hopefully help diagnose
      the problem, but since we have already crashed, something is definitely wrong
      and this may fail.

      key_buffer_size=0
      read_buffer_size=131072
      max_used_connections=0
      max_threads=153
      threads_connected=0
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 334804 K
      bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x10154340
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x7fff9cb91890 thread_stack 0x48000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e) [0x9a0a5e]
      /usr/sbin/mysqld(handle_segfault+0x385) [0x5ee155]
      /lib64/libpthread.so.0 [0x3a2260eb10]
      /usr/sbin/mysqld(ha_resolve_by_name(THD*, st_mysql_lex_string const*)+0x62) [0x6deba2]
      /usr/sbin/mysqld(open_table_def(THD*, st_table_share*, unsigned int)+0x187e) [0x64afae]
      /usr/sbin/mysqld(get_table_share(THD*, TABLE_LIST*, char*, unsigned int, unsigned int, int*)+0x1df) [0x63d1ff]
      /usr/sbin/mysqld [0x63fa50]
      /usr/sbin/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int)+0x708) [0x643b58]
      /usr/sbin/mysqld(open_tables(THD*, TABLE_LIST*, unsigned int, unsigned int)+0x3a6) [0x644606]
      /usr/sbin/mysqld(open_and_lock_tables_derived(THD*, TABLE_LIST*, bool)+0x67) [0x6449e7]
      /usr/sbin/mysqld(plugin_init(int*, char**, int)+0x665) [0x763505]
      /usr/sbin/mysqld [0x5f059b]
      /usr/sbin/mysqld(main+0x618) [0x5f1778]
      /lib64/libc.so.6(__libc_start_main+0xf4) [0x3a21e1d994]
      /usr/sbin/mysqld [0x52c1c9]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query ((nil)): is an invalid pointer
      Connection ID (thread ID): 0
      Status: NOT_KILLED

      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
      110530 16:06:26 mysqld_safe mysqld from pid file /mysql/data/yomamma.dedi.someplace.co.uk.pid ended

      Attachments

        Activity

          People

            serg Sergei Golubchik
            walterheck Walter Heck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.