Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1759

Unit tests fail on Fedora 10 when gcc-debuginfo is installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • JIRA Cleanup
    • C++ Broker
    • None
    • Fedora 10 i386

    Description

      When gcc-debuginfo is installed, the unit tests fail because the ephemeral port cannot be determined for the broker.

      After digging a little further, I determined that streams do not handle numeric data. For example, if I put the following line in the broker code:

      std::cout << "string " << 45 << " string2" << std::endl;

      the output seen on the console is:

      string

      The number and any following text is lost (probably due to a null-terminator being incorrectly inserted).

      Note that this does not affect normal broker operation, nor does it affect the python system tests. It only affects the broker running in the unit test environment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: