Bill Allombert on Fri, 12 Jul 2024 19:25:30 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: Pari Developers Mailing List <pari-dev@pari.math.u-bordeaux.fr>
- Subject: Re: Segfault in read()
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Fri, 12 Jul 2024 19:25:14 +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=1720805115; c=relaxed/relaxed; bh=L/Bxh/Xu8Ia/FXk/DMaOjldln0Zms9VmtRlYSTxXe6c=; 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=Qsqj4EgrDjQIqaJLRVEXOa6Xkuacuy2A0htQ64pfUkmBaN6rjB44xnnTIQGOcM7k1lpUEN3NDOazgST3dHw1penlAnnh6igoXx0l8A76IMsZvSGPKHmZrfWVIWmzadd9qiCz1w29lPvd/NKFlEndc00qIImAk6acwv7PxO5/0+QG2RFHHs8Ce13qcO+CqJ+uYXXiW2r1EVIcd0DQKSG2MqGPBaBz6OW1LoHETCycOmzJ9XPk4xaeCmJTfZXRsrU59navqkTxw+/JE3be89UDTlJisGw56y5cb+g6fbdSvcoQBWAA5SlyWJE/zEKogqdB/5cyn5dhZVahL+EE2LzJKrMkHy/7+2z8bOD6foCuTFK7Z9mD/U9booV/VjywCSd2gvPMndsFpFVwbD9j7S0qhZ/6hRzOIhCYputyFi1mg28iJ/prlbOPApb+PyWmUrFHKiu0yHPmsZ2VHTwjp/92Bs03swxxoJXedWyEn3QbxKWxBBpgWFbnEaFlU0EQS1zgPciVSKEI+OjOfgNuP15Gn3T58BB+2nhqQ7KzsnWfDDKTgvoYktay2SL1O0WqlD5xQYJluCD5MYUtPPIApy7jWU/i+P+C/relMtwkeUgkq9mKmfP3j1XSiHoPkt0fwhCBzYmAi6/d9lENt9sLk8RWPXx5XUTVhWlJPs0Eq9M1ZtM=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720805115; cv=none; b=DopPE0hvJm3LFU+HStE7i/RgXi6elJyKcvUn4igMec5JsL0tk7TV2LMfhgYLKmgygFP+39ZMIRwCDH02bBNVccfGEPdHuNMS8upbzB29ICtMA3rsNgkbTwlBCGPw2iyRZnUYPQAhxUubc7QhYUHAPNiAX2k9cdfnyOziFVdGaJksv9e1v0YS0o192Ba3g8VLSSogTmH4KM6xKlOdkNoLMNYDxlh1rEcEsczkDz44dhxf9igmZ00dvbWpYrgfsCMGrGAMFmPie0RhygPd6BAahCQkD3l19MvGPyJamR2BOaoSZQqvYe4K1WOys58FVthl/p22EUBCB1mRwni4+6tp/3j56rk+Uy5PW2Syma0EQV0k3a8iEA58303AsX8OFMZBz4qXYbWMtSTkErl4pfoPi33z6CaOCM6v2S/NajFEdgVv+Qaxf3oAH4dMc4oLvUVI2VTxLiul6b3h2xJS4G/ueuaArAp0x/386Kx5tvdzxfKhNNMMETsM7HUc7M4vsy9riGNvNjOIlYnRgngAruoWWvma8dCclsCWna4yQrGqpprpbPCMdKJlyYu5dJi2krj4G853pSH39TVOM08cUzApiVIiu8wkBEFZaN41ycbcg3XzVsOk+MtbXGhwBuejUbY+Zds5yqFtLFAppB8LrEbtblmJapApZI7/O3vEalcgQ4k=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Fri, 12 Jul 2024 19:25:30 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1720805115; bh=L/Bxh/Xu8Ia/FXk/DMaOjldln0Zms9VmtRlYSTxXe6c=; h=Date:From:To:Subject:References:In-Reply-To:From; b=bhVQqhXLzf3sHoaqE9UI3GCU7F9QDp3U1zCOi843YmTeiAMj+oaL1/2Glpd4+qPaT reLHxLaWBn/ARxjD2BRndo+WA15wcEcGZil7CTYZGSMWjXSW2CSS/tta6zwhpHK30Q 2LueNHnaVYG53T6XHSSYu1r7bYVtddKqLbqze0L0NR/1UJQGO5wEjquQgc6R4cVA5r aB4SYcxRjpLl0BGZ2SzW4bDX86htxYwJbribZuLrnEGiMpzRhJy6O/1m5Z+4Gd0jHS 0BwvY8Q5KZvSYYS1GYfxRwQkviRv3oiI5Y5R5zBsJ/PyS+jHie8IZDncl/yDKNN2SR VLzj5IxXghob9tvWIJ+nkfHr0iQR/2vrToAYCs2WKoYDae1hmpSqmSLX4h+t05NMaA /b6hVycDwr31PL5JgC8ONw8n0qt6hBKLxCeh86EA6qsdll1UlAP7HFrglDziwzqS4a OMW5gBd+F7KvDVkfjJ4brV9bri/O7PrsGO4hHFkMJvoOlECpCqg6RIt2JVBdaW8g8u njjdG97TRCCskZM2hrjB/ufuDxXelR8h1y541hmHSWQUNjRm6bmFyjo4ozfhT0GP/6 QFpwe6jOl4WRRlE7a1D6irIDcSLXNLeTMAuqwr0RekLv+r20NpxZcZ3ucC6lfbJLzO XZ/Xm/N6iZ0F75I5mj5yDthY=
- In-reply-to: <ZpFJNpAHUjAeaFji@debian.attlocal.net>
- Mail-followup-to: Pari Developers Mailing List <pari-dev@pari.math.u-bordeaux.fr>
- References: <ZpCPqJ_xFJ5ePkmk@debian.attlocal.net> <ZpFJNpAHUjAeaFji@debian.attlocal.net>
On Fri, Jul 12, 2024 at 08:18:14AM -0700, Ilya Zakharevich wrote:
> On Thu, Jul 11, 2024 at 07:06:32PM -0700, Ilya Zakharevich wrote:
> > Reading the attached file (created on Windows 7 in the same session by
> > the latest stable version) leads to a segfault.
>
> Bill asks me how this file was created. It is the only way I know to
> debug “a failing” PARI construct.
>
> OUT=[1];
> Data = Start␣a␣failing␣code; OUT[1] = Data; Fun␣code␣which␣crashes();
>
> Only I put writebin(Data) in between too. The literal excerpt:
>
> if(dbg, writebin("pos.wrbin",pos); POS[1]=pos; print("asX="asX", pos="pos", neg="neg", xRefl="xRefl", yRefl="yRefl,if(#pos>1,[pos2[1],pos2[2]]=pos[1..2]); …
OK, but what is "pos" supposed to be ?
What dbg_x(pos) gives ?
For what I see, pos is a vector with 5 components, whose first component is a t_LIST
which is corrupted.
So it is unclear if the bug is in writebin or read.
Cheers,
Bill