Comments (9)
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.
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.
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.
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.
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.
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.
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.
@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.
@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)
- RFE: Search by references/identifier/description/...
- Error Project Compilation on QT5 1.2.1 HOT 1
- windows authentication feature request
- macOS installation instructions HOT 6
- Issue with OpenSCAP app on MacOS BigSur HOT 13
- Package for scap-workbench (ubuntu) only available on 18.04 LTS HOT 8
- Support | Translation file
- Translation | README file | Relevant methodology needed HOT 4
- XCCDF tailoring file not discovered
- Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. HOT 1
- Documentation Request: How to compile for SUSE/OpenSUSE HOT 3
- Opens but hangs on M1 Pro MacBook HOT 16
- SCAP Workbench Error on Windows - Can't locate Oscar on remote machine
- Hand compile issues with QT on Rocky Linux 8.6 HOT 1
- Failure to build scap-workbench on Ubuntu 22.04.1 HOT 2
- Can't connect to remote host when running scap-workbench on Windows
- Program hanging/oscap errors after remediation and subsequent scans with workbench on new profile HOT 1
- SCAP Workbench: Crypto initialization failed
- 2023 Amazon Linux 2 Issue when yum installing scap-workbench: No match for argument: scap-workbench Error: Unable to find a match: scap-workbench
- Ansible remediation for systemd-journald has invalid syntax because of quotation marks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scap-workbench.