Ovaldi reports segmentation fault when rpminfo test is executed.
Test content has been downloaded from http://oval.mitre.org/repository/about/testcontent.html (Downloads * OVAL Test Content 5.9.1 Linux (ZIP, 98 KB))
ovaldi -m -o linux-def_rpminfo_test.xml
----------------------------------------------------
OVAL Definition Interpreter
Version: 5.9 Build: 1
Build date: Jul 7 2011 18:16:02
Copyright (c) 2002-2011 - The MITRE Corporation
----------------------------------------------------
Start Time: Mon Jul 25 17:38:29 2011
** parsing linux-def_rpminfo_test.xml.2 file.
- validating xml schema.
** checking schema version
- Schema version - 5.9
** skipping Schematron validation
** creating a new OVAL System Characteristics file.
** gathering data for the OVAL definitions.
Segmentation fault
Its easy to reproduce and has 100% reproducibility.
Please find linux-def_rpminfo_test.xml attached.
Rpminfo test from test content
This happens when architecture is not found for a package on the system.
"gpg-pubkey" was one of the package which did not had arch info with the package.