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

Segmentation fault after compiling with MinGW #43

Open
lordlouckster opened this issue Jul 22, 2024 · 2 comments
Open

Segmentation fault after compiling with MinGW #43

lordlouckster opened this issue Jul 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@lordlouckster
Copy link

More specifically WinLibs, gcc 14.1.

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff7905b2619 in void std::_Construct<Search, Board&, Limits&, Hist&, OrderingInfo*&>(Search*, Board&, Limits&, Hist&, OrderingInfo*&) ()
@lordlouckster
Copy link
Author

Full GDB backtrace from another build:

#0  0x00007ff66fce2619 in void std::_Construct<Search, Board&, Limits&, Hist&, OrderingInfo*&>(Search*, Board&, Limits&, Hist&, OrderingInfo*&) ()
#1  0x00007ff66fce26f9 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<Search, std::allocator<void>, Board&, Limits&, Hist&, OrderingInfo*&>(Search*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, Board&, Limits&, Hist&, OrderingInfo*&) ()
#2  0x00007ff66fce274d in std::shared_ptr<Search>::shared_ptr<std::allocator<void>, Board&, Limits&, Hist&, OrderingInfo*&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, Board&, Limits&, Hist&, OrderingInfo*&) ()
#3  0x00007ff66fce2b4c in (anonymous namespace)::go(std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) ()
#4  0x00007ff66fce6b1e in (anonymous namespace)::loop() ()
#5  0x00007ff66fce6cb1 in Uci::start() ()
#6  0x00007ff66fcdcd1c in main ()

Building on MSYS2 and -static, the following error message appears:

The procedure link library _ZNSi5seekgESt4pfosliE could not be located in the dynamic link library [...]\Equisetum_dev.exe.

@justNo4b
Copy link
Owner

Hello.
Better detection of windows and compilation with mingw would likely be supported on version 2.0

@justNo4b justNo4b added the bug Something isn't working label Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants