拋出ct_cmd_alloc的錯誤,我有一個應用程序我在哪裏運行的進程跟蹤。而這個過程中運行,我收到了 ct_cmd_alloc
錯誤說malloc的失敗。我明白,當 的內存空間分配失敗引發此錯誤。但我想知道是否有任何其他原因 我應該在哪裏concenterate發現這個錯誤。如何從那裏我得到我的應用程序
我最重要的問題是How can i actually pin point where and what in my code is resulting into this error. can i use gdb ,mdb or say d-Trace to pin pointy the location and if so How can i proceed for that.
你的意思是說我應該運行我的進程,然後等待覈心轉儲,然後使用gdb分析它? – Invictus 2012-03-07 16:30:33
@Ritesh:你需要從gdb中運行你的進程。 – AbdullahC 2012-03-07 16:33:31
@Hippo我通過命令行運行我的進程。你能給我一些關於如何從gdb內部運行它的見解嗎? – Invictus 2012-03-07 16:47:42