Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1692316 - flatpak sometimes crashes when fetching remote data
Summary: flatpak sometimes crashes when fetching remote data
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-25 10:37 UTC by Christophe Fergeau
Modified: 2019-04-07 22:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Christophe Fergeau 2019-03-25 10:37:01 UTC
Description of problem:

I've experienced several times the same crash when using flatpak to install the kde sdk, or when flatpak update had to fetch a new gnome runtime.
I lost the detailed backtrace though :(

               Stack trace of thread 22423:
                #0  0x00007fa88c259714 multi_socket (libcurl.so.4)
                #1  0x00007fa88c2599eb curl_multi_socket_action (libcurl.so.4)
                #2  0x00007fa88d17335a event_cb (libostree-1.so.1)
                #3  0x00007fa88cbb8fa0 g_main_dispatch (libglib-2.0.so.0)
                #4  0x00007fa88cbb9338 g_main_context_iterate (libglib-2.0.so.0)
                #5  0x00007fa88cbb93e3 g_main_context_iteration (libglib-2.0.so.0)
                #6  0x00007fa88d13ac85 ostree_repo_pull_with_options (libostree-1.so.1)
                #7  0x000055a3c2481c37 repo_pull (flatpak)
                #8  0x000055a3c2497a33 flatpak_dir_pull (flatpak)
                #9  0x000055a3c24a432b flatpak_dir_install (flatpak)
                #10 0x000055a3c24ccbcb flatpak_transaction_real_run (flatpak)
                #11 0x000055a3c24687de flatpak_cli_transaction_run (flatpak)
                #12 0x000055a3c2441079 flatpak_builtin_update (flatpak)
                #13 0x000055a3c2436619 flatpak_run (flatpak)
                #14 0x00007fa88c989f33 __libc_start_main (libc.so.6)
                #15 0x000055a3c243711e _start (flatpak)

This is on f30 with 
flatpak-1.2.3-2.fc30.x86_64
curl-7.64.0-4.fc30.x86_64
ostree-2019.1-5.fc30.x86_64

Comment 1 Christophe Fergeau 2019-03-25 10:38:01 UTC
The crash was in lib/multi.c at "          if(data->magic != CURLEASY_MAGIC_NUMBER)" where 'data' was NULL.

Comment 2 Eddy Castillo 2019-04-06 15:48:00 UTC
Hi, I don't know if it's the same issue but I got some stacktraces

Thread 1 "flatpak" received signal SIGPIPE, Broken pipe.
0x00007ffff766ab3f in write () from /lib64/libpthread.so.0

(gdb) bt
#0  0x00007ffff766ab3f in write () at /lib64/libpthread.so.0
#1  0x00007ffff71287f9 in sock_write (b=0x555556245f20, in=0x555555725103 "\025\003\003", inl=31) at crypto/bio/bss_sock.c:114
#2  0x00007ffff71221be in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0x7fffffffb130) at crypto/bio/bio_meth.c:77
#3  0x00007ffff71211d4 in bio_write_intern (written=0x7fffffffb130, dlen=31, data=0x555555725103, b=0x555556245f20) at crypto/bio/bio_lib.c:343
#4  0x00007ffff71211d4 in bio_write_intern (b=0x555556245f20, data=0x555555725103, dlen=31, written=0x7fffffffb130) at crypto/bio/bio_lib.c:320
#5  0x00007ffff7121697 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at crypto/bio/bio_lib.c:363
#6  0x00007ffff657a14e in ssl3_write_pending (s=s@entry=0x5555561ca600, type=type@entry=21, buf=buf@entry=0x5555560a7900 "\001", len=len@entry=2, written=written@entry=0x7fffffffc290)
    at ssl/record/rec_layer_s3.c:1146
#7  0x00007ffff657b049 in do_ssl3_write
    (s=s@entry=0x5555561ca600, type=type@entry=21, buf=0x5555560a7900 "\001", pipelens=pipelens@entry=0x7fffffffc288, numpipes=numpipes@entry=1, create_empty_fragment=create_empty_fragment@entry=0, written=0x7fffffffc290) at ssl/record/rec_layer_s3.c:1107
#8  0x00007ffff6584b6e in ssl3_dispatch_alert (s=0x5555561ca600) at ssl/s3_msg.c:78
#9  0x00007ffff6582d55 in ssl3_shutdown (s=0x5555561ca600) at ssl/s3_lib.c:4424
#10 0x00007ffff658e453 in SSL_shutdown (s=0x5555561ca600) at ssl/ssl_lib.c:2074
#11 0x00007ffff6db3c05 in ossl_close (connssl=<optimized out>) at ../../lib/vtls/openssl.c:1265
#12 0x00007ffff6db3c75 in Curl_ossl_close (conn=0x5555560b4830, sockindex=<optimized out>) at ../../lib/vtls/openssl.c:1282
#13 0x00007ffff6d6dc7e in Curl_disconnect (dead_connection=false, conn=0x5555560b4830, data=0x555555814480) at ../../lib/url.c:802
#14 0x00007ffff6d6dc7e in Curl_disconnect (data=data@entry=0x555555814480, conn=conn@entry=0x5555560b4830, dead_connection=dead_connection@entry=false) at ../../lib/url.c:752
#15 0x00007ffff6d82786 in multi_done (data=data@entry=0x555555814480, status=status@entry=CURLE_OK, premature=<optimized out>, premature@entry=false) at ../../lib/multi.c:620
#16 0x00007ffff6d83b67 in multi_runsingle (multi=0x5555562df980, now=..., data=0x555555814480) at ../../lib/multi.c:2024
#17 0x00007ffff6d8485f in multi_socket (multi=multi@entry=0x5555562df980, checkall=checkall@entry=false, s=<optimized out>, ev_bitmask=<optimized out>, running_handles=running_handles@entry=0x5555556d8950)
    at ../../lib/multi.c:2719
#18 0x00007ffff6d849db in curl_multi_socket_action (multi=0x5555562df980, s=<optimized out>, ev_bitmask=<optimized out>, running_handles=running_handles@entry=0x5555556d8950) at ../../lib/multi.c:2838
#19 0x00007ffff7c9e35a in event_cb (fd=<optimized out>, condition=<optimized out>, data=0x5555556d88d0) at src/libostree/ostree-fetcher-curl.c:451
#20 0x00007ffff76e3fa0 in g_main_dispatch (context=0x5555556e6420) at ../glib/gmain.c:3189
#21 0x00007ffff76e3fa0 in g_main_context_dispatch (context=context@entry=0x5555556e6420) at ../glib/gmain.c:3854
#22 0x00007ffff76e4338 in g_main_context_iterate (context=context@entry=0x5555556e6420, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3927
#23 0x00007ffff76e43e3 in g_main_context_iteration (context=0x5555556e6420, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#24 0x00007ffff7c65c85 in ostree_repo_pull_with_options
    (self=self@entry=0x5555556f0d90 [OstreeRepo], remote_name_or_baseurl=remote_name_or_baseurl@entry=0x5555556fb1d0 "flathub", options=options@entry=0x555556164d30, progress=progress@entry=0x5555557d4d40 [OstreeAsyncProgress], cancellable=cancellable@entry=0x0, error=error@entry=0x7fffffffd218) at src/libostree/ostree-repo-pull.c:4436
#25 0x00005555555e9067 in repo_pull
    (self=0x5555556f0d90 [OstreeRepo], remote_name=0x5555556fb1d0 "flathub", dirs_to_pull=0x5555557ce070, ref_to_fetch=<optimized out>, rev_to_fetch=<optimized out>, results_to_fetch=<optimized out>, flatpak_flags=(FLATPAK_PULL_FLAGS_DOWNLOAD_EXTRA_DATA | FLATPAK_PULL_FLAGS_SIDELOAD_EXTRA_DATA), flags=(OSTREE_REPO_PULL_FLAGS_MIRROR | OSTREE_REPO_PULL_FLAGS_BAREUSERONLY_FILES), progress=<optimized out>, cancellable=0x0, error=0x7fffffffd218) at common/flatpak-dir.c:4030
#26 0x00005555555fee93 in flatpak_dir_pull
    (self=0x5555556f4300 [FlatpakDir], state=0x55555575cc80, ref=0x5555556f6550 "runtime/org.gnome.Platform.Locale/x86_64/3.32", opt_rev=<optimized out>, opt_results=<optimized out>, subpaths=<optimized out>, repo=0x5555556f0d90 [OstreeRepo], flatpak_flags=<optimized out>, flags=<optimized out>, progress=<optimized out>, cancellable=<optimized out>, error=<optimized out>) at common/flatpak-dir.c:4771
#27 0x000055555560b933 in flatpak_dir_install
    (self=0x5555556f4300 [FlatpakDir], no_pull=0, no_deploy=0, no_static_deltas=<optimized out>, reinstall=0, app_hint=1, state=0x55555575cc80, ref=0x5555556f6550 "runtime/org.gnome.Platform.Locale/x86_64/3.32", opt_commit=0x5555557fc770 "d7db1c1a56687358029eaefbb277d1901406eb54d77d57983b5e9a76dba5b36f", opt_subpaths=0x555555788210, progress=0x5555557d4d40 [OstreeAsyncProgress], cancellable=0x0, error=0x7fffffffd218)
    at common/flatpak-dir.c:7810
#28 0x00005555556340d3 in flatpak_transaction_real_run (self=0x5555556fc0a0 [FlatpakCliTransaction], cancellable=<optimized out>, error=<optimized out>) at common/flatpak-transaction.c:2892
#29 0x00005555555cfbde in flatpak_cli_transaction_run (transaction=0x5555556fc0a0 [FlatpakCliTransaction], cancellable=0x0, error=0x7fffffffd478) at ./common/flatpak-transaction.h:92
#30 0x00005555555a60f6 in flatpak_builtin_install (argc=<optimized out>, argv=<optimized out>, cancellable=0x0, error=<optimized out>) at app/flatpak-builtins-install.c:516
#31 0x000055555559d839 in flatpak_run (res_error=0x7fffffffd468, argv=<optimized out>, argc=<optimized out>) at app/flatpak-main.c:695
#32 0x000055555559d839 in main (argc=<optimized out>, argv=<optimized out>) at app/flatpak-main.c:801

(gdb) thread apply all bt
Thread 58 (Thread 0x7fffe0da1700 (LWP 11487)):
#0  0x00007ffff7586c7d in syscall () at /lib64/libc.so.6
#1  0x00007ffff773013e in g_cond_wait_until (cond=cond@entry=0x5555556c5918, mutex=mutex@entry=0x5555556c5910, end_time=end_time@entry=7721405369) at ../glib/gthread-posix.c:1460
#2  0x00007ffff76b5011 in g_async_queue_pop_intern_unlocked (queue=0x5555556c5910, wait=wait@entry=1, end_time=7721405369) at ../glib/gasyncqueue.c:422
#3  0x00007ffff76b56c1 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at ../glib/gasyncqueue.c:574
#4  0x00007ffff770e27a in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib/gthreadpool.c:263
#5  0x00007ffff770e27a in g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:297
#6  0x00007ffff770d6f2 in g_thread_proxy (data=0x555556090450) at ../glib/gthread.c:805
#7  0x00007ffff76615a2 in start_thread () at /lib64/libpthread.so.0
#8  0x00007ffff758c023 in clone () at /lib64/libc.so.6

Thread 56 (Thread 0x7fffe15a2700 (LWP 11484)):
#0  0x00007ffff7586c7d in syscall () at /lib64/libc.so.6
#1  0x00007ffff773013e in g_cond_wait_until (cond=cond@entry=0x5555556c5918, mutex=mutex@entry=0x5555556c5910, end_time=end_time@entry=7721407881) at ../glib/gthread-posix.c:1460
#2  0x00007ffff76b5011 in g_async_queue_pop_intern_unlocked (queue=0x5555556c5910, wait=wait@entry=1, end_time=7721407881) at ../glib/gasyncqueue.c:422
#3  0x00007ffff76b56c1 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at ../glib/gasyncqueue.c:574
#4  0x00007ffff770e27a in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib/gthreadpool.c:263
#5  0x00007ffff770e27a in g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:297
#6  0x00007ffff770d6f2 in g_thread_proxy (data=0x5555560a0d90) at ../glib/gthread.c:805
#7  0x00007ffff76615a2 in start_thread () at /lib64/libpthread.so.0
#8  0x00007ffff758c023 in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fffe37fe700 (LWP 11193)):
#0  0x00007ffff75812b7 in poll () at /lib64/libc.so.6
#1  0x00007ffff76e42ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fffd00049e0, timeout=<optimized out>, context=0x5555557ad5b0) at ../glib/gmain.c:4228
#2  0x00007ffff76e42ae in g_main_context_iterate (context=context@entry=0x5555557ad5b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3922
#3  0x00007ffff76e43e3 in g_main_context_iteration (context=context@entry=0x5555557ad5b0, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#4  0x00007fffe806aa9d in dconf_gdbus_worker_thread (user_data=0x5555557ad5b0) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007ffff770d6f2 in g_thread_proxy (data=0x5555557e2d40) at ../glib/gthread.c:805
#6  0x00007ffff76615a2 in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff758c023 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fffe3fff700 (LWP 11156)):
#0  0x00007ffff75812b7 in poll () at /lib64/libc.so.6
#1  0x00007ffff76e42ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x5555556e6780, timeout=<optimized out>, context=0x7fffd8000b20) at ../glib/gmain.c:4228
#2  0x00007ffff76e42ae in g_main_context_iterate (context=0x7fffd8000b20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3922
#3  0x00007ffff76e4683 in g_main_loop_run (loop=0x7fffd8003e20) at ../glib/gmain.c:4123
#4  0x00007ffff7f319e7 in server_thread_func (user_data=0x5555556c9610) at polkitagentlistener.c:359
#5  0x00007ffff770d6f2 in g_thread_proxy (data=0x5555556cc770) at ../glib/gthread.c:805
#6  0x00007ffff76615a2 in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff758c023 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fffe887b700 (LWP 11155)):
#0  0x00007ffff75812b7 in poll () at /lib64/libc.so.6
#1  0x00007ffff76e42ae in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fffdc009910, timeout=<optimized out>, context=0x5555556dfe00) at ../glib/gmain.c:4228
#2  0x00007ffff76e42ae in g_main_context_iterate (context=0x5555556dfe00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3922
#3  0x00007ffff76e4683 in g_main_loop_run (loop=0x5555556dfef0) at ../glib/gmain.c:4123
#4  0x00007ffff792aaba in gdbus_shared_thread_func (user_data=0x5555556dfdd0) at ../gio/gdbusprivate.c:275
#5  0x00007ffff770d6f2 in g_thread_proxy (data=0x5555556cc4a0) at ../glib/gthread.c:805
#6  0x00007ffff76615a2 in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff758c023 in clone () at /lib64/libc.so.6
--Type <RET> for more, q to quit, c to continue without paging--

Thread 2 (Thread 0x7fffe909c700 (LWP 11154)):
#0  0x00007ffff75812b7 in poll () at /lib64/libc.so.6
#1  0x00007ffff76e42ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x5555556c9370, timeout=<optimized out>, context=0x5555556cbf70) at ../glib/gmain.c:4228
#2  0x00007ffff76e42ae in g_main_context_iterate (context=context@entry=0x5555556cbf70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3922
#3  0x00007ffff76e43e3 in g_main_context_iteration (context=0x5555556cbf70, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#4  0x00007ffff76e4431 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:5868
#5  0x00007ffff770d6f2 in g_thread_proxy (data=0x5555556cc400) at ../glib/gthread.c:805
#6  0x00007ffff76615a2 in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff758c023 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffff60c6ac0 (LWP 11144)):
#0  0x00007ffff766ab3f in write () at /lib64/libpthread.so.0
#1  0x00007ffff71287f9 in sock_write (b=0x555556245f20, in=0x555555725103 "\025\003\003", inl=31) at crypto/bio/bss_sock.c:114
#2  0x00007ffff71221be in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0x7fffffffb130) at crypto/bio/bio_meth.c:77
#3  0x00007ffff71211d4 in bio_write_intern (written=0x7fffffffb130, dlen=31, data=0x555555725103, b=0x555556245f20) at crypto/bio/bio_lib.c:343
#4  0x00007ffff71211d4 in bio_write_intern (b=0x555556245f20, data=0x555555725103, dlen=31, written=0x7fffffffb130) at crypto/bio/bio_lib.c:320
#5  0x00007ffff7121697 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at crypto/bio/bio_lib.c:363
#6  0x00007ffff657a14e in ssl3_write_pending (s=s@entry=0x5555561ca600, type=type@entry=21, buf=buf@entry=0x5555560a7900 "\001", len=len@entry=2, written=written@entry=0x7fffffffc290) at ssl/record/rec_layer_s3.c:1146
#7  0x00007ffff657b049 in do_ssl3_write (s=s@entry=0x5555561ca600, type=type@entry=21, buf=0x5555560a7900 "\001", pipelens=pipelens@entry=0x7fffffffc288, numpipes=numpipes@entry=1, create_empty_fragment=create_empty_fragment@entry=0, written=0x7fffffffc290) at ssl/record/rec_layer_s3.c:1107
#8  0x00007ffff6584b6e in ssl3_dispatch_alert (s=0x5555561ca600) at ssl/s3_msg.c:78
#9  0x00007ffff6582d55 in ssl3_shutdown (s=0x5555561ca600) at ssl/s3_lib.c:4424
#10 0x00007ffff658e453 in SSL_shutdown (s=0x5555561ca600) at ssl/ssl_lib.c:2074
#11 0x00007ffff6db3c05 in ossl_close (connssl=<optimized out>) at ../../lib/vtls/openssl.c:1265
#12 0x00007ffff6db3c75 in Curl_ossl_close (conn=0x5555560b4830, sockindex=<optimized out>) at ../../lib/vtls/openssl.c:1282
#13 0x00007ffff6d6dc7e in Curl_disconnect (dead_connection=false, conn=0x5555560b4830, data=0x555555814480) at ../../lib/url.c:802
#14 0x00007ffff6d6dc7e in Curl_disconnect (data=data@entry=0x555555814480, conn=conn@entry=0x5555560b4830, dead_connection=dead_connection@entry=false) at ../../lib/url.c:752
#15 0x00007ffff6d82786 in multi_done (data=data@entry=0x555555814480, status=status@entry=CURLE_OK, premature=<optimized out>, premature@entry=false) at ../../lib/multi.c:620
#16 0x00007ffff6d83b67 in multi_runsingle (multi=0x5555562df980, now=..., data=0x555555814480) at ../../lib/multi.c:2024
#17 0x00007ffff6d8485f in multi_socket (multi=multi@entry=0x5555562df980, checkall=checkall@entry=false, s=<optimized out>, ev_bitmask=<optimized out>, running_handles=running_handles@entry=0x5555556d8950) at ../../lib/multi.c:2719
#18 0x00007ffff6d849db in curl_multi_socket_action (multi=0x5555562df980, s=<optimized out>, ev_bitmask=<optimized out>, running_handles=running_handles@entry=0x5555556d8950) at ../../lib/multi.c:2838
#19 0x00007ffff7c9e35a in event_cb (fd=<optimized out>, condition=<optimized out>, data=0x5555556d88d0) at src/libostree/ostree-fetcher-curl.c:451
#20 0x00007ffff76e3fa0 in g_main_dispatch (context=0x5555556e6420) at ../glib/gmain.c:3189
#21 0x00007ffff76e3fa0 in g_main_context_dispatch (context=context@entry=0x5555556e6420) at ../glib/gmain.c:3854
#22 0x00007ffff76e4338 in g_main_context_iterate (context=context@entry=0x5555556e6420, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3927
#23 0x00007ffff76e43e3 in g_main_context_iteration (context=0x5555556e6420, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#24 0x00007ffff7c65c85 in ostree_repo_pull_with_options (self=self@entry=0x5555556f0d90 [OstreeRepo], remote_name_or_baseurl=remote_name_or_baseurl@entry=0x5555556fb1d0 "flathub", options=options@entry=0x555556164d30, progress=progress@entry=0x5555557d4d40 [OstreeAsyncProgress], cancellable=cancellable@entry=0x0, error=error@entry=0x7fffffffd218) at src/libostree/ostree-repo-pull.c:4436
#25 0x00005555555e9067 in repo_pull (self=0x5555556f0d90 [OstreeRepo], remote_name=0x5555556fb1d0 "flathub", dirs_to_pull=0x5555557ce070, ref_to_fetch=<optimized out>, rev_to_fetch=<optimized out>, results_to_fetch=<optimized out>, flatpak_flags=(FLATPAK_PULL_FLAGS_DOWNLOAD_EXTRA_DATA | FLATPAK_PULL_FLAGS_SIDELOAD_EXTRA_DATA), flags=(OSTREE_REPO_PULL_FLAGS_MIRROR | OSTREE_REPO_PULL_FLAGS_BAREUSERONLY_FILES), progress=<optimized out>, cancellable=0x0, error=0x7fffffffd218) at common/flatpak-dir.c:4030
#26 0x00005555555fee93 in flatpak_dir_pull (self=0x5555556f4300 [FlatpakDir], state=0x55555575cc80, ref=0x5555556f6550 "runtime/org.gnome.Platform.Locale/x86_64/3.32", opt_rev=<optimized out>, opt_results=<optimized out>, subpaths=<optimized out>, repo=0x5555556f0d90 [OstreeRepo], flatpak_flags=<optimized out>, flags=<optimized out>, progress=<optimized out>, cancellable=<optimized out>, error=<optimized out>) at common/flatpak-dir.c:4771
#27 0x000055555560b933 in flatpak_dir_install (self=0x5555556f4300 [FlatpakDir], no_pull=0, no_deploy=0, no_static_deltas=<optimized out>, reinstall=0, app_hint=1, state=0x55555575cc80, ref=0x5555556f6550 "runtime/org.gnome.Platform.Locale/x86_64/3.32", opt_commit=0x5555557fc770 "d7db1c1a56687358029eaefbb277d1901406eb54d77d57983b5e9a76dba5b36f", opt_subpaths=0x555555788210, progress=0x5555557d4d40 [OstreeAsyncProgress], cancellable=0x0, error=0x7fffffffd218) at common/flatpak-dir.c:7810
#28 0x00005555556340d3 in flatpak_transaction_real_run (self=0x5555556fc0a0 [FlatpakCliTransaction], cancellable=<optimized out>, error=<optimized out>) at common/flatpak-transaction.c:2892
#29 0x00005555555cfbde in flatpak_cli_transaction_run (transaction=0x5555556fc0a0 [FlatpakCliTransaction], cancellable=0x0, error=0x7fffffffd478) at ./common/flatpak-transaction.h:92
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00005555555a60f6 in flatpak_builtin_install (argc=<optimized out>, argv=<optimized out>, cancellable=0x0, error=<optimized out>) at app/flatpak-builtins-install.c:516
#31 0x000055555559d839 in flatpak_run (res_error=0x7fffffffd468, argv=<optimized out>, argc=<optimized out>) at app/flatpak-main.c:695
#32 0x000055555559d839 in main (argc=<optimized out>, argv=<optimized out>) at app/flatpak-main.c:801

Comment 3 Gleidson Baleeiro 2019-04-07 22:44:03 UTC
Fedora 30

Package versions:
- flatpak-1.2.4-2.fc30.x86_64
- ostree-2019.1-5.fc30.x86_64

Running: flatpak --user install flathub org.telegram.desktop

GDB stacktrace
[Thread 0x7fffe1d9e700 (LWP 6295) exited]
        ID                                                 Arch         Branch      Remote       Download
 1. [/] org.kde.Platform                                   x86_64       5.12        flathub          1.0 kB / 425.9 MB
 2. [ ] org.kde.KStyle.Adwaita                             x86_64       5.12        flathub        < 4.7 MB
 3. [ ] org.kde.PlatformTheme.QGnomePlatform.Sources       x86_64       5.12        flathub       < 23.6 kB
        ID                                                 Arch         Branch      Remote       Download
 1. [\] org.kde.Platform                                   x86_64       5.12        flathub         75.3 kB / 425.9 MB
 2. [ ] org.kde.KStyle.Adwaita                             x86_64       5.12        flathub        < 4.7 MB
 3. [ ] org.kde.PlatformTheme.QGnomePlatform.Sources       x86_64       5.12        flathub       < 23.6 kB
 4. [ ] org.kde.PlatformTheme.QGnomePlatform               x86_64       5.12        flathub      < 137.8 kB
 5. [ ] org.kde.Platform.Locale                            x86_64       5.12        flathub      < 334.0 MB (partial)
 6. [ ] org.telegram.desktop                               x86_64       stable      flathub       < 26.7 MB

Installing 1/6… █▌                     8%  37.6 kB/s[Thread 0x7fffe1d9e700 (LWP 6310) exited]

Thread 1 "flatpak" received signal SIGPIPE, Broken pipe.
0x00007ffff7661b3f in write () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ffff7661b3f in write () at /lib64/libpthread.so.0
#1  0x00007ffff711f7f9 in  () at /lib64/libcrypto.so.1.1
#2  0x00007ffff71191be in  () at /lib64/libcrypto.so.1.1
#3  0x00007ffff71181d4 in  () at /lib64/libcrypto.so.1.1
#4  0x00007ffff7118697 in BIO_write () at /lib64/libcrypto.so.1.1
#5  0x00007ffff657114e in  () at /lib64/libssl.so.1.1
#6  0x00007ffff6572049 in  () at /lib64/libssl.so.1.1
#7  0x00007ffff657229d in  () at /lib64/libssl.so.1.1
#8  0x00007ffff6585269 in  () at /lib64/libssl.so.1.1
#9  0x00007ffff65853a7 in SSL_write () at /lib64/libssl.so.1.1
#10 0x00007ffff6daa8c9 in  () at /lib64/libcurl.so.4
#11 0x00007ffff6d96502 in  () at /lib64/libcurl.so.4
#12 0x00007ffff6695f89 in nghttp2_session_send () at /lib64/libnghttp2.so.14
#13 0x00007ffff6d97f14 in  () at /lib64/libcurl.so.4
#14 0x00007ffff6d57bcb in  () at /lib64/libcurl.so.4
#15 0x00007ffff6d796a5 in  () at /lib64/libcurl.so.4
#16 0x00007ffff6d7ad8f in  () at /lib64/libcurl.so.4
#17 0x00007ffff6d7b85f in  () at /lib64/libcurl.so.4
#18 0x00007ffff6d7b9db in curl_multi_socket_action () at /lib64/libcurl.so.4
#19 0x00007ffff7c9535a in  () at /lib64/libostree-1.so.1
#20 0x00007ffff76dafa0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#21 0x00007ffff76db338 in  () at /lib64/libglib-2.0.so.0
#22 0x00007ffff76db3e3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#23 0x00007ffff7c5cc85 in ostree_repo_pull_with_options () at /lib64/libostree-1.so.1
#24 0x00005555555e9067 in  ()
#25 0x00005555555fee93 in  ()
#26 0x000055555560b79b in  ()
#27 0x00005555556340d3 in  ()
#28 0x00005555555cfbde in  ()
#29 0x00005555555a60f6 in  ()
#30 0x000055555559d839 in  ()
#31 0x00007ffff74abf33 in __libc_start_main () at /lib64/libc.so.6
#32 0x000055555559e33e in  ()
(gdb)


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