🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#2972
From: Bill Allombert
Date: Mon, 02 Nov 2026 10:40
22 lines
2508 bytes
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
Technical Details
Message-ID: <NUXCh-9o9T-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.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!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Bill Allombert <ballombe@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:40:01 +0100
Message-ID: <NUXCh-9o9T-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:39:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Bill Allombert <ballombe@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-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: ballombe
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000214
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 22
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1152765@bugs.debian.org
X-Original-Date: Mon, 2 Nov 2026 11:36:33 +0100
X-Original-Message-ID: <auhnsbAP54DH8pXL@seventeen>
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>