Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: crash on workspace load + multiple uninitialized mem used #3355

Open
rozhuk-im opened this issue Apr 23, 2024 · 3 comments
Open

[Bug]: crash on workspace load + multiple uninitialized mem used #3355

rozhuk-im opened this issue Apr 23, 2024 · 3 comments
Assignees
Labels

Comments

@rozhuk-im
Copy link
Contributor

What happened?

It got crash on load workspace with enabled language servers and env set in workspace.
I run it under valngrind and got many interesting thing that should be fixed.

Version

Self compiled

Operating system

Windows 10

Steps to reproduce

No response

Relevant log output

No response

@rozhuk-im
Copy link
Contributor Author

~/docs/Progs/FreeBSD% valgrind --tool=memcheck --leak-check=yes --leak-resolution=high --track-origins=yes --undef-value-errors=yes --show-leak-kinds=all --track-fds=yes --trace-children=no --vgdb=no --show-reachable=yes --verbose --error-exitcode=1 /home/rim/docs/Progs-pub/codelite/build-debug/bin/codelite
==89663== Memcheck, a memory error detector
==89663== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==89663== Using Valgrind-3.22.0-bd4db67b1d-20231031 and LibVEX; rerun with -h for copyright info
==89663== Command: /home/rim/docs/Progs-pub/codelite/build-debug/bin/codelite
==89663== 
--89663-- Valgrind options:
--89663--    --tool=memcheck
--89663--    --leak-check=yes
--89663--    --leak-resolution=high
--89663--    --track-origins=yes
--89663--    --undef-value-errors=yes
--89663--    --show-leak-kinds=all
--89663--    --track-fds=yes
--89663--    --trace-children=no
--89663--    --vgdb=no
--89663--    --show-reachable=yes
--89663--    --verbose
--89663--    --error-exitcode=1
--89663-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed
--89663-- Page sizes: currently 4096, max supported 4096
--89663-- Valgrind library directory: /usr/local/libexec/valgrind
--89663-- Reading syms from /home/rim/docs/Progs-pub/codelite/build-debug/bin/codelite
--89663-- Reading syms from /libexec/ld-elf.so.1
--89663-- Reading syms from /usr/local/libexec/valgrind/memcheck-amd64-freebsd
--89663--    object doesn't have a dynamic symbol table
--89663-- Scheduler: using generic scheduler lock implementation.
--89663-- Reading suppressions file: /usr/local/libexec/valgrind/default.supp
--89663-- Reading syms from /usr/local/libexec/valgrind/vgpreload_core-amd64-freebsd.so
--89663-- warning: DiCfSI 0x4843660 .. 0x4843660 outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x4843661 .. 0x4843663 outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x4843664 .. 0x4843665 outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x4843666 .. 0x48436ab outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x48436ac .. 0x48436ac outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x48436b0 .. 0x48436b0 outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x48436b1 .. 0x48436b3 outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x48436b4 .. 0x48436cf outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x48436d0 .. 0x48436d4 outside mapped rx segments (NONE)
--89663-- warning: DiCfSI 0x48436d5 .. 0x48436d5 outside mapped rx segments (NONE)
--89663-- Reading syms from /usr/local/libexec/valgrind/vgpreload_memcheck-amd64-freebsd.so
--89663-- Reading syms from /usr/local/lib/libgtk-3.so.0.2409.32
--89663-- Reading syms from /usr/local/lib/libgdk-3.so.0.2409.32
--89663-- Reading syms from /usr/local/lib/libglib-2.0.so.0.8000.0
--89663-- Reading syms from /usr/local/lib/libintl.so.8.4.0
--89663-- Reading syms from /usr/local/lib/libpango-1.0.so.0.5000.14
--89663-- Reading syms from /usr/local/lib/libcairo.so.2.11704.0
--89663-- Reading syms from /usr/local/lib/libgdk_pixbuf-2.0.so.0.4200.10
--89663-- Reading syms from /usr/local/lib/libatk-1.0.so.0.25209.1
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_aui-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_html-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_propgrid-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_xrc-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_baseu_net-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_stc-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_ribbon-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libwx_gtk3u_richtext-3.2.so.0.2.2
--89663-- Reading syms from /home/rim/root/lib/codelite/libplugin.so
--89663-- Reading syms from /lib/libkvm.so.7
--89663-- Reading syms from /lib/libutil.so.9
--89663-- Reading syms from /home/rim/root/lib/codelite/liblibcodelite.so
--89663-- Reading syms from /home/rim/root/lib/codelite/libwxsqlite3.so
--89663-- Reading syms from /usr/local/lib/libsqlite3.so.0.8.6
--89663-- Reading syms from /usr/local/lib/libssh.so.4.9.6
--89663-- Reading syms from /usr/local/lib/libuchardet.so.0.0.8
--89663-- Reading syms from /lib/libc++.so.1
--89663-- Reading syms from /lib/libcxxrt.so.1
--89663-- Reading syms from /lib/libm.so.5
--89663-- Reading syms from /lib/libgcc_s.so.1
--89663-- Reading syms from /lib/libthr.so.3
--89663-- Reading syms from /lib/libc.so.7
--89663-- Reading syms from /usr/local/lib/libgmodule-2.0.so.0.8000.0
--89663-- Reading syms from /usr/local/lib/libgobject-2.0.so.0.8000.0
--89663-- Reading syms from /usr/local/lib/libgio-2.0.so.0.8000.0
--89663-- Reading syms from /usr/local/lib/libpangocairo-1.0.so.0.5000.14
--89663-- Reading syms from /usr/local/lib/libharfbuzz.so.0.60840.0
--89663-- Reading syms from /usr/local/lib/libpangoft2-1.0.so.0.5000.14
--89663-- Reading syms from /usr/local/lib/libfontconfig.so.1.14.0
--89663-- Reading syms from /usr/local/lib/libfribidi.so.0.4.0
--89663-- Reading syms from /usr/local/lib/libcairo-gobject.so.2.11704.0
--89663-- Reading syms from /usr/local/lib/libepoxy.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libXi.so.6.1.0
--89663-- Reading syms from /usr/local/lib/libX11.so.6.4.0
--89663-- Reading syms from /usr/local/lib/libatk-bridge-2.0.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libXfixes.so.3.1.0
--89663-- Reading syms from /usr/local/lib/libXext.so.6.4.0
--89663-- Reading syms from /usr/local/lib/libXcursor.so.1.0.2
--89663-- Reading syms from /usr/local/lib/libXdamage.so.1.1.0
--89663-- Reading syms from /usr/local/lib/libXcomposite.so.1.0.0
--89663-- Reading syms from /usr/local/lib/libXrandr.so.2.2.0
--89663-- Reading syms from /usr/local/lib/libXinerama.so.1.0.0
--89663-- Reading syms from /usr/local/lib/libiconv.so.2.6.1
--89663-- Reading syms from /usr/local/lib/libpcre2-8.so.0.12.0
--89663-- Reading syms from /usr/local/lib/libpixman-1.so.0.42.2
--89663-- Reading syms from /usr/local/lib/libfreetype.so.6.20.1
--89663-- Reading syms from /usr/local/lib/libEGL.so.1.1.0
--89663-- Reading syms from /usr/lib/libdl.so.1
--89663-- Reading syms from /usr/local/lib/libpng16.so.16.43.0
--89663-- Reading syms from /usr/local/lib/libxcb-shm.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libxcb.so.1.1.0
--89663-- Reading syms from /usr/local/lib/libxcb-render.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libXrender.so.1.3.0
--89663-- Reading syms from /lib/libz.so.6
--89663-- Reading syms from /usr/local/lib/libGL.so.1.7.0
--89663-- Reading syms from /usr/local/lib/libgthread-2.0.so.0.8000.0
--89663-- Reading syms from /usr/local/lib/libXxf86vm.so.1.0.0
--89663-- Reading syms from /usr/local/lib/libSM.so.6.0.1
--89663-- Reading syms from /usr/local/lib/libxkbcommon.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libgspell-1.so.2.3.1
--89663-- Reading syms from /usr/local/lib/libenchant-2.so.2.2.15
--89663-- Reading syms from /usr/local/lib/libnotify.so.4.0.0
--89663-- Reading syms from /usr/local/lib/libXtst.so.6.1.0
--89663-- Reading syms from /usr/local/lib/libjpeg.so.8.3.2
--89663-- Reading syms from /usr/local/lib/libtiff.so.5.8.0
--89663-- Reading syms from /usr/lib/liblzma.so.5
--89663-- Reading syms from /usr/local/lib/libjbig.so.2
--89663-- Reading syms from /usr/local/lib/libsecret-1.so.0.0.0
--89663-- Reading syms from /usr/lib/libexecinfo.so.1
--89663-- Reading syms from /usr/local/lib/libcurl.so.4.8.0
--89663-- Reading syms from /usr/local/lib/libpcre2-32.so.0.12.0
--89663-- Reading syms from /usr/local/lib/libexpat.so.1.9.2
--89663-- Reading syms from /lib/libelf.so.2
--89663-- Reading syms from /lib/librt.so.1
--89663-- Reading syms from /usr/local/lib/libgcrypt.so.20.4.3
--89663-- Reading syms from /usr/local/lib/libgpg-error.so.0.35.0
--89663-- Reading syms from /usr/local/lib/libffi.so.8.1.2
--89663-- Reading syms from /usr/local/lib/libgraphite2.so.3.2.1
--89663-- Reading syms from /usr/local/lib/libatspi.so.0.0.1
--89663-- Reading syms from /usr/local/lib/libdbus-1.so.3.32.4
--89663-- Reading syms from /usr/lib/libbz2.so.4
--89663-- Reading syms from /usr/local/lib/libGLdispatch.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libXau.so.6.0.0
--89663-- Reading syms from /usr/local/lib/libXdmcp.so.6.0.0
--89663-- Reading syms from /usr/local/lib/libGLX.so.0.0.0
--89663-- Reading syms from /usr/local/lib/libICE.so.6.3.0
--89663-- Reading syms from /usr/local/lib/libicuuc.so.74.2
--89663-- Reading syms from /usr/local/lib/libzstd.so.1.5.6
--89663-- Reading syms from /usr/local/lib/libdeflate.so.0
--89663-- Reading syms from /lib/libmd.so.6
--89663-- Reading syms from /usr/lib/libssl.so.30
--89663-- Reading syms from /lib/libcrypto.so.30
--89663-- REDIR: 0x85dfc60 (libc.so.7:memchr) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e0c30 (libc.so.7:stpcpy) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e0df0 (libc.so.7:stpncpy) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1200 (libc.so.7:strchrnul) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1710 (libc.so.7:strcspn) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1b00 (libc.so.7:strlcpy) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85df980 (libc.so.7:bcmp) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1dd0 (libc.so.7:strlen) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1370 (libc.so.7:strcmp) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1090 (libc.so.7:strcat) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e2500 (libc.so.7:rindex) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e1f20 (libc.so.7:strncmp) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e2740 (libc.so.7:strspn) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85dfe30 (libc.so.7:memcmp) redirected to 0x48447a0 (_vgnU_ifunc_wrapper)
--89663-- REDIR: 0x85e0490 (libc.so.7:memcpy) redirected to 0x4855660 (memcpy)
--89663-- REDIR: 0x85e0b20 (libc.so.7:memset) redirected to 0x4857140 (memset)
--89663-- REDIR: 0x85e1fd0 (libc.so.7:???) redirected to 0x4854f80 (strncmp)
--89663-- REDIR: 0x8602170 (libc.so.7:calloc) redirected to 0x48526c0 (calloc)
--89663-- REDIR: 0x8601b20 (libc.so.7:aligned_alloc) redirected to 0x4853830 (aligned_alloc)
--89663-- REDIR: 0x85e1e60 (libc.so.7:???) redirected to 0x4854500 (strlen)
--89663-- REDIR: 0x8601330 (libc.so.7:malloc) redirected to 0x484ddb0 (malloc)
--89663-- REDIR: 0x85e1410 (libc.so.7:???) redirected to 0x4855510 (strcmp)
--89663-- REDIR: 0x8602a90 (libc.so.7:realloc) redirected to 0x4852910 (realloc)
--89663-- REDIR: 0x8604450 (libc.so.7:free) redirected to 0x484fd90 (free)
--89663-- REDIR: 0x85e0700 (libc.so.7:memmove) redirected to 0x48585b0 (memmove)
--89663-- REDIR: 0x8655ca0 (libc.so.7:index) redirected to 0x4853c50 (index)
--89663-- REDIR: 0x85e11d0 (libc.so.7:???) redirected to 0x4853d10 (strcat)
--89663-- REDIR: 0x83cf830 (???:operator new(unsigned long)) redirected to 0x484e250 (operator new(unsigned long))
--89663-- REDIR: 0x83cf880 (???:operator new[](unsigned long)) redirected to 0x484f090 (operator new[](unsigned long))
--89663-- REDIR: 0x8657cc0 (libc.so.7:wcslen) redirected to 0x48599f0 (wcslen)
--89663-- REDIR: 0x83c0a30 (libc++.so.1:operator delete(void*)) redirected to 0x4850030 (operator delete(void*))
--89663-- REDIR: 0x85e16f0 (libc.so.7:strcpy) redirected to 0x4854560 (strcpy)
--89663-- REDIR: 0x8657e90 (libc.so.7:wcsncpy) redirected to 0x4859ca0 (wcsncpy)
--89663-- REDIR: 0x85dfd40 (libc.so.7:???) redirected to 0x4855600 (memchr)
--89663-- REDIR: 0x85e1b50 (libc.so.7:???) redirected to 0x4854e60 (strlcpy)
--89663-- REDIR: 0x86566d0 (libc.so.7:strstr) redirected to 0x4859770 (strstr)
--89663-- Reading syms from /usr/lib/i18n/libiconv_std.so.5
--89663-- REDIR: 0x85dfaf0 (libc.so.7:???) redirected to 0x4856c50 (bcmp)
--89663-- Discarding syms at 0x94e6b30-0x94e79d0 in /usr/lib/i18n/libiconv_std.so.5 (have_dinfo 1)
--89663-- Reading syms from /usr/lib/i18n/libiconv_std.so.5
--89663-- Reading syms from /usr/lib/i18n/libUTF8.so.5
--89663-- Reading syms from /usr/lib/i18n/libUTF1632.so.5
--89663-- Reading syms from /usr/lib/i18n/libmapper_none.so.5
--89663-- REDIR: 0x8655c60 (libc.so.7:strcasestr) redirected to 0x4859920 (strcasestr)
--89663-- REDIR: 0x86583a0 (libc.so.7:wmemcmp) redirected to 0x4859c60 (wmemcmp)
--89663-- Set osrel for current process with value 1400511
--89663-- REDIR: 0x85ed0f0 (libc.so.7:setenv) redirected to 0x4859f70 (setenv)
--89663-- REDIR: 0x85e0e50 (libc.so.7:???) redirected to 0x4856fb0 (stpncpy)
--89663-- REDIR: 0x85e0d00 (libc.so.7:???) redirected to 0x4856ef0 (stpcpy)
--89663-- REDIR: 0x85e2480 (libc.so.7:strncpy) redirected to 0x48547a0 (strncpy)
--89663-- REDIR: 0x85e0050 (libc.so.7:???) redirected to 0x4856bf0 (memcmp)
--89663-- Reading syms from /usr/local/lib/gtk-3.0/modules/libxapp-gtk3-module.so
--89663-- Reading syms from /usr/local/lib/libxapp.so.2.2.14
--89663-- Reading syms from /usr/local/lib/libgnomekbdui.so.8.0.0
--89663-- Reading syms from /usr/local/lib/libgnomekbd.so.8.0.0
--89663-- Reading syms from /usr/local/lib/libxklavier.so.16.3.0
--89663-- Reading syms from /usr/local/lib/libxml2.so.2.11.7
--89663-- Reading syms from /usr/local/lib/libxkbfile.so.1.0.2
--89663-- Reading syms from /usr/local/lib/libicui18n.so.74.2
--89663-- REDIR: 0x85e2630 (libc.so.7:???) redirected to 0x4853b80 (rindex)
--89663-- REDIR: 0x85ee0a0 (libc.so.7:unsetenv) redirected to 0x4859ec0 (unsetenv)
--89663-- REDIR: 0x83c0a60 (libc++.so.1:operator delete[](void*)) redirected to 0x48513e0 (operator delete[](void*))
--89663-- REDIR: 0x85e1800 (libc.so.7:???) redirected to 0x4859850 (strcspn)
--89663-- REDIR: 0x85e2830 (libc.so.7:???) redirected to 0x48598c0 (strspn)
--89663-- REDIR: 0x85fc050 (libc.so.7:reallocf) redirected to 0x4852c00 (reallocf)
--89663-- REDIR: 0x8657490 (libc.so.7:wcschr) redirected to 0x4859bd0 (wcschr)
--89663-- REDIR: 0x8657e50 (libc.so.7:wcsncmp) redirected to 0x4859ac0 (wcsncmp)
--89663-- REDIR: 0x8658370 (libc.so.7:wmemchr) redirected to 0x4859c30 (wmemchr)
--89663-- memcheck GC: 1000 nodes, 868 survivors (86.8%)
--89663-- memcheck GC: 1414 new table size (stepup)
--89663-- memcheck GC: 1414 nodes, 1410 survivors (99.7%)
--89663-- memcheck GC: 1999 new table size (stepup)
--89663-- memcheck GC: 1999 nodes, 1469 survivors (73.5%)
--89663-- memcheck GC: 2827 new table size (stepup)
--89663-- memcheck GC: 2827 nodes, 1519 survivors (53.7%)
--89663-- memcheck GC: 3997 new table size (stepup)
--89663-- memcheck GC: 3997 nodes, 1530 survivors (38.3%)
--89663-- memcheck GC: 4056 new table size (driftup)
--89663-- memcheck GC: 4056 nodes, 1529 survivors (37.7%)
--89663-- memcheck GC: 4116 new table size (driftup)
--89663-- memcheck GC: 4116 nodes, 1532 survivors (37.2%)
--89663-- memcheck GC: 4177 new table size (driftup)
--89663-- memcheck GC: 4177 nodes, 1528 survivors (36.6%)
--89663-- memcheck GC: 4239 new table size (driftup)
--89663-- REDIR: 0x85e1ab0 (libc.so.7:strlcat) redirected to 0x48541d0 (strlcat)
--89663-- REDIR: 0x86574c0 (libc.so.7:wcscmp) redirected to 0x4859a70 (wcscmp)
--89663-- REDIR: 0x8655b00 (libc.so.7:strncasecmp) redirected to 0x48551a0 (strncasecmp)
--89663-- REDIR: 0x85e24d0 (libc.so.7:strpbrk) redirected to 0x48597f0 (strpbrk)
--89663-- memcheck GC: 4239 nodes, 2179 survivors (51.4%)
--89663-- memcheck GC: 5994 new table size (stepup)
--89663-- memcheck GC: 5994 nodes, 5510 survivors (91.9%)
--89663-- memcheck GC: 8476 new table size (stepup)
--89663-- memcheck GC: 8476 nodes, 6820 survivors (80.5%)
--89663-- memcheck GC: 11986 new table size (stepup)
--89663-- memcheck GC: 11986 nodes, 8503 survivors (70.9%)
--89663-- memcheck GC: 16950 new table size (stepup)
--89663-- memcheck GC: 16950 nodes, 10377 survivors (61.2%)
--89663-- memcheck GC: 23970 new table size (stepup)
--89663-- memcheck GC: 23970 nodes, 12149 survivors (50.7%)
--89663-- memcheck GC: 33898 new table size (stepup)
==89663== Thread 8:
==89663== Syscall param socketcall.bind(my_addr.sa_len) points to uninitialised byte(s)
==89663==    at 0x85C074A: bind (in /lib/libc.so.7)
==89663==    by 0x7C27BE5: clSocketServer::CreateServer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) (CodeLite/SocketAPI/clSocketServer.cpp:109)
==89663==    by 0x7C28143: clSocketServer::Start(wxString const&) (CodeLite/SocketAPI/clSocketServer.cpp:137)
==89663==    by 0xA6BA38: clSingleInstanceThread::Entry() (LiteEditor/singleinstancethreadjob.cpp:50)
==89663==    by 0x57ADF32: ??? (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x846FBEA: ??? (in /lib/libthr.so.3)
==89663==    by 0x1FFA3FAFFF: ???
==89663==  Address 0x1ffa5fa4d4 is on thread 8's stack
==89663==  in frame #1, created by clSocketServer::CreateServer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) (CodeLite/SocketAPI/clSocketServer.cpp:85)
==89663==  Uninitialised value was created by a stack allocation
==89663==    at 0x7C27A60: clSocketServer::CreateServer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) (CodeLite/SocketAPI/clSocketServer.cpp:85)
==89663== 
--89663-- Reading syms from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
==89663== Thread 1:
==89663== Conditional jump or move depends on uninitialised value(s)
==89663==    at 0x54527FA: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x5431914: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x543091D: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x53D0236: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x5428CD9: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x53D8DA6: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x54397CE: cairo_paint (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x511B473: ??? (in /usr/local/lib/libgdk-3.so.0.2409.32)
==89663==    by 0x4F86FAA: ??? (in /usr/local/lib/libgtk-3.so.0.2409.32)
==89663==    by 0x5C4FFC5: wxTopLevelWindowGTK::SetIcons(wxIconBundle const&) (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663==    by 0x5C4CED3: wxTopLevelWindowGTK::GTKHandleRealized() (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663==    by 0x88CB872: g_cclosure_marshal_VOID__VOID (in /usr/local/lib/libgobject-2.0.so.0.8000.0)
==89663==  Uninitialised value was created by a heap allocation
==89663==    at 0x484DE34: malloc (vg_replace_malloc.c:446)
==89663==    by 0x545077D: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x545655A: ??? (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x545A2AD: cairo_xlib_surface_create (in /usr/local/lib/libcairo.so.2.11704.0)
==89663==    by 0x511795E: ??? (in /usr/local/lib/libgdk-3.so.0.2409.32)
==89663==    by 0x50E1BD9: ??? (in /usr/local/lib/libgdk-3.so.0.2409.32)
==89663==    by 0x50E1C9A: gdk_cairo_create (in /usr/local/lib/libgdk-3.so.0.2409.32)
==89663==    by 0x5D58B0B: wxCairoContext::wxCairoContext(wxGraphicsRenderer*, _GdkWindow*) (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663==    by 0x5D5AE7A: wxCairoRenderer::CreateContextFromNativeWindow(void*) (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663==    by 0x5C35962: ??? (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663==    by 0x5D12E8A: wxNativeDCFactory::CreateClientDC(wxClientDC*, wxWindow*) (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663==    by 0x5D131B1: wxClientDC::wxClientDC(wxWindow*) (in /home/rim/root/lib/codelite/libwx_gtk3u_core-3.2.so.0.2.2)
==89663== 
--89663-- Reading syms from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
--89663-- Reading syms from /usr/local/lib/librsvg-2.so.2.40.21
--89663-- Reading syms from /usr/local/lib/libcroco-0.6.so.3.0.1
--89663-- memcheck GC: 33898 nodes, 15953 survivors (47.1%)
--89663-- memcheck GC: 34406 new table size (driftup)
--89663-- Reading syms from /home/rim/root/lib/codelite/AutoSave.so
--89663-- Reading syms from /home/rim/root/lib/codelite/CMakePlugin.so
--89663-- REDIR: 0x8608b00 (libc.so.7:malloc_usable_size) redirected to 0x4853a80 (malloc_usable_size)
--89663-- REDIR: 0x85e12d0 (libc.so.7:???) redirected to 0x4859390 (strchrnul)
pid 89663 (memcheck-amd64-free): sigreturn rflags = 0x45
pid 89663 (pool-spawner): sigreturn rflags = 0x45
--89663-- Reading syms from /home/rim/root/lib/codelite/CallGraph.so
--89663-- Discarding syms at 0x13c3b550-0x13c62680 in /home/rim/root/lib/codelite/CallGraph.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/CodeFormatter.so
--89663-- REDIR: 0x8655960 (libc.so.7:strcasecmp) redirected to 0x4855070 (strcasecmp)
--89663-- Reading syms from /home/rim/root/lib/codelite/CodeLiteDiff.so
--89663-- Reading syms from /home/rim/root/lib/codelite/ContinuousBuild.so
--89663-- Discarding syms at 0x13d27a60-0x13d349c0 in /home/rim/root/lib/codelite/ContinuousBuild.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/Copyright.so
--89663-- Discarding syms at 0x13d3fdb0-0x13d54280 in /home/rim/root/lib/codelite/Copyright.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/DatabaseExplorer.so
--89663-- Reading syms from /home/rim/root/lib/codelite/libwxshapeframework.so
--89663-- Reading syms from /home/rim/root/lib/codelite/libdatabaselayersqlite.so
--89663-- Discarding syms at 0x13e6fca0-0x13f21b10 in /home/rim/root/lib/codelite/DatabaseExplorer.so (have_dinfo 1)
--89663-- Discarding syms at 0x13ffbde0-0x140730a0 in /home/rim/root/lib/codelite/libwxshapeframework.so (have_dinfo 1)
--89663-- Discarding syms at 0x13d2dd90-0x13d46bc0 in /home/rim/root/lib/codelite/libdatabaselayersqlite.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/DebugAdapterClient.so
--89663-- Reading syms from /home/rim/root/lib/codelite/libdapcxx.so
--89663-- Reading syms from /home/rim/root/lib/codelite/Docker.so
--89663-- Discarding syms at 0x1408abb0-0x140c28a0 in /home/rim/root/lib/codelite/Docker.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/EOSWiki.so
--89663-- Discarding syms at 0x13d4c7a0-0x13d5e680 in /home/rim/root/lib/codelite/EOSWiki.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/EditorConfigPlugin.so
--89663-- Reading syms from /home/rim/root/lib/codelite/ExternalTools.so
--89663-- Reading syms from /home/rim/root/lib/codelite/HelpPlugin.so
--89663-- Discarding syms at 0x140ce2d0-0x140ddbe0 in /home/rim/root/lib/codelite/HelpPlugin.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/LanguageServer.so
--89663-- Reading syms from /home/rim/root/lib/codelite/MemCheck.so
--89663-- Reading syms from /home/rim/root/lib/codelite/Outline.so
--89663-- Reading syms from /home/rim/root/lib/codelite/PHPLint.so
--89663-- Discarding syms at 0x14323c40-0x143392c0 in /home/rim/root/lib/codelite/PHPLint.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/PHPRefactoring.so
--89663-- Discarding syms at 0x14326cd0-0x1433cbf0 in /home/rim/root/lib/codelite/PHPRefactoring.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/QMakePlugin.so
--89663-- Discarding syms at 0x143400c0-0x14368d20 in /home/rim/root/lib/codelite/QMakePlugin.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/Remoty.so
--89663-- Discarding syms at 0x14371060-0x143c2d50 in /home/rim/root/lib/codelite/Remoty.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/Rust.so
--89663-- Discarding syms at 0x143138e0-0x14327690 in /home/rim/root/lib/codelite/Rust.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/SFTP.so
--89663-- Discarding syms at 0x1436df00-0x143aa900 in /home/rim/root/lib/codelite/SFTP.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/SmartCompletion.so
--89663-- Reading syms from /home/rim/root/lib/codelite/SnipWiz.so
--89663-- Discarding syms at 0x143a2e10-0x143d5840 in /home/rim/root/lib/codelite/SnipWiz.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/SpellCheck.so
--89663-- Reading syms from /usr/local/lib/libhunspell-1.7.so.0.0.1
--89663-- Reading syms from /usr/local/lib/libtinfo.so.6.4
--89663-- Discarding syms at 0x143abd90-0x143db5a0 in /home/rim/root/lib/codelite/SpellCheck.so (have_dinfo 1)
--89663-- Discarding syms at 0x1445e2e0-0x144aee80 in /usr/local/lib/libhunspell-1.7.so.0.0.1 (have_dinfo 1)
--89663-- Discarding syms at 0x144d5430-0x144f33c0 in /usr/local/lib/libtinfo.so.6.4 (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/Subversion.so
--89663-- Discarding syms at 0x14428db0-0x144c8ad0 in /home/rim/root/lib/codelite/Subversion.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/Tail.so
--89663-- Discarding syms at 0x1437e0f0-0x1438f310 in /home/rim/root/lib/codelite/Tail.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/UnitTestsPP.so
--89663-- Discarding syms at 0x1439c850-0x143c87e0 in /home/rim/root/lib/codelite/UnitTestsPP.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/WebTools.so
--89663-- Discarding syms at 0x1441c0c0-0x144b1e90 in /home/rim/root/lib/codelite/WebTools.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/Wizards.so
--89663-- Discarding syms at 0x1439f670-0x143cf940 in /home/rim/root/lib/codelite/Wizards.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/WordCompletion.so
--89663-- Reading syms from /home/rim/root/lib/codelite/ZoomNavigator.so
--89663-- Discarding syms at 0x143f0fa0-0x14406b70 in /home/rim/root/lib/codelite/ZoomNavigator.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/abbreviation.so
--89663-- Reading syms from /home/rim/root/lib/codelite/codelite_vim.so
--89663-- Discarding syms at 0x1444fed0-0x1446e830 in /home/rim/root/lib/codelite/codelite_vim.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/codelitephp.so
--89663-- Reading syms from /home/rim/root/lib/codelite/cppchecker.so
--89663-- Reading syms from /home/rim/root/lib/codelite/cscope.so
--89663-- memcheck GC: 34406 nodes, 19622 survivors (57.0%)
--89663-- memcheck GC: 48657 new table size (stepup)
--89663-- Reading syms from /home/rim/root/lib/codelite/git.so
--89663-- Reading syms from /home/rim/root/lib/codelite/wxCrafter.so
--89663-- Discarding syms at 0x14d211b0-0x150483a0 in /home/rim/root/lib/codelite/wxCrafter.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/wxFormBuilder.so
--89663-- Discarding syms at 0x1470e0e0-0x1471f790 in /home/rim/root/lib/codelite/wxFormBuilder.so (have_dinfo 1)
--89663-- Reading syms from /home/rim/root/lib/codelite/debuggers/DebuggerGDB.so
pid 89663 (pool-spawner): sigreturn rflags = 0x45
pid 89663 (memcheck-amd64-free): sigreturn rflags = 0x45
--89663-- memcheck GC: 48657 nodes, 23983 survivors (49.3%)
--89663-- memcheck GC: 49386 new table size (driftup)
--89663-- memcheck GC: 49386 nodes, 23987 survivors (48.6%)
--89663-- memcheck GC: 50126 new table size (driftup)
--89663-- memcheck GC: 50126 nodes, 24946 survivors (49.8%)
--89663-- memcheck GC: 50877 new table size (driftup)
--89663-- memcheck GC: 50877 nodes, 27067 survivors (53.2%)
--89663-- memcheck GC: 71950 new table size (stepup)
--89663-- memcheck GC: 71950 nodes, 28567 survivors (39.7%)
--89663-- memcheck GC: 73029 new table size (driftup)
==89663== Syscall param ioctl(generic) points to uninitialised byte(s)
==89663==    at 0x85C042A: ioctl (in /lib/libc.so.7)
==89663==    by 0x851A1B6: fdevname_r (in /lib/libc.so.7)
==89663==    by 0x85F542C: ptsname (in /lib/libc.so.7)
==89663==    by 0x7699BD2: openpty (in /lib/libutil.so.9)
==89663==    by 0x7699C93: forkpty (in /lib/libutil.so.9)
==89663==    by 0x7E5C8A4: UnixProcessImpl::Execute(wxEvtHandler*, wxArrayString const&, unsigned long, wxString const&, IProcessCallback*) (CodeLite/unixprocess_impl.cpp:312)
==89663==    by 0x7CDC4BA: CreateAsyncProcess(wxEvtHandler*, wxArrayString const&, unsigned long, wxString const&, std::__1::vector<std::__1::pair<wxString, wxString>, std::__1::allocator<std::__1::pair<wxString, wxString> > > const*, wxString const&) (CodeLite/asyncprocess.cpp:274)
==89663==    by 0x7CDDB90: CreateAsyncProcess(wxEvtHandler*, wxString const&, unsigned long, wxString const&, std::__1::vector<std::__1::pair<wxString, wxString>, std::__1::allocator<std::__1::pair<wxString, wxString> > > const*, wxString const&) (CodeLite/asyncprocess.cpp:282)
==89663==    by 0x6FDDE67: LSPNetworkSocketClient::Open(LSPStartupInfo const&) (Plugin/LSP/LSPNetworkSocketClient.cpp:34)
==89663==    by 0x6FE729C: LanguageServerProtocol::DoStart() (Plugin/LSP/LanguageServerProtocol.cpp:221)
==89663==    by 0x6FE7616: LanguageServerProtocol::Start(LSPStartupInfo const&, std::__1::vector<std::__1::pair<wxString, wxString>, std::__1::allocator<std::__1::pair<wxString, wxString> > > const&, wxString const&, wxString const&, wxArrayString const&) (Plugin/LSP/LanguageServerProtocol.cpp:245)
==89663==    by 0x14165111: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:702)
==89663==  Address 0x1ffbffc4f4 is on thread 1's stack
==89663==  in frame #1, created by fdevname_r (???:)
==89663==  Uninitialised value was created by a stack allocation
==89663==    at 0x851A180: fdevname_r (in /lib/libc.so.7)
==89663== 
==89663== Thread 14:
==89663== Syscall param socketcall.connect(serv_addr.sa_len) points to uninitialised byte(s)
==89663==    at 0x85C310A: _connect (in /lib/libc.so.7)
==89663==    by 0x847B840: ??? (in /lib/libthr.so.3)
==89663==    by 0x7C21379: clSocketClient::ConnectRemote(wxString const&, int, bool&, bool) (CodeLite/SocketAPI/clSocketClient.cpp:87)
==89663==    by 0x7C21546: clSocketClient::Connect(wxString const&, bool) (CodeLite/SocketAPI/clSocketClient.cpp:108)
==89663==    by 0x7C21F92: clSocketAsyncThread::ClientMain() (CodeLite/SocketAPI/clSocketClientAsync.cpp:139)
==89663==    by 0x7C21DA1: clSocketAsyncThread::Entry() (CodeLite/SocketAPI/clSocketClientAsync.cpp:64)
==89663==    by 0x57ADF32: ??? (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x846FBEA: ??? (in /lib/libthr.so.3)
==89663==    by 0x1FF91F1FFF: ???
==89663==  Address 0x1ff93f18c4 is on thread 14's stack
==89663==  in frame #2, created by clSocketClient::ConnectRemote(wxString const&, int, bool&, bool) (CodeLite/SocketAPI/clSocketClient.cpp:65)
==89663==  Uninitialised value was created by a stack allocation
==89663==    at 0x7C21240: clSocketClient::ConnectRemote(wxString const&, int, bool&, bool) (CodeLite/SocketAPI/clSocketClient.cpp:65)
==89663== 
pid 89663 (pool-spawner): sigreturn rflags = 0x45
pid 89663 (pool-spawner): sigreturn rflags = 0x45
pid 89663 (pool-spawner): sigreturn rflags = 0x45
==89663== Thread 1:
==89663== Invalid read of size 1
==89663==    at 0x83C90D9: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::operator=(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==    by 0x57D62D2: wxEvtHandler::SearchDynamicEventTable(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==  Address 0xe95b170 is 1,808 bytes inside a block of size 2,232 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x70DA5C1: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x70DA5F6: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==    by 0x57D62D2: wxEvtHandler::SearchDynamicEventTable(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57D5FCF: wxEvtHandler::ProcessEventLocally(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x83C910C: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::operator=(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==    by 0x57D62D2: wxEvtHandler::SearchDynamicEventTable(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==  Address 0xe95b178 is 1,816 bytes inside a block of size 2,232 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x70DA5C1: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x70DA5F6: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==    by 0x57D62D2: wxEvtHandler::SearchDynamicEventTable(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57D5FCF: wxEvtHandler::ProcessEventLocally(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x83C9110: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::operator=(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==    by 0x57D62D2: wxEvtHandler::SearchDynamicEventTable(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==  Address 0xe95b180 is 1,824 bytes inside a block of size 2,232 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x70DA5C1: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x70DA5F6: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==    by 0x1415B185: LanguageServerCluster::OnWorkspaceOpen(clWorkspaceEvent&) (LanguageServer/LanguageServerCluster.cpp:733)
==89663==    by 0x57D62D2: wxEvtHandler::SearchDynamicEventTable(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57D5FCF: wxEvtHandler::ProcessEventLocally(wxEvent&) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A10: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99ad50 is 0 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A16: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99ad58 is 8 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A1E: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99ad60 is 16 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A26: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99ad68 is 24 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A3E: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99ad90 is 64 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A60: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99af10 is 448 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 8
==89663==    at 0x4855A6F: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99af20 is 464 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
==89663== Invalid read of size 2
==89663==    at 0x4855B00: memcpy (vg_replace_strmem.c:1163)
==89663==    by 0x83C7354: std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, wchar_t const*) (in /lib/libc++.so.1)
==89663==    by 0x83C919C: ??? (in /lib/libc++.so.1)
==89663==    by 0x575F5FF: wxStringTokenizer::SetString(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x575F405: wxStringTokenizer::wxStringTokenizer(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x57600EA: wxStringTokenize(wxString const&, wxString const&, wxStringTokenizerMode) (in /home/rim/root/lib/codelite/libwx_baseu-3.2.so.0.2.2)
==89663==    by 0x7CBC625: (anonymous namespace)::split_env_string(wxString const&) (CodeLite/StringUtils.cpp:59)
==89663==    by 0x7CBC5AF: StringUtils::BuildEnvFromString(wxString const&) (CodeLite/StringUtils.cpp:409)
==89663==    by 0x74E3353: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1695)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663==  Address 0xe99af28 is 472 bytes inside a block of size 480 free'd
==89663==    at 0x4850113: operator delete(void*) (vg_replace_malloc.c:1056)
==89663==    by 0x594E55: wxString::~wxString() (string.h:301)
==89663==    by 0x70DA35D: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x70DA5B8: BuildConfig::~BuildConfig() (Plugin/build_config.cpp:317)
==89663==    by 0x9669EB: std::__1::default_delete<BuildConfig>::operator()[abi:se180100](BuildConfig*) const (unique_ptr.h:66)
==89663==    by 0x966849: std::__1::__shared_ptr_pointer<BuildConfig*, std::__1::shared_ptr<BuildConfig>::__shared_ptr_default_delete<BuildConfig, BuildConfig>, std::__1::allocator<BuildConfig> >::__on_zero_shared() (shared_ptr.h:228)
==89663==    by 0x6F21ED0: std::__1::__shared_count::__release_shared[abi:se180100]() (shared_ptr.h:157)
==89663==    by 0x6F21E78: std::__1::__shared_weak_count::__release_shared[abi:se180100]() (shared_ptr.h:186)
==89663==    by 0x6F5DE1B: std::__1::shared_ptr<BuildConfig>::~shared_ptr[abi:se180100]() (shared_ptr.h:648)
==89663==    by 0x74E332C: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==  Block was alloc'd at
==89663==    at 0x484E2D4: operator new(unsigned long) (vg_replace_malloc.c:497)
==89663==    by 0x83BCCCA: ??? (in /lib/libc++.so.1)
==89663==    by 0x61C0929: wxXmlNode::GetNodeContent() const (in /home/rim/root/lib/codelite/libwx_baseu_xml-3.2.so.0.2.2)
==89663==    by 0x70D8693: BuildConfig::BuildConfig(wxXmlNode*) (Plugin/build_config.cpp:202)
==89663==    by 0x70DA609: BuildConfig::Clone() const (Plugin/build_config.cpp:322)
==89663==    by 0x74835FF: ProjectSettings::GetBuildConfiguration(wxString const&, bool) const (Plugin/project_settings.cpp:105)
==89663==    by 0x74DEE10: clCxxWorkspace::GetProjBuildConf(wxString const&, wxString const&) const (Plugin/workspace.cpp:908)
==89663==    by 0x74644FF: Project::GetBuildConfiguration(wxString const&) const (Plugin/project.cpp:1598)
==89663==    by 0x74E32FB: clCxxWorkspace::GetEnvironment() const (Plugin/workspace.cpp:1694)
==89663==    by 0x14164DBA: LanguageServerCluster::StartServer(LanguageServerEntry const&) (LanguageServer/LanguageServerCluster.cpp:688)
==89663==    by 0x141627CE: LanguageServerCluster::StartAll(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:781)
==89663==    by 0x141621F1: LanguageServerCluster::Reload(std::__1::unordered_set<wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<wxString> > const&) (LanguageServer/LanguageServerCluster.cpp:201)
==89663== 
--89663-- memcheck GC: 73029 nodes, 25733 survivors (35.2%)
--89663-- memcheck GC: 74124 new table size (driftup)
pid 89663 (pool-spawner): sigreturn rflags = 0x45

@rozhuk-im
Copy link
Contributor Author

#3356
+

wxdap% git diff
diff --git a/dap/SocketClient.cpp b/dap/SocketClient.cpp
index 9c61c61..8c1963c 100644
--- a/dap/SocketClient.cpp
+++ b/dap/SocketClient.cpp
@@ -4,6 +4,7 @@
 #include "Exception.hpp"
 
 #ifndef _WIN32
+#include <sys/param.h>
 #include <arpa/inet.h>
 #include <errno.h>
 #include <netinet/in.h>
@@ -31,6 +32,9 @@ bool SocketClient::ConnectRemote(const wxString& address, int port)
     m_socket = ::socket(AF_INET, SOCK_STREAM, 0);
     const char* ip_addr = address.c_str();
     struct sockaddr_in serv_addr;
+#ifdef BSD /* BSD specific code. */
+    serv_addr.sin_len = sizeof(struct sockaddr_in);
+#endif
     serv_addr.sin_family = AF_INET;
     serv_addr.sin_port = htons(port);
 
diff --git a/dap/SocketServer.cpp b/dap/SocketServer.cpp
index b5e93c1..cc9bf88 100644
--- a/dap/SocketServer.cpp
+++ b/dap/SocketServer.cpp
@@ -4,6 +4,7 @@
 #include "Exception.hpp"
 
 #ifndef _WIN32
+#include <sys/param.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <stdio.h>
@@ -36,6 +37,9 @@ int SocketServer::CreateServer(const wxString& address, int port)
 
     // Prepare the sockaddr_in structure
     struct sockaddr_in server;
+#ifdef BSD /* BSD specific code. */
+    server.sin_len = sizeof(struct sockaddr_in);
+#endif
     server.sin_family = AF_INET;
 #ifdef _WIN32
     server.sin_addr.s_addr = inet_addr(address.c_str());

@rozhuk-im
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants