[Ace-users] [tao-users] Bug in CosNotifyFilter::Filter::add_constraints()

Wernke zur Borg wernke.zur.borg at vega.de
Mon Jan 21 10:11:36 CST 2008


    ACE VERSION: 5.5a_p4

    HOST MACHINE and OPERATING SYSTEM: n/a

    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
    COMPILER NAME AND VERSION (AND PATCHLEVEL): n/a 

    CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
    specific file, simply state which one]: n/a

    CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU [if
you
    use a link to a platform-specific file, simply state which one
    (unless this isn't used in this case, e.g., with Microsoft Visual
    C++)]: n/a

    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles): n/a

    LEVEL OF URGENCY (LOW, MEDIUM, or HIGH): MEDIUM

    AREA/CLASS/EXAMPLE AFFECTED: CosNotifyFilter::Filter
  
      Return structure of CosNotifyFilter::Filter::add_constraints()
      is not properly populated. The member ConstraintInfo.constraint_id

      remains unset.

    DOES THE PROBLEM AFFECT:
        COMPILATION? no
        LINKING? no
            On Unix systems, did you run make realclean first?
        EXECUTION? yes
        OTHER (please specify)?

    SYNOPSIS:
        Random content of return value ConstraintInfo.constraint_id
        upon call of CosNotifyFilter::Filter::add_constraints().
        
    DESCRIPTION:
      Return structure of CosNotifyFilter::Filter::add_constraints()
      is not properly populated. The member ConstraintInfo.constraint_id

      remains unset.
      
      Source code in
ACE_wrappers/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
      clearly shows that the struct member does not get populated.

    REPEAT BY:
      In the Filter example
ACE_wrappers/TAO/orbsvcs/examples/Notify/Filter
      evaluate the return value of add_constraints() in Filter.cpp, line
163.
      The member constraint_id will show a random value.

    SAMPLE FIX/WORKAROUND:
      unknown




More information about the Ace-users mailing list