https://bugs.kde.org/show_bug.cgi?id=511461
--- Comment #5 from Paul Floyd <[email protected]> --- I'm looking at the cases like static_malloc. This bit of code is not working right 1424 vg_assert(!di->have_dinfo); -> 1425 if (di->fsm.have_rx_map && 1426 di->fsm.rw_map_count == expected_rw_load_count) { 1427 /* Ok, so, finally, we found what we need, and we haven't 1428 already read debuginfo for this object. So let's do so no expected_rw_load_count we get from the macho header ant it is 1. di->fsm.rw_map_count comes from the segement which hass (NSegment) $0 = { kind = SkFileC start = 4294967296 end = 4294971391 smode = SmFixed dev = 16777220 ino = 2151778714093 offset = 0 mode = 31288 fnIdx = 4 hasR = '\x01' hasW = '\0' hasX = '\x01' hasT = '\0' isCH = '\0' -> 1279 is_rx_map = seg->hasR && seg->hasX && !seg->hasW; 1280 is_rw_map = seg->hasR && seg->hasW && !seg->hasX; So that sets RX but not RW. The next seg is RO Next seg is the synamic loader. So the macho header is seeing an RW seg but the two segments don't contain any. One of them is wrong. -- You are receiving this mail because: You are watching all bug changes.
