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

Unaligned memory access on ARMv7

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.0.20, 7.2.14, 7.4.4, 8.0.0alpha1
    • Proxy (P), Server (S)
    • None
    • Linux/ARMv7
    • Support backlog

      Steps to reproduce:

      1. Run Zabbix Server 7.0.20 on architecture which is unhappy about unaligned memory access like ARMv7
      2. Wait just a while for some data collection
      3. Unaligned memory access occurs
      4. Possibly leads to server crashes - remains to be confirmed what's the cause

      Result:
      When compiled with Undefined Behavior Sanitizer many errors like:

      sha512crypt.c:243:28: runtime error: store to misaligned address 0x7ebd077c for type 'uint64_t', which requires 8 byte alignment
      0x7ebd077c: note: pointer points here
        7c 9f 02 69 00 00 00 00  09 8c 4b 23 00 00 00 00  20 d9 2f 75 00 0d dd 7f  d4 07 bd 7e 99 a6 99 00
                    ^  

      Expected:
      No unaligned memory access and crashes.

            zabbix.dev Zabbix Development Team
            jpalus Jan Palus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: