Bug 1259059 - appstream-validate crashes on localized paragraphs
appstream-validate crashes on localized paragraphs
Product: Fedora
Classification: Fedora
Component: appstream (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Rex Dieter
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-09-01 17:05 EDT by Johan Vromans
Modified: 2015-09-03 10:47 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-09-03 09:52:48 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Sample xml that crashes. (1.57 KB, application/xml)
2015-09-01 17:05 EDT, Johan Vromans
no flags Details

  None (edit)
Description Johan Vromans 2015-09-01 17:05:01 EDT
Created attachment 1069202 [details]
Sample xml that crashes.

Description of problem:

appstream-validate creashes when it encounters a localized paragraph.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create an xml that validates
2. Change one of the <p> to <p xml:lang="fr">

Actual results:

Segmentation fault (core dumped)

Expected results:

Validation results.

Additional info:

Almost all appstream data that is currently provided is outdated, so it cannot be validated anyway.
Comment 1 Rex Dieter 2015-09-03 09:52:48 EDT
Looks like appstream's appstream-validate is going away soon, you should probably use libappstream-glib's
appstream-util validate-relax

See also:
Comment 2 Rex Dieter 2015-09-03 10:47:42 EDT
I guess appstream-validate is replaced by appstream-cli, but the recommendation to use appstream-util instead is still valid. :)

Note You need to log in before you can comment on or make changes to this bug.