libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] Crash when unwinding using ARM exidx info


From: Arun Sharma
Subject: Re: [Libunwind-devel] Crash when unwinding using ARM exidx info
Date: Thu, 9 May 2013 07:52:11 -0700

+Ken, Tommi

On Tue, May 7, 2013 at 3:58 PM, Fischer, Matt <address@hidden> 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 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]