discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep making me crazy


From: Richard Frith-Macdonald
Subject: Re: gnustep making me crazy
Date: Tue, 7 May 2002 16:59:36 +0100

On Tuesday, May 7, 2002, at 03:28 PM, Kees Cook wrote:

On Tue, May 07, 2002 at 06:48:35AM +0100, Richard Frith-Macdonald wrote:
I can't really see how that can happen unless by some strange freak of
chance, gdnc
crashed, and some other non-gnustep process started using its port, so
everything
trying to connect to gdnc is actually talking to some non-gnustep
network process.

You could try making sure that gdomap (and gdnc ad gpbs if running) is
restarted.

If that fails, you could try running with --GNU-Debug=GSTcpHandle and
--GNU-Debug=NSPort
to see what data is actually being transferred between the processes.

$ gdomap
$ ps auwwx | grep gdomap
me  14254  0.2  0.0  2532  840 ?        S    07:23   0:00 gdomap
me  14256  0.0  0.0  1704  592 pts/4    S    07:23   0:00 grep gdomap
$ gdnc --GNU-Debug=GSTcpHandle --GNU-Debug=NSPort
May 07 07:23:35 gdnc[14258] unable to bind to port 191.0.0.0:0 - Cannot assign requested address May 07 07:23:35 gdnc[14258] File GSTcpPort.m: 1615. In [GSTcpPort -gcFinalize] GSTcpPort 0x80c8310 finalized May 07 07:23:35 gdnc[14258] gdnc - unable to register with name server - quiting.
$ gpbs --GNU-Debug=GSTcpHandle --GNU-Debug=NSPort
May 07 07:23:51 gpbs[14261] unable to bind to port 191.0.0.0:0 - Cannot assign requested address May 07 07:23:51 gpbs[14261] File GSTcpPort.m: 1615. In [GSTcpPort -gcFinalize] GSTcpPort 0x80f1088 finalized
May 07 07:23:51 gpbs[14261] Unable to register with name server.

What's that stuff about 191.0.0.0:0 ?

It's the network address that the server is using ... it should be 0.0.0.0:0 (INADDR_ANY) The fact that it's not would seem to indicate something severely wrong with something on your system. Perhaps the networking headers, perhaps the compiler, perhaps something else entirely. This is *so* wrong, that the only thing I can think of to try to track it down is to run the program under gdb and step through it line by line to see where things are going wrong.


And some don't even build correctly:

[nemesis@ghostship ProcViewer]$ make
Making all for app ProcViewer...
May 06 11:26:57 plmerge[7543] Parsing 'ProcViewerInfo.plist' - Parse
failed at line 1 (char 14) - extra data after parsed string
make[1]: *** [ProcViewer.app/Resources/Info-gnustep.plist] Error 139
make: *** [ProcViewer.all.app.variables] Error 2

That just looks like there is some bogus data in ProcViewerInfo.plist
try editing it to see.

See, that's what I thought.  Here are the contents:

  NSServices = (
    {
      NSPortName = ProcViewer;
      NSMessage = procInfo;
      NSSendTypes = (
        NSStringPboardType
      );
      NSReturnTypes = (
        NSStringPboardType
      );
      NSMenuItem = {
        default = "Process Info";
        English = "Process Info";
      };
      NSKeyEquivalent = {
        default = P;
        English = P;
      };
    }
  );


"character 14" in the error is the "=" sign.  :P


Thanks for helping me out.  :)

Here, the problem looks straightforward ... the file should contain a property list, and doesn't. If you insert a '{' at the start and a '}' at the end this should probably work.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]