🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2969

Bug#1152765: libgap garbage collects GAP objects while still in use on some non-x86 platforms

#2969
From: Tobias Hansen
Date: Mon, 02 Nov 2026 10:30
37 lines
3280 bytes
Hi Bill,

note that the patch includes a new test. It would make sense to run the test to make sure the bug is gone on all architectures. The test is not run by 'make check', so you would have to add 'make testlibgap' to debian/rules.

If you don't want to run the testlibgap tests, it's enough to patch only src/libgap-api.h.

Best,
Tobias

On 01/11/2026 21:01, Tobias Hansen wrote:
> Hi Bill,
>
> I am attaching the patch for commit cf69717819e0477370f8be31dfbaee54a8902664 from the github pull request.
>
> Best wishes,
> Tobias
>
> On 01/11/2026 20:48, Bill Allombert wrote:
>> On Sun, Nov 01, 2026 at 11:05:54AM +0000, Tobias Hansen wrote:
>>> Package: libgap-dev
>>> Version: 4.16.1-1
>>> Tags: patch
>>> Control: forwarded -1 https://github.com/gap-system/gap/pull/6788
>>> Control: block 1004872 by -1
>>> Control: tags 1004872 - help
>>>
>>> Hi,
>>>
>>> I just wanted to record also here a bug in libgap which causes segfaults in sagemath on some platforms, most visibly armhf.
>>>
>>> A patch is available in the upstream issue, in case you want to apply it already.
>> Thanks Tobias!
>>
>> I would need a commit number, at minimum.
>>
>> Cheers,
>
Technical Details
Message-ID: <NUXsB-9o5I-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NUBBL-9clt-1@gated-at.bofh.it> <NUBBL-9clt-1@gated-at.bofh.it> <NUKOJ-9hao-5@gated-at.bofh.it> <NUKYp-9hmU-1@gated-at.bofh.it> <NUBBL-9clt-1@gated-at.bofh.it> <NUKYp-9hmU-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Tobias Hansen <thansen@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152765: libgap garbage collects GAP objects while still in use on some non-x86 platforms
Date: Mon, 02 Nov 2026 11:30:01 +0100
Message-ID: <NUXsB-9o5I-1@gated-at.bofh.it>
References: <NUBBL-9clt-1@gated-at.bofh.it> <NUBBL-9clt-1@gated-at.bofh.it> <NUKOJ-9hao-5@gated-at.bofh.it> <NUKYp-9hmU-1@gated-at.bofh.it> <NUBBL-9clt-1@gated-at.bofh.it> <NUKYp-9hmU-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  2 10:25:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Tobias Hansen <thansen@debian.org>, 1152765@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: ballombe@debian.org
X-Debian-Pr-Message: followup 1152765
X-Debian-Pr-Package: libgap-dev
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: gap
MIME-Version: 1.0
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000213
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 37
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 02 Nov 2026 10:22:36 +0000
X-Original-Message-ID: <9133168b-126b-4159-8d81-48245a548759@debian.org>
X-Original-References: <d1c103e8-3b66-4e3b-beaa-bb7a2ddbb1de@debian.org> <d1c103e8-3b66-4e3b-beaa-bb7a2ddbb1de@debian.org> <auelu8H5TpB_remM@seventeen> <2acf3b3d-e315-41f4-871d-03357919d594@debian.org> <d1c103e8-3b66-4e3b-beaa-bb7a2ddbb1de@debian.org> <2acf3b3d-e315-41f4-871d-03357919d594@debian.org>