trikker commented on issue #2214:
URL: https://github.com/apache/brpc/issues/2214#issuecomment-1517349645

   @lorinlee 是的,我也很想把ASAN的栈回溯打得完整些,但是我编译brpc时和编译我的项目时都用了-g 
-fno-omit-frame-pointer参数,也都用了RelWithDebInfo模式,都无法打出完整调用栈,还是显示下面的样子,请问我还要加哪些参数呢?把栈打完整了应该离真相就近了。
   
   ```
   0x6030004f5ac0 is located 0 bytes inside of 18-byte region 
[0x6030004f5ac0,0x6030004f5ad2)
   freed by thread T62 here:
       #0 0x7f5b8f3d5017 in operator delete(void*) 
../../../../src/libsanitizer/asan/asan_new_delete.cpp:160
   
   previously allocated by thread T27 here:
       #0 0x7f5b8f3d4647 in operator new(unsigned long) 
../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to