[arm-gnu] Core File seems to be corrupted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] Core File seems to be corrupted



Hi all,

 

    I have built an application to run on ARM processor and when ever my
application crashes, I get the core file.

 

    But the issue is that the core file seems to be corrupted. I get the
following when I issue "bt" or "where" command.

    It does not show the function names properly.

 

Cannot access memory at address 0x400256b0

(gdb) bt

#0  0x402b39d8 in ?? ()

#1  0x40299004 in ?? ()

#2  0x40299004 in ?? ()

Previous frame identical to this frame (corrupt stack?)

 

    I have built the application with -g option still I get this issue
consistently. 

+CFLAGS += -g -O2

+CFLAGS += -D_DEBUG

 

     Could you please help me with this regard ?

 

[sourceServer]$ arm-none-linux-gnueabi-gdb <Application>
~/CRASH/core_11_application

GNU gdb (CodeSourcery ARM Sourcery G++ 2006q3-26) 6.5.50.20060822-cvs

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you
are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for
details.

This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-none-linux-gnueabi".

For bug reporting instructions, please see:

<URL:mailto:arm-gnu@xxxxxxxxxxxxxxxx>.

..

Cannot access memory at address 0x400256b0

(gdb) bt

#0  0x402b39d8 in ?? ()

#1  0x40299004 in ?? ()

#2  0x40299004 in ?? ()

Previous frame identical to this frame (corrupt stack?)

(gdb) where

#0  0x402b39d8 in ?? ()

#1  0x40299004 in ?? ()

#2  0x40299004 in ?? ()