Hi all,
I have followed the stpes to set the environment variables: $PATH, and
$ANDROID_PRODUCT_OUT correctly. However, I still can not see both
columns: File, and Line shown in the Native heap tab. Could anyone
give some suggestions?

I also have a question.
I could see many lines shown in the Native heap tab, as well as the
string like: "/system/bin/sh using MALLOC_DEBUG = 1 (leak checker)"
shown in the logcat log.
1. What is the next step for me to find out the memory leakage?
2. Does string "/system/bin/sh using MALLOC_DEBUG = 1 (leak checker)"
mean that /system/bin/sh has memory leak? or it just means that /
system/bin/sh calls malloc() api at some time?


regards,
RK

On 8月19日, 下午5時02分, clikx <[email protected]> wrote:
> Hi Fadden,
>
> Things seems to be working. Both the coloumns are getting populated
> with file and function names.
>
> I have updated following environment variables
> 1. $PATH with ~/open_src/prebuilt/linux-x86/toolchain/arm-eabi-XXX/bin
> 2. $ANDROID_PRODUCT_OUT with ~/open_src/out/target/product/<XXX>/
>
> 'PATH' is used for getting "arm-eabi-addr2line" and
> ANDROID_PRODUCT_OUT for getting the path to /symbol folder.
>
> Thanks and Regards
> Supriyo
>
> On Aug 19, 12:54 am, fadden <[email protected]> wrote:
>
> > On Aug 18, 4:49 am, clikx <[email protected]> wrote:
>
> > > I am using own tree.
> >   ...
> > > I am getting the following error for all the libraries.
> > > 03:48 E/ddm-Addr2Line: Error while trying to start arm-eabi-addr2line
> > > process for library /system/lib/libssl.so
>
> > > I am not able to find; which file, the path preferences of "/<path>/
> > > arm-eabi-addr2line" and "/out/target/product/<prod>/symbols/system/
> > > lib/" are to be updated.
>
> > When I type "which arm-eabi-addr2line", I find it in ./prebuilt/linux-
> > x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-addr2line.  Are you setting
> > your path with ". build/envsetup.sh" and an appropriate "lunch"
> > command?
>
> > There appears to be an addr2line preference in File->Preferences, but
> > you shouldn't have to mess with that.
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to