Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1945

mxs_adapter throws malloc error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.3, 1.2.1
    • Fix Version/s: 1.1.7, 1.2.3
    • Component/s: CDC streaming adapter
    • Labels:
      None
    • Environment:
      Centos 7.3.1611
      CentOS 7.5
    • Sprint:
      2018-20, 2018-21

      Description

      mariadb-columnstore-api-1.1.6-1.x68_64
      maxscale-cdc-connector-2.2.16-1.x86_64
      mariadb-columnstore-data-adapters-mxs_adapter-1.1.6-1.x86_64
      maxscale-2.2.16-1.x86_64

      [maxscale@ip-10-107-4-240 log]$ mxs_adapter -u streamer -p otcmarkets -h 10.107.4.240 -P 4001 -c /home/maxscale/Columnstore.xml md_warehouse jackie

          • Error in `mxs_adapter': malloc(): memory corruption (fast): 0x00007f3cac001170 ***
            ======= Backtrace: =========
            /lib64/libc.so.6(+0x7ada4)[0x7f3cb5e9fda4]
            /lib64/libc.so.6(+0x7ddc7)[0x7f3cb5ea2dc7]
            /lib64/libc.so.6(__libc_malloc+0x4c)[0x7f3cb5ea4fbc]
            /lib64/libstdc++.so.6(_Znwm+0x1d)[0x7f3cb675d0cd]
            /lib64/libstdc++.so.6(_ZNSs4_Rep9_S_createEmmRKSaIcE+0x59)[0x7f3cb67bbc79]
            /lib64/libstdc++.so.6(_ZNSs9_M_mutateEmmm+0x66)[0x7f3cb67bbe66]
            /lib64/libstdc++.so.6(_ZNSs15_M_replace_safeEmmPKcm+0x1e)[0x7f3cb67bc42e]
            /lib64/libcdc_connector.so.1.0.0(_ZN3CDC10Connection8read_rowERSs+0x555)[0x7f3cb83069e5]
            /lib64/libcdc_connector.so.1.0.0(_ZN3CDC10Connection11read_schemaEv+0x55)[0x7f3cb83078a5]
            /lib64/libcdc_connector.so.1.0.0(ZN3CDC10Connection7connectERKSsS2+0x287)[0x7f3cb8307e27]
            mxs_adapter(_Z12processTableRSt10unique_ptrI7ContextSt14default_deleteIS0_EE+0xb1)[0x41d181]
            mxs_adapter(_Z11streamTableSsSs+0x20c)[0x41d83c]
            mxs_adapter(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvSsSsESsSsEEE6_M_runEv+0x37)[0x41eeb7]
            /lib64/libstdc++.so.6(+0xb5230)[0x7f3cb67b3230]
            /lib64/libpthread.so.0(+0x7dc5)[0x7f3cb74fbdc5]
            /lib64/libc.so.6(clone+0x6d)[0x7f3cb5f1c73d]
            ======= Memory map: ========
            00400000-00474000 r-xp 00000000 ca:02 8420810 /usr/bin/mxs_adapter
            00674000-0067b000 r--p 00074000 ca:02 8420810 /usr/bin/mxs_adapter
            0067b000-0067e000 rw-p 0007b000 ca:02 8420810 /usr/bin/mxs_adapter
            0067e000-00680000 rw-p 00000000 00:00 0
            01bc7000-01be8000 rw-p 00000000 00:00 0 [heap]
            7f3ca4000000-7f3ca4021000 rw-p 00000000 00:00 0
            7f3ca4021000-7f3ca8000000 ---p 00000000 00:00 0
            7f3cac000000-7f3cac049000 rw-p 00000000 00:00 0
            7f3cac049000-7f3cb0000000 ---p 00000000 00:00 0
            7f3cb3bbd000-7f3cb3bbe000 ---p 00000000 00:00 0
            7f3cb3bbe000-7f3cb43be000 rw-p 00000000 00:00 0 [stack:4606]
            7f3cb43be000-7f3cb441e000 r-xp 00000000 ca:02 8531153 /usr/lib64/libpcre.so.1.2.0
            7f3cb441e000-7f3cb461d000 ---p 00060000 ca:02 8531153 /usr/lib64/libpcre.so.1.2.0
            7f3cb461d000-7f3cb461e000 r--p 0005f000 ca:02 8531153 /usr/lib64/libpcre.so.1.2.0
            7f3cb461e000-7f3cb461f000 rw-p 00060000 ca:02 8531153 /usr/lib64/libpcre.so.1.2.0
            7f3cb461f000-7f3cb4643000 r-xp 00000000 ca:02 8508570 /usr/lib64/libselinux.so.1
            7f3cb4643000-7f3cb4842000 ---p 00024000 ca:02 8508570 /usr/lib64/libselinux.so.1
            7f3cb4842000-7f3cb4843000 r--p 00023000 ca:02 8508570 /usr/lib64/libselinux.so.1
            7f3cb4843000-7f3cb4844000 rw-p 00024000 ca:02 8508570 /usr/lib64/libselinux.so.1
            7f3cb4844000-7f3cb4846000 rw-p 00000000 00:00 0
            7f3cb4846000-7f3cb485c000 r-xp 00000000 ca:02 8508516 /usr/lib64/libresolv-2.17.so
            7f3cb485c000-7f3cb4a5c000 ---p 00016000 ca:02 8508516 /usr/lib64/libresolv-2.17.so
            7f3cb4a5c000-7f3cb4a5d000 r--p 00016000 ca:02 8508516 /usr/lib64/libresolv-2.17.so
            7f3cb4a5d000-7f3cb4a5e000 rw-p 00017000 ca:02 8508516 /usr/lib64/libresolv-2.17.so
            7f3cb4a5e000-7f3cb4a60000 rw-p 00000000 00:00 0
            7f3cb4a60000-7f3cb4a63000 r-xp 00000000 ca:02 8531711 /usr/lib64/libkeyutils.so.1.5
            7f3cb4a63000-7f3cb4c62000 ---p 00003000 ca:02 8531711 /usr/lib64/libkeyutils.so.1.5
            7f3cb4c62000-7f3cb4c63000 r--p 00002000 ca:02 8531711 /usr/lib64/libkeyutils.so.1.5
            7f3cb4c63000-7f3cb4c64000 rw-p 00003000 ca:02 8531711 /usr/lib64/libkeyutils.so.1.5
            7f3cb4c64000-7f3cb4c71000 r-xp 00000000 ca:02 8532641 /usr/lib64/libkrb5support.so.0.1
            7f3cb4c71000-7f3cb4e71000 ---p 0000d000 ca:02 8532641 /usr/lib64/libkrb5support.so.0.1
            7f3cb4e71000-7f3cb4e72000 r--p 0000d000 ca:02 8532641 /usr/lib64/libkrb5support.so.0.1
            7f3cb4e72000-7f3cb4e73000 rw-p 0000e000 ca:02 8532641 /usr/lib64/libkrb5support.so.0.1
            7f3cb4e73000-7f3cb4ea2000 r-xp 00000000 ca:02 8532632 /usr/lib64/libk5crypto.so.3.1
            7f3cb4ea2000-7f3cb50a1000 ---p 0002f000 ca:02 8532632 /usr/lib64/libk5crypto.so.3.1
            7f3cb50a1000-7f3cb50a3000 r--p 0002e000 ca:02 8532632 /usr/lib64/libk5crypto.so.3.1
            7f3cb50a3000-7f3cb50a4000 rw-p 00030000 ca:02 8532632 /usr/lib64/libk5crypto.so.3.1
            7f3cb50a4000-7f3cb50a5000 rw-p 00000000 00:00 0
            7f3cb50a5000-7f3cb50a8000 r-xp 00000000 ca:02 8531226 /usr/lib64/libcom_err.so.2.1
            7f3cb50a8000-7f3cb52a7000 ---p 00003000 ca:02 8531226 /usr/lib64/libcom_err.so.2.1
            7f3cb52a7000-7f3cb52a8000 r--p 00002000 ca:02 8531226 /usr/lib64/libcom_err.so.2.1
            7f3cb52a8000-7f3cb52a9000 rw-p 00003000 ca:02 8531226 /usr/lib64/libcom_err.so.2.1
            7f3cb52a9000-7f3cb537f000 r-xp 00000000 ca:02 8532639 /usr/lib64/libkrb5.so.3.3
            7f3cb537f000-7f3cb557f000 ---p 000d6000 ca:02 8532639 /usr/lib64/libkrb5.so.3.3
            7f3cb557f000-7f3cb558d000 r--p 000d6000 ca:02 8532639 /usr/lib64/libkrb5.so.3.3
            7f3cb558d000-7f3cb5590000 rw-p 000e4000 ca:02 8532639 /usr/lib64/libkrb5.so.3.3
            7f3cb5590000-7f3cb55db000 r-xp 00000000 ca:02 8532628 /usr/lib64/libgssapi_krb5.so.2.2
            7f3cb55db000-7f3cb57db000 ---p 0004b000 ca:02 8532628 /usr/lib64/libgssapi_krb5.so.2.2
            7f3cb57db000-7f3cb57dc000 r--p 0004b000 ca:02 8532628 /usr/lib64/libgssapi_krb5.so.2.2
            7f3cb57dc000-7f3cb57de000 rw-p 0004c000 ca:02 8532628 /usr/lib64/libgssapi_krb5.so.2.2
            7f3cb57de000-7f3cb5803000 r-xp 00000000 ca:02 8508562 /usr/lib64/liblzma.so.5.2.2
            7f3cb5803000-7f3cb5a02000 ---p 00025000 ca:02 8508562 /usr/lib64/liblzma.so.5.2.2
            7f3cb5a02000-7f3cb5a03000 r--p 00024000 ca:02 8508562 /usr/lib64/liblzma.so.5.2.2
            7f3cb5a03000-7f3cb5a04000 rw-p 00025000 ca:02 8508562 /usr/lib64/liblzma.so.5.2.2
            7f3cb5a04000-7f3cb5a1a000 r-xp 00000000 ca:02 8508497 /usr/lib64/libnsl-2.17.so
            7f3cb5a1a000-7f3cb5c19000 ---p 00016000 ca:02 8508497 /usr/lib64/libnsl-2.17.so
            7f3cb5c19000-7f3cb5c1a000 r--p 00015000 ca:02 8508497 /usr/lib64/libnsl-2.17.so2018-11-15 16:05:05 [md_warehouse.jackie] Received fatal signal 6
            mxs_adapter[0x42bfd5]
            /lib64/libpthread.so.0(+0xf370)[0x7f3cb7503370]
            /lib64/libc.so.6(gsignal+0x37)[0x7f3cb5e5a1d7]
            /lib64/libc.so.6(abort+0x148)[0x7f3cb5e5b8c8]
            /lib64/libc.so.6(+0x74f07)[0x7f3cb5e99f07]
            /lib64/libc.so.6(+0x7ada4)[0x7f3cb5e9fda4]
            /lib64/libc.so.6(+0x7ddc7)[0x7f3cb5ea2dc7]
            /lib64/libc.so.6(__libc_malloc+0x4c)[0x7f3cb5ea4fbc]
            /lib64/libstdc++.so.6(_Znwm+0x1d)[0x7f3cb675d0cd]
            /lib64/libstdc++.so.6(_ZNSs4_Rep9_S_createEmmRKSaIcE+0x59)[0x7f3cb67bbc79]
            /lib64/libstdc++.so.6(_ZNSs9_M_mutateEmmm+0x66)[0x7f3cb67bbe66]
            /lib64/libstdc++.so.6(_ZNSs15_M_replace_safeEmmPKcm+0x1e)[0x7f3cb67bc42e]
            /lib64/libcdc_connector.so.1.0.0(_ZN3CDC10Connection8read_rowERSs+0x555)[0x7f3cb83069e5]
            /lib64/libcdc_connector.so.1.0.0(_ZN3CDC10Connection11read_schemaEv+0x55)[0x7f3cb83078a5]
            /lib64/libcdc_connector.so.1.0.0(ZN3CDC10Connection7connectERKSsS2+0x287)[0x7f3cb8307e27]
            mxs_adapter(_Z12processTableRSt10unique_ptrI7ContextSt14default_deleteIS0_EE+0xb1)[0x41d181]
            mxs_adapter(_Z11streamTableSsSs+0x20c)[0x41d83c]
            mxs_adapter(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvSsSsESsSsEEE6_M_runEv+0x37)[0x41eeb7]
            /lib64/libstdc++.so.6(+0xb5230)[0x7f3cb67b3230]
            /lib64/libpthread.so.0(+0x7dc5)[0x7f3cb74fbdc5]
            /lib64/libc.so.6(clone+0x6d)[0x7f3cb5f1c73d]
            Aborted

        Attachments

          Activity

            People

            Assignee:
            winstone Zdravelina Sokolovska (Inactive)
            Reporter:
            toddstoffel Todd Stoffel
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration