[Openmcl-devel] resolver, uffi bug on OpenMCL 0.14.2-p1

Steve Jenson stevej at pobox.com
Tue May 25 23:19:30 PDT 2004


On May 25, 2004, at 1:00 AM, Gary Byers wrote:

> If you're running the exact same 10.3.3 variant that I am, that address
> is in "dn_comp()"
>
> 0x900a30d8 <dn_comp+120>:	lbz	r29,0(r3)

We probably are running the same 10.3.3 version since I see this exact
instruction in gdb as well.

$ uname -a
Darwin anubis 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar  5 14:22:55 
PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC  Power Macintosh 
powerpc


> Whether the problem's in UFFI:WITH-CSTRING, in the glue that UFFI
> uses to make the function RES-QUERY-C, or elsewhere, it looks like
> the problem is that res_query()'s receiving a NULL pointer instead
> of a domain name string.

Great, this gives me a tremendous amount to work with. Thanks!


> I'm not sure that this is necessary; /usr/lib/libresolv.dylib seems
> to contain a different set of resolver routines (most of which seem
> to have "9" in their names.)  Things like "res_mkquery" are built in
> to the standard system library (libSystem.dylib), which is always open.

Good point, I never bothered looking inside libresolv.dylib.



-steve




More information about the Openmcl-devel mailing list