LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-23-2016, 10:26 AM   #1
Kwak
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
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.

Last edited by Kwak; 03-23-2016 at 10:28 AM.
 
Old 03-25-2016, 12:10 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
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.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stack memory area print that would show symbols and memory address using GDB narasimhap Linux - Software 2 09-21-2014 07:40 PM
gdb can't access memory of a segfault? Los Frijoles Programming 2 02-14-2012 10:26 PM
[SOLVED] gdb reports "Cannot access memory at address 0x8049088". stf92 Programming 3 07-11-2011 06:11 PM
analyzing C program core dump using GDB (Cannot access memory) m4rtin Programming 3 08-31-2010 03:27 PM
gdb : Cannot access memory at address 0x99f825d4 johnpaulodonnell Linux - Newbie 1 03-23-2007 08:14 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration