[97] in Zephyr_Comments

home help back first fref pref prev next nref lref last post

Re: zephyr library (6.0R)

daemon@ATHENA.MIT.EDU (John T Kohl)
Mon Sep 19 09:33:05 1988

Date: Mon, 19 Sep 88 09:32:44 EDT
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: tjcoppet@ATHENA.MIT.EDU
Cc: zephyr-comments@ATHENA.MIT.EDU, vs-testers@ATHENA.MIT.EDU
Tom asks:
	Any reason why ZSendNotice() should return a value of -772103670
	when there is no host manager running? Is there a problem with this
	function when there is no host manager running?

Yes.  ZSendNotice sends a notice via the HostManager to the servers.
From /usr/include/zephyr/zephyr_err.h:
	#define ZERR_HMDEAD                              ((int)-772103670)

The error code you are getting translates to "Hostmanager not responding".

Your report also shows a real bug, though.  The library in an error
condition is freeing some unallocated memory.  Luckily the standard
4.3BSD malloc will ignore this free() call (unless the user has some
really pathological stack garbage), so the existing applications
distributed are not in danger of randomly dumping core.

Thanks,

John


home help back first fref pref prev next nref lref last post