Bug 1259059 - appstream-validate crashes on localized paragraphs
Summary: appstream-validate crashes on localized paragraphs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: appstream
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 21:05 UTC by Johan Vromans
Modified: 2015-09-03 14:47 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-03 13:52:48 UTC
Type: Bug
Embargoed:


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

Description Johan Vromans 2015-09-01 21:05:01 UTC
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):

0.8.0-1
0.8.2-1

How reproducible:

Always.

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 13:52:48 UTC
Looks like appstream's appstream-validate is going away soon, you should probably use libappstream-glib's
appstream-util validate-relax
instead.

See also:
https://fedoraproject.org/wiki/Packaging:AppData

Comment 2 Rex Dieter 2015-09-03 14:47:42 UTC
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.