Git Product home page Git Product logo

Comments (8)

egorpugin avatar egorpugin commented on June 24, 2024 1

Ok, now it is easy, thank you. :)

from sw.

egorpugin avatar egorpugin commented on June 24, 2024

This is not clear as flex/bison issue. I'll check it on linux and try to think what places can cause this.

from sw.

egorpugin avatar egorpugin commented on June 24, 2024

Can you try to gdb it with catch throw? Backtrace will be probably there.

from sw.

nelimee avatar nelimee commented on June 24, 2024

If you need any more debug information please ask me!
I'll do the stack-trace right now.

from sw.

nelimee avatar nelimee commented on June 24, 2024

Result:

❯ gdb ./sw
[...]
(gdb) catch throw
[...]
(gdb) r build
[...]
Catchpoint 1 (exception thrown), 0x00007ffff7ce2982 in __cxa_throw () from /lib64/libstdc++.so.6
(gdb) bt
#0  0x00007ffff7ce2982 in __cxa_throw () from /lib64/libstdc++.so.6
#1  0x0000000000fbdad4 in download_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path const&, long) ()
#2  0x0000000000fc0848 in primitives::http::setupSafeTls(bool, bool, std::filesystem::__cxx11::path const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#3  0x00000000008c277b in setHttpTlsSettings() ()
#4  0x00007ffff7f8f97f in __pthread_once_slow () from /lib64/libpthread.so.0
#5  0x00000000008c2719 in setHttpSettings(Options const&) ()
#6  0x000000000080c16d in StartupData::run() ()
#7  0x0000000000805fcf in SW_MAIN(int, char**) ()
#8  0x0000000000d99538 in PRIMITIVES_MAIN(int, char**) ()
#9  0x0000000000d98e8e in main ()

from sw.

egorpugin avatar egorpugin commented on June 24, 2024

Can you try this binary?
Do not want to perform another release, which is too long.

sha512sum sw.client.sw-1.0.0.zip
f0ba6ce04491a7690ea0bc51aeb276b496caa69e8d3b8e69e7e63195ede732e361841bdf1eb1b6d0340b9bde348ce64ea5a7a4b12ecef8016abe8f599d8261cf  sw.client.sw-1.0.0.zip

sw.client.sw-1.0.0.zip

from sw.

nelimee avatar nelimee commented on June 24, 2024

I ran ./sw.client.sw-1.0.0 build ten times, without any issue. If the bug is still here, I was quite unlucky!

Seems fixed, I will re-open if the issue come back.
Thanks for the reactivity, and nice evolution since last time! Back then the tool was still hard to use in Linux, I found no major issue this time :)

from sw.

egorpugin avatar egorpugin commented on June 24, 2024

The fix: egorpugin/primitives@b6da7d6
The empty check was missing.

from sw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.