🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#2973
From: Tobias Hansen
Date: Mon, 02 Nov 2026 10:50
30 lines
2798 bytes
On 02/11/2026 10:36, Bill Allombert wrote:
> On Sun, Nov 01, 2026 at 09:00:49PM +0000, Tobias Hansen wrote:
>> Hi Bill,
>>
>> I am attaching the patch for commit cf69717819e0477370f8be31dfbaee54a8902664 from the github pull request.
> I would need a commit in the GAP repository.
>
> This patch is highly non-portable, for comparison
> PARI does when the thread starts:
>
> void
> pari_thread_init(void)
> {
>    long var;
>    pari_stackcheck_init((void*)&var);
>    ...
> }
>
> to get the stack base.
>
> Cheers,
> Bill

Hi Bill,

ok, then let's wait until something gets merged in gap.

Best,

Tobias
Technical Details
Message-ID: <NUXLX-9oeb-3@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> <NUXCh-9o9T-1@gated-at.bofh.it> <NUBBL-9clt-1@gated-at.bofh.it> <NUXCh-9o9T-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:50:01 +0100
Message-ID: <NUXLX-9oeb-3@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> <NUXCh-9o9T-1@gated-at.bofh.it> <NUBBL-9clt-1@gated-at.bofh.it> <NUXCh-9o9T-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  2 10:43:07 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/2000216
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1152765@bugs.debian.org
X-Original-Date: Mon, 02 Nov 2026 10:40:04 +0000
X-Original-Message-ID: <a7374831-d7ed-498f-a43e-59320f5be0dd@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> <auhnsbAP54DH8pXL@seventeen> <d1c103e8-3b66-4e3b-beaa-bb7a2ddbb1de@debian.org> <auhnsbAP54DH8pXL@seventeen>