bytedance / memory-leak-detector

Other
1.09k stars 178 forks source link

no more stack trace in operator_new(_Znwj) on armeabi-v7a #1

Closed shenghanzhouyou closed 3 years ago

shenghanzhouyou commented 3 years ago

use libudf_unwind_backtrace(xframes, 2, STACKTRACEDEPTH) on hook _Znwj callback function the reuslt:

xHook ### allocated [12,679]K 12983343 allocCnt:2522 freeCnt:2003 by:

00 0x00300135 _Znwj

only 1 frame! no more???

shentianzhou commented 3 years ago

Dou you have a complete log?

shentianzhou commented 3 years ago

libudf_unwind_backtrace is a third-party library. The depth of the stack is affected by the runtime