On Fri, 20 Apr 2018 00:59:01 +0530 shiva m <anjane...@gmail.com> wrote:
> Hi, > > Need help in avoiding core dump in case rte_eal_init() fails in some > special cases. > > Part of my code causing rte_panic during system bootup and causes a core > dump. I do not want this core dump. > > I tried catching SIGABRT in my application and did _exit() in my handler. > Still I see core dump file getting generated. > > If I manually raise(SIGABRT) in my app, I do not see core dump. My SIGABRT > handler not working if SIGABRT raised by rte_eal_init() and it causes core > dump. > > Can someone help in avoiding core dump in case rte_eal_init() cause > rte_panic. > > Thanks, > Shiva Fix the code in rte_eal_init don't try to catch abort and continue that is dead end.