Bug#980943: mipch: mpirun segfaults on s390x

Nicholas Breen <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <20210124180717.GC2214__15426.308258769$1611512483$gmane$org@ofb.net>
Package: mpich
Version: 3.4-5
Severity: important
User: [email protected]
Usertags: s390x
X-Debbugs-Cc: [email protected]
Affects: gromacs


Hi,

mpirun from mpich 3.4-5 (and possibly other versions, this is the only one I
tested) segfaults immediately on s390x:

  % mpirun -V
  host: zelenka
  zsh: segmentation fault  mpirun -V

It is reproducible after recompiling locally, in a sid chroot.  Very compact
backtrace of an unstripped/unoptimized version:

(gdb) run -V
Starting program: /home/nbreen/mpich-3.4/debian/tmp/usr/bin/mpiexec.hydra -V
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".
host: zelenka

Program received signal SIGSEGV, Segmentation fault.
HYDU_create_proxy_list (exec_list=0x0, node_list=0x2aa0010d2f0, pg=0x2aa000863e8 <HYD_server_info+208>)
    at utils/alloc/alloc.c:429
429         while (pg->proxy_list->exec_list == NULL) {
(gdb) bt
#0  HYDU_create_proxy_list (exec_list=0x0, node_list=0x2aa0010d2f0, pg=0x2aa000863e8 <HYD_server_info+208>)
    at utils/alloc/alloc.c:429
#1  0x000002aa00008366 in main (argc=2, argv=0x3fffffffb38) at ui/mpich/mpiexec.c:262



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: s390x

Kernel: Linux 4.19.0-13-s390x (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages mpich depends on:
ii  hwloc-nox   2.4.0+dfsg-3
ii  libc6       2.31-9
ii  libmpich12  3.4-5

Versions of packages mpich recommends:
ii  libmpich-dev  3.4-5

Versions of packages mpich suggests:
pn  mpich-doc  <none>

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.