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

Use of _res in multithreaded programs is problematical

XMLWordPrintable

    • Sprint 21, Sprint 22, Sprint 23, Sprint 24, Sprint 25, Sprint 27
    • 1

      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.

        1. diff
          3 kB
          Håvard Eidnes

            vso Vladislavs Sokurenko
            heidnes Håvard Eidnes
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: