Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4283

Crash/assertion failure after "RWLock failed to attach to the InfiniDB-shm-00020000 shared mem segment, got Permission denied"



    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.5.3
    • 5.4.1
    • None
    • None
    • 2020-8


      Assertion failure happens after the RWLock failure reported:

      2020-08-28 17:46:08 0 [Note] /usr/sbin/mariadbd: ready for connections.
      Version: '10.5.4-2-MariaDB-enterprise-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MariaDB Enterprise Server
      2020-08-28 17:46:11 0 [Note] InnoDB: Buffer pool(s) load completed at 200828 17:46:11
      RWLock failed to attach to the InfiniDB-shm-00020000 shared mem segment, got Permission denied
      ControllerSegmentTable: RWLock() threw: Permission denied
      terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
        what():  Permission denied
      200828 18:08:30 [ERROR] mysqld got signal 6 ;
      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.5.4-2-MariaDB-enterprise-log
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467809 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      Thread pointer: 0x7fe5f00009b8
      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 = 0x7feeb015fc90 thread_stack 0x49000
      ??:0(execplan::CalpontSystemCatalog::makeCalpontSystemCatalog(unsigned int))[0x7feec5173448]
      ??:0(ha_cs_impl_pushdown_init(mcs_handler_info*, TABLE*))[0x7feed196c33f]
      ??:0(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x560432c7e646]
      ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x560432c7f1ac]
      ??:0(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x560432c26c22]
      ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x560432c28fbc]
      ??:0(do_handle_one_connection(CONNECT*, bool))[0x560432d15109]
      ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x560433093c3d]
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7fe5f0114148): select  `schema`, TABLENAME, COLUMNNAME COLNAME, OBJECTID, DICTOBJECTID DICT,   case datatype when 0 then 'BIT'                 when 1 then 'TINYINT'                when 2 then 'CHAR'                when 3 then 'SMALLINT'                when 4 then 'DECIMAL'                when 5 then 'MEDINT'                when 6 then 'INT'                when 7 then 'FLOAT'                when 8 then 'DATE'                when 9 then 'BIGINT'                when 10 then 'DOUBLE'                when 11 then 'DATETIME'                when 12 then 'VARCHAR'                when 13 then 'CLOB'                when 14 then 'BLOB'                when 15 then 'TEXT'                end DATATYPE,   SCALE, PREC, COLUMNLENGTH COLLEN, COLUMNPOSITION POS, COMPRESSIONTYPE CT from  syscolumn order by  `schema`, TABLENAME, POS
      Connection ID (thread ID): 1182
      Status: NOT_KILLED


        Issue Links



              dleeyh Daniel Lee (Inactive)
              valerii Valerii Kravchuk
              0 Vote for this issue
              5 Start watching this issue



                Git Integration

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