0

I get the Trace/BPT trap core dump, when I try to run my exe. Please let me know your suggestions.

  time /backup/SStore/CODE/Smain.exe 00257947
SROMain running with trace level. 0

 InitEstimateServer
About to SetUpStockBuildMonitorSet up StockBuildMonitorProcessed 2 records

Trace/BPT trap(coredump)
real    0m14.17s
user    0m9.88s
sys     0m0.08s

and after trying to debug it through dbx(core file) below is the output:

/usr/bin/dbx32 /backup/SStore/CODE/Smain.exe core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
Trace/BPT trap in SalcDayList::GetNumberOfDeliveries() at line 92 in file "/backup/SStore/CODE/salclist.C" ($t1)
 92             return m_numberOfDels;

Please suggest a remedy....

4

1 回答 1

0

您可能在编译阶段打开了数组边界检查(或类似的东西)。这会产生一个产生该消息的陷阱。

修复您的数组绑定错误 - 我想它可能之前已经上线了。

于 2012-09-18T10:56:11.963 回答