Loading the palette crashes Scilab under Linux
Loading the palette crashes Scilab under Linux, here is the stacktrace. Problems seems to be with thread stuff.
mottelet@marguerite:~$ ./scilab-2023.1.0/bin/scilab -nw
Scilab 2023.1.0 (May 23 2023, 07:14:28)
Start Serial XCOS IO Module 16.04.2: load macros, paletteA fatal error has been detected by Scilab.
Please check your user-defined functions (or external module ones) should they appear in the stack trace.
Otherwise you can report a bug on https://gitlab.com/scilab/scilab/-/issues with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[marguerite:423128] Signal: Segmentation fault (11)
[marguerite:423128] Signal code: Address not mapped (1)
[marguerite:423128] Failing at address: 0xfffffffffffffff4
Call stack:
1: 0x9693dc <JVM_handle_linux_signal> (/volper/users/mottelet/scilab-2023.1.0/thirdparty/java//lib/amd64/server/libjvm.so)
2: 0x95c0c8 < > (/volper/users/mottelet/scilab-2023.1.0/thirdparty/java//lib/amd64/server/libjvm.so)
3: 0x14420 < > (/lib/x86_64-linux-gnu/libpthread.so.0)
4: 0x400fd0 <ConfigVariable::getMacroFirstLines()> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
5: 0x45b45b <types::Callable::invoke(std::vector<types::InternalType*, std::allocator<types::InternalType*> >&, std::unordered_map<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*, std::hash<std::__cxx11::b> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
6: 0x1a4b76 <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::CallExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
7: 0x1b627b <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::SeqExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
8: 0x6257 <sci_exec> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libscifunctions.so.2023)
9: 0x464f0d <types::DynamicFunction::call(std::vector<types::InternalType*, std::allocator<types::InternalType*> >&, std::unordered_map<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*, std::hash<std::__cxx> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
10: 0x45b484 <types::Callable::invoke(std::vector<types::InternalType*, std::allocator<types::InternalType*> >&, std::unordered_map<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*, std::hash<std::__cxx11::b> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
11: 0x1a4b76 <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::CallExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
12: 0x1b627b <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::SeqExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
13: 0x46e2f8 <types::Macro::call(std::vector<types::InternalType*, std::allocator<types::InternalType*> >&, std::unordered_map<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*, std::hash<std::__cxx11::basic_> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
14: 0x45b484 <types::Callable::invoke(std::vector<types::InternalType*, std::allocator<types::InternalType*> >&, std::unordered_map<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*, std::hash<std::__cxx11::b> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
15: 0x1a4b76 <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::CallExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
16: 0x189fc5 <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::AssignExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
17: 0x1b627b <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::SeqExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.2023)
18: 0x16f20e <ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::IfExp const&)> (/volper/users/mottelet/scilab-2023.1.0/lib/scilab/libsciast.so.202
Segmentation fault (core dumped)