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

service struct's get_qname seem to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M0.3
    • M0.3
    • core/description
    • None

    Description

      When I run test/core/engine/test_engine, it segfaults.
      Diging into the problem with gdb reveals the following:

      (gdb) bt
      #0 0x00000011 in ?? ()
      #1 0x00bc2ba6 in axis2_svc_ctx_create (env=0xbfb1d078, svc=0x852e1d8, svc_grp_ctx=0x852df90) at svc_ctx.c:94
      #2 0x080489c1 in axis2_test_engine_send () at test_engine.c:32
      #3 0x08048b09 in main () at test_engine.c:83

      And the code causing the problem is:
      (gdb) fr 1
      #1 0x00bc2ba6 in axis2_svc_ctx_create (env=0xbfb1d078, svc=0x852e1d8, svc_grp_ctx=0x852df90) at svc_ctx.c:94
      94 svc_ctx_impl->svc_id = AXIS2_QNAME_GET_LOCALPART(svc_ctx_impl->svc_qname, env);
      (gdb) l
      89 {
      90 svc_ctx_impl->svc = svc;
      91 svc_ctx_impl->svc_qname = AXIS2_SVC_GET_QNAME(svc, env);
      92 if (svc_ctx_impl->svc_qname)
      93

      { 94 svc_ctx_impl->svc_id = AXIS2_QNAME_GET_LOCALPART(svc_ctx_impl->svc_qname, env); 95 }

      96 }
      97
      98 if (svc_grp_ctx)

      Basically there seem to be a problem in the way qname is handled in service.

      Attachments

        Activity

          People

            samisa Don Samisa Abeysinghe
            samisa Don Samisa Abeysinghe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: