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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
This appears closely related to BUG 519276.

The backtrace follows the same path:

```
TerminalDisplay::updateImage()
-> Screen::text()
-> Screen::writeToStream()
-> Screen::copyLineToStream()
```

with block selection active (`isBlockSelectionMode = true`).

In this trace, `count` becomes negative (`count = -92`) before reaching
`copyLineToStream()`, matching the invalid range condition addressed in MR
!1204.

Unlike a debug build, the release build continues execution and eventually
reaches `CompactHistoryScroll::getCells()`, where the invalid count propagates
into `std::copy()` / `memcpy()` and results in a segmentation fault.

Because of the matching execution path and invalid range values, I suspect this
report and BUG 519276 share the same underlying cause.

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

Reply via email to