Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1320

default logger not thread-safe => axutil_env_create_with_error_log not thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • util
    • None

    Description

      The current default logger is not thread-safe. That's no problem as long as it's known. One can use his own logger. However, the axutil_env_create_with_error_log() function internally first creates the default logger and then deletes it again to be replaced by the specified logger. Since even creating / deleting the default logger is not thread-safe, this leads to problems (in my case an assertion in the vs runtime dll).
      When a logger is specified for axutil_env_create_with_error_log(), the default logger should not even be created.

      Attachments

        1. Do_not_create_default_logger.diff
          0.9 kB
          Patrick van Beem

        Activity

          People

            manjula peiris Manjula Peiris
            pvbeem Patrick van Beem
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified