Bug 2110204 - Crashes when trying to check remote assets
Summary: Crashes when trying to check remote assets
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libappstream-glib
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-24 14:31 UTC by Vitaly
Modified: 2022-08-02 01:39 UTC (History)
1 user (show)

Fixed In Version: libappstream-glib-0.8.0-4.fc37 libappstream-glib-0.8.0-4.fc36
Clone Of:
Environment:
Last Closed: 2022-07-31 14:39:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github hughsie appstream-glib issues 454 0 None open Crashes when trying to check remote assets 2022-07-31 09:34:24 UTC

Description Vitaly 2022-07-24 14:31:45 UTC
Description of problem:
Crashes when trying to check remote assets.

Version-Release number of selected component (if applicable):
libappstream-glib-0.8.0-1.fc36

How reproducible:
Always.

Steps to Reproduce:
1. wget https://xvitaly.fedorapeople.org/bug-reports/org.easycoding.TunedSwitcher.metainfo.xml
2. appstream-util validate org.easycoding.TunedSwitcher.metainfo.xml

Actual results:
/home/vitaly/org.easycoding.TunedSwitcher.metainfo.xml: 
(appstream-util:4485): GLib-GIO-CRITICAL **: 16:23:00.242: g_proxy_resolver_lookup: assertion 'G_IS_PROXY_RESOLVER (resolver)' failed
Segmentation fault (core dumped)

Expected results:
Successful validation.

Additional info:
#0  0x00007ffff7f5e360 in ai_app_validate_image_check (helper=0x5555555d2a80,
    im=0x5555555d3a80) at ../libappstream-glib/as-app-validate.c:476
#1  as_app_validate_image (helper=0x5555555d2a80, im=0x5555555d3a80)
    at ../libappstream-glib/as-app-validate.c:631
#2  as_app_validate_screenshot (helper=0x5555555d2a80, ss=0x5555555b2360)
    at ../libappstream-glib/as-app-validate.c:663
#3  as_app_validate_screenshots (helper=0x5555555d2a80, app=0x5555555db200)
    at ../libappstream-glib/as-app-validate.c:821
#4  as_app_validate (app=app@entry=0x5555555db200, flags=flags@entry=0,
    error=error@entry=0x7fffffffd8b0) at ../libappstream-glib/as-app-validate.c:1627
#5  0x0000555555562ca3 in as_util_validate_file (error=0x7fffffffd8b0,
    flags=AS_APP_VALIDATE_FLAG_NONE,
    filename=0x7fffffffdfbc "org.easycoding.TunedSwitcher.metainfo.xml")
    at ../client/as-util.c:2801
#6  as_util_validate_files (filenames=0x7fffffffdba8, flags=AS_APP_VALIDATE_FLAG_NONE,
    error=0x7fffffffd948) at ../client/as-util.c:2840
#7  0x000055555555d1af in as_util_run (error=0x7fffffffd948, values=<optimized out>,
    command=0x7fffffffdfb3 "validate", priv=0x55555557ffa0) at ../client/as-util.c:170
#8  main (argc=<optimized out>, argv=<optimized out>) at ../client/as-util.c:4755

Comment 1 Vitaly 2022-07-31 09:34:24 UTC
Added upstream tracking issue.

Comment 3 Fedora Update System 2022-07-31 14:37:32 UTC
FEDORA-2022-550ce349d0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-550ce349d0

Comment 4 Fedora Update System 2022-07-31 14:39:53 UTC
FEDORA-2022-550ce349d0 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-07-31 14:51:23 UTC
FEDORA-2022-0cb3356f6a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0cb3356f6a

Comment 6 Fedora Update System 2022-08-01 01:09:23 UTC
FEDORA-2022-0cb3356f6a has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-0cb3356f6a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0cb3356f6a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-08-02 01:39:31 UTC
FEDORA-2022-0cb3356f6a has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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