Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 526
    • Issues 526
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 94
    • Merge requests 94
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #2455
Closed
Open
Created Jan 29, 2021 by Michal Nowak@mnowakOwner

tcpdns_test.c: runtime error: load of misaligned address for type 'uint64_t'

On Fedora 33 with gcc version 10.2.1 20201125 (Red Hat 10.2.1-9) and Buster GCC 8.3.0 with ASAN, I get following runtime errors:

[==========] Running 8 test(s).
[ RUN      ] tcpdns_recv_one
tcpdns_test.c:481:8: runtime error: load of misaligned address 0x621000b4f10a for type 'uint64_t', which requires 8 byte alignment
0x621000b4f10a: note: pointer points here
 00 00  00 08 e0 d9 8c c0 55 ec  da b3 be be be be be be  be be be be be be be be  be be be be be be
              ^ 
[       OK ] tcpdns_recv_one
[ RUN      ] tcpdns_recv_two
tcpdns_test.c:331:8: runtime error: load of misaligned address 0x6210012df50a for type 'uint64_t', which requires 8 byte alignment
0x6210012df50a: note: pointer points here
 00 00  00 08 9d 1e 22 f3 c3 e2  6f 27 be be be be be be  be be be be be be be be  be be be be be be
              ^ 
[       OK ] tcpdns_recv_two
[ RUN      ] tcpdns_noop
[       OK ] tcpdns_noop
[ RUN      ] tcpdns_noresponse
[       OK ] tcpdns_noresponse
[ RUN      ] tcpdns_recv_send
[       OK ] tcpdns_recv_send
[ RUN      ] tcpdns_recv_half_send
[       OK ] tcpdns_recv_half_send
[ RUN      ] tcpdns_half_recv_send
[       OK ] tcpdns_half_recv_send
[ RUN      ] tcpdns_half_recv_half_send
[       OK ] tcpdns_half_recv_half_send
[==========] 8 test(s) run.
[  PASSED  ] 8 test(s).
PASS tcpdns_test (exit status: 0)
Edited Feb 15, 2021 by Michal Nowak
Assignee
Assign to
Time tracking