Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3832

test_marshall seg faults on ppc64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Management API
    • None

    Description

      'make check' fails on ppc64 (big endian) with a segmentation fault.

      make test_marshall
      make[3]: Entering directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
      make[3]: 'test_marshall' is up to date.
      make[3]: Leaving directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
      make check-TESTS
      make[3]: Entering directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
      make[4]: Entering directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
      ../../build/aux/test-driver: line 107: 8630 Segmentation fault (core dumped) "$@" > $log_file 2>&1
      FAIL: test_marshall
      ============================================================================
      Testsuite summary for Apache Traffic Server 5.3.0
      ============================================================================

      1. TOTAL: 1
      2. PASS: 0
      3. SKIP: 0
      4. XFAIL: 0
      5. FAIL: 1
      6. XPASS: 0
      7. ERROR: 0
        ============================================================================
        See mgmt/utils/test-suite.log
        Please report to dev@trafficserver.apache.org
        ============================================================================
        Makefile:1018: recipe for target 'test-suite.log' failed
        make[4]: *** [test-suite.log] Error 1
        make[4]: Leaving directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
        Makefile:1124: recipe for target 'check-TESTS' failed
        make[3]: *** [check-TESTS] Error 2
        make[3]: Leaving directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
        Makefile:1197: recipe for target 'check-am' failed
        make[2]: *** [check-am] Error 2
        make[2]: Leaving directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils'
        Makefile:803: recipe for target 'check-recursive' failed
        make[1]: *** [check-recursive] Error 1
        make[1]: Leaving directory '/builddir/build/BUILD/trafficserver-5.3.0/mgmt'
        Makefile:671: recipe for target 'check-recursive' failed
        make: *** [check-recursive] Error 1

      Running gdb on the test:

      1. gdb --args ./mgmt/utils/.libs/lt-test_marshall
        (gdb) r
        Starting program: /builddir/build/BUILD/trafficserver-5.3.0/mgmt/utils/.libs/lt-test_marshall
        Missing separate debuginfos, use: dnf debuginfo-install glibc-2.21-7.fc22.ppc64p7
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/lib64/libthread_db.so.1".
        REGRESSION_TEST initialization begun
        REGRESSION TEST MessageLength started
        REGRESSION_RESULT MessageLength: PASSED
        REGRESSION TEST MessageMarshall started
        RPRINT MessageMarshall: mgmt_message_parse(msgbuf, sizeof(msgbuf), sfields, countof(sfields), &mstring) returned length 4, expected 5

      Program received signal SIGSEGV, Segmentation fault.
      0x000000002000434c in RegressionTest_MessageMarshall (t=<optimized out>,
      pstatus=<optimized out>) at test_marshall.cc:251
      251 CHECK_STRING(s, mstring);
      (gdb) p s
      $1 = 0x0
      (gdb) p mstring
      $2 = (MgmtMarshallString) 0x0

      Let me know if you need any further info.

      Attachments

        Activity

          People

            covener Eric Covener
            rdossant Rafael Fonseca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: