退出系统调用会导致进程到核心转储

时间:2017-02-08 13:43:15

标签: c++ exit

我们在C程序中使用exit(rc)。然而,这是倾销核心。

附加到生成低于O / P的dbx

warning: Unable to access address 0xf07519a4 from core
pthdb_session.c, 546: 1 PTHDB_CALLBACK (callback failed)
pthreaded.c, 1986: PTHDB_CALLBACK (callback failed)
Segmentation fault in Block_pool::~Block_pool() at line 32 in file ""
could not read "Pool.C"
(dbx) where
warning: Unable to access address 0xf07519a4 from core
pthdb_session.c, 546: 1 PTHDB_CALLBACK (callback failed)
pthreaded.c, 1986: PTHDB_CALLBACK (callback failed)
Block_pool::~Block_pool()(0xe9fb0, 0x0), line 32 in "Pool.C"
StringList_Init::~StringList_Init()() at 0x10169f0c
vxIpcChannel._::__srterm() at 0x101690d8
exit(??) at 0xd01835f0

我们知道退出系统调用失败的原因吗?

0 个答案:

没有答案