Giter Club home page Giter Club logo

Comments (9)

WesleyCeraso avatar WesleyCeraso commented on May 26, 2024 1

I could reproduce this crash with 1.1.1 but not with 1.1.4+. I'm closing this issue as it seems to be fixed.

from scap-workbench.

mpreisler avatar mpreisler commented on May 26, 2024

Thanks for your bug report!

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libopenscap.8.dylib 0x0000000108ce5ff9 oval_component_free + 9
1 libopenscap.8.dylib 0x0000000108cf405d oval_variable_free + 109
2 libopenscap.8.dylib 0x0000000108cf6764 0x108cd1000 + 153444
3 libopenscap.8.dylib 0x0000000108cfd8aa rbt_free2 + 138
4 libopenscap.8.dylib 0x0000000108ce3b4a oval_definition_model_free + 90
5 libopenscap.8.dylib 0x0000000108d1fb80 xccdf_session_load_oval + 80
6 libopenscap.8.dylib 0x0000000108d1f5f6 xccdf_session_load + 38

It seems it crashed inside libopenscap, however this may be caused by a memory corruption somewhere else.

If you do customization again, does it crash exactly in the same spot?

from scap-workbench.

Oneiroi avatar Oneiroi commented on May 26, 2024

Seems so

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libopenscap.8.dylib             0x000000010519cff9 oval_component_free + 9
1   libopenscap.8.dylib             0x00000001051ab05d oval_variable_free + 109
2   libopenscap.8.dylib             0x00000001051ad764 0x105188000 + 153444
3   libopenscap.8.dylib             0x00000001051b48aa rbt_free2 + 138
4   libopenscap.8.dylib             0x000000010519ab4a oval_definition_model_free + 90
5   libopenscap.8.dylib             0x00000001051d6b80 xccdf_session_load_oval + 80
6   libopenscap.8.dylib             0x00000001051d65f6 xccdf_session_load + 38

from scap-workbench.

isimluk avatar isimluk commented on May 26, 2024

It is weird that the reproducer is just to click customize.

What I read from the backtrace is that the xccdf_session is being re-used (as it needs to free the oval_definition_model. Since this point nobody has manipulated with the oval_definition_model. Hence, I would expect the free would go just fine.

from scap-workbench.

Oneiroi avatar Oneiroi commented on May 26, 2024

Any update on this issue? I see it's been added for the 1.1.2 milestone however there's no commits for the issues in the milestone as yet ?

from scap-workbench.

mpreisler avatar mpreisler commented on May 26, 2024

Hi @Oneiroi , you are right, this has been planned for 1.1.2 but not much else.

I am sorry for the lack of progress. At the moment I am focusing on https://github.com/OpenSCAP/openscap-daemon

from scap-workbench.

mpreisler avatar mpreisler commented on May 26, 2024

Hi @Oneiroi, could you try the SCAP Workbench 1.1.2 release? I tried it on OSX and couldn't get it to crash. It has a newer OpenSCAP version than 1.1.1, so maybe your issue has been fixed.

https://github.com/OpenSCAP/scap-workbench/releases/tag/1.1.2

from scap-workbench.

Oneiroi avatar Oneiroi commented on May 26, 2024

@mpreisler I downloaded and tested 1.1.2 today.

The PCI profile run returned everything as Not Applicable as did the STIG, so whilst it has not crashed it does not appear to be doing much.

from scap-workbench.

mpreisler avatar mpreisler commented on May 26, 2024

@Oneiroi If you are using the RHEL7 content make sure you scan a RHEL7 system. It will return "not applicable" on CentOS or SL. You need to use the CentOS or SL datastreams to scan those distros.

from scap-workbench.

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.