Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871627 - gnome-extra/gnome-characters-42.0-r1: gjs-console crashed with SIGABRT
Summary: gnome-extra/gnome-characters-42.0-r1: gjs-console crashed with SIGABRT
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 01:07 UTC by Randall
Modified: 2023-12-18 09:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
coredumpctl debug backtrace (file_871627.txt,9.55 KB, text/plain)
2022-09-19 01:09 UTC, Randall
Details
emerge --info (file_871627.txt,12.67 KB, text/plain)
2022-09-19 01:10 UTC, Randall
Details
emerge --info gnome-characters (file_871627.txt,13.50 KB, text/plain)
2022-09-19 01:10 UTC, Randall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall 2022-09-19 01:07:57 UTC
I've noticed that /usr/bin/gjs-console has been recording a crash related to /usr/bin/gnome-characters.

Easy to replicate just opening gnome-characters, but it occasionally happens at boot as well.

Reproducible: Always
Comment 1 Randall 2022-09-19 01:09:14 UTC
Created attachment 812608 [details]
coredumpctl debug backtrace
Comment 2 Randall 2022-09-19 01:10:10 UTC
Created attachment 812611 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 01:10:36 UTC
Could you try running it form the console or check journal for any output at the point it dies? It's probably an assert.

(Also, is it built with USE=debug or something?)
Comment 4 Randall 2022-09-19 01:10:46 UTC
Created attachment 812614 [details]
emerge --info gnome-characters
Comment 5 Randall 2022-09-19 01:15:26 UTC
> Could you try running it form the console or check journal for any output at the point it dies? It's probably an assert.

It seems to run fine in the console, except it logs that core-dump.

$ gnome-characters 
Gjs-Message: 18:11:36.301: JS LOG: Characters Application started
Gjs-Message: 18:11:36.437: JS LOG: Characters Application activated
Gjs-Message: 18:12:22.885: JS LOG: Characters Application exiting


> (Also, is it built with USE=debug or something?)

I don't think this ebuild doesn't have a USE=debug USE flag, but (as you know) I have the debug flags enabled for GCC, in general.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 01:22:05 UTC
Thanks! No immediate ideas. I think report upstream?

I see some examples of this same error at https://bbs.archlinux.org/viewtopic.php?id=276470 and https://forum.manjaro.org/t/manjaro-stuck-on-dell-logo-after-update/118576?page=4:
>May 16 22:51:53 jack-swift-x org.gnome.Characters[3794]: Bail out! Gsk:ERROR:../gtk/gsk/gskrenderer.c:144:gsk_renderer_dispose: assertion failed: (!priv->is_realized)

From piecing it together from your coredumpctl output, it looks like the same assertion. 

You definitely don't have USE=debug on glib or something? (Having USE=debug on is bad as it leads to different codepaths being taken and either enabling assertions or making them fatal, even if harmless in normal operation).
Comment 7 Randall 2022-09-19 01:25:12 UTC
> You definitely don't have USE=debug on glib or something?
TBH I've never built any ebuilds with USE=debug at all, so...for sure, I don't have it enabled.

Should I enable it on glib, and see if the errors changes at all?

...and yes, I can report to upstream.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 01:29:38 UTC
(In reply to Randall from comment #7)
> > You definitely don't have USE=debug on glib or something?
> TBH I've never built any ebuilds with USE=debug at all, so...for sure, I
> don't have it enabled.
> 
> Should I enable it on glib, and see if the errors changes at all?
> 
> ...and yes, I can report to upstream.

Nah, you're good as-is -- keep it off, I just wanted to check. Thank you!
Comment 9 Randall 2022-09-19 01:48:49 UTC
So should I be reporting this upstream? If so, is this the correct repo: https://gitlab.gnome.org/GNOME/gnome-characters?
Comment 10 Pacho Ramos gentoo-dev 2023-10-08 10:39:15 UTC
Some people suggest the crash maybe be solved since gjs-43.1, could you try? Thanks