we are not suppose to replace libc.so,
if we replace, system will not be able to reboot again.
On Wednesday, 5 August 2009 17:46:35 UTC+5:30, clikx wrote:
>
> Hi,
>
> Is there any tool available to find memory leak in native code?
> Is there any tool like 'memprof' or 'mtrace' ported to work in
Hi RK,
Thanks for your help.
I am having nightmares of debugging my native lib in android . I followed
the same method as you told,
but I am unable to find the leaks in my code. on clicking 'Snapshot' after
running a scenario;it is pointing to other native heaps than mine.
*Only once it was abl
Hi all,
I found the way to let ddms show the library name, file , and line no.
correctly.
1. library:
- Modify your HandleNativeHeap( android\development\tools\ddms\libs
\ddmlib\src\com\android\ddmlib\HandleNativeHeap.java)
* change the following line in parseMaps(ClientData cd, byte[]
Hi, Raghu,
1. Are you able to see the library name shown in your ddms?
2. May you share the addresses lies in libc.so in your ddms? Are all
these addresses shown in ddms lies in the address range for libc.so
specified in the prelink file (\android\build\core\prelink-linux-
arm.map)
regards,
RK
hi,
please provide updates .
thank you,
Raghu
On Oct 5, 12:33 pm, RK wrote:
> Hi,
> I have followed your instructions to update the following
> environment variable: $PATH, and $ANDROID_PRODUCT_OUT. And verify they
> are set correctly by the following ways:
> 1. $PATH: I could run arm-e
Hi,
I have followed your instructions to update the following
environment variable: $PATH, and $ANDROID_PRODUCT_OUT. And verify they
are set correctly by the following ways:
1. $PATH: I could run arm-eabi-addr2line from everywhere, which means
that the path for arm-eabi-addr2line is set correc
hi,
i am getting Error like "Received unsupported chunk type NGEN". what
is the reason???
thank you,
raghu
On Sep 29, 5:50 pm, Raghu wrote:
> Hi,
> I was also facing "03:48 E/ddm-Addr2Line: Error while trying to start
> arm-eabi-addr2line process for library /system/lib/libssl.so" error.
> Then
Hi,
I was also facing "03:48 E/ddm-Addr2Line: Error while trying to start
arm-eabi-addr2line process for library /system/lib/libssl.so" error.
Then I provided "out\target\product\surf\symbols\system\lib" in DDMS-
>file>preference->device->default images save dir.
But I couldn’t see any file or me
adb shell stop && adb shell start
On Mon, Sep 28, 2009 at 11:17 AM, allstars wrote:
>
> i would like to ask how to restart framework
> using adb???
>
> thanks
>
> On Aug 6, 1:41 am, fadden wrote:
> > On Aug 5, 5:16 am, clikx wrote:
> >
> > > Is there any tool available to find memory leak in n
i would like to ask how to restart framework
using adb???
thanks
On Aug 6, 1:41 am, fadden wrote:
> On Aug 5, 5:16 am, clikx wrote:
>
> > Is there any tool available to find memory leak in native code?
> > Is there any tool like 'memprof' or 'mtrace' ported to work in Android
> > platform?
>
>
Hi,
Thanks for such good explanation.
Currently I am able to see "native heap" tab in ddms and in Logcat
MALLOC_DEBUG=1 for Native Executable indicating leak. Could you please
suggest/ give some more information about, how to use/ interpret
"native heap" block information.
Thank you,
Raghu
On
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 Na
On 8月6日, 上午1時41分, fadden wrote:
> On Aug 5, 5:16 am, clikx wrote:
>
> > Is there any tool available to find memoryleakin native code?
> > Is there any tool like 'memprof' or 'mtrace' ported to work in Android
> > platform?
>
> If you have the right kind of build on the phone, you can replace /
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//
'PATH'
On Aug 18, 4:49 am, clikx 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 o
Hi Fadden.
I am using own tree.
I am still facing the problem of the columns not populating.
I am using the standalone ddms (and adb).
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/li
On Aug 6, 9:13 pm, clikx wrote:
> Required some more information i.e
> The coloumns 'File' and 'Line' (only) are not populated. What needs to
> be enabled to get data in 'File' and 'Line' coloumns.
DDMS needs the "symbols" directory under "out" in a build tree. The
stand-alone DDMS is set up so
Thanks Fadden !!!
Thanks for the info. It works fine. Able to see the 'Native Heap' tab
(with data).
Required some more information i.e
The coloumns 'File' and 'Line' (only) are not populated. What needs to
be enabled to get data in 'File' and 'Line' coloumns.
Regards
Clikx
--~--~-~--~-
On Aug 5, 5:16 am, clikx wrote:
> Is there any tool available to find memory leak in native code?
> Is there any tool like 'memprof' or 'mtrace' ported to work in Android
> platform?
If you have the right kind of build on the phone, you can replace /
system/lib/libc.so with /system/lib/libc_debu
19 matches
Mail list logo