Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-74

Crash when no arguments given to on_queries clause

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • dbfwfilter
    • None
    • CentOS 6.6

    Description

      [root@max1 ~]# cat /home/skysql/dbfwfilter_rules.txt
      rule testrule deny no_where_clause on_queries
      users kolbe@% testuser@% match all rules testrule
       
      [root@max1 ~]# service maxscale restart
      Stopping MaxScale:                                         [FAILED]
      Starting MaxScale: maxscale (pid 4219) is running...       [  OK  ]
       
      [root@max1 ~]# mysql -h 192.168.30.38 -P4006 -u kolbe -ppass  -e 'select * from test.t1';
      ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 0 "Internal error/check (Not system error)"
       
      [root@max1 ~]# tail -n 20 /usr/local/mariadb-maxscale/log/skygw_err1.log
      ---     Logging is enabled.
      2015-03-30 13:27:30   Error : Unable to get user data from backend database for service [tee test frontend]. Missing server information.
      2015-03-30 13:27:30   Error : Unable to load users from 0.0.0.0:4011 for service tee test frontend.
      2015-03-30 13:27:30   Error : Failed to start service 'tee test frontend'.
      2015-03-30 13:27:30   Error : Failed to start service 'tee test backend'.
      2015-03-30 13:27:34   Fatal: MaxScale received fatal signal 11. Attempting backtrace.
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale() [0x503d0c]
      2015-03-30 13:27:34     /lib64/libpthread.so.0(+0xf710) [0x7fa064835710]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/modules/libdbfwfilter.so(parse_querytypes+0x4a) [0x7fa04c2bde5b]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/modules/libdbfwfilter.so(parse_rule+0xa8e) [0x7fa04c2bf556]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/modules/libdbfwfilter.so(+0x5918) [0x7fa04c2bf918]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale(filterApply+0x9c) [0x524aab]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale() [0x50f57a]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale(session_alloc+0x32b) [0x50e04f]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/modules/libMySQLClient.so(+0x5174) [0x7fa04d2e6174]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale() [0x515dd5]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale(poll_waitevents+0x634) [0x515694]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale(main+0x1a45) [0x50685c]
      2015-03-30 13:27:34     /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fa0630d4d5d]
      2015-03-30 13:27:34     /usr/local/mariadb-maxscale/bin/maxscale() [0x502b29]

      Attachments

        Activity

          People

            tturenko Timofey Turenko
            kolbe Kolbe Kegel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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