Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#86 oprofpp + request for linenr info hang

closed-works-for-me
Philippe Elie
None
6
2003-01-23
2002-10-05
Philippe Elie
No

Zach report a hang using oprofpp when requesting
for line number debug info, from the report all post
profile tools are subjects to this bug.

I planned to fix it when I can reproduce it because
the only problem and fix for this I see in the code
don't work .Hang occur in
libutil++/op_bfd.cpp:get_linenr_info()
at:

if (pc + max_search > section_size)
max_search = section_size - pc;
// if (max_search > 16) maxçsearch = 16;
for (size_t i = 1 ; i < max_search ; ++i) {

max_search seems huge, the commented
line is the tried fix...

if someone see this behavior *and* know
on what sample file/binary this occur send
me a mail with your compiler version/binutils
version (ld --version) and http the binary and
samples files.

regards,
Phil

Discussion

  • John Levon
    John Levon
    2003-01-23

    Logged In: YES
    user_id=53034

    No testcase forthcoming. Closing.

     
  • John Levon
    John Levon
    2003-01-23

    • status: open --> closed-works-for-me