Annoying global variables initialization order issue

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed May 10 17:00:49 UTC 2023


Hello,

Trying to run LyX under valgrind, I find many AVX2-related valgrind 
warnings (see attachment). It seems related to a change of variable 
initialization order by the compiler.

The following patch fixes the first warnings. The other ones will be a 
bit more complicated.

Ideas?

JMarc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-weird-initialization-issue.patch
Type: text/x-patch
Size: 2815 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230510/1c5377b0/attachment-0001.bin>
-------------- next part --------------
==8864== Memcheck, a memory error detector
==8864== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==8864== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==8864== Command: src/lyx
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x44A15E: compare (char_traits.h:512)
==8864==    by 0x44A15E: compare (basic_string.h:3148)
==8864==    by 0x44A15E: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A15E: operator() (stl_function.h:408)
==8864==    by 0x44A15E: _M_get_insert_hint_unique_pos (stl_tree.h:2225)
==8864==    by 0x44A15E: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2462)
==8864==    by 0x44A15E: operator[] (stl_map.h:511)
==8864==    by 0x44A15E: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A15E: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A15E: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e26d50 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x44A1EA: compare (char_traits.h:512)
==8864==    by 0x44A1EA: compare (basic_string.h:3148)
==8864==    by 0x44A1EA: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A1EA: operator() (stl_function.h:408)
==8864==    by 0x44A1EA: _M_get_insert_hint_unique_pos (stl_tree.h:2231)
==8864==    by 0x44A1EA: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2462)
==8864==    by 0x44A1EA: operator[] (stl_map.h:511)
==8864==    by 0x44A1EA: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A1EA: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A1EA: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x44AC6D: compare (char_traits.h:512)
==8864==    by 0x44AC6D: compare (basic_string.h:3148)
==8864==    by 0x44AC6D: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44AC6D: operator() (stl_function.h:408)
==8864==    by 0x44AC6D: _M_insert_node (stl_tree.h:2381)
==8864==    by 0x44AC6D: _M_insert (stl_tree.h:1656)
==8864==    by 0x44AC6D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2464)
==8864==    by 0x44AC6D: operator[] (stl_map.h:511)
==8864==    by 0x44AC6D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AC6D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AC6D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x44A00F: compare (char_traits.h:512)
==8864==    by 0x44A00F: compare (basic_string.h:3148)
==8864==    by 0x44A00F: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A00F: operator() (stl_function.h:408)
==8864==    by 0x44A00F: _M_lower_bound (stl_tree.h:1951)
==8864==    by 0x44A00F: lower_bound (stl_tree.h:1270)
==8864==    by 0x44A00F: lower_bound (stl_map.h:1307)
==8864==    by 0x44A00F: operator[] (stl_map.h:507)
==8864==    by 0x44A00F: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A00F: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A00F: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x44A1EA: compare (char_traits.h:512)
==8864==    by 0x44A1EA: compare (basic_string.h:3148)
==8864==    by 0x44A1EA: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A1EA: operator() (stl_function.h:408)
==8864==    by 0x44A1EA: _M_get_insert_hint_unique_pos (stl_tree.h:2231)
==8864==    by 0x44A1EA: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2462)
==8864==    by 0x44A1EA: operator[] (stl_map.h:511)
==8864==    by 0x44A1EA: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A1EA: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A1EA: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x44AC6D: compare (char_traits.h:512)
==8864==    by 0x44AC6D: compare (basic_string.h:3148)
==8864==    by 0x44AC6D: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44AC6D: operator() (stl_function.h:408)
==8864==    by 0x44AC6D: _M_insert_node (stl_tree.h:2381)
==8864==    by 0x44AC6D: _M_insert (stl_tree.h:1656)
==8864==    by 0x44AC6D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2464)
==8864==    by 0x44AC6D: operator[] (stl_map.h:511)
==8864==    by 0x44AC6D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AC6D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AC6D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x44A00F: compare (char_traits.h:512)
==8864==    by 0x44A00F: compare (basic_string.h:3148)
==8864==    by 0x44A00F: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A00F: operator() (stl_function.h:408)
==8864==    by 0x44A00F: _M_lower_bound (stl_tree.h:1951)
==8864==    by 0x44A00F: lower_bound (stl_tree.h:1270)
==8864==    by 0x44A00F: lower_bound (stl_map.h:1307)
==8864==    by 0x44A00F: operator[] (stl_map.h:507)
==8864==    by 0x44A00F: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A00F: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A00F: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e277b0 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC3880F: resize (basic_string.h:1106)
==8864==    by 0xC3880F: lyx::from_ascii[abi:cxx11](char const*) (docstring.cpp:39)
==8864==    by 0x449FC3: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x449FC3: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x449FC3: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x44A06D: compare (char_traits.h:512)
==8864==    by 0x44A06D: compare (basic_string.h:3148)
==8864==    by 0x44A06D: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A06D: operator() (stl_function.h:408)
==8864==    by 0x44A06D: operator[] (stl_map.h:509)
==8864==    by 0x44A06D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A06D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A06D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e277b0 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC3880F: resize (basic_string.h:1106)
==8864==    by 0xC3880F: lyx::from_ascii[abi:cxx11](char const*) (docstring.cpp:39)
==8864==    by 0x449FC3: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x449FC3: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x449FC3: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x44A06D: compare (char_traits.h:512)
==8864==    by 0x44A06D: compare (basic_string.h:3148)
==8864==    by 0x44A06D: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A06D: operator() (stl_function.h:408)
==8864==    by 0x44A06D: operator[] (stl_map.h:509)
==8864==    by 0x44A06D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A06D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A06D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x44A15E: compare (char_traits.h:512)
==8864==    by 0x44A15E: compare (basic_string.h:3148)
==8864==    by 0x44A15E: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x44A15E: operator() (stl_function.h:408)
==8864==    by 0x44A15E: _M_get_insert_hint_unique_pos (stl_tree.h:2225)
==8864==    by 0x44A15E: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2462)
==8864==    by 0x44A15E: operator[] (stl_map.h:511)
==8864==    by 0x44A15E: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44A15E: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44A15E: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864==  Address 0x8e27230 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x44AD9D: _M_construct<wchar_t*> (basic_string.tcc:225)
==8864==    by 0x44AD9D: basic_string (basic_string.h:544)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 0> (tuple:1817)
==8864==    by 0x44AD9D: pair<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&> (tuple:1807)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (new_allocator.h:175)
==8864==    by 0x44AD9D: construct<std::pair<const std::__cxx11::basic_string<wchar_t>, lyx::(anonymous namespace)::deco_struct>, const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (alloc_traits.h:516)
==8864==    by 0x44AD9D: _M_construct_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:595)
==8864==    by 0x44AD9D: _M_create_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:612)
==8864==    by 0x44AD9D: _Auto_node<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:1636)
==8864==    by 0x44AD9D: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&>, std::tuple<> > (stl_tree.h:2461)
==8864==    by 0x44AD9D: operator[] (stl_map.h:511)
==8864==    by 0x44AD9D: init_deco_table (MathSupport.cpp:536)
==8864==    by 0x44AD9D: __static_initialization_and_destruction_0 (MathSupport.cpp:541)
==8864==    by 0x44AD9D: _GLOBAL__sub_I_MathSupport.cpp (MathSupport.cpp:1120)
==8864==    by 0x5FBEBBD: call_init (libc-start.c:145)
==8864==    by 0x5FBEBBD: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
==8864==    by 0x456784: (below main) (in /home/lasgoutt/src/lyx/profdbuild/src/lyx)
==8864== 
QSocketNotifier: Can only be used with threads started with QThread
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5D94C91: compare (char_traits.h:526)
==8864==    by 0x5D94C91: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::compare(unsigned long, unsigned long, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) const (basic_string.h:3277)
==8864==    by 0xC5A7AD: lyx::support::prefixIs(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:725)
==8864==    by 0x5AA548: lyx::Lexer::getLongString(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (Lexer.cpp:720)
==8864==    by 0x5716CC: lyx::Language::readLanguage(lyx::Lexer&) (Language.cpp:260)
==8864==    by 0x571ADE: lyx::Language::read(lyx::Lexer&) (Language.cpp:294)
==8864==    by 0x5733BE: lyx::Languages::read(lyx::support::FileName const&) (Language.cpp:344)
==8864==    by 0x5B531E: lyx::LyX::readLanguagesFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (LyX.cpp:1164)
==8864==    by 0x5B6E35: lyx::LyX::init() (LyX.cpp:1006)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x1041be30 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC38A65: resize (basic_string.h:1106)
==8864==    by 0xC38A65: lyx::utf8_to_ucs4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (docstring.cpp:77)
==8864==    by 0xC38AEE: lyx::from_utf8(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (docstring.cpp:95)
==8864==    by 0x5A7F3A: lyx::Lexer::Pimpl::getDocString[abi:cxx11]() const (Lexer.cpp:163)
==8864==    by 0x5AA2DF: lyx::Lexer::getDocString[abi:cxx11](bool) const (Lexer.cpp:679)
==8864==    by 0x5AA621: lyx::Lexer::getLongString(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (Lexer.cpp:699)
==8864==    by 0x5716CC: lyx::Language::readLanguage(lyx::Lexer&) (Language.cpp:260)
==8864==    by 0x571ADE: lyx::Language::read(lyx::Lexer&) (Language.cpp:294)
==8864==    by 0x5733BE: lyx::Languages::read(lyx::support::FileName const&) (Language.cpp:344)
==8864==    by 0x5B531E: lyx::LyX::readLanguagesFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (LyX.cpp:1164)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5DAFAE: compare (char_traits.h:512)
==8864==    by 0x5DAFAE: compare (basic_string.h:3148)
==8864==    by 0x5DAFAE: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x5DAFAE: operator() (ModuleList.cpp:116)
==8864==    by 0x5DAFAE: operator()<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:158)
==8864==    by 0x5DAFAE: __move_median_to_first<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:87)
==8864==    by 0x5DAFAE: __unguarded_partition_pivot<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1887)
==8864==    by 0x5DAFAE: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1921)
==8864==    by 0x5D7966: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1937)
==8864==    by 0x5D7966: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7966: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8f1dfd0 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC63262: void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) [clone .isra.0] (basic_string.tcc:225)
==8864==    by 0xC6358D: basic_string (basic_string.h:544)
==8864==    by 0xC6358D: lyx::Messages::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (Messages.cpp:340)
==8864==    by 0xC53BC6: lyx::_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (gettext.cpp:26)
==8864==    by 0x5DAF6B: operator() (ModuleList.cpp:116)
==8864==    by 0x5DAF6B: operator()<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:158)
==8864==    by 0x5DAF6B: __move_median_to_first<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:87)
==8864==    by 0x5DAF6B: __unguarded_partition_pivot<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1887)
==8864==    by 0x5DAF6B: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1921)
==8864==    by 0x5D7966: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1937)
==8864==    by 0x5D7966: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7966: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x5DB27E: compare (char_traits.h:512)
==8864==    by 0x5DB27E: compare (basic_string.h:3148)
==8864==    by 0x5DB27E: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x5DB27E: operator() (ModuleList.cpp:116)
==8864==    by 0x5DB27E: operator()<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:158)
==8864==    by 0x5DB27E: __unguarded_partition<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1870)
==8864==    by 0x5DB27E: __unguarded_partition_pivot<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1889)
==8864==    by 0x5DB27E: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1921)
==8864==    by 0x5D7966: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1937)
==8864==    by 0x5D7966: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7966: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8e8f4f0 is 0 bytes inside a block of size 24 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC63262: void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) [clone .isra.0] (basic_string.tcc:225)
==8864==    by 0xC6358D: basic_string (basic_string.h:544)
==8864==    by 0xC6358D: lyx::Messages::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (Messages.cpp:340)
==8864==    by 0xC53BC6: lyx::_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (gettext.cpp:26)
==8864==    by 0x5DB228: operator() (ModuleList.cpp:116)
==8864==    by 0x5DB228: operator()<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:158)
==8864==    by 0x5DB228: __unguarded_partition<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1870)
==8864==    by 0x5DB228: __unguarded_partition_pivot<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1889)
==8864==    by 0x5DB228: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1921)
==8864==    by 0x5D7966: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1937)
==8864==    by 0x5D7966: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7966: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5DB13C: compare (char_traits.h:512)
==8864==    by 0x5DB13C: compare (basic_string.h:3148)
==8864==    by 0x5DB13C: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x5DB13C: operator() (ModuleList.cpp:116)
==8864==    by 0x5DB13C: operator()<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:158)
==8864==    by 0x5DB13C: __unguarded_partition<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1867)
==8864==    by 0x5DB13C: __unguarded_partition_pivot<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1889)
==8864==    by 0x5DB13C: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1921)
==8864==    by 0x5DB315: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1922)
==8864==    by 0x5D7966: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1937)
==8864==    by 0x5D7966: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7966: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8e92430 is 0 bytes inside a block of size 24 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC63262: void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) [clone .isra.0] (basic_string.tcc:225)
==8864==    by 0xC6358D: basic_string (basic_string.h:544)
==8864==    by 0xC6358D: lyx::Messages::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (Messages.cpp:340)
==8864==    by 0xC53BC6: lyx::_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (gettext.cpp:26)
==8864==    by 0x5DB100: operator() (ModuleList.cpp:116)
==8864==    by 0x5DB100: operator()<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:158)
==8864==    by 0x5DB100: __unguarded_partition<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1867)
==8864==    by 0x5DB100: __unguarded_partition_pivot<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1889)
==8864==    by 0x5DB100: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1921)
==8864==    by 0x5DB315: void std::__introsort_loop<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1922)
==8864==    by 0x5D7966: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1937)
==8864==    by 0x5D7966: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7966: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5D9827: compare (char_traits.h:512)
==8864==    by 0x5D9827: compare (basic_string.h:3148)
==8864==    by 0x5D9827: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x5D9827: operator() (ModuleList.cpp:116)
==8864==    by 0x5D9827: operator()<lyx::LyXModule, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:240)
==8864==    by 0x5D9827: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1789)
==8864==    by 0x5D7997: __unguarded_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1830)
==8864==    by 0x5D7997: __final_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1850)
==8864==    by 0x5D7997: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1940)
==8864==    by 0x5D7997: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7997: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8e7c9b0 is 0 bytes inside a block of size 24 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC63262: void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) [clone .isra.0] (basic_string.tcc:225)
==8864==    by 0xC6358D: basic_string (basic_string.h:544)
==8864==    by 0xC6358D: lyx::Messages::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (Messages.cpp:340)
==8864==    by 0xC53BC6: lyx::_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (gettext.cpp:26)
==8864==    by 0x5D97DF: operator() (ModuleList.cpp:116)
==8864==    by 0x5D97DF: operator()<lyx::LyXModule, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:240)
==8864==    by 0x5D97DF: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1789)
==8864==    by 0x5D7997: __unguarded_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1830)
==8864==    by 0x5D7997: __final_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1850)
==8864==    by 0x5D7997: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1940)
==8864==    by 0x5D7997: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7997: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x5D9827: compare (char_traits.h:512)
==8864==    by 0x5D9827: compare (basic_string.h:3148)
==8864==    by 0x5D9827: operator< <wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > (basic_string.h:3694)
==8864==    by 0x5D9827: operator() (ModuleList.cpp:116)
==8864==    by 0x5D9827: operator()<lyx::LyXModule, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:240)
==8864==    by 0x5D9827: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1789)
==8864==    by 0x5D7997: __unguarded_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1830)
==8864==    by 0x5D7997: __final_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1850)
==8864==    by 0x5D7997: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1940)
==8864==    by 0x5D7997: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7997: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x10b4ed50 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC63262: void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) [clone .isra.0] (basic_string.tcc:225)
==8864==    by 0xC6358D: basic_string (basic_string.h:544)
==8864==    by 0xC6358D: lyx::Messages::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (Messages.cpp:340)
==8864==    by 0xC53BC6: lyx::_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (gettext.cpp:26)
==8864==    by 0x5D97D0: operator() (ModuleList.cpp:116)
==8864==    by 0x5D97D0: operator()<lyx::LyXModule, __gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> > > (predefined_ops.h:240)
==8864==    by 0x5D97D0: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter> >(__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule, std::allocator<lyx::LyXModule> > >, __gnu_cxx::__ops::_Val_comp_iter<lyx::ModuleSorter>) (stl_algo.h:1789)
==8864==    by 0x5D7997: __unguarded_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1830)
==8864==    by 0x5D7997: __final_insertion_sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1850)
==8864==    by 0x5D7997: __sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, __gnu_cxx::__ops::_Iter_comp_iter<lyx::ModuleSorter> > (stl_algo.h:1940)
==8864==    by 0x5D7997: sort<__gnu_cxx::__normal_iterator<lyx::LyXModule*, std::vector<lyx::LyXModule> >, lyx::ModuleSorter> (stl_algo.h:4853)
==8864==    by 0x5D7997: lyx::ModuleList::read() (ModuleList.cpp:215)
==8864==    by 0x5B6ED8: lyx::LyX::init() (LyX.cpp:1013)
==8864==    by 0x5B8910: lyx::LyX::init(int&, char**) (LyX.cpp:483)
==8864==    by 0x5B901F: lyx::LyX::exec(int&, char**) (LyX.cpp:366)
==8864==    by 0x445C99: main (main.cpp:55)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5D9465A: compare (char_traits.h:526)
==8864==    by 0x5D9465A: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (basic_string.tcc:638)
==8864==    by 0xC5EC0F: find (basic_string.h:2622)
==8864==    by 0xC5EC0F: contains (lstrings.h:141)
==8864==    by 0xC5EC0F: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1555)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==  Address 0x90bf418 is 40 bytes inside a block of size 60 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9289E: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (basic_string.tcc:284)
==8864==    by 0xA2844C: assign (basic_string.h:1571)
==8864==    by 0xA2844C: operator= (basic_string.h:805)
==8864==    by 0xA2844C: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:258)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==    by 0x9A6BCE: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) (GuiApplication.cpp:3014)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5D9465A: compare (char_traits.h:526)
==8864==    by 0x5D9465A: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (basic_string.tcc:638)
==8864==    by 0xC5AEA0: find (basic_string.h:2622)
==8864==    by 0xC5AEA0: subst_string (lstrings.cpp:922)
==8864==    by 0xC5AEA0: lyx::support::subst(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:956)
==8864==    by 0xC5EC68: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1556)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==  Address 0xe4a1e48 is 40 bytes inside a block of size 60 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC59392: void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) [clone .isra.0] (basic_string.tcc:225)
==8864==    by 0xC5AE48: basic_string (basic_string.h:544)
==8864==    by 0xC5AE48: subst_string (lstrings.cpp:919)
==8864==    by 0xC5AE48: lyx::support::subst(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:956)
==8864==    by 0xC5EC68: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1556)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x5D9465A: compare (char_traits.h:526)
==8864==    by 0x5D9465A: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (basic_string.tcc:638)
==8864==    by 0xC5EC0F: find (basic_string.h:2622)
==8864==    by 0xC5EC0F: contains (lstrings.h:141)
==8864==    by 0xC5EC0F: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1555)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==  Address 0x90bf650 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC3880F: resize (basic_string.h:1106)
==8864==    by 0xC3880F: lyx::from_ascii[abi:cxx11](char const*) (docstring.cpp:39)
==8864==    by 0xC5EBFD: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1555)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x5D9465A: compare (char_traits.h:526)
==8864==    by 0x5D9465A: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (basic_string.tcc:638)
==8864==    by 0xC5AEA0: find (basic_string.h:2622)
==8864==    by 0xC5AEA0: subst_string (lstrings.cpp:922)
==8864==    by 0xC5AEA0: lyx::support::subst(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:956)
==8864==    by 0xC5EC68: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1556)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==  Address 0x90bf6b0 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC3880F: resize (basic_string.h:1106)
==8864==    by 0xC3880F: lyx::from_ascii[abi:cxx11](char const*) (docstring.cpp:39)
==8864==    by 0xC5EC53: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:1556)
==8864==    by 0xA281C2: lyx::frontend::ToolbarInfo::read(lyx::Lexer&) (Toolbars.cpp:264)
==8864==    by 0xA298AE: lyx::frontend::Toolbars::readToolbars(lyx::Lexer&) (Toolbars.cpp:323)
==8864==    by 0x9A6138: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3322)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A60CA: lyx::frontend::GuiApplication::readUIFile(lyx::support::FileName const&) (GuiApplication.cpp:3309)
==8864==    by 0x9A1512: lyx::frontend::GuiApplication::readUIFile(QString const&, bool) (GuiApplication.cpp:3399)
==8864==    by 0x9A5DC9: lyx::frontend::GuiApplication::execBatchCommands() (GuiApplication.cpp:2824)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CDD: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:415)
==8864==    by 0x5D94C91: compare (char_traits.h:526)
==8864==    by 0x5D94C91: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::compare(unsigned long, unsigned long, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) const (basic_string.h:3277)
==8864==    by 0xC5A86B: lyx::support::suffixIs(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:757)
==8864==    by 0x99E94E: lyx::frontend::iconInfo(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:639)
==8864==    by 0x9A0A13: lyx::frontend::getIcon(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:729)
==8864==    by 0xBD9B98: lyx::frontend::DynamicMenuButton::resetIconCache() (GuiToolbar.cpp:376)
==8864==    by 0x9E5F08: lyx::frontend::GuiView::GuiView(int) (GuiView.cpp:570)
==8864==    by 0x99B709: lyx::frontend::GuiApplication::createView(QString const&, bool, int) (GuiApplication.cpp:2614)
==8864==    by 0x9A3E3D: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (GuiApplication.cpp:1785)
==8864==    by 0x99A652: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (GuiApplication.cpp:1578)
==8864==    by 0x5B02EE: lyx::LyX::execCommands() (LyX.cpp:634)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==  Address 0xfbbc684 is 148 bytes inside a block of size 164 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0xC70915: _M_construct<wchar_t const*> (basic_string.tcc:225)
==8864==    by 0xC70915: basic_string (basic_string.h:620)
==8864==    by 0xC70915: lyx::qstring_to_ucs4[abi:cxx11](QString const&) (qstring_helpers.cpp:73)
==8864==    by 0xC3DEDF: lyx::support::FileName::absoluteFilePath[abi:cxx11]() const (FileName.cpp:745)
==8864==    by 0x99E93B: lyx::frontend::iconInfo(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:639)
==8864==    by 0x9A0A13: lyx::frontend::getIcon(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:729)
==8864==    by 0xBD9B98: lyx::frontend::DynamicMenuButton::resetIconCache() (GuiToolbar.cpp:376)
==8864==    by 0x9E5F08: lyx::frontend::GuiView::GuiView(int) (GuiView.cpp:570)
==8864==    by 0x99B709: lyx::frontend::GuiApplication::createView(QString const&, bool, int) (GuiApplication.cpp:2614)
==8864==    by 0x9A3E3D: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (GuiApplication.cpp:1785)
==8864==    by 0x99A652: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (GuiApplication.cpp:1578)
==8864==    by 0x5B02EE: lyx::LyX::execCommands() (LyX.cpp:634)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x5D9465A: compare (char_traits.h:526)
==8864==    by 0x5D9465A: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (basic_string.tcc:638)
==8864==    by 0x99DAE1: find (basic_string.h:2622)
==8864==    by 0x99DAE1: contains (lstrings.h:141)
==8864==    by 0x99DAE1: lyx::frontend::iconInfo(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:638)
==8864==    by 0x9A0A13: lyx::frontend::getIcon(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:729)
==8864==    by 0xBD9C52: lyx::frontend::DynamicMenuButton::resetIconCache() (GuiToolbar.cpp:378)
==8864==    by 0x9E5F08: lyx::frontend::GuiView::GuiView(int) (GuiView.cpp:570)
==8864==    by 0x99B709: lyx::frontend::GuiApplication::createView(QString const&, bool, int) (GuiApplication.cpp:2614)
==8864==    by 0x9A3E3D: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (GuiApplication.cpp:1785)
==8864==    by 0x99A652: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (GuiApplication.cpp:1578)
==8864==    by 0x5B02EE: lyx::LyX::execCommands() (LyX.cpp:634)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==  Address 0xf3cce90 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC3880F: resize (basic_string.h:1106)
==8864==    by 0xC3880F: lyx::from_ascii[abi:cxx11](char const*) (docstring.cpp:39)
==8864==    by 0x99DAC9: lyx::frontend::iconInfo(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:638)
==8864==    by 0x9A0A13: lyx::frontend::getIcon(lyx::FuncRequest const&, bool, bool) (GuiApplication.cpp:729)
==8864==    by 0xBD9C52: lyx::frontend::DynamicMenuButton::resetIconCache() (GuiToolbar.cpp:378)
==8864==    by 0x9E5F08: lyx::frontend::GuiView::GuiView(int) (GuiView.cpp:570)
==8864==    by 0x99B709: lyx::frontend::GuiApplication::createView(QString const&, bool, int) (GuiApplication.cpp:2614)
==8864==    by 0x9A3E3D: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (GuiApplication.cpp:1785)
==8864==    by 0x99A652: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (GuiApplication.cpp:1578)
==8864==    by 0x5B02EE: lyx::LyX::execCommands() (LyX.cpp:634)
==8864== 
==8864== Invalid read of size 32
==8864==    at 0x6113CD9: __wmemcmp_avx2_movbe (memcmp-avx2-movbe.S:414)
==8864==    by 0x5D9465A: compare (char_traits.h:526)
==8864==    by 0x5D9465A: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (basic_string.tcc:638)
==8864==    by 0xC5AEA0: find (basic_string.h:2622)
==8864==    by 0xC5AEA0: subst_string (lstrings.cpp:922)
==8864==    by 0xC5AEA0: lyx::support::subst(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (lstrings.cpp:956)
==8864==    by 0xC5E3F3: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, int) (lstrings.cpp:1522)
==8864==    by 0x9E6F5C: lyx::frontend::GuiView::GuiView(int) (GuiView.cpp:722)
==8864==    by 0x99B709: lyx::frontend::GuiApplication::createView(QString const&, bool, int) (GuiApplication.cpp:2614)
==8864==    by 0x9A3E3D: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (GuiApplication.cpp:1785)
==8864==    by 0x99A652: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (GuiApplication.cpp:1578)
==8864==    by 0x5B02EE: lyx::LyX::execCommands() (LyX.cpp:634)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==    by 0x9A6BCE: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) (GuiApplication.cpp:3014)
==8864==  Address 0x1082b950 is 0 bytes inside a block of size 28 alloc'd
==8864==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x5D9296B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long) (basic_string.tcc:328)
==8864==    by 0x5D9355F: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t) (basic_string.tcc:464)
==8864==    by 0xC3880F: resize (basic_string.h:1106)
==8864==    by 0xC3880F: lyx::from_ascii[abi:cxx11](char const*) (docstring.cpp:39)
==8864==    by 0xC5E3DB: lyx::support::bformat(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, int) (lstrings.cpp:1522)
==8864==    by 0x9E6F5C: lyx::frontend::GuiView::GuiView(int) (GuiView.cpp:722)
==8864==    by 0x99B709: lyx::frontend::GuiApplication::createView(QString const&, bool, int) (GuiApplication.cpp:2614)
==8864==    by 0x9A3E3D: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (GuiApplication.cpp:1785)
==8864==    by 0x99A652: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (GuiApplication.cpp:1578)
==8864==    by 0x5B02EE: lyx::LyX::execCommands() (LyX.cpp:634)
==8864==    by 0x59A8DDF: QObject::event(QEvent*) (qobject.cpp:1347)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864== 
==8864== Conditional jump or move depends on uninitialised value(s)
==8864==    at 0x50E766C: BLEND_SOURCE_OVER_ARGB32_AVX2 (qdrawhelper_avx2.cpp:202)
==8864==    by 0x50E766C: qt_blend_argb32_on_argb32_avx2(unsigned char*, int, unsigned char const*, int, int, int, int) (qdrawhelper_avx2.cpp:259)
==8864==    by 0x53E6E0C: QRasterPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) [clone .part.0] (qpaintengine_raster.cpp:2535)
==8864==    by 0x53FFD1B: QPainter::drawPixmap(QRectF const&, QPixmap const&, QRectF const&) (qpainter.cpp:5239)
==8864==    by 0x9C53DD: drawPixmap (qpainter.h:827)
==8864==    by 0x9C53DD: lyx::frontend::(anonymous namespace)::BackgroundWidget::paintEvent(QPaintEvent*) (GuiView.cpp:241)
==8864==    by 0x4AD5C27: QWidget::event(QEvent*) (qwidget.cpp:9044)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==    by 0x9A6BCE: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) (GuiApplication.cpp:3014)
==8864==    by 0x597BE37: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1064)
==8864==    by 0x4ACDE58: QWidgetPrivate::sendPaintEvent(QRegion const&) (qwidget.cpp:5478)
==8864==    by 0x4ACE750: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (qwidget.cpp:5428)
==8864==    by 0x4ACFA65: QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (qwidget.cpp:5609)
==8864==    by 0x4ACE3CB: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (qwidget.cpp:5469)
==8864== 
==8864== Conditional jump or move depends on uninitialised value(s)
==8864==    at 0x50E765D: BLEND_SOURCE_OVER_ARGB32_AVX2 (qdrawhelper_avx2.cpp:201)
==8864==    by 0x50E765D: qt_blend_argb32_on_argb32_avx2(unsigned char*, int, unsigned char const*, int, int, int, int) (qdrawhelper_avx2.cpp:259)
==8864==    by 0x53E6E0C: QRasterPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) [clone .part.0] (qpaintengine_raster.cpp:2535)
==8864==    by 0x53FFD1B: QPainter::drawPixmap(QRectF const&, QPixmap const&, QRectF const&) (qpainter.cpp:5239)
==8864==    by 0x9C53DD: drawPixmap (qpainter.h:827)
==8864==    by 0x9C53DD: lyx::frontend::(anonymous namespace)::BackgroundWidget::paintEvent(QPaintEvent*) (GuiView.cpp:241)
==8864==    by 0x4AD5C27: QWidget::event(QEvent*) (qwidget.cpp:9044)
==8864==    by 0x4A92F91: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640)
==8864==    by 0x9A6BCE: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) (GuiApplication.cpp:3014)
==8864==    by 0x597BE37: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1064)
==8864==    by 0x4ACDE58: QWidgetPrivate::sendPaintEvent(QRegion const&) (qwidget.cpp:5478)
==8864==    by 0x4ACE750: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (qwidget.cpp:5428)
==8864==    by 0x4ACFA65: QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (qwidget.cpp:5609)
==8864==    by 0x4ACE3CB: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (qwidget.cpp:5469)
==8864== 
==8864== Invalid read of size 4
==8864==    at 0x602D464: pthread_mutex_lock@@GLIBC_2.2.5 (pthread_mutex_lock.c:80)
==8864==    by 0x9AF736E: wl_event_queue_destroy (wayland-client.c:327)
==8864==    by 0x9A1C719: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:384)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8ea38f8 is 248 bytes inside a block of size 328 free'd
==8864==    at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9A1C70B: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:381)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Block was alloc'd at
==8864==    at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9AF9FB3: UnknownInlinedFun (wayland-private.h:234)
==8864==    by 0x9AF9FB3: wl_display_connect_to_fd (wayland-client.c:1151)
==8864==    by 0x9AFA22D: wl_display_connect (wayland-client.c:1272)
==8864==    by 0x9A19243: QtWaylandClient::QWaylandDisplay::QWaylandDisplay(QtWaylandClient::QWaylandIntegration*) (qwaylanddisplay.cpp:338)
==8864==    by 0x9A0D050: QtWaylandClient::QWaylandIntegration::QWaylandIntegration() (qwaylandintegration.cpp:115)
==8864==    by 0x485E4B9: QtWaylandClient::QWaylandIntegrationPlugin::create(QString const&, QStringList const&) (main.cpp:59)
==8864==    by 0x511C399: init_platform (qguiapplication.cpp:1223)
==8864==    by 0x511C399: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1477)
==8864==    by 0x511D967: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1494)
==8864==    by 0x5982834: QCoreApplicationPrivate::init() (qcoreapplication.cpp:835)
==8864==    by 0x512086F: QGuiApplicationPrivate::init() (qguiapplication.cpp:1523)
==8864==    by 0x4A985BC: QApplicationPrivate::init() (qapplication.cpp:513)
==8864==    by 0x9A6D6F: lyx::frontend::GuiApplication::GuiApplication(int&, char**) (GuiApplication.cpp:1153)
==8864== 
==8864== Invalid read of size 4
==8864==    at 0x602CD8D: __pthread_mutex_lock_full (pthread_mutex_lock.c:198)
==8864==    by 0x9AF736E: wl_event_queue_destroy (wayland-client.c:327)
==8864==    by 0x9A1C719: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:384)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8ea38f8 is 248 bytes inside a block of size 328 free'd
==8864==    at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9A1C70B: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:381)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Block was alloc'd at
==8864==    at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9AF9FB3: UnknownInlinedFun (wayland-private.h:234)
==8864==    by 0x9AF9FB3: wl_display_connect_to_fd (wayland-client.c:1151)
==8864==    by 0x9AFA22D: wl_display_connect (wayland-client.c:1272)
==8864==    by 0x9A19243: QtWaylandClient::QWaylandDisplay::QWaylandDisplay(QtWaylandClient::QWaylandIntegration*) (qwaylanddisplay.cpp:338)
==8864==    by 0x9A0D050: QtWaylandClient::QWaylandIntegration::QWaylandIntegration() (qwaylandintegration.cpp:115)
==8864==    by 0x485E4B9: QtWaylandClient::QWaylandIntegrationPlugin::create(QString const&, QStringList const&) (main.cpp:59)
==8864==    by 0x511C399: init_platform (qguiapplication.cpp:1223)
==8864==    by 0x511C399: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1477)
==8864==    by 0x511D967: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1494)
==8864==    by 0x5982834: QCoreApplicationPrivate::init() (qcoreapplication.cpp:835)
==8864==    by 0x512086F: QGuiApplicationPrivate::init() (qguiapplication.cpp:1523)
==8864==    by 0x4A985BC: QApplicationPrivate::init() (qapplication.cpp:513)
==8864==    by 0x9A6D6F: lyx::frontend::GuiApplication::GuiApplication(int&, char**) (GuiApplication.cpp:1153)
==8864== 
==8864== Invalid read of size 4
==8864==    at 0x602EEA4: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:51)
==8864==    by 0x602EEA4: pthread_mutex_unlock@@GLIBC_2.2.5 (pthread_mutex_unlock.c:368)
==8864==    by 0x9A1C719: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:384)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8ea38f8 is 248 bytes inside a block of size 328 free'd
==8864==    at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9A1C70B: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:381)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Block was alloc'd at
==8864==    at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9AF9FB3: UnknownInlinedFun (wayland-private.h:234)
==8864==    by 0x9AF9FB3: wl_display_connect_to_fd (wayland-client.c:1151)
==8864==    by 0x9AFA22D: wl_display_connect (wayland-client.c:1272)
==8864==    by 0x9A19243: QtWaylandClient::QWaylandDisplay::QWaylandDisplay(QtWaylandClient::QWaylandIntegration*) (qwaylanddisplay.cpp:338)
==8864==    by 0x9A0D050: QtWaylandClient::QWaylandIntegration::QWaylandIntegration() (qwaylandintegration.cpp:115)
==8864==    by 0x485E4B9: QtWaylandClient::QWaylandIntegrationPlugin::create(QString const&, QStringList const&) (main.cpp:59)
==8864==    by 0x511C399: init_platform (qguiapplication.cpp:1223)
==8864==    by 0x511C399: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1477)
==8864==    by 0x511D967: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1494)
==8864==    by 0x5982834: QCoreApplicationPrivate::init() (qcoreapplication.cpp:835)
==8864==    by 0x512086F: QGuiApplicationPrivate::init() (qguiapplication.cpp:1523)
==8864==    by 0x4A985BC: QApplicationPrivate::init() (qapplication.cpp:513)
==8864==    by 0x9A6D6F: lyx::frontend::GuiApplication::GuiApplication(int&, char**) (GuiApplication.cpp:1153)
==8864== 
==8864== Invalid read of size 4
==8864==    at 0x602EF15: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:55)
==8864==    by 0x602EF15: pthread_mutex_unlock@@GLIBC_2.2.5 (pthread_mutex_unlock.c:368)
==8864==    by 0x9A1C719: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:384)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Address 0x8ea38f8 is 248 bytes inside a block of size 328 free'd
==8864==    at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9A1C70B: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:381)
==8864==    by 0x9A1CD1C: QtWaylandClient::QWaylandDisplay::~QWaylandDisplay() (qwaylanddisplay.cpp:385)
==8864==    by 0x9A0AE0C: QtWaylandClient::QWaylandIntegration::~QWaylandIntegration() (qwaylandintegration.cpp:135)
==8864==    by 0x51187D6: QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1724)
==8864==    by 0x4A91A4C: QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:163)
==8864==    by 0x9A0DD8: non-virtual thunk to lyx::frontend::GuiApplication::~GuiApplication() (GuiApplication.h:64)
==8864==    by 0x5B92E7: lyx::LyX::exec(int&, char**) (LyX.cpp:404)
==8864==    by 0x445C99: main (main.cpp:55)
==8864==  Block was alloc'd at
==8864==    at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==8864==    by 0x9AF9FB3: UnknownInlinedFun (wayland-private.h:234)
==8864==    by 0x9AF9FB3: wl_display_connect_to_fd (wayland-client.c:1151)
==8864==    by 0x9AFA22D: wl_display_connect (wayland-client.c:1272)
==8864==    by 0x9A19243: QtWaylandClient::QWaylandDisplay::QWaylandDisplay(QtWaylandClient::QWaylandIntegration*) (qwaylanddisplay.cpp:338)
==8864==    by 0x9A0D050: QtWaylandClient::QWaylandIntegration::QWaylandIntegration() (qwaylandintegration.cpp:115)
==8864==    by 0x485E4B9: QtWaylandClient::QWaylandIntegrationPlugin::create(QString const&, QStringList const&) (main.cpp:59)
==8864==    by 0x511C399: init_platform (qguiapplication.cpp:1223)
==8864==    by 0x511C399: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1477)
==8864==    by 0x511D967: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1494)
==8864==    by 0x5982834: QCoreApplicationPrivate::init() (qcoreapplication.cpp:835)
==8864==    by 0x512086F: QGuiApplicationPrivate::init() (qguiapplication.cpp:1523)
==8864==    by 0x4A985BC: QApplicationPrivate::init() (qapplication.cpp:513)
==8864==    by 0x9A6D6F: lyx::frontend::GuiApplication::GuiApplication(int&, char**) (GuiApplication.cpp:1153)
==8864== 
==8864== 
==8864== HEAP SUMMARY:
==8864==     in use at exit: 2,317,570 bytes in 23,114 blocks
==8864==   total heap usage: 865,461 allocs, 842,347 frees, 184,895,917 bytes allocated
==8864== 
==8864== LEAK SUMMARY:
==8864==    definitely lost: 752 bytes in 9 blocks
==8864==    indirectly lost: 1,788 bytes in 22 blocks
==8864==      possibly lost: 1,952 bytes in 5 blocks
==8864==    still reachable: 2,237,430 bytes in 22,385 blocks
==8864==         suppressed: 0 bytes in 0 blocks
==8864== Rerun with --leak-check=full to see details of leaked memory
==8864== 
==8864== Use --track-origins=yes to see where uninitialised values come from
==8864== For lists of detected and suppressed errors, rerun with: -s
==8864== ERROR SUMMARY: 439 errors from 29 contexts (suppressed: 0 from 0)


More information about the lyx-devel mailing list