You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating the addr2line dependency in samply caused test failures, see mstange/samply#310 .
Steps to reproduce:
Have a checkout of the samply repo next to your checkout of this addr2line repo.
Run the following from the root of the addr2line repo: cargo run --features bin --bin addr2line -- -pCfi -e ../samply/fixtures/other/ls-linux/260a3e6e46db57abf718f6a3562c6eedccf269.debug --sup ../samply/fixtures/other/ls-linux/coreutils.debug 0xd6f4
Expected results:
It should print
do_lstat at ./src/ls.c:1184
(inlined by) gobble_file at ./src/ls.c:3403
The duplicate range is due to a partial unit. Ignoring unit ranges for the partial unit makes it work. It previously worked because the reverse order made us find the compilation unit first. I'm trying to understand more about the partial unit ranges before doing a fix.
Updating the addr2line dependency in samply caused test failures, see mstange/samply#310 .
Steps to reproduce:
samply
repo next to your checkout of thisaddr2line
repo.addr2line
repo:cargo run --features bin --bin addr2line -- -pCfi -e ../samply/fixtures/other/ls-linux/260a3e6e46db57abf718f6a3562c6eedccf269.debug --sup ../samply/fixtures/other/ls-linux/coreutils.debug 0xd6f4
Expected results:
It should print
Actual results:
It now prints
This is a regression from #306.
Logging the unit ranges just before the
unit_ranges.sort_by_key(|i| i.range.end);
call gives the following:It seems that the 22944..68112 range is present twice.
I haven't debugged any further than this.
The text was updated successfully, but these errors were encountered: