Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
68 stars 8 forks source link

The tests spin forever with msys/mingw and shared #89

Open 0x00002a opened 3 years ago

0x00002a commented 3 years ago

This can be seen in the CI. I've tested it locally and can repro it. I'm still not sure why this happens but its not just a CI issue. I'm not sure if this is a general bug that happens with shared builds on mingw only (which would surprise me) or something up with the tests (which is also weird since it doesn't happen in any other build configuration).

Tectu commented 3 years ago

Hmm... yeah I can reproduce this too. It is hanging in components - router -> policies block unaccepted requests.

Didn't have time to investigate properly. I quickly changed the port in case of that is for some reason already occupied/used on Windows installations which might prevent the connection from opening to proceed with the test. that doesn't seem to be the case tho.

0x00002a commented 3 years ago

Well I wonder if it's something with loading the libraries, even trying on a suite by suite and case by case basis sometimes it locks up and sometimes it runs fine but always when running everything it just spins. I've only tried the websocket tests so far though.

Weirdly when running with a debugger I sometimes get a sigtrap instead of hanging, but its a bunch of windows socket assembly with no debug information (and no back trace to speak of).

Tectu commented 3 years ago

I spend some time (not a lot tho) investigating this but I didn't come up with any new useful information so far :/