Bug 1723276 - [abrt] flatpak: multi_socket(): flatpak killed by SIGSEGV
Summary: [abrt] flatpak: multi_socket(): flatpak killed by SIGSEGV
Keywords:
Status: CLOSED DUPLICATE of bug 1697566
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:67c803c82b8bc508825f1831c22...
: 1729285 1729300 1730355 1730915 1731646 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-24 06:58 UTC by Jan Vlug
Modified: 2019-07-22 01:48 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-22 01:48:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (62.41 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: cgroup (399 bytes, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: core_backtrace (17.30 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: cpuinfo (1.37 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: dso_list (7.26 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: environ (5.68 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: exploitable (82 bytes, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: limits (1.29 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: maps (47.29 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: mountinfo (4.05 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: open_fds (3.55 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: proc_pid_status (1.34 KB, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details
File: var_log_messages (944 bytes, text/plain)
2019-06-24 06:58 UTC, Jan Vlug
no flags Details

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 ***


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