On Mon, Oct 05, 2026 at 04:48:38PM +0100, Stuart Henderson wrote: > On 2026/10/05 13:04, Enzo Nicosia wrote: > > Hi all, > > > > sorry but have to post this here as net/iamb is maintained by the ports > > ML: > > > > net/iamb segfaults in the latest 8.0 snapshot. I have built it from the > > latest port tree. The system is running the latest snapshot (updated on > > October 3rd). I have not been able to pinpoint the issue though, as the > > stack trace is not exactly "legible". The latest few entries are as > > follows: > > Steps to reproduce would be helpful. >
Thanks. Apols for the truncated bt (had tried with both gdb and egdb, egdb output below). As requested. Full stacktrace follows (long and unwrapped lines below). $ pkg_info iamb | head -1 Information for inst:iamb-0.0.12 $ whereis iamb /usr/local/bin/iamb $ iamb * Logging in for @XXXX:matrix.org... * Syncing... Segmentation fault (core dumped) $ iamb -P profile * Logging in for @XXXXX:otherserver.org... * Syncing... Segmentation fault (core dumped) $ egdb /usr/local/bin/iamb GNU gdb (GDB) 17.2 Copyright (C) 2025 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> ..... omissis ..... (gdb) run Starting program: /usr/local/bin/iamb * Logging in for @XXXXX:matrix.org... * Syncing... [New thread 426062 of process 92805] [New thread 443768 of process 92805] [New thread 412848 of process 92805] [New thread 219971 of process 92805] [New thread 549511 of process 92805] [New thread 407707 of process 92805] [New thread 323891 of process 92805] [New thread 352781 of process 92805] [New thread 112965 of process 92805] [New thread 169894 of process 92805] [New thread 277389 of process 92805] [New thread 467895 of process 92805] [New thread 499449 of process 92805] [New thread 494925 of process 92805] [New thread 272060 of process 92805] Thread 2 "iamb-worker-1" received signal SIGSEGV, Segmentation fault. [Switching to thread 426062 of process 92805] 0x00000596746d498f in aws_lc_0_45_0_curve25519_x25519base_alt () (gdb) bt #0 0x00000596746d498f in aws_lc_0_45_0_curve25519_x25519base_alt () #1 0x000005967455f774 in aws_lc_0_45_0_X25519_keypair () #2 0x000005967454179e in pkey_x25519_keygen () #3 0x0000059674579c0c in aws_lc_0_45_0_EVP_PKEY_keygen () #4 0x000005967453214a in <aws_lc_rs::ptr::ManagedPointer<*mut aws_lc_sys::universal_crypto::evp_pkey_st>>::generate::<fn(*mut aws_lc_sys::universal_crypto::evp_pkey_ctx_st) -> core::result::Result<(), ()>> () #5 0x00000596744c85e1 in <rustls::crypto::aws_lc_rs::kx::KxGroup as rustls::crypto::SupportedKxGroup>::start () #6 0x00000596744e4a95 in rustls::client::tls13::initial_key_share () #7 0x00000596744c03bc in <rustls::client::hs::ClientHelloInput>::start_handshake () #8 0x00000596744e1db3 in <rustls::conn::ConnectionCore<rustls::client::client_conn::ClientConnectionData>>::for_client () #9 0x00000596744c1cbd in <rustls::client::client_conn::connection::ClientConnection>::new_with_alpn () #10 0x0000059674476d62 in <tokio_rustls::client::TlsConnector>::connect_impl::<hyper_util::rt::tokio::TokioIo<hyper_util::rt::tokio::TokioIo<tokio::net::tcp::stream::TcpStream>>, <tokio_rustls::client::TlsConnector>::connect<hyper_util::rt::tokio::TokioIo<hyper_util::rt::tokio::TokioIo<tokio::net::tcp::stream::TcpStream>>>::{closure#0}> () #11 0x000005967448cad5 in <hyper_rustls::connector::HttpsConnector<hyper_util::client::legacy::connect::http::HttpConnector<reqwest::dns::resolve::DynResolver>> as tower_service::Service<http::uri::Uri>>::call::{closure#4} () #12 0x0000059674488df7 in <reqwest::connect::ConnectorService>::connect_with_maybe_proxy::{closure#0} () #13 0x0000059674488465 in reqwest::connect::with_timeout::<reqwest::connect::sealed::Conn, <reqwest::connect::ConnectorService>::connect_with_maybe_proxy::{closure#0}>::{closure#0} () #14 0x000005967446a380 in <futures_util::future::future::map::Map<futures_util::future::try_future::into_future::IntoFuture<hyper_util::service::oneshot::Oneshot<reqwest::connect::Connector, http::uri::Uri>>, futures_util::fns::MapErrFn<<hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#0}>> as core::future::future::Future>::poll () #15 0x000005967446999a in <futures_util::future::future::map::Map<futures_util::future::try_future::into_future::IntoFuture<futures_util::future::try_future::MapErr<hyper_util::service::oneshot::Oneshot<reqwest::connect::Connector, http::uri::Uri>, <hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#0}>>, futures_util::fns::MapOkFn<<hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#1}>> as core::future::future::Future>::poll () #16 0x000005967440f08e in <futures_util::future::try_future::try_flatten::TryFlatten<futures_util::future::try_future::MapOk<futures_util::future::try_future::MapErr<hyper_util::service::oneshot::Oneshot<reqwest::connect::Connector, http::uri::Uri>, <hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#0}>, <hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#1}>, futures_util::future::either::Either<core::pin::Pin<alloc::boxed::Box<<hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#1}::{closure#0}>>, futures_util::future::ready::Ready<core::result::Result<hyper_util::client::legacy::pool::Pooled<hyper_util::client::legacy::client::PoolClient<reqwest::async_impl::body::Body>, (http::uri::scheme::Scheme, http::uri::authority::Authority)>, hyper_util::client::legacy::client::Error>>>> as core::future::future::Future>::poll () #17 0x0000059674414fbf in <hyper_util::common::lazy::Lazy<<hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}, futures_util::future::either::Either<futures_util::future::try_future::AndThen<futures_util::future::try_future::MapErr<hyper_util::service::oneshot::Oneshot<reqwest::connect::Connector, http::uri::Uri>, <hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#0}>, futures_util::future::either::Either<core::pin::Pin<alloc::boxed::Box<<hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#1}::{closure#0}>>, futures_util::future::ready::Ready<core::result::Result<hyper_util::client::legacy::pool::Pooled<hyper_util::client::legacy::client::PoolClient<reqwest::async_impl::body::Body>, (http::uri::scheme::Scheme, http::uri::authority::Authority)>, hyper_util::client::legacy::client::Error>>>, <hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::connect_to::{closure#0}::{closure#1}>, futures_util::future::ready::Ready<core::result::Result<hyper_util::client::legacy::pool::Pooled<hyper_util::client::legacy::client::PoolClient<reqwest::async_impl::body::Body>, (http::uri::scheme::Scheme, http::uri::authority::Authority)>, hyper_util::client::legacy::client::Error>>>> as core::future::future::Future>::poll () #18 0x00000596743f9c23 in <hyper_util::client::legacy::client::Client<reqwest::connect::Connector, reqwest::async_impl::body::Body>>::send_request::{closure#0} () #19 0x0000059674457038 in <reqwest::async_impl::client::HyperService as tower_service::Service<http::request::Request<reqwest::async_impl::body::Body>>>::call::{closure#0} () #20 0x0000059674471338 in <tower::retry::future::ResponseFuture<reqwest::retry::Policy, reqwest::async_impl::client::HyperService, http::request::Request<reqwest::async_impl::body::Body>> as core::future::future::Future>::poll () #21 0x000005967446d2e8 in <tower_http::follow_redirect::ResponseFuture<tower::retry::Retry<reqwest::retry::Policy, reqwest::async_impl::client::HyperService>, reqwest::async_impl::body::Body, reqwest::redirect::TowerRedirectPolicy> as core::future::future::Future>::poll () #22 0x000005967440dc9a in <tower_http::decompression::future::ResponseFuture<tower_http::follow_redirect::ResponseFuture<tower::retry::Retry<reqwest::retry::Policy, reqwest::async_impl::client::HyperService>, reqwest::async_impl::body::Body, reqwest::redirect::TowerRedirectPolicy>> as core::future::future::Future>::poll () #23 0x0000059674472acd in <reqwest::async_impl::client::PendingRequest as core::future::future::Future>::poll () #24 0x0000059674472a2e in <reqwest::async_impl::client::Pending as core::future::future::Future>::poll () #25 0x0000059672b209e2 in matrix_sdk::http_client::native::send_request::{closure#0} () #26 0x0000059672c9b33b in <backon::retry::Retry<backon::backoff::exponential::ExponentialBackoff, ruma_client_api::sync::sync_events::v3::Response, matrix_sdk::error::HttpError, <matrix_sdk::http_client::HttpClient>::send_request<ruma_client_api::sync::sync_events::v3::Request>::{closure#0}::{closure#0}::{closure#0}, <matrix_sdk::http_client::HttpClient>::send_request<ruma_client_api::sync::sync_events::v3::Request>::{closure#0}::{closure#0}, backon::sleep::TokioSleeper, for<'a> fn(&'a matrix_sdk::error::HttpError) -> bool, for<'a> fn(&'a matrix_sdk::error::HttpError, core::time::Duration), <matrix_sdk::http_client::HttpClient>::send_request<ruma_client_api::sync::sync_events::v3::Request>::{closure#0}::{closure#1}> as core::future::future::Future>::poll () #27 0x0000059672050b81 in <core::pin::Pin<alloc::boxed::Box<<matrix_sdk::http_client::HttpClient>::send_request<ruma_client_api::sync::sync_events::v3::Request>::{closure#0}>> as core::future::future::Future>::poll () #28 0x0000059672093533 in <core::pin::Pin<alloc::boxed::Box<<matrix_sdk::client::Client>::send_inner<ruma_client_api::sync::sync_events::v3::Request>::{closure#0}>> as core::future::future::Future>::poll () #29 0x0000059671f8e057 in <matrix_sdk::client::futures::SendRequest<ruma_client_api::sync::sync_events::v3::Request> as core::future::into_future::IntoFuture>::into_future::{closure#0} () #30 0x0000059672a52096 in <matrix_sdk::client::Client>::sync_once::{closure#0}::{closure#0} () #31 0x0000059672c68a53 in <tracing::instrument::Instrumented<<matrix_sdk::client::Client>::sync_loop_helper::{closure#0}> as core::future::future::Future>::poll () #32 0x0000059672830805 in <async_stream::async_stream::AsyncStream<core::result::Result<matrix_sdk::sync::SyncResponse, matrix_sdk::error::Error>, <matrix_sdk::client::Client>::sync_stream::{closure#0}::{closure#0}::{closure#0}> as futures_core::stream::Stream>::poll_next () #33 0x00000596729ffff5 in <matrix_sdk::client::Client>::sync_with_result_callback::<<matrix_sdk::client::Client>::sync_with_callback<<matrix_sdk::client::Client>::sync::{closure#0}::{closure#0}::{closure#0}, <matrix_sdk::client::Client>::sync::{closure#0}::{closure#0}>::{closure#0}::{closure#0}::{closure#0}::{closure#0}, <matrix_sdk::client::Client>::sync_with_callback<<matrix_sdk::client::Client>::sync::{closure#0}::{closure#0}::{closure#0}, <matrix_sdk::client::Client>::sync::{closure#0}::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>::{closure#0}::{closure#0} () #34 0x00000596729fe8c2 in <matrix_sdk::client::Client>::sync_with_callback::<<matrix_sdk::client::Client>::sync::{closure#0}::{closure#0}::{closure#0}, <matrix_sdk::client::Client>::sync::{closure#0}::{closure#0}>::{closure#0}::{closure#0} () #35 0x0000059672a57a3e in <iamb::worker::ClientWorker>::login_and_sync::{closure#0}::{closure#1} () #36 0x0000059672b9ae65 in <tokio::runtime::task::harness::Harness<<iamb::worker::ClientWorker>::login_and_sync::{closure#0}::{closure#1}, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::handle::Handle>>>::poll () #37 0x0000059674cf676f in <tokio::runtime::scheduler::multi_thread::worker::Context>::run_task () #38 0x0000059674cf8c0f in tokio::runtime::scheduler::multi_thread::worker::run () #39 0x0000059674d0e593 in <tokio::runtime::blocking::task::BlockingTask<<tokio::runtime::scheduler::multi_thread::worker::Launch>::launch::{closure#0}> as core::future::future::Future>::poll () #40 0x0000059674d0065e in <tokio::runtime::task::core::Core<tokio::runtime::blocking::task::BlockingTask<<tokio::runtime::scheduler::multi_thread::worker::Launch>::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule>>::poll () #41 0x0000059674d0588c in <tokio::runtime::task::harness::Harness<tokio::runtime::blocking::task::BlockingTask<<tokio::runtime::scheduler::multi_thread::worker::Launch>::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule>>::poll () #42 0x0000059674d0cb15 in <tokio::runtime::task::UnownedTask<tokio::runtime::blocking::schedule::BlockingSchedule>>::run () #43 0x0000059674cfc2ff in std::sys::backtrace::__rust_begin_short_backtrace::<<tokio::runtime::blocking::pool::Spawner>::spawn_thread::{closure#0}, ()> () #44 0x0000059674d09e47 in <std::thread::lifecycle::spawn_unchecked<<tokio::runtime::blocking::pool::Spawner>::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () #45 0x000005967500b54b in <std::sys::thread::unix::Thread>::new::thread_start () #46 0x000005989b892c52 in _rthread_start (v=0x8) at /usr/src/lib/librthread/rthread.c:99 #47 0x00000598a9615e4a in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:87 (gdb) --
