Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-601

Valgrind errors in dispatch tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Routing Engine
    • None

    Description

      There are several valgrind erros appearing in the dispatch tests. Full test output will be attached but the errors are all similar to this:

      ==18019== Invalid read of size 1
      ==18019==    at 0x4C30CAB: strcpy (vg_replace_strmem.c:506)
      ==18019==    by 0x69DDFFD: strcpy (string3.h:110)
      ==18019==    by 0x69DDFFD: _sasl_strdup (common.c:183)
      ==18019==    by 0x69E55A4: sasl_server_new (server.c:1076)
      ==18019==    by 0x50DD88F: pni_init_server (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50DC1F8: pni_sasl_start_server_if_needed.part.2 (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50DC7BE: pn_output_write_sasl (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50DEBBA: process_output_ssl (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50DA35C: pn_transport_pending (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x4E6EDA9: connector_process (driver.c:770)
      ==18019==    by 0x4E6EC3A: qdpn_connector_process (driver.c:730)
      ==18019==    by 0x4E907B3: process_connector (server.c:679)
      ==18019==    by 0x4E91321: thread_run (server.c:957)
      ==18019==  Address 0x11be7331 is 1 bytes inside a block of size 17 free'd
      ==18019==    at 0x4C2ED4A: free (vg_replace_malloc.c:530)
      ==18019==    by 0x50DCA0E: pn_sasl_free (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50D58BF: pn_transport_finalize (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50C7BF8: pn_class_decref (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50D406F: pn_event_finalize_cast (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50C7BF8: pn_class_decref (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50D437C: pn_collector_pop (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50D43AE: pn_collector_next (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50D440F: pn_collector_release (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x50D4438: pn_collector_free (in /usr/local/lib64/libqpid-proton.so.10.0.0)
      ==18019==    by 0x4E8E6C2: free_qd_connection (server.c:100)
      ==18019==    by 0x4E9152B: thread_run (server.c:984)
      

      Attachments

        1. dispatch-valgrind-err.txt
          421 kB
          Alan Conway

        Issue Links

          Activity

            People

              tross Ted Ross
              aconway Alan Conway
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: