[Openswan dev] problem with ASSERTION FAILED

David McCullough david_mccullough at mcafee.com
Thu Feb 4 07:21:33 EST 2010


Jivin Tuomo Soini lays it down ...
> Something has really broken in openswan-2.6. ASSERT doesn't cause core
> dump any more. This makes it quite much harder to debug problems.
> 
> Anybody know how to fix this?

Looks to me like ASSERT is not used anywhere in openswan.

There is passert() and some others in openswan/passert.h.  This
needs DEBUG to be defined.

You should be able to call assert().

Have a look around the code for assertions and follow their example,

Cheers,
Davidm.

-- 
David McCullough,      david_mccullough at mcafee.com,  Ph:+61 734352815
McAfee - SnapGear      http://www.mcafee.com         http://www.uCdot.org


More information about the Dev mailing list