Far Manager crashes Terminal after commit e7d3dc5d #9249

Open
opened 2026-01-31 01:49:39 +00:00 by claunia · 0 comments
Owner

Originally created by @igorkuzuro on GitHub (Jun 24, 2020).

Environment

Windows build number: Microsoft Windows NT 10.0.20150.0
Windows Terminal Dev build from sources
Far Manager v3.0 build 5625 x64 (2020-06-24) https://farmanager.com

Steps to reproduce

Start new tab for Far Manager or just start far.exe in existing tab from command prompt

Expected behavior

Expected working Far Manger

Actual behavior

Terminal crashed. In debug configuration raised exception in "vector" include file in
function void _Verify_offset(const difference_type _Off) const at line 113
"cannot seek vector iterator after end"

Call stack:
...
problem at
src\renderer\dx\CustomTextLayout.cpp at line 867:
const auto postOriginX = std::accumulate(_glyphAdvances.begin() + run.glyphStart,
_glyphAdvances.begin() + run.glyphStart + run.glyphCount,
mutableOrigin.x);

_glyphAdvances.size(): 0x000000000000001f
run.glyphStart: 0x00000001
run.glyphCount: 0x0000ffff

Same problem in wsl2 (Ubuntu or CentOS not matter) with Midnight Commander... start ok (in user's home directory) but Terminal crashes when trying cd to /home directory with mouse double click under .. or with cd .. in command line.

Originally created by @igorkuzuro on GitHub (Jun 24, 2020). # Environment Windows build number: Microsoft Windows NT 10.0.20150.0 Windows Terminal Dev build from sources Far Manager v3.0 build 5625 x64 (2020-06-24) https://farmanager.com # Steps to reproduce Start new tab for Far Manager or just start far.exe in existing tab from command prompt # Expected behavior Expected working Far Manger # Actual behavior Terminal crashed. In debug configuration raised exception in "vector" include file in function void _Verify_offset(const difference_type _Off) const at line 113 **"cannot seek vector iterator after end"** Call stack: ... problem at src\renderer\dx\CustomTextLayout.cpp at line 867: const auto postOriginX = std::accumulate(_glyphAdvances.begin() + run.glyphStart, _glyphAdvances.begin() + run.glyphStart + run.glyphCount, mutableOrigin.x); _glyphAdvances.size(): 0x000000000000001f run.glyphStart: 0x00000001 run.glyphCount: 0x0000ffff Same problem in wsl2 (Ubuntu or CentOS not matter) with Midnight Commander... start ok (in user's home directory) but Terminal crashes when trying cd to /home directory with mouse double click under .. or with cd .. in command line.
claunia added the Needs-TriageResolution-Fix-CommittedNeeds-Tag-Fix labels 2026-01-31 01:49:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9249