From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0AHFCfsdLV9QJwAA0tVLHw (envelope-from ) for ; Fri, 07 Aug 2020 09:25:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sF2XBfsdLV+aNwAAB5/wlQ (envelope-from ) for ; Fri, 07 Aug 2020 09:25:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EFE2394051F for ; Fri, 7 Aug 2020 09:25:13 +0000 (UTC) Received: from localhost ([::1]:35814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3ych-0007jX-Im for larch@yhetil.org; Fri, 07 Aug 2020 05:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3ycY-0007hv-HG for bug-guix@gnu.org; Fri, 07 Aug 2020 05:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3ycY-00029V-8C for bug-guix@gnu.org; Fri, 07 Aug 2020 05:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3ycY-0005OH-1d; Fri, 07 Aug 2020 05:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42740: Segfault in libssh during =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?copy=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: poptsov.artyom@gmail.com, bug-guix@gnu.org Resent-Date: Fri, 07 Aug 2020 09:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42740 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42740@debbugs.gnu.org X-Debbugs-Original-To: X-Debbugs-Original-Xcc: Artyom V. Poptsov Received: via spool by submit@debbugs.gnu.org id=B.159679229720705 (code B ref -1); Fri, 07 Aug 2020 09:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2020 09:24:57 +0000 Received: from localhost ([127.0.0.1]:55710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3ycS-0005Ns-L5 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 05:24:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:37846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3ycP-0005Nj-9E for submit@debbugs.gnu.org; Fri, 07 Aug 2020 05:24:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3ycP-0007TD-1M for bug-guix@gnu.org; Fri, 07 Aug 2020 05:24:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40824) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3ycO-00028x-Oc for bug-guix@gnu.org; Fri, 07 Aug 2020 05:24:52 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54454 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3ycO-0004mR-5e for bug-guix@gnu.org; Fri, 07 Aug 2020 05:24:52 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Thermidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 07 Aug 2020 11:24:49 +0200 Message-ID: <871rkin6zi.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Artyom V. Poptsov" Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 7ysmbc3yyy0i Hi, I observe the following segfault: --8<---------------cut here---------------start------------->8--- $ guix copy --to=3Dolimex /gnu/store/=E2=80=A6 -v3 --debug=3D3 sending 66 store items (166 MiB) to 'A20-OLinuXino.local'... exporting path `/gnu/store/als3v92k7l6ny44sci1x0p9x6d7z0ivp-mesa-20.0.8' Adres-eraro(nekropsio el=C5=9Dutita) $ guix describe Generacio 152 Aug 04 2020 17:34:23 (nuna) guix abe3c5e repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: abe3c5ed7d04985c987e6c81aeb1284354ea0c77 $ gdb $(type -P guile) core [...] [Current thread is 1 (Thread 0x7f947b084b80 (LWP 12777))] (gdb) bt #0 0x00007f94751c0185 in deflate_fast () from /gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11/lib/libz.so= .1 #1 0x00007f94751c253d in deflate () from /gnu/store/rykm237xkmq7rl1p0nwass= 01p090p88x-zlib-1.2.11/lib/libz.so.1 #2 0x00007f9474a8db4a in gzip_compress (session=3Dsession@entry=3D0x1ff0b1= 0, source=3Dsource@entry=3D0x1ff07e0,=20 level=3D) at /tmp/guix-build-libssh-0.9.4.drv-0/source/s= rc/gzip.c:91 #3 0x00007f9474a8de83 in compress_buffer (session=3Dsession@entry=3D0x1ff0= b10, buf=3D0x1ff07e0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/gzip.c:112 #4 0x00007f9474a6ab5f in packet_send2 (session=3Dsession@entry=3D0x1ff0b10) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/packet.c:1632 #5 0x00007f9474a6ac32 in ssh_packet_send (session=3Dsession@entry=3D0x1ff0= b10) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/packet.c:1810 #6 0x00007f9474a54639 in channel_write_common (channel=3D0x1ff43a0, data= =3D0x7f9477995020, len=3D65536, is_stderr=3D0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/channels.c:1488 #7 0x00007f9474ad8a9e in write_to_channel_port () from /gnu/store/vj92bd6lcknylwka9v4n4h0i360n6vn4-guile-ssh-0.13.0/lib/li= bguile-ssh.so.13 #8 0x00007f947b749edc in scm_i_write_bytes (port=3D# 7f9477c23e00>,=20 src=3D"#" =3D {...}, start=3D0, count=3D65536) at ports.c:28= 65 #9 0x00007f947b75186f in scm_put_bytevector (port=3D# 7f9477c23e00>,=20 bv=3D"#" =3D {...}, start=3D, count=3D) at r6rs-ports.c:676 #10 0x00007f94750be427 in ?? () #11 0x00007f947ad60d80 in ?? () #12 0x00007f947b7ee620 in ?? () from /gnu/store/0w76khfspfy8qmcpjya41chj3bg= fcy0k-guile-3.0.4/lib/libguile-3.0.so.1 #13 0x00007f947ad60d80 in ?? () #14 0x00007f947b72743b in scm_jit_enter_mcode (thread=3D0x7f947ad60d80, thr= ead@entry=3D0x28,=20 mcode=3D0x7f94750c63a0 "I\211\314I)\304I\203\374\020\017\214k ") at jit= .c:5852 #15 0x00007f947b7828e9 in vm_regular_engine (thread=3D0x28) at vm-engine.c:= 360 #16 0x00007f947b7835b5 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7fff14699b38, nargs=3Dnargs@entry=3D1) at vm.c:1608 #17 0x00007f947b700c97 in scm_primitive_eval (exp=3D) at eva= l.c:671 #18 0x00007f947b7290fb in scm_primitive_load (filename=3D) a= t load.c:131 #19 0x00007f947b782151 in vm_regular_engine (thread=3D0x7f947ad60d80) at vm= -engine.c:972 #20 0x00007f947b7835b5 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7fff14699d08, nargs=3Dnargs@entry=3D1) at vm.c:1608 #21 0x00007f947b700c97 in scm_primitive_eval (exp=3D,=20 exp@entry=3D((@ (ice-9 control) %) (begin ((@@ (ice-9 command-line) loa= d/lang) "/home/ludo/.config/guix/current/bin/guix") (quit)))) at eval.c:671 #22 0x00007f947b700cf3 in scm_eval ( exp=3D((@ (ice-9 control) %) (begin ((@@ (ice-9 command-line) load/lang= ) "/home/ludo/.config/guix/current/bin/guix") (quit))), module_or_state=3Dm= odule_or_state@entry=3D"#" =3D {...}) at eval.c:705 #23 0x00007f947b7595a0 in scm_shell (argc=3D8, argv=3D0x7fff1469a378) at sc= ript.c:357 #24 0x00007f947b7186ad in invoke_main_func (body_data=3D0x7fff1469a210) at = init.c:308 #25 0x00007f947b6fab2a in c_body (d=3D0x7fff1469a150) at continuations.c:430 #26 0x00007f947b782151 in vm_regular_engine (thread=3D0x7f947ad60d80) at vm= -engine.c:972 #27 0x00007f947b7835b5 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7fff14699f10, nargs=3Dnargs@entry=3D2) at vm.c:1608 #28 0x00007f947b6ffb2a in scm_call_2 (proc=3D, arg1=3D, arg2=3D) at eval.c:503 #29 0x00007f947b70132a in scm_c_with_exception_handler (type=3Dtype@entry= =3D#t,=20 handler=3Dhandler@entry=3D0x7f947b7787e0 ,=20 handler_data=3Dhandler_data@entry=3D0x7fff1469a080, thunk=3Dthunk@entry= =3D0x7f947b778920 ,=20 thunk_data=3Dthunk_data@entry=3D0x7fff1469a080) at exceptions.c:170 #30 0x00007f947b778b1d in scm_c_catch (tag=3Dtag@entry=3D#t, body=3Dbody@en= try=3D0x7f947b6fab20 ,=20 body_data=3Dbody_data@entry=3D0x7fff1469a150, handler=3Dhandler@entry= =3D0x7f947b6fadc0 ,=20 handler_data=3Dhandler_data@entry=3D0x7fff1469a150,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7f947b6fac20 ,=20 pre_unwind_handler_data=3D0x7f9479037240) at throw.c:168 #31 0x00007f947b6fb0d3 in scm_i_with_continuation_barrier (body=3Dbody@entr= y=3D0x7f947b6fab20 ,=20 body_data=3Dbody_data@entry=3D0x7fff1469a150, handler=3Dhandler@entry= =3D0x7f947b6fadc0 ,=20 handler_data=3Dhandler_data@entry=3D0x7fff1469a150,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7f947b6fac20 ,=20 pre_unwind_handler_data=3D0x7f9479037240) at continuations.c:368 #32 0x00007f947b6fb165 in scm_c_with_continuation_barrier (func=3D, data=3D) at continuations.c:464 #33 0x00007f947b7775bf in with_guile (base=3D0x7fff1469a1b8, data=3D0x7fff1= 469a1e0) at threads.c:645 #34 0x00007f947b65ca68 in GC_call_with_stack_base () from /gnu/store/iycnpxxrg8m9wf9w58d6zvp9sdby6m9d-libgc-7.6.12/lib/libgc.= so.1 #35 0x00007f947b7778d8 in scm_i_with_guile (dynamic_state=3D= , data=3Ddata@entry=3D0x7fff1469a1e0,=20 func=3Dfunc@entry=3D0x7f947b718690 ) at threads.c:688 #36 scm_with_guile (func=3Dfunc@entry=3D0x7f947b718690 , = data=3Ddata@entry=3D0x7fff1469a210) at threads.c:694 #37 0x00007f947b718822 in scm_boot_guile (argc=3Dargc@entry=3D8, argv=3Darg= v@entry=3D0x7fff1469a378,=20 main_func=3Dmain_func@entry=3D0x401240 , closure=3Dclosure@= entry=3D0x0) at init.c:291 #38 0x0000000000401100 in main (argc=3D8, argv=3D0x7fff1469a378) at guile.c= :95 (gdb) frame 3 #3 0x00007f9474a8de83 in compress_buffer (session=3Dsession@entry=3D0x1ff0= b10, buf=3D0x1ff07e0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/gzip.c:112 112 /tmp/guix-build-libssh-0.9.4.drv-0/source/src/gzip.c: Dosiero a=C5=AD d= osierujo ne ekzistas. (gdb) p *session $1 =3D {common =3D {error =3D {error_code =3D 0, error_buffer =3D '\000' }, callbacks =3D 0x0,=20 log_verbosity =3D 0}, socket =3D 0x1ff0720, serverbanner =3D 0x1ff1e00 = "SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u1",=20 clientbanner =3D 0x1ff15d0 "SSH-2.0-libssh_0.9.3", protoversion =3D 0, se= rver =3D 0, client =3D 1, openssh =3D 395008,=20 send_seq =3D 437, recv_seq =3D 157, last_rekey_time =3D {seconds =3D 0, u= seconds =3D 0}, connected =3D 1, alive =3D 1,=20 flags =3D 3, extensions =3D 0, banner =3D 0x0, discon_msg =3D 0x0, in_buf= fer =3D 0x1ff0810, in_packet =3D {valid =3D 1,=20 len =3D 0, type =3D 93 ']'}, out_buffer =3D 0x1ff07e0, out_queue =3D 0x= 1ff03f0,=20 pending_call_state =3D SSH_PENDING_CALL_NONE, session_state =3D SSH_SESSI= ON_STATE_AUTHENTICATED,=20 packet_state =3D PACKET_STATE_INIT, dh_handshake_state =3D DH_STATE_FINIS= HED,=20 global_req_state =3D SSH_CHANNEL_REQ_STATE_NONE, agent_state =3D 0x0, aut= h =3D {auto_state =3D 0x1ff72b0,=20 service_state =3D SSH_AUTH_SERVICE_ACCEPTED, state =3D SSH_AUTH_STATE_S= UCCESS, supported_methods =3D 6,=20 current_method =3D 0}, first_kex_follows_guess_wrong =3D 0, in_hashbuf = =3D 0x0, out_hashbuf =3D 0x0,=20 current_crypto =3D 0x1ff0480, next_crypto =3D 0x1ff7b90, channels =3D 0x1= ff7290, maxchannel =3D 45, agent =3D 0x1ff0840,=20 kbdint =3D 0x0, gssapi =3D 0x0, srv =3D {rsa_key =3D 0x0, dsa_key =3D 0x0= , ecdsa_key =3D 0x0, ed25519_key =3D 0x0,=20 hostkey =3D SSH_KEYTYPE_UNKNOWN, hostkey_digest =3D SSH_DIGEST_AUTO}, s= sh_message_list =3D 0x0,=20 ssh_message_callback =3D 0x0, ssh_message_callback_data =3D 0x0, server_c= allbacks =3D 0x0,=20 ssh_connection_callback =3D 0x7f9474a58b30 , default_packet_callbacks =3D { start =3D 1 '\001', n_callbacks =3D 100 'd', callbacks =3D 0x7f9474acb3= 80 ,=20 user =3D 0x1ff0b10}, packet_callbacks =3D 0x1ff1610, socket_callbacks = =3D {userdata =3D 0x1ff0b10,=20 data =3D 0x7f9474a6b030 ,=20 controlflow =3D 0x7f9474a6a0e0 = ,=20 exception =3D 0x7f9474a72830 , connected= =3D 0x0}, default_poll_ctx =3D 0x1ff1dd0,=20 pcap_ctx =3D 0x0, opts =3D {identity =3D 0x1ff1340, username =3D 0x1ff14a= 0 "olimex",=20 host =3D 0x1ff15f0 "A20-OLinuXino.local", bindaddr =3D 0x0, sshdir =3D = 0x1ff1660 "/home/ludo/.ssh",=20 knownhosts =3D 0x1ff1680 "/home/ludo/.ssh/known_hosts",=20 global_knownhosts =3D 0x1ff15a0 "/etc/ssh/ssh_known_hosts", wanted_meth= ods =3D {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,=20 0x1ff1520 "zlib@openssh.com,zlib", 0x1ff1630 "zlib@openssh.com,zlib",= 0x0, 0x0},=20 pubkey_accepted_types =3D 0x0, ProxyCommand =3D 0x0, custombanner =3D 0= x0, timeout =3D 3600, timeout_usec =3D 0,=20 port =3D 22, fd =3D -1, StrictHostKeyChecking =3D 1, compressionlevel = =3D 3 '\003', gss_server_identity =3D 0x0,=20 gss_client_identity =3D 0x0, gss_delegate_creds =3D 0, flags =3D 15, no= delay =3D 1, config_processed =3D true,=20 options_seen =3D "\000\000\001\000\001", '\000' , rek= ey_data =3D 0, rekey_time =3D 0},=20 socket_counter =3D 0x0, raw_counter =3D 0x0} (gdb) info threads Id Target Id Frame=20 * 1 Thread 0x7f947b084b80 (LWP 12777) 0x00007f9474a8de83 in compress_buf= fer (session=3Dsession@entry=3D0x1ff0b10,=20 buf=3D0x1ff07e0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/gzip.= c:112 2 Thread 0x7f947ad5e700 (LWP 12778) warning: Unexpected size of sectio= n `.reg-xstate/12778' in core file. 0x00007f947b62b94c in futex_wait_cancelable (private=3D,=20 expected=3D0, futex_word=3D0x7f947b6836ec ) at ../sysdeps/n= ptl/futex-internal.h:183 3 Thread 0x7f9478a9b700 (LWP 12781) warning: Unexpected size of sectio= n `.reg-xstate/12781' in core file. 0x00007f94751c0782 in deflate_fast () from /gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11/lib/libz.so= .1 4 Thread 0x7f947a3cd700 (LWP 12779) warning: Unexpected size of sectio= n `.reg-xstate/12779' in core file. 0x00007f947b62b94c in futex_wait_cancelable (private=3D,=20 expected=3D0, futex_word=3D0x7f947b6836ec ) at ../sysdeps/n= ptl/futex-internal.h:183 5 Thread 0x7f94767d6700 (LWP 12782) warning: Unexpected size of sectio= n `.reg-xstate/12782' in core file. 0x00007f947b62f0a4 in __libc_read (fd=3D11, buf=3Dbuf@entry=3D0x7f94767d566= 0,=20 nbytes=3Dnbytes@entry=3D1) at ../sysdeps/unix/sysv/linux/read.c:26 6 Thread 0x7f9479a3c700 (LWP 12780) warning: Unexpected size of sectio= n `.reg-xstate/12780' in core file. 0x00007f947b62b94c in futex_wait_cancelable (private=3D,=20 expected=3D0, futex_word=3D0x7f947b6836ec ) at ../sysdeps/n= ptl/futex-internal.h:183 (gdb) thread 3 [Switching to thread 3 (Thread 0x7f9478a9b700 (LWP 12781))] #0 0x00007f94751c0782 in deflate_fast () from /gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11/lib/libz.so= .1 (gdb) bt #0 0x00007f94751c0782 in deflate_fast () from /gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11/lib/libz.so= .1 #1 0x00007f94751c253d in deflate () from /gnu/store/rykm237xkmq7rl1p0nwass= 01p090p88x-zlib-1.2.11/lib/libz.so.1 #2 0x00007f9474a8db4a in gzip_compress (session=3Dsession@entry=3D0x1ff0b1= 0, source=3Dsource@entry=3D0x1ff07e0,=20 level=3D) at /tmp/guix-build-libssh-0.9.4.drv-0/source/s= rc/gzip.c:91 #3 0x00007f9474a8de83 in compress_buffer (session=3Dsession@entry=3D0x1ff0= b10, buf=3D0x1ff07e0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/gzip.c:112 #4 0x00007f9474a6ab5f in packet_send2 (session=3Dsession@entry=3D0x1ff0b10) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/packet.c:1632 #5 0x00007f9474a6ac32 in ssh_packet_send (session=3Dsession@entry=3D0x1ff0= b10) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/packet.c:1810 #6 0x00007f9474a56178 in ssh_channel_send_eof (channel=3Dchannel@entry=3D0= x1ff1fd0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/channels.c:1250 #7 0x00007f9474a5623b in ssh_channel_close (channel=3D0x1ff1fd0) at /tmp/guix-build-libssh-0.9.4.drv-0/source/src/channels.c:1301 #8 0x00007f9474ad8a56 in ptob_close () from /gnu/store/vj92bd6lcknylwka9v4n4h0i360n6vn4-guile-ssh-0.13.0/lib/li= bguile-ssh.so.13 #9 0x00007f947b747153 in release_port (port=3D# 7f9474e9d060>) at ports.c:165 #10 0x00007f947b74a19b in close_port (port=3D# 7f9474e9d060>,=20 explicit=3D) at ports.c:893 #11 0x00007f947b70132a in scm_c_with_exception_handler (type=3Dtype@entry= =3D#t,=20 handler=3Dhandler@entry=3D0x7f947b7787e0 ,=20 handler_data=3Dhandler_data@entry=3D0x7f9478a9a970, thunk=3Dthunk@entry= =3D0x7f947b778920 ,=20 thunk_data=3Dthunk_data@entry=3D0x7f9478a9a970) at exceptions.c:170 #12 0x00007f947b778b1d in scm_c_catch (tag=3Dtag@entry=3D#t, body=3Dbody@en= try=3D0x7f947b74a200 ,=20 body_data=3D, handler=3D, handler_data=3D= handler_data@entry=3D0x0,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x0, pre_unwind_handler= _data=3D0x0) at throw.c:168 #13 0x00007f947b778b3e in scm_internal_catch (tag=3Dtag@entry=3D#t, body=3D= body@entry=3D0x7f947b74a200 ,=20 body_data=3D, handler=3D, handler_data=3D= handler_data@entry=3D0x0) at throw.c:177 #14 0x00007f947b745d84 in finalize_port (ptr=3D, data=3D) at ports.c:710 #15 0x00007f947b6556ef in GC_invoke_finalizers () from /gnu/store/iycnpxxrg8m9wf9w58d6zvp9sdby6m9d-libgc-7.6.12/lib/libgc.= so.1 #16 0x00007f947b709e79 in scm_run_finalizers () at finalizers.c:399 #17 0x00007f947b709efd in finalization_thread_proc (unused=3D) at finalizers.c:234 #18 0x00007f947b6fab2a in c_body (d=3D0x7f9478a9ae50) at continuations.c:430 #19 0x00007f947b782151 in vm_regular_engine (thread=3D0x7f947ad60b40) at vm= -engine.c:972 #20 0x00007f947b7835b5 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7f9478a9ac10, nargs=3Dnargs@entry=3D2) at vm.c:1608 #21 0x00007f947b6ffb2a in scm_call_2 (proc=3D, arg1=3D, arg2=3D) at eval.c:503 #22 0x00007f947b70132a in scm_c_with_exception_handler (type=3Dtype@entry= =3D#t,=20 handler=3Dhandler@entry=3D0x7f947b7787e0 ,=20 handler_data=3Dhandler_data@entry=3D0x7f9478a9ad80, thunk=3Dthunk@entry= =3D0x7f947b778920 ,=20 thunk_data=3Dthunk_data@entry=3D0x7f9478a9ad80) at exceptions.c:170 #23 0x00007f947b778b1d in scm_c_catch (tag=3Dtag@entry=3D#t, body=3Dbody@en= try=3D0x7f947b6fab20 ,=20 body_data=3Dbody_data@entry=3D0x7f9478a9ae50, handler=3Dhandler@entry= =3D0x7f947b6fadc0 ,=20 handler_data=3Dhandler_data@entry=3D0x7f9478a9ae50,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7f947b6fac20 ,=20 pre_unwind_handler_data=3D0x7f9479037240) at throw.c:168 #24 0x00007f947b6fb0d3 in scm_i_with_continuation_barrier (body=3Dbody@entr= y=3D0x7f947b6fab20 ,=20 body_data=3Dbody_data@entry=3D0x7f9478a9ae50, handler=3Dhandler@entry= =3D0x7f947b6fadc0 ,=20 handler_data=3Dhandler_data@entry=3D0x7f9478a9ae50,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7f947b6fac20 ,=20 pre_unwind_handler_data=3D0x7f9479037240) at continuations.c:368 #25 0x00007f947b6fb165 in scm_c_with_continuation_barrier (func=3D, data=3D) at continuations.c:464 #26 0x00007f947b7775bf in with_guile (base=3D0x7f9478a9aeb8, data=3D0x7f947= 8a9aee0) at threads.c:645 #27 0x00007f947b65ca68 in GC_call_with_stack_base () from /gnu/store/iycnpxxrg8m9wf9w58d6zvp9sdby6m9d-libgc-7.6.12/lib/libgc.= so.1 #28 0x00007f947b7778d8 in scm_i_with_guile (dynamic_state=3D= , data=3D,=20 func=3D) at threads.c:688 #29 scm_with_guile (func=3D, data=3D) at thre= ads.c:694 #30 0x00007f947b624f64 in start_thread (arg=3D0x7f9478a9b700) at pthread_cr= eate.c:477 #31 0x00007f947b17c9af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clo= ne.S:95 --8<---------------cut here---------------end--------------->8--- This looks similar to : we have a finalization thread closing a channel port that is still being used. This may be a regression in Guile-SSH 0.13.0. Does that ring a bell, Artyom? Thanks, Ludo=E2=80=99.