Subject: Discussion related to cado-nfs
List archive
- From: Jason Parker-Burlingham <jasonp@panix.com>
- To: Emmanuel Thomé <Emmanuel.Thome@inria.fr>
- Cc: cado-nfs-discuss@lists.gforge.inria.fr
- Subject: Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG
- Date: Mon, 7 Oct 2019 09:36:58 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jasonp@panix.com; spf=Pass smtp.mailfrom=jason.parker.burlingham@gmail.com; spf=None smtp.helo=postmaster@mail-ed1-f67.google.com
- Ironport-phdr: 9a23:udVzHRP+Mm/6SkJO5p0l6mtUPXoX/o7sNwtQ0KIMzox0Ivj+rarrMEGX3/hxlliBBdydt6sfzbeJ+P25EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCezbL9oLBi7rwrdu8kLjYB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVQTlgzkbOTEn7G7Xi9RwjKNFrxKnuxx/2JPfbIWMOPZjYq/RYdYWSGxcVchTSiNBGJuxYIQBD+UDPehWoYrzqUYQoxSiCgehH//vyiZSi3PqwaE2z+YsHAfb1wIgBdIOt3HUoc3xOqgISuC1y6/IxijZYfxMwzf965bHcgo4rfyRQLJwa87RyUgpFwPKjlWfs4nlNC6S2+QPqWeb9O1gVeS3i2M8swF+uD6vxsYji4XTmo0VzVXE+Dx/zY0oJtO4UFZ2bcC4HJZUrS2XNIt7Ttk8T210uys20LwLtJy9cSMX0poo3QTfZOaCc4WQ4hLsSuKRITBgiXJgYr2/hhKy/VG+xeLhS8W4yVhKoytHn9XWuXAN0BvT6seDSvRj5EuuxTGP1wXL5uFFJ0A7i7bbJoY/zrIskpcfq0fOEy/slEnokKObdV8o9+mq5uj/Z7XpvJ6cN4t6igHkNaQun9SyAeYiPQgVWGib//6w1KX58k3jQ7VFkOc2nrPCv5DHP8Qboq+5Awla0oYj8Rm/Ciyr0NsdnXYdLVJFfAiLgJTuO1HLOPz4F+uwg0ywkDd3wPDLJqHuDY/QIXjEibvhe7h961VFxAUuzNBf/I5bCqwaIPLoQULxsN3YDgQlMwyv2ernB9t91oQEWWKAHKCVKqLSsVmS5uIuOeaAfoEVuCyuY8QistPriHY/hFIZSpWp2p6WICSVG/FvJViUZTzQgtAEHE8LuBA/RarkkgvRfyRUYiOQVrk74HkDAZilAJ2GbJ23hL2H0yeyG9UCZGldDVaUOW/hcYSUHfwLbXTBcYdajjUYWO35GMca3ha0uVq/kuI/d7eGymgjrZvmkeNNyajTmBU1r2EmCs2c1ySAQzgxkD1XATAx2697rAp2zVLRifEp0cwdLsRa4rZyail/MJfdy+JgDNWrA1DOe96ITBCtRdD0WGhtHOJ0+McHZgNGI/vnlgrKhnP4G7YTlqzND5sxoPrR
- List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/>
- List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>
On Mon, Oct 7, 2019 at 3:22 AM Emmanuel Thomé <Emmanuel.Thome@inria.fr> wrote:
> On Fri, Oct 04, 2019 at 10:36:00PM -0400, Jason Parker-Burlingham wrote:
> > + case ETXTBSY: error_name = "ETXTBSY"; break;
> > + default: error_name ="unknown"; break;
> > + }
> What does this do that error_name = strerror(errno) doesn't do ?
First let me say that I'm not suggesting anyone merge this code, it's just
what I wrote for myself to try to get to the bottom of this problem.
My intent with the switch(errno) was to confirm the specific errno value
being set by execl() rather than rely on guessing based on the result of
strerror() or perror():
} antebuffer set to /pkg/cado-nfs/lib/cado-nfs-3.0.0/utils/antebuffer
} execve() failed: Argument list too long
} filter_rels_producer_thread: load error (Bad file descriptor) while closing
As I recall I particularly wanted to make sure the errno value was E2BIG
and not ENAMETOOLONG.
> ok so we already had the errno printing anyway.
>
> I'm puzzled. Could you please explain ?
I hope this helps.
jason
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/05/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/05/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/05/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, paul zimmermann, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Emmanuel Thomé, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Emmanuel Thomé, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/05/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Pierrick Gaudry, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, paul zimmermann, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, paul zimmermann, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, paul zimmermann, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, paul zimmermann, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/07/2019
- Re: [Cado-nfs-discuss] execl() fails with ENAMETOOLONG, Jason Parker-Burlingham, 10/05/2019
Archive powered by MHonArc 2.6.19+.