Bug 2156746

Summary: [abrt] epiphany-runtime: __strlen_avx2(): epiphany killed by SIGSEGV
Product: [Fedora] Fedora Reporter: sime.thompson
Component: libportalAssignee: Kalev Lember <klember>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: bnocera, gecko-bugs-nobody, gnome-sig, jhorak, mcatanza, mclasen, rstrode, sandmann, tpopela
Target Milestone: ---Flags: bnocera: needinfo? (sime.thompson)
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4f8d8a84120b53ab923047fd268288aea5118328
Whiteboard: abrt_hash:d9d3433353a2cb6dcc56dd86b8d0fd05bef1a121;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: exploitable
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 sime.thompson 2022-12-28 13:42:25 UTC
Version-Release number of selected component:
epiphany-runtime-1:43.0-1.fc37

Additional info:
reporter:       libreport-2.17.4
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-timeshift\x2dgtk-8202.scope
cmdline:        epiphany /run/timeshift/backup
crash_function: __strlen_avx2
executable:     /usr/bin/epiphany
journald_cursor: s=a250c3450336455f97dc4db830f69a21;i=842c;b=d81a30bba956409184cc06d7df82aa05;m=103423bdd;t=5f0e2dbce0bb2;x=f7fca769dca3527a
kernel:         6.0.15-300.fc37.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (8 frames)
 #0 __strlen_avx2 at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
 #1 g_strdup at ../glib/gstrfuncs.c:362
 #2 xdp_portal_init at ../libportal/portal.c:263
 #3 g_type_create_instance at ../gobject/gtype.c:1931
 #4 g_object_new_internal at ../gobject/gobject.c:2228
 #5 g_object_new_with_properties at ../gobject/gobject.c:2391
 #7 xdp_portal_new at ../libportal/portal.c:279
 #8 ephy_file_helpers_init at ../lib/ephy-file-helpers.c:493

Comment 1 sime.thompson 2022-12-28 13:42:28 UTC
Created attachment 1934726 [details]
File: backtrace

Comment 2 sime.thompson 2022-12-28 13:42:29 UTC
Created attachment 1934728 [details]
File: core_backtrace

Comment 3 sime.thompson 2022-12-28 13:42:31 UTC
Created attachment 1934730 [details]
File: cpuinfo

Comment 4 sime.thompson 2022-12-28 13:42:32 UTC
Created attachment 1934733 [details]
File: dso_list

Comment 5 sime.thompson 2022-12-28 13:42:33 UTC
Created attachment 1934735 [details]
File: environ

Comment 6 sime.thompson 2022-12-28 13:42:34 UTC
Created attachment 1934736 [details]
File: exploitable

Comment 7 sime.thompson 2022-12-28 13:42:35 UTC
Created attachment 1934737 [details]
File: limits

Comment 8 sime.thompson 2022-12-28 13:42:36 UTC
Created attachment 1934738 [details]
File: maps

Comment 9 sime.thompson 2022-12-28 13:42:38 UTC
Created attachment 1934739 [details]
File: mountinfo

Comment 10 sime.thompson 2022-12-28 13:42:39 UTC
Created attachment 1934740 [details]
File: open_fds

Comment 11 sime.thompson 2022-12-28 13:42:40 UTC
Created attachment 1934741 [details]
File: proc_pid_status

Comment 12 sime.thompson 2022-12-28 13:42:41 UTC
Created attachment 1934742 [details]
File: var_log_messages

Comment 13 Bastien Nocera 2023-01-11 14:59:18 UTC
I don't know how it happens, but this line is making epiphany crash:
portal->sender = g_strdup (g_dbus_connection_get_unique_name (portal->bus) + 1);

The only way this crash is if the bus isn't set, and the unique name is NULL. The upstream code has changed a bit, and will now show an error and assert if there's a problem with D-Bus.

Can you reproduce the problem, or did this only happen once?

If it happens repeatedly, I can cherry-pick parts of upstream commit c4735251029f1a30c41f6d0ea37f245bef270445 so we see what the D-Bus error is. Otherwise I'll just leave it until there's a new upstream version of libportal to rebase.

Comment 14 sime.thompson 2023-01-16 10:40:57 UTC
dont remember ever using epiphany....maybe something else was using it in the background

Comment 15 Bastien Nocera 2023-01-16 11:29:21 UTC
(In reply to sime.thompson from comment #14)
> dont remember ever using epiphany....maybe something else was using it in
> the background

You used gnome-timeshift which uses epiphany.

Comment 16 sime.thompson 2023-01-17 15:20:07 UTC
thanks...as I now remember, Timeshift worked perfectly using both rsync and btrfs then it just crashed when it finished. The backups/snapshots were perfect.

Comment 17 Bastien Nocera 2023-01-17 15:28:02 UTC
(In reply to sime.thompson from comment #16)
> thanks...as I now remember, Timeshift worked perfectly using both rsync and
> btrfs then it just crashed when it finished. The backups/snapshots were
> perfect.

My question was: Can you reproduce the problem, or did this only happen once?

Comment 18 sime.thompson 2023-01-17 16:01:36 UTC
I tried it a few times...same result each time. There wasn't one time when it didn't crash on completion of backup.

Comment 19 Bastien Nocera 2023-01-18 10:28:12 UTC
Can you please update to the version of libportal built here, and test this again?

This should give a slightly different output if the problem still happens.

Comment 20 Bastien Nocera 2023-01-18 10:37:09 UTC
(In reply to Bastien Nocera from comment #19)
> Can you please update to the version of libportal built here, and test this
> again?

Here: https://koji.fedoraproject.org/koji/taskinfo?taskID=96287760

> This should give a slightly different output if the problem still happens.

Comment 21 Fedora Admin user for bugzilla script actions 2023-06-30 00:17:50 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 22 Fedora Admin user for bugzilla script actions 2023-07-02 00:13:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.