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

Jérôme Hugues hugues at telecom-paristech.fr
Wed Jul 22 11:12:43 CEST 2009


[Please, all, always CC: the list, there are other PolyORB developpers  
on this mailing list that can answer your questions]

Hi Luca

Thanks for the update, I will investigate

Le 22 juil. 09 à 11:07, Luca a écrit :

> Hi, thank you for your reply.
> I take away the with pasckage from PolyORB hierarchy from my code,  
> and I re-compile it with po_gnatdist, with the configuration file  
> conf.cfg.
> No problem with the compilation, but when i run my application i  
> have the same error as before.
> I launch po_cos_naming as name server for my application.
> I set the POLYORB_DSA_NAME_SERVICE variable and I export it.
> I run the file mains and it runs correctly.
> I run the file taskos in another shell. It call at first the remote  
> procedure of mains, but when it call the delay, when it has to wake  
> up, I have this error:
>
> polyorb.orb: ORB.Run got exception:
> polyorb.orb: Exception name: PROGRAM_ERROR
> Message: polyorb-orb-no_tasking.adb:158 explicit raise
> PID: 2
>
> If I use debug on polyorb-orb-no_tasking it says there is a dead lock.
> I do not understand why this exception.
>
> I'm using the lastest version of PolyORB: the version 2009 (2.6)  
> taken from Libre Adacore. With the previous version (2.4) all runs  
> in a right way.
> I attach the new code with the code generated from the compiler.
>
> Thanks,
> Luke
>
> Jérôme Hugues ha scritto:
>> From you code, I do not understand why you see an exception from  
>> PolyORB.ORB.No_Tasking.
>> Note that you're using the DSA personality. In this context, you  
>> should not with any package from the PolyORB hierarchy.
>> Then, gnatdist should pick up the correct configuration of PolyORB  
>> (that you can check in the directory of generated sources)
>>
>> Please, re-compile the test without any reference to PolyORB.Setup,  
>> then provide full information on the exception you see,
>> with information on the code that has been generated
>>
>> also, please report the version of PolyORB that you're using
>>
>> Thanks,
>
>
> <prova2.zip>

-- 
Jérôme Hugues, TELECOM ParisTech
http://www.telecom-paristech.fr/~hugues





More information about the PolyORB-users mailing list