Crash on try show AI text editor button
Author: OtorhinCreated Apr 2, 2026Updated Sep 30, 2026
Labelsbugstale
Steps to reproduce
Type 66+ symbols in field for text message and get crash =c But if i attach media and type 66+ symbols it's works without crush
Expected behaviour
Not crush
Actual behaviour
Crush
Operating system
Debian 13, KDE
Version of Telegram Desktop
6.7.0 & 6.7.1
Installation source
Static binary from official website
Crash ID
5d49b8bd-37c3-4939-33ac9c9f-07a4364f
Logs
/opt/rh/gcc-toolset-15/root/usr/include/c++/15/bits/stl_algo.h:3638: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed.
Aborted (core dumped)Source: telegramdesktop/tdesktop