+Ken, Tommi

On Tue, May 7, 2013 at 3:58 PM, Fischer, Matt <[email protected]>wrote:

>
>
> I think the right fix is to change the condition to:
>
>   else if (pi->unwind_info && pi->format == UNW_INFO_FORMAT_TABLE)
>
> This works, because the DWARF code sets pi->format to that value when
> allocating an unwind_info, but the exidx code sets it instead to
> UNW_INFO_FORMAT_ARM_EXIDX.  But I'm not very familiar with this code, so
> I'm not positive this is the correct fix.  Could somebody let me know
> whether I'm on the right track?  If so, I'll happily put a patch together.
>

I think your analysis is right, but I'm not convinced that we're properly
freeing memory here. Do you see leaks if you unwind in a loop?

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

Reply via email to