| Summary | C Server parameters return 0 or null in Orbix 6.3.3 and above. |
|---|---|
| Article Number | 18138 |
| Environment | Solaris 9 Orbix 6.3.3 Orbix 6.3.4 |
| Question/Problem Description | C Server parameters return 0 or null in Orbix 6.3.3 and above. When Orbix calls a C method that has been TIE'd to a servant the parameters are all set to null. Under certain circumstances Orbix 6.3.3 locks up when a method call returns. |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | Unknown |
| Resolution | This problem can be hard to diagnose. However, there are a few things that can be done to avoid this kind of issues altogether: 1. Make sure the whole application is built using a set of Orbix libraries from a single version. This is especially important if there are more than one Orbix version installed on the machine the problem is occurring. 2. Make sure the right compiler is used. Different versions of Orbix use different C and Java compilers. If the problem persists please run the application through a memory debugger (such as Purify) and see if the parameters on the stack are getting corrupted. |
| Workaround | |
| Notes | This works fine in versions 6.3.1 and 6.3.2. |
| Attachment |
| Created date: | 06 September 2011 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 23 June 2012 |
| First Published date: | 09 September 2011 |
#Orbix
#KnowledgeDocs