Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-593

Periodic SIGABORT in MariaDB ANSI C API

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 3.1.17
    • N/A
    • Other
    • None
    • CentOS8.4

    Description

      We are periodically, maybe once a week receiving a sigabort from one of our binaries. The backtrack looks to be deep in the bowels of the API. Wondering if there is a way or method to mitigate this issue. Backtrace is below.

      <snip>
      Program terminated with signal SIGABRT, Aborted.
      #0  0x00007f8054fdb37f in raise () from /lib64/libc.so.6
      [Current thread is 1 (Thread 0x7f801cc31700 (LWP 2245832))]
      Missing separate debuginfos, use: yum debuginfo-install MariaDB-shared-10.5.15-1.el8.x86_64 glibc-2.28-151.el8.x86_64 libgcc-8.4.1-1.el8.x86_64 net-snmp-libs-5.8-20.el8.x86_64 openssl-libs-1.1.1g-15.el8_3.x86_64 zlib-1.2.11-17.el8.x86_64
      (gdb) bt full
      #0  0x00007f8054fdb37f in raise () from /lib64/libc.so.6
      No symbol table info available.
      #1  0x00007f8054fc5e7e in abort () from /lib64/libc.so.6
      No symbol table info available.
      #2  0x00007f805501e4e7 in __libc_message () from /lib64/libc.so.6
      No symbol table info available.
      #3  0x00007f80550255ec in malloc_printerr () from /lib64/libc.so.6
      No symbol table info available.
      #4  0x00007f805502739c in _int_free () from /lib64/libc.so.6
      No symbol table info available.
      #5  0x00007f80550294d5 in _int_realloc () from /lib64/libc.so.6
      No symbol table info available.
      #6  0x00007f805502a67b in realloc () from /lib64/libc.so.6
      No symbol table info available.
      #7  0x00007f80564ba6e3 in ma_real_read () from /lib64/libmariadb.so.3
      No symbol table info available.
      #8  0x00007f80564bb27c in ma_net_read () from /lib64/libmariadb.so.3
      No symbol table info available.
      #9  0x00007f80564c080d in ma_net_safe_read () from /lib64/libmariadb.so.3
      No symbol table info available.
      #10 0x00007f80564c4595 in mthd_my_read_query_result () from /lib64/libmariadb.so.3
      No symbol table info available.
      #11 0x00000000004051eb in db_query (mysql=mysql@entry=0x7f801cc0ece0, type=type@entry=0,
          query=query@entry=0x7f801cc0bce0 "UPDATE host SET polling_time = 1652553324.859 - 1652553307.272 WHERE id = 8476") at sql.c:157
              mysql_res = 0x0
              error = <optimized out>
              error_count = 0
      <snip>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            TheWitness Larry Adams
            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.