[Ace-users] [tao-users] ACE+TAO 5.6.2: Bug in CosNotifyFilter::Filter::add_constraints()
Johnny Willemsen
jwillemsen at remedy.nl
Tue Jan 22 02:02:07 CST 2008
Hi,
Thanks for using the PRF form. Can you file this problem in bugzilla, see
http://deuce.doc.wustl.edu/bugzilla/index.cgi
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
> Here is the bug report for 5.6.2. I have also added a suggestion for a
> fix.
>
> Regards, Wernke
>
> -----------------------------------------------------------------------
> -
> ----
>
>
> ACE VERSION: 5.6.2
>
> HOST MACHINE and OPERATING SYSTEM: n/a
>
> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
> COMPILER NAME AND VERSION (AND PATCHLEVEL): n/a
>
> THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
> specific file, simply state which one]: n/a
>
> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [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
>
> 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 TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
> clearly shows that the struct member is not set.
>
> REPEAT BY:
> In the Filter example 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:
> The easiest way might be to change the argument of
> add_constraints_i()
> to non-const and insert the constraint_id in that function.
>
>
> _______________________________________________
> tao-users mailing list
> tao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/tao-users
More information about the Ace-users
mailing list