[PolyORB-users] PolyORB / Mico oneway procedure interoperability?

Rémi Lafage remi.lafage at cena.fr
Tue Sep 20 14:27:51 CEST 2005


Jerome Hugues wrote:

>>polyorb.protocols.giop: Destroying GIOP session
>>polyorb.protocols.giop.giop_1_0: Finalize context for GIOP session 1.0
>>
>>Execution terminated by unhandled exception
>>Exception name: STORAGE_ERROR
>>Message: s-intman.adb:124 explicit raise
>>Call stack traceback locations:
>>0x8214776 0x4002802c
>>Abort
>>Exit 134
>>    
>>
>
>Interresting, still, I do not understand why the exception traceback
>differs from the one you provided in your previous email.
>
>In your previous test, can you please run addr2line on the set of hexa
>digits you have ? this will provide the symbolic traceback, and allow
>us to trace this exception.
>
>Thanks
>
>Jerome
>
>PS: in the mean time, Mico is compiling in house ;)
>
>  
>
Here the addr2line results on the first stack traces I get :

polyorb.filters: Destroying upper of type 
POLYORB.PROTOCOLS.GIOP.GIOP_SESSION
polyorb.orb: ORB.Run got exception:
polyorb.orb: Exception name: PROGRAM_ERROR
Call stack traceback locations:
0x821c9e8 0x80b3b4e 0x8104daf 0x811ce97 0x8104a03 0x80b13c3 0x80b193a 
0x821a489 0x400250b8

 >addr2line -e server 0x821c9e8 0x80b3b4e 0x8104daf 0x811ce97 0x8104a03 
0x80b13c3 0x80b193a 0x821a489 0x400250b8
/amd/delta/export/projet/freeware/Debian-3.0/gnat-5.02a1/gcc/ada/rts/s-tasdeb.adb:55
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-tasking-profiles-full_tasking-condition_variables.adb:209
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb-thread_pool.adb:191
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb.adb:348
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb-thread_pool.adb:75
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-tasking-profiles-full_tasking-threads.adb:124
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-tasking-profiles-full_tasking-threads.adb:216
/amd/delta/export/projet/freeware/Debian-3.0/gnat-5.02a1/gcc/ada/rts/s-tasdeb.adb:55
??:0
 >

polyorb.orb_controller.basic: Unregister_Task: enter
polyorb.orb: ORB.Run got exception:
polyorb.orb: Exception name: PROGRAM_ERROR
Call stack traceback locations:
0x821c9e8 0x80b3b4e 0x8104daf 0x811ce97 0x817fa44 0x8213715 0x821405e 
0x804b943 0x4004c14d

addr2line -e server 0x821c9e8 0x80b3b4e 0x8104daf 0x811ce97 0x817fa44 
0x8213715 0x821405e 0x804b943 0x4004c14d
/amd/delta/export/projet/freeware/Debian-3.0/gnat-5.02a1/gcc/ada/rts/s-tasdeb.adb:55
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-tasking-profiles-full_tasking-condition_variables.adb:209
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb-thread_pool.adb:191
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb.adb:348
/projet/samdev/orb/polyorb-1.2r-dist/src/corba/corba-orb.adb:599
/projet/samdev/orb/polyorb-1.2r-dist/src/corba/polyorb-corba_p-server_tools.adb:85
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/server.adb:60
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/b~server.adb:826
??:0


polyorb.orb_controller.basic: Unregister_Task: enter

Execution terminated by unhandled exception
Exception name: PROGRAM_ERROR
Message: Protected Object is finalized
Call stack traceback locations:
0x823c251 0x823bfd0 0x8213e4c 0x821408f 0x804b943 0x4004c14d
Abort
Exit 134

addr2line -e server 0x823c251 0x823bfd0 0x8213e4c 0x821408f 0x804b943 
0x4004c14d
/amd/delta/export/projet/freeware/Debian-3.0/gnat-5.02a1/gcc/ada/rts/s-assert.adb:44
/amd/delta/export/projet/freeware/Debian-3.0/gnat-5.02a1/gcc/ada/rts/s-assert.adb:44
/projet/samdev/orb/polyorb-1.2r-dist/src/corba/polyorb-corba_p-server_tools.adb:45
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/server.adb:61
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/b~server.adb:826
??:0

Hope this help.

As you notice that stack traces are not the same between my two posts,
I try, try, try and retry the test. And it appears that crashes differ 
from a run
to another.

Sometimes
...
polyorb.orb: ORB.Run got exception:
polyorb.orb: Exception name: PROGRAM_ERROR
Message: Protected Object is finalized
Call stack traceback locations:
0x821bcc0 0x821c549 0x80b27c6 0x80b3b81 0x8104daf 0x811ce97 0x8104a03 
0x80b13c3 0x80b193a 0x821a489 0x400250b8

polyorb.orb_controller.basic: Unregister_Task: enter
polyorb.orb: ORB.Run got exception:
polyorb.orb: Exception name: PROGRAM_ERROR
Call stack traceback locations:
0x821c9e8 0x80b3b4e 0x8104daf 0x811ce97 0x817fa44 0x8213715 0x821405e 
0x804b943 0x4004c14d

polyorb.orb_controller.basic: Unregister_Task: enter

Execution terminated by unhandled exception
Exception name: PROGRAM_ERROR
Message: Protected Object is finalized
Call stack traceback locations:
0x823c251 0x823bfd0 0x8213e4c 0x821408f 0x804b943 0x4004c14d

Execution terminated by unhandled exception
Exception name: STORAGE_ERROR
Message: s-intman.adb:124 explicit raise
Call stack traceback locations:
0x8214776 0x4002802c
Abort
Exit 134

 >addr2line -e server 0x821c9e8 0x80b3b4e 0x8104daf 0x811ce97 0x817fa44 
0x8213715 0x821405e 0x804b943 0x4004c14d
/amd/delta/export/projet/freeware/Debian-3.0/gnat-5.02a1/gcc/ada/rts/s-tasdeb.adb:55
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-tasking-profiles-full_tasking-condition_variables.adb:209
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb-thread_pool.adb:191
/projet/samdev/orb/polyorb-1.2r-dist/src/polyorb-orb.adb:348
/projet/samdev/orb/polyorb-1.2r-dist/src/corba/corba-orb.adb:599
/projet/samdev/orb/polyorb-1.2r-dist/src/corba/polyorb-corba_p-server_tools.adb:85
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/server.adb:60
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/b~server.adb:826

Sometimes
...
polyorb.orb: Delete_Source: leave
polyorb.protocols.giop: Handle_Disconnect
polyorb.filters: Destroying upper of type 
POLYORB.PROTOCOLS.GIOP.GIOP_SESSION
polyorb.protocols.giop: Destroying GIOP session
polyorb.protocols.giop.giop_1_0: Finalize context for GIOP session 1.0

Execution terminated by unhandled exception
Exception name: STORAGE_ERROR
Message: s-intman.adb:124 explicit raise
Call stack traceback locations:
0x8214776 0x4002802c
Abort
Exit 134

 > addr2line -e server 0x8214776 0x4002802c
/projet/samdev/orb/polyorb-1.2r-dist/examples/corba/all_functions/server.adb:61
??:0

And sometimes...
ONEWAY OK!
Surprise, it works!  Do not know if I have to be happy!  :-)

-- 
Rémi Lafage - DSNA/DTI/SDER/SAS - Tel: 05 62 25 95 77 




More information about the PolyORB-users mailing list