Bug 1900656

Summary: [abrt] epiphany-runtime: ephy_gsb_service_schedule_update(): epiphany killed by SIGABRT
Product: [Fedora] Fedora Reporter: Pierre Ossman <ossman>
Component: epiphanyAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: gecko-bugs-nobody, gnome-sig, jhorak, mcatanza, mclasen, peter, rhughes, rstrode, sandmann, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2ff95bd7bd862fccc21d5518a2a51ac05c4d6a4a
Whiteboard: abrt_hash:f0952744d3d84407320ec7a3e733db01ca0c5d2f;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-23 20:25:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Pierre Ossman 2020-11-23 13:34:02 UTC
Version-Release number of selected component:
1:epiphany-runtime-3.36.4-1.fc32

Additional info:
reporter:       libreport-2.13.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-210.slice/user/gnome-launched-epiphany-vsphere-c38f581ac156b84019dbc32c8bd02512a91d5f2e.desktop-6046.scope
cmdline:        epiphany --application-mode --profile=/home/ossman/.local/share/epiphany-vsphere-c38f581ac156b84019dbc32c8bd02512a91d5f2e https://vcenter.lkpg.cendio.se/ui/
crash_function: ephy_gsb_service_schedule_update
executable:     /usr/bin/epiphany
journald_cursor: s=a1f3bd05d4a44f93ab4d89bc8a413900;i=20cd5;b=82ccce4d4b624dba9ef4f69e3e2709c9;m=730c2bcd;t=5b4c6180fb3a4;x=d9ab1f4728fb507b
kernel:         5.9.8-100.fc32.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            210
xsession_errors:

Comment 1 Pierre Ossman 2020-11-23 13:34:06 UTC
Created attachment 1732541 [details]
File: backtrace

Comment 2 Pierre Ossman 2020-11-23 13:34:08 UTC
Created attachment 1732542 [details]
File: core_backtrace

Comment 3 Pierre Ossman 2020-11-23 13:34:09 UTC
Created attachment 1732543 [details]
File: cpuinfo

Comment 4 Pierre Ossman 2020-11-23 13:34:11 UTC
Created attachment 1732544 [details]
File: dso_list

Comment 5 Pierre Ossman 2020-11-23 13:34:12 UTC
Created attachment 1732545 [details]
File: environ

Comment 6 Pierre Ossman 2020-11-23 13:34:13 UTC
Created attachment 1732546 [details]
File: limits

Comment 7 Pierre Ossman 2020-11-23 13:34:15 UTC
Created attachment 1732547 [details]
File: maps

Comment 8 Pierre Ossman 2020-11-23 13:34:17 UTC
Created attachment 1732548 [details]
File: mountinfo

Comment 9 Pierre Ossman 2020-11-23 13:34:18 UTC
Created attachment 1732549 [details]
File: open_fds

Comment 10 Pierre Ossman 2020-11-23 13:34:19 UTC
Created attachment 1732550 [details]
File: proc_pid_status

Comment 11 Pierre Ossman 2020-11-23 13:34:20 UTC
Created attachment 1732551 [details]
File: var_log_messages

Comment 12 Michael Catanzaro 2020-11-23 18:20:14 UTC
Looks like we crash here when memory allocation fails. (I think that is only possible if you have modified kernel settings. Have you?)

I think a crash is inevitable if allocations are failing, because g_malloc() will crash if allocation fails, but this particular crash is just a bug that we can fix. It should crash later instead.

Comment 13 Michael Catanzaro 2020-11-23 20:25:48 UTC
Thanks for reporting. Proposed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/863

Comment 14 Pierre Ossman 2020-11-24 08:31:26 UTC
Nope. Nothing modified. Standard kernel and no special command line:

> $ cat /proc/cmdline 
> BOOT_IMAGE=(hd1,gpt2)/vmlinuz-5.9.8-100.fc32.x86_64 root=/dev/mapper/fedora_ossman-root ro rd.lvm.lv=fedora_ossman/root rhgb quiet

This started happening after an upgrade from Fedora 31 to 32. All the web applications work fine up until the crash. They also always crash in the background, never when I'm actively using them.

Comment 15 Michael Catanzaro 2020-11-24 13:11:17 UTC
Strange. Are you actually running out of memory?

