Skip to content
Tcl Source Code Artifact [9a5959b37d]
Login

Artifact [9a5959b37d]

Artifact 9a5959b37d533c869dd67a9007bd70c7b82306cf36e1a78515d77ba94a3306e5:

Ticket change [9a5959b37d] - New ticket [fab92486a1b05ba6|fab92486a1] <i>Windows error 14 &quot;Out of memory&quot; mapping to Posix EFAULT &quot;Bad address in system call argument&quot; feels wrong</i>. by oehhar on 2017-09-15 06:15:07.
D 2017-09-15T06:15:07.600
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment When\sloading\sa\sdll,\sI\sgot\sthe\serror\s"Bad\saddress\sin\ssystem\scall\sargument".\r\n\r\nThe\sDLL\swas\swrong\s(probably\sname\smangled\sInit\sprocedure)\sand\sit\sis\splatform\sWIN\sCE\s6.5\s(etcl\s1.0.1),\sso\sreal\ssource\sis\snot\savailable.\r\nSource\scode\sinspection\son\stcl8.5.6\stells\sabout\sa\sfailed\s"LoadLibrary"\swindows\ssystem\scall.\r\nThe\swindows\sfailure\scode\sis\stranslated\sto\sa\sposix\serror.\r\n\r\nWhen\slooking\sinto\s"tcl8.7a1/win/tclWinError.c",\sthis\serror\smay\sbe\scaused\sby\stwo\swindows\serrors:\r\n<verbatim>\r\nEFAULT,\t/*\sERROR_OUT_OF_MEMORY\t\t14\s*/\r\nEFAULT,\t/*\sERROR_PROTECTION_VIOLATION\t115\s*/\r\n</verbatim>\r\n\r\nLets\sfocus\son\serror\scode\s14\s"ERROR_OUTOFMEMORY":\r\nThe\sdescription\sis\s"Not\senough\sstorage\sis\savailable\sto\scomplete\sthis\soperation.".\s([https://msdn.microsoft.com/en-us/library/cc231199.aspx])\r\n\r\nI\ssuppose,\serror\s14\sshould\sbe\smapped\sto\sPosix\s"ENOMEM"\swith\sthe\smessage\s"not\senough\smemory".\r\n\r\nAnyway,\sI\sam\snot\sat\sall\ssure,\sbut\shere\sis\sa\sticket\sto\sdiscuss,\sforget\sor\smerge.\r\n\r\nThank\syou\sall,\r\nHarald
J foundin 8.7a1
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Minor
J status Open
J submitter oehhar
J subsystem 52.\sPortability\sSupport
J title Windows\serror\s14\s"Out\sof\smemory"\smapping\sto\sPosix\sEFAULT\s"Bad\saddress\sin\ssystem\scall\sargument"\sfeels\swrong
J type Bug
K fab92486a1b05ba6f7cfe8677da95b9efb3beff0
U oehhar
Z 7f3351e713c2172e1cd70dd55113cf10