Hi Daniel,

Looks like your patch from Feb introduced a call to strdup:

http://git.kernel.org/?p=libs/libunwind/libunwind.git;a=commit;h=3842dac7333e42aa44531eda34ba55200b99ccf8

This violates the guarantee in include/mempool.h which states:

      o To ensure a stack can be unwound at any time in a
        multi-threaded process (e.g., even at a time when the normal
        malloc-lock is taken, possibly by the very thread that is
        being unwind).

Could you consider allocating memory statically for the path or if you must
do it dynamically, use mempools?

 -Arun
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to