https://bugs.kde.org/show_bug.cgi?id=375772

            Bug ID: 375772
           Summary: +1 error in get_elf_symbol_info() when computing value
                    of 'hi' address for ML_(find_rx_mapping)
           Product: valgrind
           Version: 3.13 SVN
          Platform: Compiled Sources
                OS: Solaris
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: iv...@ivosh.net
  Target Milestone: ---

Function ML_(find_rx_mapping)() expects 'lo' and 'hi' addresses.
However get_elf_symbol_info() passes the following to it:
ML_(find_rx_mapping)(di,
                     (*sym_avmas_out).main,                    // lo
                     (*sym_avmas_out).main + *sym_size_out);   // hi

Causing the debuginfo reader assert horribly when the last symbol ends
precisely
on the text segment end.

I was able to reproduce this problem under special circumstances on
sparcv9/Solaris platform, however it is generic. All other
ML_(find_rx_mapping)() call sites account for 'lo'/'hi' argument semantics.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to