Skip to content
GitLab
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 577
    • Issues 577
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 117
    • Merge requests 117
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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 ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #1323
Closed
Open
Issue created Nov 13, 2019 by Ondřej Surý@ondrejOwner

lib/ns unit tests are disabled everywhere and there's a crash

[netmgr] lib/ns/tests/query_test:main -> broken: Received signal 6 [2.496s]

See: https://gitlab.isc.org/isc-projects/bind9/-/jobs/409344

nstest.c:571: REQUIRE(i < 16) failed, back trace
#0 0x7fd520940d77 in ??
#1 0x7fd520940cca in ??
#2 0x55ca3d39c398 in ??
#3 0x55ca3d39c431 in ??
#4 0x55ca3d39aeb9 in ??
#5 0x7fd52092208f in ??
#6 0x7fd520923068 in ??
#7 0x55ca3d39a860 in ??
#8 0x7fd520c36229 in ??
Process with PID 1925 exited with signal 6 and dumped core; attempting to gather stack trace
Cannot find GDB binary; builtin was 'gdb'

The misaligned address might be a red herring due ASAN, but the nstest.c failure is same on non-ASAN builds.

See https://gitlab.isc.org/isc-projects/bind9/-/jobs/409281:

queue.c:106:9: runtime error: store to misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  be be be be be be be be  be be be be be be be be  be be be be be be be be  be be be be
              ^ 
queue.c:110:2: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:112:12: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:115:2: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:116:2: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 51 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:130:18: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 51 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:156:4: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 51 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:171:18: runtime error: member access within misaligned address 0x612000011740 for type 'struct isc_queue_t', which requires 128 byte alignment
0x612000011740: note: pointer points here
 01 00 80 46  00 79 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:191:10: runtime error: member access within misaligned address 0x612000011740 for type 'struct isc_queue_t', which requires 128 byte alignment
0x612000011740: note: pointer points here
 01 00 80 46  00 79 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:201:2: runtime error: member access within misaligned address 0x612000011740 for type 'struct isc_queue_t', which requires 128 byte alignment
0x612000011740: note: pointer points here
 01 00 80 46  00 79 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:197:3: runtime error: member access within misaligned address 0x61200002dac0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x61200002dac0: note: pointer points here
 01 00 80 46  00 c9 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:215:19: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 51 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:217:2: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 51 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
queue.c:218:2: runtime error: member access within misaligned address 0x6120000016c0 for type 'struct isc_queue_t', which requires 128 byte alignment
0x6120000016c0: note: pointer points here
 01 00 80 46  00 51 00 00 50 62 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^ 
nstest.c:571: REQUIRE(i < 16) failed, back trace
#0 0x7f1d8f88c501 in ??
#1 0x7f1d8f88b65a in ??
#2 0x7f1d8f88b50a in ??
#3 0x55b9ced22583 in ??
#4 0x55b9ced22957 in ??
#5 0x55b9ced1d5a1 in ??
#6 0x7f1d8f66b239 in ??
#7 0x7f1d8f66bbd9 in ??
#8 0x55b9ced1be8f in ??
#9 0x7f1d8eb66bbb in ??
#10 0x55b9ced1bfca in ??
Assignee
Assign to
Time tracking