LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   I got a problem with 'cannot access memory at address 0x400db1d4 ... ' in gdb (https://www.linuxquestions.org/questions/programming-9/i-got-a-problem-with-cannot-access-memory-at-address-0x400db1d4-in-gdb-4175575680/)

Kwak 03-23-2016 10:26 AM

I got a problem with 'cannot access memory at address 0x400db1d4 ... ' in gdb
 
good day to everyone.

I'm a newbie for android .

I was trying to get a dump files from 'terminal app' by gdb..

here is the problem i got stuck in ..


--------------------------

loaded symbols for /system/lib/libmemalloc.so
Cannot access memory at address 0x400db1d4
0x40107980 in ?? ()
(gdb) gcore /sdcard/ing
warning: Unable to fetch general registers.
warning: unable to fetch the floating point registers.
warning: Unable to fetch VFP registers.
Saved corefile /sdcard/ing

--------------------------


when I checked the dumped file, It was just 60kb ..

I don't know what to do.

Please give me an advice for solve this problem..
thank you.

DaneM 03-25-2016 12:10 AM

Caveat: I'm not an android programmer, but I've dealt with some memory funkiness in other ways.

The first thing I would do is a memtest or similar to check to see if the device's memory is actually working properly. If there's a hardware problem, it would produce something like that, and no amount of cleverness on the programmer's part would fix it.

(Further input from an Android programmer is likely needed.)


All times are GMT -5. The time now is 07:25 PM.