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

engine not freed when server return an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.7.0
    • transport/http
    • linux fc6

    Description

      In http_worker.c at line 1181, the engine is created but not destroyed, this happens when the server returns a fault.

      ==17539== 12 bytes in 3 blocks are definitely lost in loss record 4 of 103
      ==17539== at 0x4005858: malloc (vg_replace_malloc.c:207)
      ==17539== by 0x4091E75: axis2_engine_create (engine.c:52)
      ==17539== by 0x4016B40: axis2_http_worker_process_request (http_worker.c:1181)
      ==17539== by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
      ==17539== by 0x405EEE5: dummy_worker (thread_unix.c:93)
      ==17539== by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
      ==17539== by 0x71323D: clone (in /lib/libc-2.5.so)

      Attachments

        1. http_worker.patch
          0.7 kB
          Rajika Kumarasiri

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fredericheem Frederic Heem
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: