[PolyORB-users] Problem with Polyorb-No-Tasking

xavier grave xavier.grave at ipno.in2p3.fr
Wed Jul 29 18:24:36 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the same behaviour on my system. I will try to understand the
problem tonight or tomorrow morning.

I have put a 1 second delay between each call to taskos and taskos2 and
I have the same problem...

xavier

Luca a écrit :
> Sorry, I try again the application compiled with the code modified that
> you have sent me and I see that the problem come out again.
> I tried to run more than 2 partitions, with a shellscript. The
> shellscript is:
> 
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> ./taskos &
> ./taskos2 &
> 
> Some of the tasks runs, some (3 or 4) give me the same error as before:
> 
> polyorb.orb: ORB.Run got exception:
> polyorb.orb: Exception name: PROGRAM_ERROR
> Message: polyorb-orb-no_tasking.adb:158 explicit raise
> PID: 7
> 
> Maybe the compiler do not take the right configuration for PolyORB?
> I check the code generatede for PolyORB:
> In the DSA directory - Partitions - conf - taskos
> in the file: polyorb-partition_elaboration.adb
> there is this with:
> with Polyorb.ORB.No_Tasking;
> 
> Maybe this create the problem, because the partition do not use the
> right profile Full_Tasking.
> But I do not know if it is like this.
> 
> Any ideas?
> 
> Luca ha scritto:
>> Thank you for your help, now the code I wrote runs well.
>> Luca
>>
>> xavier grave ha scritto:
>>  
> Hi,
> 
> Luca a écrit :
>      
>>>>> Hi,
>>>>> i'm trying to run a simple application using polyORB, in this
>>>>> application I have a server and a client. The client is a task and it
>>>>> call a delay.
>>>>> The application compile in a right way, but when i try to run it, an
>>>>> error occurs: an exception raised by polyorb-orb-no-tasking.
>>>>> I think it is because I have not the right profile for tasking
>>>>> (no-tasking instead of full-tasking), but i cannot understand how can I
>>>>> change the tasking
>>>>> profile. The Polyorb user's guide does not help me so much.
>>>>> I attach the code of my simple application.
>>>>> Someone can help me?
>>>>>           
> I have modified your code, I hope the new version still do what you
> expect :)
> 
> First I have removed any explicit call to polyorb following Hugues
> advice, your annex E code should be aware of polyorb, glade (annex E
> implementation with gnat GPL 2007) or whatever :)
> 
> Than I have modified your .conf file, as far as I understand your
> package name you put in your partition should be remote_call_interfaces,
> and your tasko package isn't such package.
> Also the main procedure shouldn't be in the list of package of the
> partition.
> 
> I have attached an archive we your sources modified. I hope it will help
> you.
> 
> xavier

>>
>> _______________________________________________
>> PolyORB-users mailing list
>> PolyORB-users at lists.adacore.com
>> /no-more-mailman.html
>> .
>>
>>   



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpwd8MACgkQVIZi0A5BZF731gCePnoA17n7FVSw7i2UQhfG5xS6
i1sAnjMc/g0RyQRDYRo24dJ0iwpf1od4
=rgTW
-----END PGP SIGNATURE-----


More information about the PolyORB-users mailing list