Coder Social home page Coder Social logo

Test failure in release mode about opm-output HOT 12 CLOSED

opm avatar opm commented on August 20, 2024
Test failure in release mode

from opm-output.

Comments (12)

jokva avatar jokva commented on August 20, 2024

Interesting, but I'm not able to reproduce. Do you have a gdb trace for me?

from opm-output.

atgeirr avatar atgeirr commented on August 20, 2024
(lldb) bt
* thread #1: tid = 0xabc3f, 0x000000010000d790 test_EclipseWriter`Opm::EclipseState::EclipseState(Opm::EclipseState&&) + 784, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x000000010000d790 test_EclipseWriter`Opm::EclipseState::EclipseState(Opm::EclipseState&&) + 784
    frame #1: 0x0000000100007e36 test_EclipseWriter`EclipseWriterIntegration::test_method() + 326
    frame #2: 0x00000001005ec4c1 libboost_unit_test_framework-mt.dylib`boost::unit_test::ut_detail::callback0_impl_t<int, boost::unit_test::(anonymous namespace)::zero_return_wrapper_t<boost::unit_test::callback0<boost::unit_test::ut_detail::unused> > >::invoke() + 17
    frame #3: 0x00000001005d5a60 libboost_unit_test_framework-mt.dylib`boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) + 160
    frame #4: 0x00000001005d5b07 libboost_unit_test_framework-mt.dylib`boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) + 39
    frame #5: 0x00000001005ec21f libboost_unit_test_framework-mt.dylib`boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::unit_test::test_case const&) + 159
    frame #6: 0x00000001005dc3a8 libboost_unit_test_framework-mt.dylib`boost::unit_test::framework_impl::visit(boost::unit_test::test_case const&) + 168
    frame #7: 0x0000000100616e47 libboost_unit_test_framework-mt.dylib`boost::unit_test::traverse_test_tree(boost::unit_test::test_suite const&, boost::unit_test::test_tree_visitor&) + 327
    frame #8: 0x00000001005d9377 libboost_unit_test_framework-mt.dylib`boost::unit_test::framework::run(unsigned long, bool) + 4183
    frame #9: 0x00000001005ea3a3 libboost_unit_test_framework-mt.dylib`boost::unit_test::unit_test_main(bool (*)(), int, char**) + 211
    frame #10: 0x00007fff9f07f5ad libdyld.dylib`start + 1

from opm-output.

jokva avatar jokva commented on August 20, 2024

Does it also spit out something about where it goes wrong? I'm looking through and all, but more information is always good.

from opm-output.

atgeirr avatar atgeirr commented on August 20, 2024

Not any more than I have posted already....

from opm-output.

bska avatar bska commented on August 20, 2024

Does it also spit out something about where it goes wrong?

Not any more than I have posted already....

If you have addr2line you can possibly get some more information out of

$ addr2line -f -e test_EclipseWriter 0x000000010000d790

from opm-output.

atgeirr avatar atgeirr commented on August 20, 2024

If you have addr2line

Can't find it, unfortunately.

from opm-output.

jokva avatar jokva commented on August 20, 2024

Just compiled it with clang, still can't reproduce.

clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: x86_64-redhat-linux-gnu
Thread model: posix

from opm-output.

jokva avatar jokva commented on August 20, 2024

Can you compile parser in release mode with debug symbols enabled, and then run the same trace? Should give some more information.

-DCMAKE_CXX_FLAGS_RELEASE="-g" should do the trick.

from opm-output.

bska avatar bska commented on August 20, 2024

If you have addr2line

Can't find it, unfortunately.

Ah, okay. There is apparently an OS X utility called atos that does something similar to GNU's addr2line, but I have no experience with it.

from opm-output.

bska avatar bska commented on August 20, 2024

If your compiler supports the sanitizers then you could also try recompiling the modules with -fsanitize=address and rerunning the test.

from opm-output.

atgeirr avatar atgeirr commented on August 20, 2024

Tried atos, but it only gives the same string as the line from the backtrace above. Will try release with debug and address-sanitizer on Monday.

from opm-output.

atgeirr avatar atgeirr commented on August 20, 2024

This failure seems to have gone away in the last week or so. Not sure why, but I can no longer reproduce it. Will therefore close this issue.

Do you have an idea which change might have fixed it? In particular, did you fix any potential memory corrupting bugs?

from opm-output.

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.