Skip to content
Tcl Source Code Artifact [1ad4020f73]
Login

Artifact [1ad4020f73]

Artifact 1ad4020f7392760643b9b98f989b12d09f37fbf95deb7de08485268cd2b13f2d:

Ticket change [1ad4020f73] - Ticket [79474c58800cdf94|79474c5880] <i>refchan segfault</i> status still Pending with 3 other changes by sebres on 2024-05-17 10:22:42.
D 2024-05-17T10:22:42.713
J icomment Yep,\sand\strying\sto\sfind\sthis\sone\sleak,\sI\sfound\sthat\sa\swrite\shandler\sin\stest\sreflected\scommand\swas\sincorrect\s-\sthis\sdidn't\sreturn\san\sinteger,\sthus\sproduced\san\safter\seffect\serror\s<code>{expected\sinteger\sbut\sgot\s""}</code>\s(that\sprobably\sadditionally\scaused\sthe\sleak)...\r\n\r\nHowever\sfixing\sthe\stest\sinduced\sfurther\ssegfault\s(and\s2nd\sassert(bufPtr)\sthrows\sthen\stoo).\r\n\r\nCommit\s[2c48f0c544ad9ddd]\sfixes\sthis\ssegfault\snow.\r\n\r\nI\sdon't\sknow\swhether\sit'd\scircumvent\sthe\sleak\s(it\swas\s<code>resObj</code>\smarshalled\sfrom\san\serror,\sprobably\sbecause\sof\swrong\swrite\sreturn\scode),\sI\srewrote\sthe\stest\sin\s[0dac722930816ea3]\sto\scover\sboth\svariants\s(without\sand\swith\san\serror\sin\sreflected\swrite),\salthough\sboth\svariants\sseem\sto\ssegfault\swithout\sthe\sfix.\r\n\r\nBut\sI\salso\sthink\sthat\sthis\sleak\shas\snothing\sto\sdo\swith\sthe\sproblem\sor\sthe\sfix.
J login sebres
J mimetype text/x-fossil-wiki
K 79474c58800cdf94559a2c01230b4536aa416016
U sebres
Z e53155fca25452fb05053592f649ed09