Hi,

Thanks Wan Mohd Fairuz Wan Ismail for your reply.

I am running valgrind on ARM based  freescale iMX25 3 stack board.
Linux version 2.6.31.

I have moved the program more a accessible directory but result is same.


starce log :

munmap(0x401c000, 8192)                 = 0
stat64("/lib/ld-2.5.so", {st_mode=S_IFREG|0755, st_size=157500, ...}) = 0
open("/lib/ld-2.5.so", O_RDONLY|O_NOFOLLOW) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340\7\0"...,
1024) = 1024
close(3)                                = 0
stat64("/lib/ld-2.5.so", {st_mode=S_IFREG|0755, st_size=157500, ...}) = 0
open("/lib/ld-2.5.so", O_RDONLY|O_NOFOLLOW) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340\7\0"...,
1024) = 1024
close(3)                                = 0
open("/lib/ld-2.5.so", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=157500, ...}) = 0
mmap2(0x4825000, 157500, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x4825000
fstat64(3, {st_mode=S_IFREG|0755, st_size=157500, ...}) = 0
readlink("/proc/self/fd/3", "/lib/ld-2.5.so", 4096) = 14
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 703 detached

Memory mapping:

cat /proc/iomem
43f90000-43f90fff : serial_mxc
43f94000-43f94fff : serial_mxc
43fa4000-43fa4fff : mxc_spi.0
  43fa4000-43fa4fff : mxc_spi
50030000-50031000 : imx_adc.0
50038000-50038fff : fec.0
  50038000-50038fff : fec
53fb4000-53fb4fff : mxsdhci.0
  53fb4000-53fb4fff : mxsdhci
53fb8000-53fb8fff : mxsdhci.1
53ff0000-53ff0fff : mxc_iim.0
53ff4000-53ff41ff : fsl-usb2-udc
  53ff4000-53ff41ff : fsl-ehci.1
    53ff4000-53ff41ff : ehci_hcd
53ff4400-53ff45ff : fsl-ehci.0
  53ff4400-53ff45ff : ehci_hcd
53ffc000-53ffc040 : imxdi_rtc.0
  53ffc000-53ffc040 : imxdi_rtc
80000000-83ffffff : System RAM
  80025000-8033ffff : Kernel text
  8035a000-803be94b : Kernel data

Any help highly apperetiated.

Thanks & regards,

Zaahir Khan



On Wed, May 4, 2011 at 6:27 PM, Wan Mohd Fairuz Wan Ismail
<[email protected]> wrote:
> Hi
>
>
>> /home/administrator/valgrind$ bin/valgrind  -v -v -d -d
>> /root/valgrind_example
>
> Can you try to move the program to more accessible directory such as
> /home/administrator and retry?
>>
>> --1078-- Reading syms from /root/valgrind_example (0x8000)
>> --1078--    svma 0x00000082f8, avma 0x00000082f8
>> --1078-- Reading syms from /lib/ld-2.5.so (0x4000000)
>> --1078--    svma 0x00000007e0, avma 0x00040007e0
>> Segmentation fault
>>
>
> Try to use strace to know at which address the fault come from.
> p/s : What system do you use to run valgrind? (ubuntu, android etc)
>
>
> --
> Wan Mohd Fairuz WAN ISMAIL
>
>
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to