Uploaded image for project: 'Support'
  1. Support
  2. SUPPORT-214

ods-signer sporadic crash, call via NULL function pointer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: OpenDNSSEC 1.4.13
    • Fix Version/s: None
    • Component/s: Signer
    • Labels:
      None
    • Environment:

      NetBSD/7.1 amd64

       

      Description

      I just experienced a crash in the signer with OpenDNSSEC 1.4.13,
      it appears that it tried to call via a NULL function pointer:

      tilfeldigvis# gdb /usr/pkgsrc/security/opendnssec/work/opendnssec-1.4.13/signer/src/ods-signerd ods-signerd.core
      GNU gdb (GDB) 7.7.1
      ...
      Core was generated by `ods-signerd'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0 0x0000000000000000 in ?? ()
      (gdb) where
      #0 0x0000000000000000 in ?? ()
      #1 0x0000000000429f85 in netio_dispatch (netio=0x7f7ff730e0c0,
      timeout=timeout@entry=0x0, sigmask=sigmask@entry=0x0) at wire/netio.c:302
      #2 0x000000000040ddc7 in xfrhandler_start (xfrhandler=0x7f7ff733c090)
      at daemon/xfrhandler.c:133
      #3 0x000000000040e2d2 in xfrhandler_thread_start (arg=<optimized out>)
      at daemon/engine.c:255
      #4 0x00007f7ff520ac1c in ?? () from /usr/lib/libpthread.so.1
      #5 0x00007f7ff6083c70 in ?? () from /usr/lib/libc.so.12
      Cannot access memory at address 0x7f7ff41fe000
      (gdb) up
      #1 0x0000000000429f85 in netio_dispatch (netio=0x7f7ff730e0c0,
      timeout=timeout@entry=0x0, sigmask=sigmask@entry=0x0) at wire/netio.c:302
      302 timeout_handler->event_handler(netio, timeout_handler,
      (gdb) p timeout_handler
      $1 = (netio_handler_type *) 0x7f7ff39f9bb8
      (gdb) p *$
      $2 = {fd = 0, timeout = 0x7f7fdf966ed0, user_data = 0x0,
      event_types = (NETIO_EVENT_TIMEOUT | unknown: 3744779536),
      event_handler = 0x0}
      (gdb)

      This appears to be a relatively infrequent event, i.e. it is stable for weeks before it may re-occur.

      (BTW, the drop-down menu in the "Create issue" pane on your Atlassian lists OpenDNSSEC 1.4.13 as "unreleased", surely that's inaccurate?)

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            he Håvard Eidnes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: