Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9280

Debian: the Lintian complains about "shlib-calls-exit" in ha_tokudb.so

Details

    • 10.0.24, 10.0.29

    Description

      This is a split from MDEV-8378, priority and fix version inherited.

      Lintian reports: http://labs.seravo.fi/~otto/mariadb-repo/mariadb-10.0-sid-amd64/lintian-0f7cb30.log and https://lintian.debian.org/tags/shlib-calls-exit.html

      The listed shared library calls the C library exit() or _exit() functions.

      In the case of an error, the library should instead return an appropriate error code to the calling program which can then determine how to handle the error, including performing any required clean-up.

      In most cases, removing the call should be discussed with upstream, particularly as it may produce an ABI change.

      Severity: wishlist, Certainty: possible

      Check: shared-libs, Type: binary, udeb

      This tag is marked experimental, which means that the code that generates it is not as well-tested as the rest of Lintian and might still give surprising results. Feel free to ignore experimental tags that do not seem to make sense, though of course bug reports are always welcome.

      nm ./storage/tokudb/ft-index/portability/libtokuportability.so|grep exit

      000000000002e4b0 t atexit
                       U __cxa_atexit@@GLIBC_2.2.5
                       U _exit@@GLIBC_2.2.5
      000000000000f7c0 t stats_print_atexit

      nm ./storage/tokudb/ha_tokudb.so|grep exit

      0000000000162650 t atexit
                       U __cxa_atexit@@GLIBC_2.2.5
                       U _exit@@GLIBC_2.2.5
      0000000000143960 t stats_print_atexit

      Attachments

        Issue Links

          Activity

            This is ok, this _exit is only used on crashes (in the code that tries to generate a stack trace by invoking a gdb).
            The warning could be suppressed.

            serg Sergei Golubchik added a comment - This is ok, this _exit is only used on crashes (in the code that tries to generate a stack trace by invoking a gdb). The warning could be suppressed.

            I have no idea how to solve this. I am unassigning me.

            otto Otto Kekäläinen added a comment - I have no idea how to solve this. I am unassigning me.

            We might drop TokuDB completely in the near future, so marking this a low priority.

            otto Otto Kekäläinen added a comment - We might drop TokuDB completely in the near future, so marking this a low priority.

            We stopped providing TokuDB starting from 10.5, so I don't expect it is going to be fixed.

            elenst Elena Stepanova added a comment - We stopped providing TokuDB starting from 10.5, so I don't expect it is going to be fixed.

            People

              cvicentiu Vicențiu Ciorbaru
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.