Dear Maynard Johnson,

Thanks for your reply. I tried to find bfd.h file in /usr/local directory.
But sadly, there is no directory called /usr/local/ in my nfs filesystem.
May be this is due to the filesystem that i am using is built by bitbake
system as per montavista process. ( OPEN Embedded utilities are used to 
download the packages during build).
Let me check for bfd entries in other directories of my filesystem and
try to get rid of it.

Thanks
Koteswararao

On Fri, Dec 7, 2012 at 8:10 PM, Maynard Johnson <maynardj@us.ibm.com> wrote:
On 12/07/2012 04:13 AM, Koteswararao Nelakurthi wrote:
> Dear Maynard Johnson,
>
> Please find the backtrace using oprofile-0.9.7 userspace tool. THe previous mail contains backtrace with oprofile-0.9.8 userspace tool.
>
> backtrace using oprofile-0.9.7 userspace tool
> ====================================
>
> {{{
>
> {{{
> root@xilinx-zynq-le:~# opreport -l
> CPU: ARM Cortex-A9, speed 1999 MHz (estimated)
> Counted CPU_CYCLES events (Number of CPU cycles) with a unit mask of 0x00 (No
> unit mask) count 100000
> Segmentation fault
> root@xilinx-zynq-le:~# gdb --args opreport -l
> GNU gdb (MontaVista Linux G++ 4.4-$$VERSION) 7.0.50.20100218-cvs
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-montavista-linux-gnueabi".
> For bug reporting instructions, please see:
> <http://support.mvista.com/>...
> Reading symbols from /usr/bin/opreport...Reading symbols from
> /usr/bin/.debug/opreport...done.
> done.
> (gdb) run
> Starting program: /usr/bin/opreport -l
> CPU: ARM Cortex-A9, speed 1999 MHz (estimated)
> Counted CPU_CYCLES events (Number of CPU cycles) with a unit mask of 0x00 (No
> unit mask) count 100000
>

This looks exactly like the seg fault info given in the previously referenced bug report (http://sourceforge.net/tracker/?func=detail&aid=2798666&group_id=16191&atid=116191).  In particular, see the backtrace from Date: 2009-05-30 05:21:55 PDT.  Do 'find /usr/local' | grep bfd.  Do you see any files with "bfd" in their name?  If so, get rid of them.

-Maynard

> Program received signal SIGSEGV, Segmentation fault.
> interesting_symbol (sym=0xda340) at bfd_support.cpp:343
> 343     bfd_support.cpp: No such file or directory.
>         in bfd_support.cpp
> (gdb) bt
> #0  interesting_symbol (sym=0xda340) at bfd_support.cpp:343
> #1  0x0007387c in op_bfd::get_symbols (this=0xbef5c8a0,
>     symbols=<value optimized out>) at op_bfd.cpp:223
> #2  0x00074510 in op_bfd::op_bfd (this=0xbef5c8a0,
>     fname=<value optimized out>, symbol_filter=<value optimized out>,
>     extra_images=<value optimized out>, ok=@0xae829) at op_bfd.cpp:176
> #3  0x0004ac4c in populate_for_image (samples=<value optimized out>,
>     ip=<value optimized out>, symbol_filter=...,
>     has_debug_info=<value optimized out>) at populate.cpp:70
> #4  0x00016b54 in (anonymous namespace)::opreport (spec=<value optimized out>)
>     at opreport.cpp:576
> #5  0x0001e4dc in run_pp_tool (argc=<value optimized out>, argv=0xbef5ce24,
>     fct=0x15e20 <(anonymous namespace)::opreport(options::spec const&)>)
>     at common_option.cpp:198
> #6  0x402715a0 in __libc_start_main () from /lib/libc.so.6
> #7  0x0000d0c4 in _start ()
> (gdb)
> }}}
>
> Regards
> koteswararao
>
>
>
[snip]