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

Incorrect error message and memory free issue when using non-existing init file

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8
    • 10.4, 10.5, 10.6
    • Server
    • None

    Description

      # mysqld options required for replay:  --init-file=/nonexisting
      

      Leads to:

      10.8.0 ccdf5711a8fff0cd610a91fdcf37c8ff1182878c (Optimized)

      2021-12-12 13:40:51 0 [ERROR] mysqld: Can't create/write to file '/nonexisting' (Errcode: 2 "No such file or directory")
      2021-12-12 13:40:51 0 [ERROR] Aborting
      Warning: Memory not freed: 552
      

      10.2.42 (Debug)

      2021-12-12 13:44:47 23317388879808 [ERROR] mysqld: Can't create/write to file '/nonexisting' (Errcode: 2 "No such file or directory")
      2021-12-12 13:44:47 23317388879808 [ERROR] Aborting
       
      Warning: Memory not freed: 8856
      Warning:  248 bytes lost at 0x55b0cfb8a9d0, allocated by T@0 at mysys/queues.c:78, sql/event_queue.cc:142, sql/events.cc:949, sql/mysqld.cc:6075, sql/main.cc:26, csu/libc-start.c:342, 0x55b0cc8eb07e
      Warning: 2048 bytes lost at 0x55b0cfb8a150, allocated by T@0 at mysys/array.c:70, mysys/hash.c:98, mysys/thr_mutex.c:176, sql/event_queue.cc:714, sql/event_queue.cc:142, sql/events.cc:949, sql/mysqld.cc:6075, sql/main.cc:26
      Warning: 2048 bytes lost at 0x55b0cfb898d0, allocated by T@0 at mysys/array.c:70, mysys/hash.c:98, mysys/thr_mutex.c:176, sql/event_queue.cc:714, sql/event_queue.cc:142, sql/events.cc:949, sql/mysqld.cc:6075, sql/main.cc:26
      Warning:  208 bytes lost at 0x55b0cfb89780, allocated by T@0 at mysys/mulalloc.c:51, mysys/thr_mutex.c:158, sql/event_queue.cc:714, sql/event_queue.cc:142, sql/events.cc:949, sql/mysqld.cc:6075, sql/main.cc:26, csu/libc-start.c:342
      Warning: 2048 bytes lost at 0x55b0cfb88f00, allocated by T@0 at mysys/array.c:70, mysys/hash.c:98, mysys/thr_mutex.c:176, psi/mysql_thread.h:693, sql/events.cc:943, sql/mysqld.cc:6075, sql/main.cc:26, csu/libc-start.c:342
      Warning: 2048 bytes lost at 0x55b0cfb88680, allocated by T@0 at mysys/array.c:70, mysys/hash.c:98, mysys/thr_mutex.c:176, psi/mysql_thread.h:693, sql/events.cc:943, sql/mysqld.cc:6075, sql/main.cc:26, csu/libc-start.c:342
      Warning:  208 bytes lost at 0x55b0cfb88530, allocated by T@0 at mysys/mulalloc.c:51, mysys/thr_mutex.c:158, psi/mysql_thread.h:693, sql/events.cc:943, sql/mysqld.cc:6075, sql/main.cc:26, csu/libc-start.c:342, 0x55b0cc8eb07e
      Memory lost: 8856 bytes in 7 chunks
      

      The message should read "mysqd: Can't read file '/nonexisting'"

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            Roel Roel Van de Paar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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