[omniORB] Omni on PlayStation2

Duncan Grisby duncan@grisby.org
Mon Mar 31 11:50:02 2003


On Thursday 27 March, "Ulf Stoermer" wrote:

> > That's very odd indeed. What does the trace on the client show?  Does
> > the Linux omniNames work correctly with a Linux client?
> 
> Yes, at the same time the Linux omniNames works well with any other
> client, Linux, Windows, MacOS, Zaurus.

Most peculiar. It looks like omniNames (on Linux) is not trying to
send replies to the client. I don't know why that would happen. Try
attaching to omniNames with gdb while it is blocked, before the client
times out. By looking at the threads, it should be possible to see
where it's held up.

> > That looks like everything is working as it should, right up until the
> > segfault. I don't suppose you can run it under gdb?
> 
> Well, I can, but here comes another problem. If I run gdb I get the
> following error:

[...]
> The same also happens when running eg1 or eg2, which both work correctly
> when executed normally. Maybe this in fact has to do with gcc 2.95.2 not
> supporting thread safe exceptions.

It's more likely just that gdb isn't working.

> But even if PlayStation at the moment isn't able to thread safely handle
> exceptions, how could this affect the first scenario, where omniNames
> runs on a Linux PC and never replies anything?

I don't know. I think it's most useful to track down what omniNames on
Linux is up to, since it seems to be doing something wrong, and we
know that it ought to work there. Once that is understood, it will
hopefully help with understanding any problems left on the
PlayStation.

Cheers,

Duncan.

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