https://bugs.kde.org/show_bug.cgi?id=353192
--- Comment #9 from Fredrik Tolf <fred...@dolda2000.com> --- Also, this is a patch that fixes the issue for me. It does also include the fix I mentioned above. --- valgrind-3.12.0~svn20160714.orig/coregrind/m_debuginfo/debuginfo.c +++ valgrind-3.12.0~svn20160714/coregrind/m_debuginfo/debuginfo.c @@ -359,14 +359,14 @@ static Bool discard_syms_in_range ( Addr while (True) { if (curr == NULL) break; - if (curr->text_present - && curr->text_size > 0 - && (start+length - 1 < curr->text_avma - || curr->text_avma + curr->text_size - 1 < start)) { - /* no overlap */ - } else { - found = True; - break; + if (curr->text_present && curr->text_size > 0) { + if (start+length - 1 < curr->text_avma + || curr->text_avma + curr->text_size - 1 < start) { + /* no overlap */ + } else { + found = True; + break; + } } curr = curr->next; } @@ -944,10 +944,10 @@ ULong VG_(di_notify_mmap)( Addr a, Bool is_ro_map = False; # if defined(VGA_x86) || defined(VGA_ppc32) || defined(VGA_mips32) \ - || defined(VGA_mips64) + || defined(VGA_mips64) || defined(VGA_amd64) is_rx_map = seg->hasR && seg->hasX; is_rw_map = seg->hasR && seg->hasW; -# elif defined(VGA_amd64) || defined(VGA_ppc64be) || defined(VGA_ppc64le) \ +# elif defined(VGA_ppc64be) || defined(VGA_ppc64le) \ || defined(VGA_arm) || defined(VGA_arm64) is_rx_map = seg->hasR && seg->hasX && !seg->hasW; is_rw_map = seg->hasR && seg->hasW && !seg->hasX; This is against Debian's source tree, however. I hope that doesn't cause too much problem. -- You are receiving this mail because: You are watching all bug changes.