Bill Allombert on Sun, 14 Jul 2024 19:50:47 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Should forvec_t / forvec_init() / forvec_next() work in shared library code?
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Should forvec_t / forvec_init() / forvec_next() work in shared library code?
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Sun, 14 Jul 2024 19:50:39 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720979440; c=relaxed/relaxed; bh=GA9afX9dZbbFOIg479wR5hywfwgjBFOutNAcgnbgEv0=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=Sk26IFYcIRpAFyWGInwsxvvHcjGaUI6cDwhtJPa9Z8wINl8UtPnizGmnpYvL9bsO+dWVVs/2sAbFoHJEzcv7sDGcfUTjrcPIbEY+xuIkuokS7pfL6zuSAGaqYd6OWSphlYH4XDU2yFpGAG3+Aof2bgxRnO2kjEVeHV+hJ8b4eXOCe5owDkizkBCivgD6bitBWNae0BpliFD2l2gzAxRjc7wYyRfrRzZh9PoFyPh57jPT6WEeCK6Dzwm8q44Yw2oD1p4TwCN+4ffj1N34iiDLmPp40IlPemsAWO8a3ywNl/U8GStgJMZ+8Ffij4+DLqXbGsXR+yH7nC2JyT8Hc6C1I+rEF5/VF5wgHAc+hzmQRp6NiO9p2KgMahdEJcq4zQRuVmTgX1XS6x3B3+7cyKALbDHy08HZptvA/weyRNamT+zvQc4+zJVI4dgU3TQdfO0dYFp8wiuZp4vkfgNBASpclfx4tsPXaOZFB/K3Qh5dz4SDtjq00FOeh3696r/2eJIOFFOs578NwdFvh4oCCn3PY6Ax84A7rQyPikF4l9dZRQGCEpmW9APF1Yjwc/DTgQbW5/TuL0wd4UM4sx0ZAMxciGV1V37J0PM2IxdFWSk3zA/gjGOr/P2D87QYxTm2Chdz3PzbWBp21dHaPFo0bdtWEDPDeo3mr5ioaU+QhqlwydY=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720979440; cv=none; b=GD4La+gIpw9BQgHkcTUt4JNB8xz+B6MSpCDL7eZjA6d+64g4FqXOsTSwRy5CIelpuy+k9HxjaabBDbaKGDX+7ELi8qAPvHC8+tLwyB9TYmGwENfN2GOUeC+onByOoIqmR2/hkOffEsbhmOxINDJQ+kjMWA1uw6pmAJWMp4VxGkBE1tGKRbSaaqNerrD6f1psntabUSu6Dr9IM+8k5x+6bKmTryXgNDuoyqOdWuX+8vFXZBRn9rZeM7wxfj2g7cxh3jF4AYfDzkjaz+JgptMPKnt90dlHoBZoJvVk7Ml9jsRO9c12rsT9yAjLxHa2icvwWM8Xmthj289TiGHQ4t0JJ1oV4DwLa4a1jgiH3XUHvCRPehssdZUcr8eG98A5sG8Q4OTMPC2MhBJNkH/NQ/86ZC4NdbbP5CAEnqZjYSjDLWpal+4TEOKigrYar0JvstM3l5BLRizZuPNiI/QpUR+AyvInDJS5n8YX38EhSDgCZhQKR0/gQbgB93HmuQHovdvTWkDAMwa4J9+OHD1u5Q5iDvO9VW9EikkJgQljaKEttxWrTucW989Hgd7bASuomxCBGNa5tDmljnbwzVH3cZBjO0+acmJytx5ATvvwWiKKYY0npYGnCDrbtz8kgMjhph5UsIhkWFK4Dgo+sR72AsNuzukjJG5sQlzpWitu7gh2I+4=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Sun, 14 Jul 2024 19:50:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1720979440; bh=GA9afX9dZbbFOIg479wR5hywfwgjBFOutNAcgnbgEv0=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Bm+7DCpd5AQfRzchWLSgbQ6KtAzXGURJutmFQihoS6Ffvlrr8HH+EiqP0jv4RIDFh GLwt1/GQbzT3Og3dwFYi+GJ/FO7bGBePBVRkJ2dMln3FPLWgKrGy4EfONGzbKWwigl Wr2iCswPbcxIcFVAmgcO7CMJ9K1ggpocxZXXY+KH3tFt9MQuF6byHQcTq+8QR1hTPS F4Hf8uVazNTiOx3lrEj6I/XnNfmqm/xykvgTY0d6p61Y/vvtwZHJDmKyWlQj5/MEP7 +6kQK8SnbLl64o4WZRmqFvANGPmSALOtZGXUIm0Ols+DSfkL4YEXPcaLBUPncp7LJ4 7U6HiFxBcMEiS0UfxivwKxum3n4FEKAKPvO6oh6a5r2RU0nVawLImULYYTTGj7ORbC 2NGQWxWs6rcF+UcbI9sIC5bBK9PAef4js3HGwtbTTlM6S2KNuxEx2wueRDSQL9ioYL /rw8Vr2Y1WczPtj4itiCD0jmtAkOth6zl3gnJLDBLmtxOt3zJupGhfFD6jaUH1G4fW 7EtSlWDFu0u5YcxBAqw5frH/fxCNOROM6Pc1T/q/xcMy+u7Gl8GEWWYogetz5nK2+/ EJe4svXhxFc5JsgBiseTOwptWK9I9eWO7030RPu/SdZAXwI4Yfh1QXcPmIkQvCWIp/ zRiAooppG1aJnsZD+6IwFHD4=
- In-reply-to: <693d6a95348726061f66da29482083e9@stamm-wilbrandt.de>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <9a458f962779cb3c47ece4c537163637@stamm-wilbrandt.de> <ZpQDNSd5yTFYzNL0@seventeen> <693d6a95348726061f66da29482083e9@stamm-wilbrandt.de>
On Sun, Jul 14, 2024 at 07:41:24PM +0200, hermann@stamm-wilbrandt.de wrote:
> On 2024-07-14 19:04, Bill Allombert wrote:
> > Sure. Maybe you are deleting data created by forvec_init in the PARI
> > stack that
> > is still in use.
> >
> Seeing your code it was likely a missing cgetg() call.
>
> > For example, this code works fine:
> >
> Thanks for that example — and yes, it works well:
I generated my code with gp2c.
echo "forvec(v=[[1,3],[2,4]],print(v))" | gp2c
Cheers,
Bill.