[omniORB] omniORB 4.0.3 exception handling problems on Win2k

Duncan Grisby duncan at grisby.org
Tue Mar 16 13:20:17 GMT 2004


On Wednesday 25 February, Andrew Novikov wrote:

> We are using omniORB 4.0.3 on Linux (SuSE 9.0 Pro and FC 1) and Windows
> 2000. Strange things happen when throwing and catching exceptions that
> contain wide-character strings on Windows. When a server throws such an
> exception it sometimes turns into unknown exception. To be more
> specific, when trying to execute the attached example (it is a modified
> version of the 'echo' example) the client in the example catches only
> first 7 out of 10 exceptions. The rest turn into "unknown user
> exception".
> The example always works fine on Linux and it works on Windows when it
> utilizes narrow strings.

Your example works perfectly for me on Windows XP. I don't have a 2000
box handy to test it there. What compiler are you using?

Please run with -ORBtraceLevel 30 on both client and server to see if
that shows where the error is happening.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list