Code Monkey home page Code Monkey logo

Comments (5)

krzysztof-jusiak avatar krzysztof-jusiak commented on August 20, 2024

@athrun22 can you provide call stack/core file or something to be able to track it down, please?

from ut.

jwillikers avatar jwillikers commented on August 20, 2024

Does this stack trace of the segfault from LLDB work?

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x00007fff65e0bc92 libsystem_platform.dylib`_platform_strlen + 18
    frame #1: 0x00007fff62d33a87 libc++.1.dylib`std::runtime_error::runtime_error(char const*) + 39
    frame #2: 0x00000001000017a9 runner`main::$_0::operator(this=0x00007ffeefbff410)() const::'lambda'()::operator()() const at runner.cpp:39:30
    frame #3: 0x0000000100001738 runner`boost::ut::v1_1_5::detail::throws_<main::$_0::operator()() const::'lambda'(), void>::throws_(this=0x00007ffeefbff318)() const::'lambda'() const&)::'lambda'()::operator()() const at ut.hpp:802:13
    frame #4: 0x0000000100001709 runner`boost::ut::v1_1_5::detail::throws_<main::$_0::operator()() const::'lambda'(), void>::throws_(this=0x00007ffeefbff368, expr=0x00007ffeefbff410)() const::'lambda'() const&) at ut.hpp:800:16
    frame #5: 0x00000001000016cd runner`boost::ut::v1_1_5::detail::throws_<main::$_0::operator()() const::'lambda'(), void>::throws_(this=0x00007ffeefbff368, expr=0x00007ffeefbff410)() const::'lambda'() const&) at ut.hpp:807:14
    frame #6: 0x0000000100001449 runner`auto boost::ut::v1_1_5::throws<main::$_0::operator()() const::'lambda'()>(expr=0x00007ffeefbff410)() const::'lambda'() const&) at ut.hpp:1900:10
    frame #7: 0x00000001000012a8 runner`main::$_0::operator(this=0x0000000100001280)() const at runner.cpp:39:12
    frame #8: 0x0000000100001289 runner`main::$_0::__invoke() at runner.cpp:38:30
    frame #9: 0x0000000100001d93 runner`boost::ut::v1_1_5::events::test<void (*)(), boost::ut::v1_1_5::none>::run_impl(test=(runner`main::$_0::__invoke() at runner.cpp:38), (null)=0x00007ffeefbff4e0)(), boost::ut::v1_1_5::none const&) at ut.hpp:878:60
    frame #10: 0x0000000100001d72 runner`boost::ut::v1_1_5::events::test<void (*)(), boost::ut::v1_1_5::none>::operator(this=0x00007ffeefbff4b0)() at ut.hpp:874:33
    frame #11: 0x0000000100001d48 runner`auto cfg::runner::on<void (*)(), boost::ut::v1_1_5::none>(this=0x0000000100003120, test=test<void (*)(), boost::ut::v1_1_5::none> @ 0x00007ffeefbff4b0)(), boost::ut::v1_1_5::none>) at runner.cpp:17:5
    frame #12: 0x0000000100001d25 runner`decltype(event=0x00007ffeefbff558) boost::ut::v1_1_5::detail::on<boost::ut::v1_1_5::events::test<void (*)(), boost::ut::v1_1_5::none> >(boost::ut::v1_1_5::events::test<void (*)(), boost::ut::v1_1_5::none>&&) at ut.hpp:1485:73
    frame #13: 0x00000001000011b5 runner`auto boost::ut::v1_1_5::detail::test::operator=<>(this=0x00007ffeefbff5d0, test=test_location<void (*)()> @ 0x00007ffeefbff5b0)()>) at ut.hpp:1507:5
    frame #14: 0x0000000100001088 runner`main at runner.cpp:38:28
    frame #15: 0x00007fff65c157fd libdyld.dylib`start + 1```

from ut.

krzysztof-jusiak avatar krzysztof-jusiak commented on August 20, 2024

Thanks @athrun22, can you please check whether the following fix works for you 🤔 -> #272

from ut.

jwillikers avatar jwillikers commented on August 20, 2024

@krzysztof-jusiak, the runner example no longer segfaults. Again, thank you for the speedy response! 🏎

from ut.

krzysztof-jusiak avatar krzysztof-jusiak commented on August 20, 2024

Perfect, thank you @athrun22, I'll try to add mac/clang to the CI matrix to be able to track these issues.

from ut.

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.