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

--- Comment #22 from Paul Floyd <pjfl...@wanadoo.fr> ---
The last trace is from "Bool ML_(read_elf_debug_info) ( struct _DebugInfo* di
)"

I see 6 call sites for the asserting function, ML_(find_rx_mapping)().

search_all_symtabs() and ML_(addDiCfSI)() use the same address for min and max
so they can't be the problem.

ML_(addVar)() is protected by a prior assert so it can't be that.

ML_(addLineInfo) could be bad if size is 0 or wraps around, but there are
asserts checking that size >=1 and <= MAX_LOC_SIZE which is only 2^12 - 1

get_elf_symbol_info could be bad if "*sym_size_out" is 0 or negative (or
wraps?).
It can't be negative as there is a test for this which clamps the size to 1.
There's also a test for zero size which returns false.
That just leaves wrapping. And I can't see how that could happen either.

Could you please run with --trace-symtab=yes and post the output? Probably just
the last few traces before the assert should be enough.

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

Reply via email to