#210 Incorrect handling of debuginfo files with debug data only

closed-fixed
None
5
2012-08-27
2012-01-06
No

For certain libraries (notably, libc), some distros (recent Fedora and RHEL, for example) put only the debug info sections into *.debug files; the basic symbol info (.symtab/.strtab) is retained in these specially stripped libraries. The repercussions of that technique is that when oprofile is processing a debuginfo file in bfd_support.cpp:get_symbols(), the call to bfd_get_symtab_upper_bound returns 0 for nr_syms since there is no symbol info in the debuginfo file (only debug info). And since nr_syms is less than '1', we simply return.

Discussion

  • Maynard Johnson

    Maynard Johnson - 2012-02-29
    • assigned_to: nobody --> maynardj
    • status: open --> open-fixed
     
  • Maynard Johnson

    Maynard Johnson - 2012-02-29

    This bug has been fixed. See posting to the oprofile-list on Feb 29, 2012, subject heading "Re: [PATCH] Fix debuginfo processing to handle no symbol info in debuginfo file".

     
  • Maynard Johnson

    Maynard Johnson - 2012-08-27
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks