[caiman-discuss] distro constructor core dumps during build

David Bustos David.Bustos at sun.com
Tue Jul 1 20:06:50 PDT 2008


Quoth Virginia Wray on Tue, Jul 01, 2008 at 07:00:31PM -0600:
> I'm in the process of moving the nightly build from 91 to 92 on 
> indiana-build. I pulled new repos for slim_source, the pkg gate, and the 
> distro constructor. When I run the build_dist.bash command to build my 
> images, a core file is generated and the build fails. I tried using 
> Jean's checkpoint script, and I was able to generate images 
> successfully. Here is the output from the failed run:
...
> svccfg warnings:
> 
> svccfg_libscf.c:6824: _scf_set_annotation() failed with unexpected error 
> 1007. Aborting.

1007 is SCF_ERROR_INVALID_ARGUMENT.  I think I see a bug in
_scf_set_annotation() which would cause this.  Namely, line 6958 of
lowlevel.c is comparing copied to sizeof (request.rpr_operation) =
REP_PROTOCOL_NAME_LEN = 120 bytes, when it should be comparing to
sizeof (request.rpr_file), which is MAXPATHLEN long.  If I'm right, then
you should be able to work around this by using a workspace with
a shorter path.


David


More information about the caiman-discuss mailing list