[MDEV-9281] Debian: the Lintian complains about "shlib-calls-exit" in handlersocket.so Created: 2015-12-14  Updated: 2016-04-25  Resolved: 2016-04-21

Status: Closed
Project: MariaDB Server
Component/s: Plugins
Affects Version/s: 10.0
Fix Version/s: 10.0.25

Type: Bug Priority: Critical
Reporter: Sergey Vojtovich Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: foundation

Issue Links:
PartOf
is part of MDEV-8378 Debian: the Lintian complains about m... Closed
Sprint: 10.0.25

 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 ./plugin/handler_socket/handlersocket.so|grep exit

                 U _exit@@GLIBC_2.2.5
000000000001f390 T _ZN4dena10fatal_exitERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE



 Comments   
Comment by Sergey Vojtovich [ 2016-04-20 ]

serg, please review fix for this bug.

Comment by Sergei Golubchik [ 2016-04-20 ]

ok to push

Generated at Thu Feb 08 07:33:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.