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

Crash in libqc_sqlite

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • qc_sqlite
    • None
    • Debian 8 / VMWare

    Description

      Hello,

      as originally reported on the google forum, one of our maxscale instances, fresh updated from 1.2.1 to 2.0.1 is experiencing a hard crash repeatedly:

      2016-11-16 12:56:25   debug  : 139798090082048 [gw_MySQLWrite_backend] write to dcb 0x7f25380125e0 fd 16 protocol state MYSQL_IDLE.
      2016-11-16 12:56:25   debug  : 139798090082048 [dcb_write] Append to writequeue. 1204 writes buffered for dcb 0x7f25380125e0 in state DCB_STATE_POLLING fd 16
      2016-11-16 12:56:25   debug  : 139798090082048 [poll_waitevents] epoll_wait found 1 fds
      2016-11-16 12:56:25   debug  : 139798090082048 [poll_waitevents] event 5 dcb 0x1ee1c30 role DCB_ROLE_CLIENT_HANDLER
      2016-11-16 12:56:25   debug  : 139798090082048 [poll_waitevents] Read in dcb 0x1ee1c30 fd 98
      2016-11-16 12:56:25   debug  : 139798090082048 [dcb_read] Read 40 bytes from dcb 0x1ee1c30 in state DCB_STATE_POLLING fd 98.
      2016-11-16 12:56:25   error  : Fatal: MaxScale 2.0.1 received fatal signal 11. Attempting backtrace.
      2016-11-16 12:56:25   error  : Commit ID: fa2a66719554d13a00db5c81c5c9ffd5b3a2ce14 System name: Linux Release string: undefined
      2016-11-16 12:56:25   error  :   /usr/bin/maxscale() [0x403bdf] 
      2016-11-16 12:56:25   error  :   /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f25541628d0] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x524d8) [0x7f254de954d8] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x50e26) [0x7f254de93e26] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x50f11) [0x7f254de93f11] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x53a70) [0x7f254de96a70] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x53b54) [0x7f254de96b54] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x535fd) [0x7f254de965fd] 
      2016-11-16 12:56:25   debug  : 139798315820928 [poll_waitevents] epoll_wait found 1 fds
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x511ac) [0x7f254de941ac] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x53bd8) [0x7f254de96bd8] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x7e135) [0x7f254dec1135] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x7e8bd) [0x7f254dec18bd] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x94b25) [0x7f254ded7b25] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0xaae2) [0x7f254de4dae2] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x95fda) [0x7f254ded8fda] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x9a92d) [0x7f254dedd92d] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x9bbe1) [0x7f254dedebe1] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x75251) [0x7f254deb8251] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x75583) [0x7f254deb8583] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x756fc) [0x7f254deb86fc] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x8b9f) [0x7f254de4bb9f] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x8f2d) [0x7f254de4bf2d] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x88de) [0x7f254de4b8de] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0x8952) [0x7f254de4b952] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so(+0xcab8) [0x7f254de4fab8] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(qc_get_type+0x20) [0x7f2554a8c39b] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libreadwritesplit.so(+0x4e67) [0x7f254e311e67] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libreadwritesplit.so(+0x4cdc) [0x7f254e311cdc] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libMySQLClient.so(+0x3674) [0x7f254d238674] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libMySQLClient.so(+0x2c06) [0x7f254d237c06] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libMySQLClient.so(+0x2b6f) [0x7f254d237b6f] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libMySQLClient.so(+0x2514) [0x7f254d237514] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x47840) [0x7f2554a8e840] 
      2016-11-16 12:56:25   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(poll_waitevents+0x5f9) [0x7f2554a8e103] 
      2016-11-16 12:56:25   error  :   /usr/bin/maxscale(worker_thread_main+0x2a) [0x404a82] 
      2016-11-16 12:56:25   error  :   /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f255415b0a4] 
      2016-11-16 12:56:25   error  :   /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2552c2a62d] 
      

      The crash happens practically constantly (2-3 times a minute) when under load, can't reproduce it under testing conditions.

      Attachments

        Issue Links

          Activity

            People

              johan.wikman Johan Wikman
              mensonen Mikko Mensonen
              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.