[ace-users] ACE TAO: Upgrade from 5.5.4 to 6.5.7

Johnny Willemsen jwillemsen at remedy.nl
Fri Mar 13 02:21:18 CDT 2020


Hi,

This is more a user error but not sure why it causes problems later on,
that would need a real dive into TAO/ACE to see what happens when a user
invokes ORB_init in such way.

Johnny Willemsen
Remedy IT
http://www.remedy.nl

On 3/12/20 5:02 PM, Yorick wrote:
> Hi Johnny and Adam,
>
> Thanks for the quick reply.
> With valgrind I could eventually found out an issue with ACE / our
> code (not sure where the responsibility lies)
>
> So, the issue is when we call CORBA::ORB_init with some strange variables:
>
> char* argv[5];
> argv[0] = "argument0";
> argv[1] = "argument1";
> argv[2] = "argument2";
> argv[3] = "argument3";
> argv[4] = "argument4";
>
> int argc = 3;
>
> // The issue occurs here, argv has more values after the count of 3
> (specified by argc)
> CORBA::ORB_init ( argc, argv, "something" );
>
> When I force argv[3][0] = "\0"; it seems to work, although i get an
> other issues somewhere else.
>
> To be complete: everything works just fine with ACE 5.5.4. Unit tests
> seem to work just fine.
>
> Regards,
> Yorick
>
>
> _______________________________________________
> ace-users mailing list
> ace-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20200313/9ff9f13c/attachment.html>


More information about the ace-users mailing list