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

MariaDB crash if invoked by root

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4.8
    • N/A
    • Galera
    • None
    • Linux marcelo-altmann--standalone-1 4.20.13-1.el7.elrepo.x86_64 #1 SMP Wed Feb 27 10:02:05 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

      cat /etc/redhat-release
      CentOS Linux release 7.6.1810 (Core)

    Description

      Starting mysql as the root user causes the server to segfault:

      [root@marcelo-altmann--standalone-1 mysql]# mysqld
      2019-09-18 18:11:37 0 [Note] mysqld (mysqld 10.4.8-MariaDB) starting as process 5446 ...
      mysqld: Please consult the Knowledge Base to find out how to run mysqld as root!
      2019-09-18 18:11:37 0 [ERROR] Aborting
      190918 18:11:37 [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.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      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.
       
      Server version: 10.4.8-MariaDB
      key_buffer_size=0
      read_buffer_size=131072
      max_used_connections=0
      max_threads=153
      thread_count=0
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 336663 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0
      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 = 0x0 thread_stack 0x49000
      addr2line: 'mysqld': No such file
      mysqld(my_print_stacktrace+0x2e)[0x5562330cd83e]
      mysqld(handle_fatal_signal+0x30f)[0x556232b63e0f]
      sigaction.c:0(__restore_rt)[0x7f767e1f15d0]
      addr2line: 'mysqld': No such file
      mysqld(unireg_abort+0x373)[0x5562328932b3]
      mysqld(_Z11mysqld_mainiPPc+0x963)[0x55623289a323]
      /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f767c4af3d5]
      addr2line: 'mysqld': No such file
      mysqld(+0x5cebd4)[0x55623288dbd4]
      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.
      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units
      Max cpu time              unlimited            unlimited            seconds
      Max file size             unlimited            unlimited            bytes
      Max data size             unlimited            unlimited            bytes
      Max stack size            8388608              unlimited            bytes
      Max core file size        0                    unlimited            bytes
      Max resident set          unlimited            unlimited            bytes
      Max processes             unlimited            unlimited            processes
      Max open files            1048576              1048576              files
      Max locked memory         65536                65536                bytes
      Max address space         unlimited            unlimited            bytes
      Max file locks            unlimited            unlimited            locks
      Max pending signals       1542427              1542427              signals
      Max msgqueue size         819200               819200               bytes
      Max nice priority         0                    0
      Max realtime priority     0                    0
      Max realtime timeout      unlimited            unlimited            us
      Core pattern: core
       
      Segmentation fault
      

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            marcelo.altmann Marcelo Altmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.