You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Paul Ackersviller <pd...@sdf.lonestar.org> on 2011/01/18 09:58:07 UTC
Library crashes without proper arp setup
The following description is from the person who analyzed the core dump,
I'll only add that the box in question had two NICs, and networking was
misconfigured in such a way that "arp $(hostname)" was failing.
The axis2c library (used by GenericID) coredumps in axutil_uuid_gen_v1()
(uuid_gen_unix.c) if it cannot retrieve the host system's MAC address.
Libraries should not core dump without providing details of the
underlying cause. The axutil_uuid_gen_v1() function should be modified
to check that the mac_addr pointer is not NULL, and raise an error using
the appropriate mechanism if it is NULL. Extra points if the called
axutil_uuid_get_mac_addr() reports what system calls failed (note there
are 3 axutil_uuid_get_mac_addr(), depending on the build system type).
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org
Re: Library crashes without proper arp setup
Posted by Damitha Kumarage <da...@wso2.com>.
Hi Paul,
Please add a jira in https://issues.apache.org/jira/browse/AXIS2C
Thanks,
Damitha
Paul Ackersviller wrote:
> The following description is from the person who analyzed the core dump,
> I'll only add that the box in question had two NICs, and networking was
> misconfigured in such a way that "arp $(hostname)" was failing.
>
>
> The axis2c library (used by GenericID) coredumps in axutil_uuid_gen_v1()
> (uuid_gen_unix.c) if it cannot retrieve the host system's MAC address.
>
> Libraries should not core dump without providing details of the
> underlying cause. The axutil_uuid_gen_v1() function should be modified
> to check that the mac_addr pointer is not NULL, and raise an error using
> the appropriate mechanism if it is NULL. Extra points if the called
> axutil_uuid_get_mac_addr() reports what system calls failed (note there
> are 3 axutil_uuid_get_mac_addr(), depending on the build system type).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-dev-help@axis.apache.org
>
>
>
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org