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

Crash with mysql client test `test_bug49972`

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2.5
    • qc_sqlite
    • None

    Description

      crash at execute following code

       stmt= mysql_simple_prepare(mysql, "CALL p1((SELECT f1()), ?)");
      

      stack:

      bin/maxscale[0x407991]
      /lib64/libpthread.so.0(+0xf100)[0x7f6f68801100]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x1846b)[0x7f6f621fb46b]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x13640)[0x7f6f621f6640]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x70449)[0x7f6f62253449]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x74f4b)[0x7f6f62257f4b]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x753ac)[0x7f6f622583ac]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x7588c)[0x7f6f6225888c]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0x75915)[0x7f6f62258915]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0xb2a4)[0x7f6f621ee2a4]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libqc_sqlite.so(+0xc685)[0x7f6f621ef685]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libmaxscale-common.so.1.0.0(qc_get_type_mask+0x1b)[0x7f6f68cecfeb]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libreadwritesplit.so(_Z20determine_query_typeP5gwbufi+0x49)[0x7f6f630db149]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libreadwritesplit.so(_Z15get_target_typeP14RWSplitSessionP5gwbufPhPjS4_+0x1b6)[0x7f6f630dc1e6]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libreadwritesplit.so(_ZN9RouteInfoC1EP14RWSplitSessionP5gwbuf+0x33)[0x7f6f630dab23]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libreadwritesplit.so(+0x7d20)[0x7f6f630d6d20]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libmariadbclient.so(+0x3f6a)[0x7f6f6248df6a]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x586aa)[0x7f6f68cd36aa]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x58848)[0x7f6f68cd3848]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN8maxscale6Worker15poll_waiteventsEv+0x1c1)[0x7f6f68d0fa41]
      /home/wuzang.hdp/run/mxs2/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN8maxscale6Worker3runEv+0x72)[0x7f6f68d0fcb2]
      

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            dapeng dapeng huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.