pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2024-03-29T11:27:37Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/10151Fix compilation failure triggered by Filesystem.Monitor's use of ADT.Heap2024-03-29T11:27:37ZHenrik (Grubba) GrubbströmFix compilation failure triggered by Filesystem.Monitor's use of ADT.Heap`Fileyetem.Monitor.basic` fails with the following after `ADT.Heap` started using generics:
```
.../modules/Filesystem.pmod/Monitor.pmod/basic.pike:323: Bad argument 1 to create.
.../modules/Filesystem.pmod/Monitor.pmod/basic.pike:323: E...`Fileyetem.Monitor.basic` fails with the following after `ADT.Heap` started using generics:
```
.../modules/Filesystem.pmod/Monitor.pmod/basic.pike:323: Bad argument 1 to create.
.../modules/Filesystem.pmod/Monitor.pmod/basic.pike:323: Expected: { ValueType = { ValueType = (<object(implements ADT.Heap):$0>) } }.
.../modules/Filesystem.pmod/Monitor.pmod/basic.pike:323: Got : object(implements program(.../modules/Filesystem.pmod/Monitor.pmod/basic.pike:240)).
```
This is likely due to a compiler bug in the handling of generics, but could also be due to a bug in either of the modules.Pike 9.0https://git.lysator.liu.se/pikelang/pike/-/issues/10112Pike 9.0 compiler --with-debug cleanup (free_supporter()) fails due to invali...2023-04-13T15:44:51ZHenrik (Grubba) GrubbströmPike 9.0 compiler --with-debug cleanup (free_supporter()) fails due to invalid supporter pointers on NTSeen in Pikefarm (pike_compiler.cmod):
```
void free_supporter(struct Supporter *c)
{
verify_supporters();
if (c->depends_on) {
struct Supporter **s;
for (s = &c->depends_on->dependants; *s; s = &(*s)->next_dependant)
i...Seen in Pikefarm (pike_compiler.cmod):
```
void free_supporter(struct Supporter *c)
{
verify_supporters();
if (c->depends_on) {
struct Supporter **s;
for (s = &c->depends_on->dependants; *s; s = &(*s)->next_dependant)
if (*s == c) {*s = c->next_dependant; break;}
c->depends_on = 0;
}
if (c->exit_fun) c->exit_fun(c);
verify_supporters();
}
```
When the typical failure occurs `*s` contains a small integer (like `1`, `2` or `10`). The same value is present as `c->depends_on->dependants`.Pike 9.0https://git.lysator.liu.se/pikelang/pike/-/issues/8196Testsuite sometimes hangs during termination2020-03-10T09:25:01ZPeter BortasTestsuite sometimes hangs during terminationImported from https://youtrack.roxen.com/issue/PIKE-196
Reported by @grubba
The main `test_pike` process waits on the watchdog to die after having closed stdout, but the watchdog has already closed its stdin, so the correspponding clos...Imported from https://youtrack.roxen.com/issue/PIKE-196
Reported by @grubba
The main `test_pike` process waits on the watchdog to die after having closed stdout, but the watchdog has already closed its stdin, so the correspponding close callback will not be triggered.https://git.lysator.liu.se/pikelang/pike/-/issues/8029The _Stdio testsuite hangs intermittently.2022-11-06T09:35:27ZPeter BortasThe _Stdio testsuite hangs intermittently.Imported from https://youtrack.roxen.com/issue/PIKE-29
Reported by @grubba
Blocking [PIKE-20](#8020), now #8020
````
Doing tests in modules/_Stdio/testsuite (179 tests, pid 4612)
[WATCHDOG]: 00:40:31: Pike testsuite timeout.
[WATCHDOG...Imported from https://youtrack.roxen.com/issue/PIKE-29
Reported by @grubba
Blocking [PIKE-20](#8020), now #8020
````
Doing tests in modules/_Stdio/testsuite (179 tests, pid 4612)
[WATCHDOG]: 00:40:31: Pike testsuite timeout.
[WATCHDOG]: Current test: Test 96 at /net/myst/export/d1/xenofarm/[pike-8](#8008).1/tron.roxen.com/buildtmp/Pike-v8.1-snapshot/src/modules/_Stdio/testsuite.in:319
[WATCHDOG]: 00:40:31: Sending SIGABRT to 4617.
[WATCHDOG]: 01:21:31: Pike testsuite timeout.
[WATCHDOG]: 01:21:31: Sending SIGABRT to 4573.
*** Signal 6 - core dumped
````https://git.lysator.liu.se/pikelang/pike/-/issues/8020Investigate testsuite failures and memory leaks in Pike 8.0/8.1.2022-08-29T17:42:30ZPeter BortasInvestigate testsuite failures and memory leaks in Pike 8.0/8.1.Imported from https://youtrack.roxen.com/issue/PIKE-20
Reported by @grubba
Blocked by [PIKE-21](#8021), now #8021
Blocked by [PIKE-22](#8022), now #8022
Blocked by [PIKE-23](#8023), now #8023
Blocked by [PIKE-24](#8024), now #8024
...Imported from https://youtrack.roxen.com/issue/PIKE-20
Reported by @grubba
Blocked by [PIKE-21](#8021), now #8021
Blocked by [PIKE-22](#8022), now #8022
Blocked by [PIKE-23](#8023), now #8023
Blocked by [PIKE-24](#8024), now #8024
Blocked by [PIKE-25](#8025), now #8025
Blocked by [PIKE-26](#8026), now #8026
Blocked by [PIKE-27](#8027), now #8027
Blocked by [PIKE-28](#8028), now #8028
Blocked by [PIKE-29](#8029), now #8029
Blocked by [PIKE-30](#8030), now #8030
Blocked by [PIKE-31](#8031), now #8031
Blocked by [PIKE-34](#8034), now #8034
The Pike testsuite has intermittent failures, and running it --with-dmalloc shows several leaks and triggers a few crashes.