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

Assertion `query_cache_size_arg == 0' fails on server startup with --query-cache-size=1M --query-cache-type=OFF

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5.36, 10.0.9
    • Fix Version/s: 10.0, 5.5
    • Component/s: None
    • Labels:
      None

      Description

      Start server with --query-cache-size=1M --query-cache-type=OFF

      mysqld: 5.5/sql/sql_cache.cc:1297: ulong Query_cache::resize(ulong): Assertion `query_cache_size_arg == 0' failed.
      140315  0:06:34 [ERROR] mysqld got signal 6 ;
      
      #4  0x00007f33a6c6e475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      #5  0x00007f33a6c716f0 in *__GI_abort () at abort.c:92
      #6  0x00007f33a6c67621 in *__GI___assert_fail (assertion=0xd7aa8c "query_cache_size_arg == 0", file=<optimized out>, line=1297, function=0xd7d600 "ulong Query_cache::resize(ulong)") at assert.c:81
      #7  0x00000000005e83aa in Query_cache::resize (this=0x1584ce0, query_cache_size_arg=1048576) at 5.5/sql/sql_cache.cc:1297
      #8  0x00000000005884e4 in init_server_components () at 5.5/sql/mysqld.cc:4155
      #9  0x0000000000589aca in mysqld_main (argc=13, argv=0x7f33a644d190) at 5.5/sql/mysqld.cc:4934
      #10 0x0000000000581f9c in main (argc=13, argv=0x7ffffea954c8) at 5.5/sql/main.cc:25
      

      stack trace from:

      revision-id: psergey@askmonty.org-20140311180702-1pntx903p1df1fyn
      date: 2014-03-11 19:07:02 +0100
      build-date: 2014-03-15 00:13:39 +0400
      revno: 4108
      branch-nick: 5.5
      

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: