Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1723276

Summary: [abrt] flatpak: multi_socket(): flatpak killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Jan Vlug <jan.public>
Component: flatpakAssignee: David King <amigadave>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: amigadave, brown121407, bugzilla.somor, gergely, khadgaray, klember, kxra, mcatanzaro+wrong-account-do-not-cc, mohamed.b.baig, mvwa, tracking4hpd+89t9zka7
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/da361291bf61d5c04e3c64cdf20d18aa9f902573
Whiteboard: abrt_hash:67c803c82b8bc508825f1831c228b014d3d20f7c;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-22 01:48:47 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: cgroup
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 Jan Vlug 2019-06-24 06:58:36 UTC
Description of problem:
I had flatpak open with the question whether I would like to install the updates. Only after hours, I pressed Y, so maybe this caused the crash somehow.

Version-Release number of selected component:
flatpak-1.4.1-1.fc30

Additional info:
reporter:       libreport-2.10.0
backtrace_rating: 4
cmdline:        flatpak update
crash_function: multi_socket
executable:     /usr/bin/flatpak
journald_cursor: s=b721cb9ba156468ea456e7fac691b5a9;i=ecb3;b=ee461cc3bfe648d082469a207cca687d;m=10fe362edd;t=58c0bf76b47e7;x=7f8316e7e80ec816
kernel:         5.1.8-300.fc30.x86_64+debug
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 multi_socket at ../../lib/multi.c:2652
 #1 curl_multi_socket_action at ../../lib/multi.c:2838
 #2 event_cb at src/libostree/ostree-fetcher-curl.c:451
 #6 g_main_context_iteration at ../glib/gmain.c:3988
 #7 ostree_repo_pull_with_options at src/libostree/ostree-repo-pull.c:4491
 #8 repo_pull at common/flatpak-dir.c:4573
 #9 flatpak_dir_pull at common/flatpak-dir.c:5357
 #10 flatpak_dir_update at common/flatpak-dir.c:9302
 #11 flatpak_transaction_real_run at common/flatpak-transaction.c:3087
 #12 flatpak_cli_transaction_run at ./common/flatpak-transaction.h:92

Comment 1 Jan Vlug 2019-06-24 06:58:40 UTC
Created attachment 1583876 [details]
File: backtrace

Comment 2 Jan Vlug 2019-06-24 06:58:42 UTC
Created attachment 1583877 [details]
File: cgroup

Comment 3 Jan Vlug 2019-06-24 06:58:43 UTC
Created attachment 1583878 [details]
File: core_backtrace

Comment 4 Jan Vlug 2019-06-24 06:58:45 UTC
Created attachment 1583879 [details]
File: cpuinfo

Comment 5 Jan Vlug 2019-06-24 06:58:46 UTC
Created attachment 1583880 [details]
File: dso_list

Comment 6 Jan Vlug 2019-06-24 06:58:48 UTC
Created attachment 1583881 [details]
File: environ

Comment 7 Jan Vlug 2019-06-24 06:58:49 UTC
Created attachment 1583882 [details]
File: exploitable

Comment 8 Jan Vlug 2019-06-24 06:58:50 UTC
Created attachment 1583883 [details]
File: limits

Comment 9 Jan Vlug 2019-06-24 06:58:53 UTC
Created attachment 1583884 [details]
File: maps

Comment 10 Jan Vlug 2019-06-24 06:58:54 UTC
Created attachment 1583885 [details]
File: mountinfo

Comment 11 Jan Vlug 2019-06-24 06:58:57 UTC
Created attachment 1583886 [details]
File: open_fds

Comment 12 Jan Vlug 2019-06-24 06:58:58 UTC
Created attachment 1583887 [details]
File: proc_pid_status

Comment 13 Jan Vlug 2019-06-24 06:58:59 UTC
Created attachment 1583888 [details]
File: var_log_messages

Comment 14 Arne 2019-07-11 18:49:01 UTC
*** Bug 1729285 has been marked as a duplicate of this bug. ***

Comment 15 Ritesh Khadgaray 2019-07-11 20:14:14 UTC
*** Bug 1729300 has been marked as a duplicate of this bug. ***

Comment 16 Mohamed Baig 2019-07-14 20:39:29 UTC
Similar problem has been detected:

crashed while updating

reporter:       libreport-2.10.1
backtrace_rating: 4
cmdline:        flatpak update
crash_function: multi_socket
executable:     /usr/bin/flatpak
journald_cursor: s=3e7bb4675ea642ae8adcb0d6e4e88728;i=41aef;b=5dc9f40eb6f441179a4755935bfc3752;m=3444253c8;t=58da9e1e82708;x=13fc75f802df5018
kernel:         5.1.16-300.fc30.x86_64
package:        flatpak-1.4.2-2.fc30
reason:         flatpak killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 17 kxra 2019-07-16 14:07:32 UTC
*** Bug 1730355 has been marked as a duplicate of this bug. ***

Comment 18 Matt W 2019-07-17 21:24:53 UTC
*** Bug 1730915 has been marked as a duplicate of this bug. ***

Comment 19 Alexandru-Sergiu Marton 2019-07-18 18:18:26 UTC
Similar problem has been detected:

I opened a terminal and ran `flatpak install flathub org.gimp.GIMP`. Flathub was enabled. It started loading after I pressed enter to accept the installation and after that it just crashed with segfault.

After running gdb on it (I don't really know how to do this stuff), it shows this output:

Starting program: /usr/bin/flatpak install flathub org.gimp.GIMP
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe90b0700 (LWP 4851)]
[New Thread 0x7fffe88af700 (LWP 4852)]
[New Thread 0x7fffe3fff700 (LWP 4853)]
Looking for matches…
[New Thread 0x7fffe37fe700 (LWP 4854)]
[Thread 0x7fffe37fe700 (LWP 4854) exited]

Thread 1 "flatpak" received signal SIGSEGV, Segmentation fault.
0x00007ffff6d8a84c in ?? () from /lib64/libcurl.so.4


This was encountered right after all the updates were made on a fresh install.

Sometimes I get the segmentation fault before flatpak asks for any confirmation (right after I issued the command), or before it starts downloading/installing anything (after I agree with the permissions), so it's not only after it made some progress.

The problem seems to be the same with all flatpaks.

If I try to open a flatpak ref in Gnome Software, it crashes the program.

I hope you guy fix this as soon as possible! I really like Fedora!

reporter:       libreport-2.10.1
backtrace_rating: 4
cmdline:        flatpak install flathub org.gimp.GIMP
crash_function: multi_socket
executable:     /usr/bin/flatpak
journald_cursor: s=0b86cebd726b4de1897c990807f1512d;i=6fb0;b=d553b7145d75449887195abb8f8c5d3f;m=1efd2b4c;t=58df852679382;x=ab2b167e0953289d
kernel:         5.1.17-300.fc30.x86_64
package:        flatpak-1.4.2-2.fc30
reason:         flatpak killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 20 Gergely Králik 2019-07-20 10:12:47 UTC
*** Bug 1731646 has been marked as a duplicate of this bug. ***

Comment 21 Phil Duby 2019-07-21 05:39:55 UTC
Same/similar issue.
https://retrace.fedoraproject.org/faf/reports/2639909/

5.1.18-300.fc30.x86_64
Flatpak 1.4.2

all dnf and flatpak updates current

flatpak install --user flathub org.geogebra.GeoGebra
Looking for matches…

org.geogebra.GeoGebra permissions:
    ipc                  network     wayland     x11     dri
    file access [1]

    [1] home


        ID                                   Arch           Branch        Remote         Download
 1. [|] org.geogebra.GeoGebra                x86_64         stable        flathub        < 72.3 MB
 2. [ ] org.geogebra.GeoGebra.Locale         x86_64         stable        flathub         < 8.0 MB (partial)

Installing 1/2…zsh: segmentation fault (core dumped)  flatpak install --user flathub org.geogebra.GeoGebra

Comment 22 Michael Catanzaro 2019-07-22 01:48:47 UTC

*** This bug has been marked as a duplicate of bug 1697566 ***