<i>select notifier crashes/misbehaves on fd >= FD_SETSIZE</i> status still Open with 4 other changes
by
.
D 2019-11-06T12:47:35.493
J icomment With\syour\sbranch,\sit\sstill\scrashes\sfor\sme\shere:\r\n\r\n#7\s\s0x00007f887d51df3e\sin\sTcl_CreateFileHandler\s(fd=1024,\smask=2,\sproc=proc@entry=0x7f887d51a3ac\s<WrapNotify>,\sclientData=0x5565df082ca0)\sat\s/home/oliver/tclthing/tcl-56620b4bd5/unix/tclUnixNotfy.c:634\r\n634\t\t\s\s\s\sFD_SET(fd,\s&tsdPtr->checkMasks.readable);\r\n\r\n..\swhich\sis\sentirely\sunsurprising,\sbecause\syour\sbranch\sdoesn't\sactually\schange\sanything\sin\sthe\sproblem\scase,\swhich\sis\swhere\saccept()\ssucceeds\sbut\sreturns\sa\sfd\s>=\sFD_SETSIZE.\r\n\r\nThe\scrash\svs\sbusy\swait\sthing\sis\slikely\sto\sbe\sa\sbuild\sissue.\sTry\sbuilding\swithout\s--enable-symbols,\sor\sset\sCFLAGS=-O.\sI\sget\sa\sbusy-wait\sinstead\sof\sa\scrash\sif\sI\sbuild\swith\s--enable-symbols,\sI\ssuspect\sbecause\sthe\sbounds-checking\scode\sgets\sdisabled\sin\sthat\scase.
J login obj
J mimetype text/plain
J username obj
K c6897e6e6a8a65a995ec35c9c297b926bf1b6783
U obj
Z 65e218ccf330932d182ab6a2ca7ef223