[JDEV] Server on MacOS X (Was: Funcall changes not working for me)

Max Horn max at quendi.de
Fri May 18 01:21:35 CDT 2001


At 17:12 Uhr -0700 17.05.2001, Colin Madere wrote:
>Hey all,
>
>I made the changes suggested on the Funcall site and can't keep the
>server running.  (OSX 10.0.3, Jabber-1.4.1 including pth1.3.7).
>
>All built fine, except an ANSI C warning in mio_xml.c because some
>string is being set to a block of text with newlines in the source:
>
>mio_xml.c:145: warning: ANSI C forbids newline in string constant
>
>and a warning in mio.c:
>
>mio.c: In function `_mio_accept':
>mio.c:371: warning: passing arg 3 of pointer to function from
>incompatible pointer type
>
>I managed to run it, and register a user and crash, then log on with
>that user and stay on.  Then another user registered and crash.  After
>that any login with either user would immediately crash.
>
>ALL crashes produced the same last couple of lines:
>
>User signal 2
>Thu May 17 19:03:34 2001  dnsrv.c:143 dnsrv: Read error on
>coprocess(1): 0 Undefined error: 0
>Thu May 17 19:03:34 2001  dnsrv.c:157 DNSRV CHILD: out of loop..
>exiting normal
>
>Running this command line as root with the same IP in the jabber.xml
>for hostname:
>
>jabberd/jabberd -s spool -h 192.168.0.91 -D
>
>Hope this helps!
>
>Colin

I am getting similiar problems. However, I could make it quite reproducible:


when I send data slowly (i.e. by typing it manually into a telnet 
session), it seems to work perfectly.

However, when i send the data very fast (by using a reqular client, 
or when I copy & past a big bunch of data into the telnet session), 
it crashes.

This seems to indicate a syncronisation problem; since the pth 
workaround described on the funcall website 
(http://www.funcall.com/Documentation/Jabber/BuildingJabberOnMacOSX.html)
are sort of hacks to resolve sync problems, maybe the same is a problem here.

Somebody who really know the server and pth must take a look at it, I 
think. I wish jer had his Ti-Book already ;)


Max
-- 
-----------------------------------------------
Max Horn
C++/ObjC/Java Developer

email: <mailto:max at quendi.de>
phone: (+49) 6151-494890



More information about the JDev mailing list