Hello. I run geany 1.37.1 on Fedora 33 and Geany crashes when I try to put a space between an emoji and Unicode VARIATION SELECTOR-16.

Steps to reproduce:

  1. Enable the Spell Check plugin and enable spell checking. I use en_US in case it matters.
  2. Insert an emoji with VARIATION SELECTOR-16, e.g. ☃️ (select the entire line form the source of this comment or from here).
  3. Move the cursor between the two characters:
    _
  4. Type "space" (or any other character it seems).
  5. Geany crashes (aborts).
/usr/include/c++/10/bits/stl_vector.h:1063: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; std::vector<_Tp, _Alloc>::const_reference = const unsigned char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.