Skip to content
Tcl Source Code Artifact [e13c5a3eaf]
Login

Artifact [e13c5a3eaf]

Artifact e13c5a3eafb2bd51f209df8159c3ab04fc934ec9074134198a38aceca891ecc5:

Ticket change [e13c5a3eaf] - Ticket [c6897e6e6a8a65a9|c6897e6e6a] <i>select notifier crashes/misbehaves on fd &gt;= FD_SETSIZE</i> status still Open with 3 other changes by sebres on 2019-11-07 11:51:04.
D 2019-11-07T11:51:04.247
J icomment a)\sThis\sis\sjust\sPoC,\snot\sa\sfully\scorrect\ssolution\s(also\snote\sit\sstill\sdoesn't\swork\sfor\smacOS/Xcode,\ssee\s[https://travis-ci.org/tcltk/tcl/builds/608613091|travis-ci/608613091],\sEBADFD\sis\sundeclared\sthere).\r\n\r\nb&c)\sAlthough\sI\sthink\sfixing\sof\sknown\sissue\s(also\sif\sit\sfirstly\slooks\slike\sa\sworkaround)\sis\sbetter\sas\sto\sblame\son\ssystem\srestriction\sand\seven\ssuch\ssimple\sstupid\sreject\sis\sbetter\sas\sa\sbusy\swait\sor\seven\scrash,\sbut\sas\salready\ssaid\sbetter\swould\sbe\sextend\snotifier\swith\spoll\sfor\sFD\s>=\sFD_SETSIZE\sand\sthen\sdeactivate\sCHECK_FD_SETSIZE_LIMIT\s(see\s[c2d030bb31a977a4])...<br/>\r\nSo\sif\sultimately\sit'd\swork\sfor\ssockets\s(for\sFD\sexceeding\sFD_SETSIZE),\sit'd\sbasically\swork\sfor\severy\sother\sdescriptor\s(like\sfiles,\swhatever).\r\n\r\n<i>>\sCan\swe\smaybe\ssynthesize\serrors\sfor\schannels\sthat\sexceed\sFD_SETSIZE\sat\sthe\spoint\swhere\sthe\snotifier\sactually\sgets\sthem\s(and\snot\sadd\sthem\sto\sthe\sfd_set\sat\sall)?</i>\r\n\r\nI\sguess\sthe\semphasis\sis\son\s"at\sthe\spoint"?<br/>\r\nWell\ssure\sit\sis\spossible\s(somehow\stogether\swith\smany\sother\splaces\swhere\sFD_SET/FD_CLR/FD_COPY/FD_whatever\sare\scalled),\sjust\sI'd\slike\sto\sfix\sit\sultimately\sand\snot\sto\simprove\sthe\sworkaround.
J login sebres
J mimetype text/x-fossil-wiki
K c6897e6e6a8a65a995ec35c9c297b926bf1b6783
U sebres
Z ef095d17174fa6aabc945f780fd8ad46