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

Server crashes in THD::print_aborted_warning with log_warnings > 3

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.25
    • Fix Version/s: 5.5.27
    • Component/s: None
    • Labels:
      None

      Description

      #3  <signal handler called>
      #4  0x00000000005683cf in THD::print_aborted_warning (this=0x2881e30, threshold=3, reason=0x2664227 "Too many connections") at sql/sql_class.h:3031
      #5  0x000000000055e8b9 in close_connection (thd=0x2881e30, sql_errno=1040) at sql/mysqld.cc:2361
      #6  0x00000000005634b9 in create_new_thread (thd=0x2881e30) at sql/mysqld.cc:5404
      #7  0x0000000000563cbd in handle_connections_sockets () at sql/mysqld.cc:5690
      #8  0x0000000000562b48 in mysqld_main (argc=75, argv=0x26123c0) at sql/mysqld.cc:4960
      #9  0x000000000055af14 in main (argc=6, argv=0x7fff6545def8) at sql/main.c

      bzr version-info

      revision-id: monty@askmonty.org-20120627141312-z65pj80390f0f5pp
      date: 2012-06-27 17:13:12 +0300
      build-date: 2012-06-30 16:09:38 +0400
      revno: 3460

      Not reproducible on MariaDB 5.1-5.3, MySQL 5.5.25.

      Test case:

      SET GLOBAL log_warnings=4;
      SET GLOBAL max_connections=2;
       
      --connect (con1,localhost,root,,)
      SELECT 1;
      --connect (con2,localhost,root,,)
      SELECT 2;
      --error ER_CON_COUNT_ERROR
      --connect (con3,localhost,root,,)
       
      --connection default
      SELECT 0;

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              elenst Elena Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: