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

On CentOS/RHEL 5 64 bit unload module gets SIGSEGV

XMLWordPrintable

      The line

      *(void **)(&func_uninit) = dlsym(*module, ZBX_MODULE_FUNC_UNINIT);

      seems to hit a bug in the C compiler that ships with EL 5 and the process received a SIGSEGV. On the other hand this C construction is not very good practice.

      I created an small patch that fixes the problem and must be OK in any UNIX dialect.

        1. zabbix_agentd.log
          4 kB
        2. zabbix_agentd.log
          17 kB
        3. zabbix-module.patch
          1 kB
        4. zabbix-module.patch
          3 kB

            Unassigned Unassigned
            bruno Bruno Alberto Crespo Garcia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: