The memory statistics code leads to segfaults during initialization (on machines with InfiniPath networking): (gdb) bt full #0 ips_ptl_init (ep=0x1fc6af8, ptl=0x1fc6f88, ctl=0x1fc6d78) at ptl.c:224 err = PSM_OK num_of_send_bufs = 1024 num_of_send_desc = 4096 imm_size = 128 context = 0x1fc6b70 user_info = 0x1fc6b90 enable_shcontexts = 0 current_count = #1 0x00007fb2aa672abf in __psm_ep_open_internal ( unique_job_key=unique_job_key@entry=0x7ffed1ee5800 "<\207\020#5\271\267\200\354x\242e8\364zo", devid_enabled=devid_enabled@entry=0x7ffed1ee5724, opts_i=opts_i@entry=0x7ffed1ee5810, mq=, epo=epo@entry=0x7ffed1ee5710, epido=epido@entry=0x7ffed1ee5708) at psm_ep.c:929 ep = 0x1fc6af8 num_units = 1 len = err = epaddr = 0x1e9dd78 buf = "miriel044:2.0.", '\000' p = e = old_cpuaff = 0x0 old_unit = 0x0 yield_cnt = {e_void = 0xfa, e_str = 0xfa , e_int = 250, e_uint = 250, e_long = 250, e_ulong = 250, e_ulonglong = 250} no_cpuaff = {e_void = 0x0, e_str = 0x0, e_int = 0, e_uint = 0, e_long = 0, e_ulong = 0, e_ulonglong = 0} env_unit_id = {e_void = 0xffffffffffffffff, e_str = 0xffffffffffffffff , e_int = -1, e_uint = 4294967295, e_long = -1, e_ulong = 18446744073709551615, e_ulonglong = 18446744073709551615} env_port_id = {e_void = 0x0, e_str = 0x0, e_int = 0, e_uint = 0, e_long = 0, e_ulong = 0, e_ulonglong = 0} env_sl = {e_void = 0x0, e_str = 0x0, e_int = 0, e_uint = 0, e_long = 0, e_ulong = 0, e_ulonglong = 0} ptl_sizes = default_cpuaff = opts = {timeout = 180000000000, unit = -1, affinity = 0, shm_mbytes = 10, sendbufs_num = 1024, network_pkey = 65535, port = 0, outsl = 0, service_id = 1152940698815692800, path_res_type = PSM_PATH_RES_NONE, senddesc_num = 4096, imm_size = 128} amsh_ptl = 0x1fc6e48 ips_ptl = 0x1fc6f88 self_ptl = 0x1fc99c8 i = 3 It looks like ptl.c:24 is writing past the region that was malloc'd. Turning stats off solves the problem. diff --git a/psm_utils.c b/psm_utils.c index c8651fe..5514921 100644 --- a/psm_utils.c +++ b/psm_utils.c @@ -1058,7 +1058,7 @@ psmi_log_memstats(psmi_memtype_t type, int64_t nbytes) return; } -#define psmi_stats_mask PSMI_STATSTYPE_MEMORY +#define psmi_stats_mask 0 #ifdef malloc #undef malloc uix/log/gnu/packages/pretty-print.scm?id=fcc39864dba82e14895afbe841091091366c96bc&showmsg=1'>Expand)Author 2021-04-01gnu: waybar: Update to 0.9.5....* gnu/packages/wm.scm (waybar): Update to 0.9.5. [inputs]: Replace fmt-6 with fmt, spdlog-1.7 with spdlog. * gnu/packages/logging.scm (spdlog-1.7): Remove variable. * gnu/packages/pretty-print.scm (fmt-6): Same. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> pricly_yellow 2021-03-11gnu: fmt: Update to 7.1.3....* gnu/packages/pretty-print.scm (fmt): Update to 7.1.3. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Greg Hogan 2021-03-04gnu: highlight: Update to 3.62....* gnu/packages/pretty-print.scm (highlight): Update to 3.62. Tobias Geerinckx-Rice 2021-01-02gnu: highlight: Update to 3.60....* gnu/packages/pretty-print.scm (highlight): Update to 3.60. Tobias Geerinckx-Rice 2020-11-15gnu: highlight: Update to 3.59....* gnu/packages/pretty-print.scm (highlight): Update to 3.59. Tobias Geerinckx-Rice 2020-11-11gnu: a2ps: Remove unused input....* gnu/packages/pretty-print.scm (a2ps)[inputs]: Remove IMAGEMAGICK. Marius Bakke 2020-10-09gnu: source-highlight: Allow cross-compilation....* gnu/packages/pretty-print.scm (source-highlight)[arguments]: Add 'skip-doc-directory' when (%current-target-system) is true. Ludovic Courtès 2020-09-15gnu: waybar: Fix build....Reported by bdju. * gnu/packages/pretty-print.scm (fmt-6): New variable. * gnu/packages/wm.scm (waybar)[inputs]: Replace fmt with fmt-6. Efraim Flashner 2020-09-13gnu: fmt: Update to 7.0.3....From 820d39a55a5673fffac70c919b8cc3b28d94f6e7 Mon Sep 17 00:00:00 2001 From: Greg Hogan <code@greghogan.com> Date: Fri, 11 Sep 2020 10:53:20 +0000 Subject: [PATCH] gnu: fmt: Update to 7.0.3. * gnu/packages/pretty-print.scm (fmt): Update to 7.0.3. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2020-09-11gnu: highlight: Update to 3.58....* gnu/packages/pretty-print.scm (highlight): Update to 3.58. Tobias Geerinckx-Rice 2020-06-30gnu: Sort package modules alphabetically in (gnu packages pretty-print)....* gnu/packages/pretty-print.scm: Sort package module imports alphabetically. Efraim Flashner