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

Maxscale crashes when starting if .avro and .avsc files are present

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.11
    • Fix Version/s: 2.1.14
    • Component/s: avrorouter
    • Labels:
      None
    • Environment:
      Centos 7.4, x86_64
    • Sprint:
      2017-49, MXS-SPRINT-50

      Description

      Started maxscale. Set up binlog/avro routing. Started slave, it runs through all the binlogs and creates corresponding .avro and .avsc files.

      Killed maxscale, on restarting, we get:

      [root@nf-mdb-maxscale01 dschatt]# /bin/maxscale

      MariaDB Corporation MaxScale 2.1.11 Thu Dec 7 23:08:58 2017
      ------------------------------------------------------
      [root@nf-mdb-maxscale01 dschatt]# maxscale: /home/vagrant/MaxScale/server/modules/routing/avrorouter/avro_rbr.c:630: process_row_event_data: Assertion `ptr < end' failed.
      Fatal: MaxScale 2.1.11 received fatal signal 6. Attempting backtrace.
      Commit ID: source-build System name: Linux Release string: NAME="CentOS Linux"

      /bin/maxscale[0x4043a0]
      /lib64/libpthread.so.0(+0xf5e0)[0x7f01baa385e0]
      /lib64/libc.so.6(gsignal+0x37)[0x7f01b91c11f7]
      /lib64/libc.so.6(abort+0x148)[0x7f01b91c28e8]
      /lib64/libc.so.6(+0x2e266)[0x7f01b91ba266]
      /lib64/libc.so.6(+0x2e312)[0x7f01b91ba312]
      /usr/lib64/maxscale/libavrorouter.so(process_row_event_data+0x11a7)[0x7f01b5620eb1]
      /usr/lib64/maxscale/libavrorouter.so(handle_row_event+0x56a)[0x7f01b561f514]
      /usr/lib64/maxscale/libavrorouter.so(avro_read_all_events+0xa50)[0x7f01b562363e]
      /usr/lib64/maxscale/libavrorouter.so(converter_func+0xbd)[0x7f01b5616231]
      /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x466a4)[0x7f01bb1666a4]
      /lib64/libpthread.so.0(+0x7e25)[0x7f01baa30e25]
      /lib64/libc.so.6(clone+0x6d)[0x7f01b928434d]

      Writing core dump

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            schatt Drew Schatt
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.