Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-319

TSIG causes seg fault

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0b1
    • Fix Version/s: 1.4.0b1
    • Component/s: Signer
    • Labels:
      None

      Description

      You will get a seg fault when stopping the Signer Engine if you have the TSIG-element in the addns.xml.

      user@ubuntu:~$ sudo ods-signer stop
      *** glibc detected *** /usr/local/sbin/ods-signerd: free(): invalid pointer: 0x00000000025e8b90 ***
      ======= Backtrace: =========
      /lib/libc.so.6(+0x77806)[0x7f532ef8c806]
      /lib/libc.so.6(cfree+0x73)[0x7f532ef930d3]
      /usr/local/lib/libldns.so.1(ldns_rdf_deep_free+0x30)[0x7f532f826394]
      /usr/local/sbin/ods-signerd[0x4327a9]
      /usr/local/sbin/ods-signerd[0x4080fd]
      /usr/local/sbin/ods-signerd[0x407a6f]
      /usr/local/sbin/ods-signerd[0x424b1e]
      /usr/local/sbin/ods-signerd[0x427494]
      /usr/local/sbin/ods-signerd[0x4274ff]
      /usr/local/sbin/ods-signerd[0x40e4f3]
      /usr/local/sbin/ods-signerd[0x40fedb]
      /usr/local/sbin/ods-signerd[0x406cc7]
      

      The addr2line suggest the following back trace.

      signer/src/wire/tsig.c:879
      signer/src/adapter/addns.c:728
      signer/src/adapter/adapter.c:274
      signer/src/signer/zone.c:702
      signer/zonelist.c:421
      signer/zonelist.c:458
      signer/src/daemon/engine.c:1102
      signer/src/daemon/engine.c:1064
      signer/src/ods-signerd.c:169
      
      <Adapter>
              <DNS>
                      <TSIG>
                              <Name>bellgrim.se</Name>
                              <Algorithm>hmac-sha256</Algorithm>
                              <Secret>Pei0qsdc+0E=</Secret>
                      </TSIG>
      

        Attachments

          Activity

            People

            Assignee:
            matthijs Matthijs Mekking
            Reporter:
            rickard Rickard Bellgrim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: