[ros-bugs] [Bug 4342] log2lines: Enhanced raddr2line replacement

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Thu May 21 17:30:14 CEST 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4342


hto <hto at dev.null> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Setup                       |Patches




--- Comment #17 from hto <hto at dev.null>  2009-05-21 17:30:12 CET ---
There is a small but inherent problem with these backtraces. Most of time they
are good, but sometimes they can be unintelligible. And a developer should
download the same build which is used by a bug reporter, disassemble binaries,
and then manually convert adresses into file names and line numbers in order to
reveal the truth.

This is because the reported numbers are return adresses and not the real call
adresses. Most of the time, the corresponding line numbers are the same (or
almost the same). But in extreme cases they can point to quite different places
in a function, even to different functions.

A simple solution would be to perform a conversion twice for every address.
Once for that address itself and another time for (address - 1). Now compare
file names; if they are identical, it's enough to print just one. Then compare
line numbers, and if they differ, the second can be printed, say, in square
brackets.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Ros-bugs mailing list