Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13055

Use of _res in multithreaded programs is problematical

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 21, Sprint 22, Sprint 23, Sprint 24, Sprint 25, Sprint 27
    • Story Points:
      1

      Description

      Steps to reproduce:

      Build zabbix 3.2.x, try to run it.
      You end up with this entry in the zabbix_agentd.log file:

      _res is not supported for multi-threaded programs.

      and zabbix_agentd will abort(), via the "trap" NetBSD has
      for this attempted usage in its pthread library.

      See attached patch file...
      The use of the new resolver interface should probably be
      conditional on an autoconf test for whether it is available;
      the supplied patch does not contain any machinery for that.

        Attachments

          Activity

            People

            • Assignee:
              vso Vladislavs Sokurenko
              Reporter:
              heidnes Håvard Eidnes
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: