> The PostScript
> trace shows that the clients convert a point from user space to device
> space, then invokes ``grestore'' four times in a row, and then
> silently quits.  No crash, no error message, no debug log.
> 
> Any hints with debugging this are welcome.

I found it; the app was segfaulting, and ``openapp'' was hiding the
problem from me.  I'm appending a patch that fixes the problem.

Now it gets further, but not far enough to do anything useful.  I
didn't have time to do any more debugging.

(Feature request: if an application crashes, ``openapp'' should
display ``Don't Panic'' in large, friendly letters.)

                                        J.

*** TcpPort.m~  Fri Feb 18 05:51:44 2000
--- TcpPort.m   Wed May 31 01:49:57 2000
***************
*** 1186,1192 ****
         Distributed Objects connection to another machine, they get our
         unique host address that can identify us across the network. */
      hostname = [[NSHost currentHost] name];
!     hp = gethostbyname ([hostname cString]);
      if (!hp)
        hp = gethostbyname ("localhost");
      if (hp == 0)
--- 1186,1195 ----
         Distributed Objects connection to another machine, they get our
         unique host address that can identify us across the network. */
      hostname = [[NSHost currentHost] name];
!     if(hostname)
!       hp = gethostbyname ([hostname cString]);
!     else
!       hp = 0;
      if (!hp)
        hp = gethostbyname ("localhost");
      if (hp == 0)

Reply via email to