Comment 16 Pierre Ossman 2020-11-24 14:01:33 UTC
Nope. Not as far as I can tell. Currently sitting at 9 GiB available and it's been crashing on and off constantly.

It seems to get more unstable the more web apps I have open. One seems fine, two crashes now and then and three crashes fairly quickly.

Comment 17 Michael Catanzaro 2020-11-24 14:18:27 UTC
Yet comment #11 suggests it is out of memory. Or at least *thinks* it is.

Anyway, my merge request should downgrade this into a soft failure of the safe browsing feature: phishing checks will just be disabled when this happens, instead of crashing. (That's going to be the case in the future anyway, due to changes in Google's terms of service for their Safe Browsing API.)

Comment 18 Pierre Ossman 2020-11-24 14:33:05 UTC
Fair enough. What's the time frame for this fix to trickle down to Fedora 32? It's crashing a lot for me right now so some fix would be nice.

And in case it helps, here are the lines before it started complaining about memory:

> Nov 23 13:51:50 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute delete full hash statement: database is locked
> Nov 23 13:52:36 ossman.lkpg.cendio.se epiphany[3509]: Failed to execute clear hash prefix statement: attempt to write a readonly database
> Nov 23 13:52:48 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute update threat statement: attempt to write a readonly database
> Nov 23 13:52:59 ossman.lkpg.cendio.se epiphany[3509]: Failed to commit transaction on GSB database: disk I/O error
> Nov 23 13:53:12 ossman.lkpg.cendio.se epiphany[3509]: Failed to execute update threat statement: attempt to write a readonly database
> Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: attempt to write a readonly database
> Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: out of memory
> Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: out of memory
> Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: out of memory

Those are the first lines from epiphany since upgrading to Fedora 32.

Comment 19 Michael Catanzaro 2020-11-24 15:38:05 UTC
(In reply to Pierre Ossman from comment #18)
> Fair enough. What's the time frame for this fix to trickle down to Fedora
> 32? It's crashing a lot for me right now so some fix would be nice.

Hm, I don't think it's important enough for a F32 update, sorry. I'll backport it to 3.36 since you requested it, so it will be included if there are any further updates. For now, you can avoid this crash by going into privacy settings and disabling Block Dangerous Websites.

It should reach F33 pretty quickly, though.

> And in case it helps, here are the lines before it started complaining about
> memory:
> 
> > Nov 23 13:51:50 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute delete full hash statement: database is locked
> > Nov 23 13:52:36 ossman.lkpg.cendio.se epiphany[3509]: Failed to execute clear hash prefix statement: attempt to write a readonly database
> > Nov 23 13:52:48 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute update threat statement: attempt to write a readonly database
> > Nov 23 13:52:59 ossman.lkpg.cendio.se epiphany[3509]: Failed to commit transaction on GSB database: disk I/O error
> > Nov 23 13:53:12 ossman.lkpg.cendio.se epiphany[3509]: Failed to execute update threat statement: attempt to write a readonly database
> > Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: attempt to write a readonly database
> > Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: out of memory
> > Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: out of memory
> > Nov 23 14:22:55 ossman.lkpg.cendio.se epiphany[3690]: Failed to execute insert hash prefix statement: out of memory
> 
> Those are the first lines from epiphany since upgrading to Fedora 32.

"disk I/O error" is interesting. Maybe time for a SMART test or a new disk? That's the sort of thing you never want to see. Take good backups?

Comment 20 Pierre Ossman 2020-11-25 11:21:41 UTC
(In reply to Michael Catanzaro from comment #19)
> 
> Hm, I don't think it's important enough for a F32 update, sorry. I'll
> backport it to 3.36 since you requested it, so it will be included if there
> are any further updates. For now, you can avoid this crash by going into
> privacy settings and disabling Block Dangerous Websites.
> 

Ah, thanks. I've disabled that now and hopefully it's the end of the crashes. :)

> 
> "disk I/O error" is interesting. Maybe time for a SMART test or a new disk?
> That's the sort of thing you never want to see. Take good backups?

My home directory is on NFS, so it should not be a disk problem. At least not a local one.

That said, there are no other log messages related to storage on either my machine or the NFS server. So again this message seems suspect.