Date: Wed, 03 Oct 2018 20:03:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231926] ldd can't operate on a segfaulting binary Message-ID: <bug-231926-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231926 Bug ID: 231926 Summary: ldd can't operate on a segfaulting binary Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: arrowd@FreeBSD.org When compiling lang/ghc port on FreeBSD 12, an executable named ghc-iserv-p= rof gets corrupted by some unrelated bug and segfaults when being launched. Dur= ing `make stage-qa` the following command is called by qa.sh: env LD_LIBMAP_DISABLE=3D1 ldd -a /wrkdirs/usr/ports/lang/ghc/work/stage/usr/local/lib/ghc-8.4.3/bin/ghc-iser= v-prof This command also results in a segfault with the same message: /wrkdirs/usr/ports/lang/ghc/work/stage/usr/local/lib/ghc-8.4.3/bin/ghc-iser= v-prof: signal 11 I'm not sure if this is a bug in ldd, but I've got an impression that it shouldn't segfault even when given a broken executable. To reproduce on FreeBSD 12: # pkg install ghc # env LD_LIBMAP_DISABLE=3D1 ldd -a /usr/local/lib/ghc-8.4.3/bin/ghc-iserv-p= rof --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231926-227>