[Bug 2119580] Re: plink2: segmentation fault

Lukas Märdian 2119580 at bugs.launchpad.net
Thu Aug 14 07:45:17 UTC 2025


Turns out the segfault can be fixed by disabling LTO. Those macros
defined in the codebase, triggering the segfault are highly toolchain
specific (different implementation per GCC version) and LTO is screwing
things up, similarly to plink1.9 (LP: #1979247)

** Also affects: lto-disabled-list (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: plink2 (Ubuntu)
     Assignee: (unassigned) => Lukas Märdian (slyon)

** Changed in: lto-disabled-list (Ubuntu)
     Assignee: (unassigned) => Lukas Märdian (slyon)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lto-disabled-list in Ubuntu.
https://bugs.launchpad.net/bugs/2119580

Title:
  plink2: segmentation fault

Status in lto-disabled-list package in Ubuntu:
  New
Status in plink2 package in Ubuntu:
  New

Bug description:
  plink2 2.00~a6.9-250129+dfsg-1, currently in questing-proposed, fails
  to migrate to the release pocket due to a segmentation fault issue
  when running plink2 during autopkgtest runs.

  141s autopkgtest [22:25:59]: test run-unit-test: [-----------------------
  142s /usr/bin/plink2: line 17:  1891 Segmentation fault      (core dumped) "${cmd}" "$@"
  142s autopkgtest [22:26:00]: test run-unit-test: -----------------------]
  142s autopkgtest [22:26:00]: test run-unit-test:  - - - - - - - - - - results - - - - - - - - - -
  142s run-unit-test        FAIL non-zero exit status 139

  
  This is the command which is segfault'ing:

  $ /usr/lib/plink2/plink2-avx2 --debug --dummy 33 65537 0.1 dosage-
  freq=0.1 --out tmp_data

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lto-disabled-list/+bug/2119580/+subscriptions




More information about the foundations-bugs mailing list