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

Assertion `global_status_var.global_memory_used == 0' or warnings "bytes lost" upon failure to start with non-existing init file

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 5.5, 10.0, 10.1, 10.2
    • 10.2
    • Server
    • None

    Description

      I'm not sure it's worth fixing, but I'll file it so that I don't need to think next time whether it's worth filing.

      Start debug server with --init-file=non-existing-file, otherwise defaults

      10.2+

      2017-09-01 15:45:32 140103756365888 [ERROR] mysqld: Can't create/write to file 'non-existing-file' (Errcode: 2 "No such file or directory")
      2017-09-01 15:45:32 140103756365888 [ERROR] Aborting
       
      mysqld: /data/src/10.2/sql/mysqld.cc:2166: void mysqld_exit(int): Assertion `global_status_var.global_memory_used == 0' failed.
      170901 15:45:34 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f41d30d2ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000564c4cbd4f48 in mysqld_exit (exit_code=1) at /data/src/10.2/sql/mysqld.cc:2166
      #9  0x0000564c4cbd4e41 in unireg_abort (exit_code=1) at /data/src/10.2/sql/mysqld.cc:2134
      #10 0x0000564c4cbdcab0 in mysqld_main (argc=12, argv=0x564c4f1cc7e8) at /data/src/10.2/sql/mysqld.cc:5996
      #11 0x0000564c4cbd1540 in main (argc=12, argv=0x7ffc32c19498) at /data/src/10.2/sql/main.cc:25
      

      5.5-10.1

      170901 15:44:23 [ERROR] mysqld: File 'non-existing-file' not found (Errcode: 2)
      170901 15:44:23 [ERROR] Aborting
       
      170901 15:44:23  InnoDB: Starting shutdown...
      170901 15:44:28  InnoDB: Shutdown completed; log sequence number 1621368
      170901 15:44:28 [Note] /data/bld/5.5/bin/mysqld: Shutdown complete
       
      Warning:  248 bytes lost, allocated at mysys/queues.c:79, sql/event_queue.cc:143, sql/events.cc:874, sql/mysqld.cc:4980, sql/main.cc:26, 0x7f7cca3592b1, 0x5509fa
      Warning: 2048 bytes lost, allocated at mysys/array.c:65, mysys/hash.c:92, mysys/thr_mutex.c:178, mysys/thr_mutex.c:320, psi/mysql_thread.h:618, sql/event_queue.cc:714, sql/event_queue.cc:143, sql/events.cc:874
      Warning: 2048 bytes lost, allocated at mysys/array.c:65, mysys/hash.c:92, mysys/thr_mutex.c:173, mysys/thr_mutex.c:320, psi/mysql_thread.h:618, sql/event_queue.cc:714, sql/event_queue.cc:143, sql/events.cc:874
      Warning:  176 bytes lost, allocated at mysys/mulalloc.c:51, mysys/thr_mutex.c:160, mysys/thr_mutex.c:320, psi/mysql_thread.h:618, sql/event_queue.cc:714, sql/event_queue.cc:143, sql/events.cc:874, sql/mysqld.cc:4980
      Warning: 2048 bytes lost, allocated at mysys/array.c:65, mysys/hash.c:92, mysys/thr_mutex.c:178, mysys/thr_mutex.c:320, psi/mysql_thread.h:618, sql/event_scheduler.cc:350, sql/events.cc:867, sql/mysqld.cc:4980
      Warning: 2048 bytes lost, allocated at mysys/array.c:65, mysys/hash.c:92, mysys/thr_mutex.c:173, mysys/thr_mutex.c:320, psi/mysql_thread.h:618, sql/event_scheduler.cc:350, sql/events.cc:867, sql/mysqld.cc:4980
      Warning:  176 bytes lost, allocated at mysys/mulalloc.c:51, mysys/thr_mutex.c:160, mysys/thr_mutex.c:320, psi/mysql_thread.h:618, sql/event_scheduler.cc:350, sql/events.cc:867, sql/mysqld.cc:4980, sql/main.cc:26
      Warning:  288 bytes lost, allocated at mysys/my_new.cc:33, sql/events.cc:868, sql/mysqld.cc:4980, sql/main.cc:26, 0x7f7cca3592b1, 0x5509fa
      Warning:  328 bytes lost, allocated at mysys/my_new.cc:33, sql/events.cc:867, sql/mysqld.cc:4980, sql/main.cc:26, 0x7f7cca3592b1, 0x5509fa
      Warning:    1 bytes lost, allocated at mysys/my_new.cc:33, sql/events.cc:826, sql/mysqld.cc:4980, sql/main.cc:26, 0x7f7cca3592b1, 0x5509fa
      Memory lost: 9409 bytes in 10 chunks
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.