Hi,

> i don't know whether you care, but Android recently switched to
> libunwind and we had to rewrite the caching because it's so leaky.
> we've also found libunwind copes badly with processes that are
> crashed/crashing --- there are no sanity checks before dereferences.
> we [think we've] fixed this locally, but we haven't managed to get
> much upstreamed yet.
> 
> you can see our local changes here:
> 
> https://android-review.googlesource.com/#/q/project:platform/external/libunwind

Do you mean dwarf cache or mmap cache?

As far as trying dwarf cache(with strace), it works fine. I have never
got crashing. For me you are talking about mmap cache.

As far as I know there is no mmap cache API in libunwind.  I proposed
mmap cache API but I got requests to improve from reviewer. A person
at google also submmited a patch about similar area.

BTW, I was notified that elfutils has good unwinder.
It has good mmap cache mechanism. It can show source file name 
and line number in stacktrace. 

Thank you for notifying. Many interesting patches in the repository.
I hope the patches are merged to upstream:)

Masatake YAMATO

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to