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

--- Comment #3 from Paul Floyd <pjfl...@wanadoo.fr> ---
If you can build Valgrind from source, can you try this diff please?

diff --git a/coregrind/m_debuginfo/storage.c b/coregrind/m_debuginfo/storage.c
index 148de6f17..ef6a40051 100644
--- a/coregrind/m_debuginfo/storage.c
+++ b/coregrind/m_debuginfo/storage.c
@@ -793,7 +793,7 @@ void ML_(addDiCfSI) ( struct _DebugInfo* di,
                    "warning: DiCfSI %#lx .. %#lx is huge; length = %u (%s)\n",
                    base, base + len - 1, len, di->soname);

-   vg_assert(di->fsm.have_rx_map && di->fsm.rw_map_count);
+   vg_assert(di->fsm.have_rx_map);
    /* Find mapping where at least one end of the CFSI falls into. */
    map  = ML_(find_rx_mapping)(di, base, base);
    map2 = ML_(find_rx_mapping)(di, base + len - 1,
@@ -1298,7 +1298,7 @@ void ML_(addVar)( struct _DebugInfo* di,
       seems a reasonable assumption to me. */
    /* This is assured us by top level steering logic in debuginfo.c,
       and it is re-checked at the start of ML_(read_elf_object). */
-   vg_assert(di->fsm.have_rx_map && di->fsm.rw_map_count);
+   vg_assert(di->fsm.have_rx_map);
    if (level > 0 && ML_(find_rx_mapping)(di, aMin, aMax) == NULL) {
       if (VG_(clo_verbosity) > 1) {
          VG_(message)(Vg_DebugMsg,

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

Reply via email to