pike issues
https://git.lysator.liu.se/pikelang/pike/-/issues
2020-07-11T11:27:59Z
https://git.lysator.liu.se/pikelang/pike/-/issues/10046
Warning in Standards.PEM
2020-07-11T11:27:59Z
Henrik (Grubba) Grubbström
Warning in Standards.PEM
The following warning causes the testsuite to fail:
```
.../lib/modules/Standards.pmod/PEM.pmod:202: Warning: An expression of type array(object(implements object(/home/grubba/src/Pike/8.1/lib/modules/Standards.pmod/PEM.pmod).Message) | ...
The following warning causes the testsuite to fail:
```
.../lib/modules/Standards.pmod/PEM.pmod:202: Warning: An expression of type array(object(implements object(/home/grubba/src/Pike/8.1/lib/modules/Standards.pmod/PEM.pmod).Message) | string) cannot be assigned to a variable of type array({ Message = object(implements object(/home/grubba/src/Pike/8.1/lib/modules/Standards.pmod/PEM.pmod).Message) }).
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10045
Warning in Crypto.DH
2020-07-26T10:38:00Z
Henrik (Grubba) Grubbström
Warning in Crypto.DH
The following warning causes the testsuite to fail:
```
.../lib/modules/Crypto.pmod/DH.pmod:77: Warning: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
```
The following warning causes the testsuite to fail:
```
.../lib/modules/Crypto.pmod/DH.pmod:77: Warning: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10044
Warning in 7.8::Crypto.DSA
2023-01-01T12:58:10Z
Henrik (Grubba) Grubbström
Warning in 7.8::Crypto.DSA
The following warning causes the testsuite to fail:
```
.../lib/7.8/modules/Crypto.pmod/DSA.pike:193: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
```
The following warning causes the testsuite to fail:
```
.../lib/7.8/modules/Crypto.pmod/DSA.pike:193: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
```
Pike 9.0
https://git.lysator.liu.se/pikelang/pike/-/issues/10043
Warning in Crypto.SHA1
2020-07-10T08:37:23Z
Henrik (Grubba) Grubbström
Warning in Crypto.SHA1
The following warning causes the testsuite to fail:
```
.../lib/modules/Crypto.pmod/SHA1.pmod:45: An expression of type int cannot be assigned to a variable of type int(8bit).
```
The following warning causes the testsuite to fail:
```
.../lib/modules/Crypto.pmod/SHA1.pmod:45: An expression of type int cannot be assigned to a variable of type int(8bit).
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10042
Warnings in Val
2020-07-09T12:23:54Z
Henrik (Grubba) Grubbström
Warnings in Val
The following warnings cause the testsuite to fail:
```
.../lib/modules/Val.pmod/module.pmod:600: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:601: Warni...
The following warnings cause the testsuite to fail:
```
.../lib/modules/Val.pmod/module.pmod:600: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:601: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:602: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:630: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:631: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:632: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:645: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:646: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:647: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:868: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/Val.pmod/module.pmod:872: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10041
Warnings in Standards.ASN1.Types
2020-07-23T12:44:25Z
Henrik (Grubba) Grubbström
Warnings in Standards.ASN1.Types
The following warnings cause the testsuite to fail:
```
.../lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:184: Warning: An expression of type array(object) cannot be assigned to a variable of type array({ Object = object(implements obj...
The following warnings cause the testsuite to fail:
```
.../lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:184: Warning: An expression of type array(object) cannot be assigned to a variable of type array({ Object = object(implements object(.../lib/modules/Standards.pmod/ASN1.pmod/Types.pmod).Object) }).
.../lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:353: Warning: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
.../lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:518: Warning: An expression of type int cannot be assigned to a variable of type int(8bit).
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10040
Warnings in __builtin.Nettle.Hash
2020-08-15T12:54:22Z
Henrik (Grubba) Grubbström
Warnings in __builtin.Nettle.Hash
The following warnings cause the testsuite to fail:
```
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:477: Warning: An expression of type int cannot be assigned to a variable of type void | int(0..).
.../lib/modules/__builtin.pmod...
The following warnings cause the testsuite to fail:
```
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:477: Warning: An expression of type int cannot be assigned to a variable of type void | int(0..).
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:578: Warning: An expression of type string cannot be assigned to a variable of type string(8bit).
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:911: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1258: Warning: An expression of type string cannot be assigned to a variable of type string(8bit).
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1321: Warning: An expression of type string cannot be assigned to a variable of type string(8bit).
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10039
Automap behavior differs for constants and variables.
2021-11-19T14:58:05Z
Henrik (Grubba) Grubbström
Automap behavior differs for constants and variables.
From the Pike mailinglist:
```
24084121 2020-06-18 11:26 +0200 /42 lines/ Mateusz Krawczuk <krawczukmat@gmail.com>
Sent by: SRS0+eNdN=77=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se
Imported: 2020-06-18 11:27 by Brevbäraren
Ext...
From the Pike mailinglist:
```
24084121 2020-06-18 11:26 +0200 /42 lines/ Mateusz Krawczuk <krawczukmat@gmail.com>
Sent by: SRS0+eNdN=77=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se
Imported: 2020-06-18 11:27 by Brevbäraren
External recipient: Pike Development List <pike-devel@lists.lysator.liu.se>
To: Pike (-) developers forum <21001>
Subject: an automap bug
```
------------------------------------------------------------
Reproduces both on pike 8 from apt repository and pike compiled on master:
```
$ ./pike -v
Pike v8.1 release 13 Copyright © 1994-2018 Linköping University
Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are
welcome to redistribute it under certain conditions; read the files
COPYING and COPYRIGHT in the Pike distribution for more details.
$
$ cat automap1.pike
int main() {
write( "%O\n", combine_path("foo", ({ "abc", "cde" })[*] ) );
}
$
$ cat automap2.pike
int main() {
string s = "foo";
write("%O\n", combine_path(s, ({ "abc", "cde" })[*] ) );
}
$
$ ./pike automap1.pike
({ /* 2 elements */
"foo/abc",
"foo/cde"
})
$
$ ./pike automap2.pike
automap2.pike:4:[*] not supported here.
Pike: Failed to compile script.
$
$ pike -v
Pike v8.0 release 498 Copyright © 1994-2017 Linköping University
Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are
welcome to redistribute it under certain conditions; read the files
COPYING and COPYRIGHT in the Pike distribution for more details.
$ pike automap1.pike
({ /* 2 elements */
"foo/abc",
"foo/cde"
})
$
$ pike automap2.pike
automap2.pike:4:[*] not supported here.
```
(24084121) /Mateusz Krawczuk <krawczukmat@gmail.com>/
https://git.lysator.liu.se/pikelang/pike/-/issues/10037
Dumping failure of 7.8::SSL.session
2023-11-05T09:31:19Z
Marcus Comstedt
Dumping failure of 7.8::SSL.session
I noticed this dumping failure in the pikefarm builds of bahamut, but it can be reproduced on any system. Presumably the dump works if 8.0::Crypto has been dumped first, since most pikefarm systems do not hit the issue...
``` shell
hak...
I noticed this dumping failure in the pikefarm builds of bahamut, but it can be reproduced on any system. Presumably the dump works if 8.0::Crypto has been dumped first, since most pikefarm systems do not hit the issue...
``` shell
hakua:~/Pike/8.1/build/linux-5.4.41-ppc64% /home/marcus/Pike/8.1/build/linux-5.4.41-ppc64/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/marcus/Pike/8.1/build/linux-5.4.41-ppc64/master.pike -x dump -t /tmp/dumptest ../../lib/7.8/modules/SSL.pmod/session.pike
#### ../../lib/7.8/modules/SSL.pmod/session.pike:
Cannot find 8.0::Crypto.CompatProxy() in 8.0::Crypto.
master.pike:5697:
master()->Encoder()->find_index(8.0::Crypto,8.0::Crypto.CompatProxy(),({0}),UNDEFINED)
master.pike:5924:
master()->Encoder()->nameof(@0=8.0::Crypto.CompatProxy(),@1=({0}))
master.pike:5916:
master()->Encoder()->nameof(8.0::Crypto.CompatProxy()->Buffer,({0}))
master.pike:5965:
master()->Encoder()->nameof(8.0::Crypto.CompatProxy()->Buffer->State,UNDEFINED)
/home/marcus/Pike/8.1/lib/modules/Tools.pmod/Standalone.pmod/dump.pike:221:
Tools.Standalone.dump()->dumpit("../../lib/7.8/modules/SSL.pmod/session.pike","/tmp/dumptest/session.pike")
/home/marcus/Pike/8.1/lib/modules/Tools.pmod/Standalone.pmod/dump.pike:355:
Tools.Standalone.dump()->dump_files()
-:1: Pike.Backend(0)->`()(3600.0)
hakua:~/Pike/8.1/build/linux-5.4.41-ppc64%
```
The failure in nameof() can be reproduced separately, although I'm not sure if this is supposed to work or not (CompatProxy is protected in 8.0::Crypto):
```
Pike v8.1 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
> 8.0::Crypto.Buffer;
(1) Result: 8.0::Crypto.CompatProxy()->Buffer->State
> master()->nameof(8.0::Crypto.Buffer);
Cannot find 8.0::Crypto.CompatProxy() in 8.0::Crypto.
master.pike:5697:
master()->find_index(8.0::Crypto,8.0::Crypto.CompatProxy(),({0}),UNDEFINED)
master.pike:5924: master()->nameof(@0=8.0::Crypto.CompatProxy(),@1=({0}))
master.pike:5916: master()->nameof(8.0::Crypto.CompatProxy()->Buffer,({0}))
master.pike:5965:
master()->nameof(8.0::Crypto.CompatProxy()->Buffer->State,UNDEFINED)
>
```
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10035
SQLite query segfaults
2020-05-14T11:08:29Z
Henrik (Grubba) Grubbström
SQLite query segfaults
Form the Pike Developers mailinglist:
23989767 Yesterday 21:13 /42 lines/ Marc Simpson <marc@0branch.com>\
Sender: SRS0+Qc9x=6M=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se\
Imported: Yesterday 21:13 by Brevbäraren\
External r...
Form the Pike Developers mailinglist:
23989767 Yesterday 21:13 /42 lines/ Marc Simpson <marc@0branch.com>\
Sender: SRS0+Qc9x=6M=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se\
Imported: Yesterday 21:13 by Brevbäraren\
External recipient: pike-devel@lists.lysator.liu.se\
To: Pike (-) developers forum <20962>\
Subject: SQLite query segfaults
Hi folks,
It seems that I can reliably segfault recent Pike 8.1 installs when
using sprintf-style SQLite queries:
$ echo '
create table demo(a, b);
insert into demo(a, b) values(1, "abc")' | sqlite3 demo.db
$ pike
Pike v8.1 release 13 running Hilfe v3.5 [...]
> Sql.Sql db = Sql.Sql("sqlite://demo.db");
> db->query("select * from demo");
(1) Result: ({ /* 1 element */
([ /* 2 elements */
"a": "1",
"b": "abc"
])
})
> db->query("select * from demo where a = :a", ([":a": 1 ]));
(2) Result: ({ /* 1 element */
([ /* 2 elements */
"a": "1",
"b": "abc"
])
})
> db->query("select * from demo where a = %d", 1);
Segmentation fault
This occurs on both macOS and Linux; on macOS, segfaults are observed
when the SQLite module is linked against either MacPorts' SQLite 3 or
the system wide dylib in /usr/lib.
Note that query() with a mapping argument doesn't segfault;
furthermore, no such segfault occurs under Pike v8.0 release 702.
Please let me know whether this is reproducible (and/or whether more
information is required).
Thanks,
Marc
(23989767) /Marc Simpson <marc@0branch.com>/--------
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10033
Operator assignment and strict_types
2022-11-21T10:00:53Z
Henrik (Grubba) Grubbström
Operator assignment and strict_types
From the Pike developers mailinglist:
```
22509896 2018-03-26 17:36 -0700 /41 lines/ Marc Simpson <marc@0branch.com>
Sender: SRS0+w18L=GR=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se
Imported: 2018-03-27 02:36 av Brevbäraren
Ex...
From the Pike developers mailinglist:
```
22509896 2018-03-26 17:36 -0700 /41 lines/ Marc Simpson <marc@0branch.com>
Sender: SRS0+w18L=GR=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se
Imported: 2018-03-27 02:36 av Brevbäraren
External recipient: pike-devel@lists.lysator.liu.se
To: Pike (-) developers forum <20565>
Subject: Operator assignment and strict_types
```
Hi folks,
It looks like operator assignment (op=), increment and decrement
statements aren't subjected to the same typechecks as their more
explicit equivalents.
For example, neither the post-increment nor += statements below warn
with strict_types enabled, even though they assign values outside of
foo's restricted int domain:
int(3..3) foo = 3;
foo++; // no warning
foo += 1; // no warning
foo = foo + 1; // warning from strict_types
Similarly, operator assignment on aggregates fails to elicit a warning:
array(int) a = ({});
multiset(int) b = (<>);
mapping(int:int) c = ([]);
// no warnings
a += ({ "hey" });
b += (< "hey" >);
c += ([ "hey": "there" ]);
// warnings from strict_types
a = a + ({ "hey" });
b = b + (< "hey" >);
c = c + ([ "hey": "there" ]);
I'm guessing this is because the checks provided by the
F_ASSIGN/F_ASSIGN_SELF case (las.c) only apply to direct assignment;
op= and friends are presumably not instrumented for strict_types in
the same manner.
Have there been any discussions around addressing this inconsistency?
Thanks,
Marc
Pike 9.0
https://git.lysator.liu.se/pikelang/pike/-/issues/10027
Standards.JSON5.encode() can stall a multi-threaded process for quite a while
2020-03-31T09:56:10Z
Henrik (Grubba) Grubbström
Standards.JSON5.encode() can stall a multi-threaded process for quite a while
Cf #10026, but replace JSON with JSON5.
Cf #10026, but replace JSON with JSON5.
Pike Next
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10018
Typechecking errors with large integers and sprintf("%c").
2020-03-15T11:16:09Z
Henrik (Grubba) Grubbström
Typechecking errors with large integers and sprintf("%c").
The testsuite currently fails with:
```
Doing tests in testsuite (12091 tests, pid 29825)
Fri Mar 13 16:28:53 2020: Thread.Thread(0x7fced9367700) at 900
testsuite:2: Soft cast of string(1: -1412597613) to string(2147483647) isn't a valid...
The testsuite currently fails with:
```
Doing tests in testsuite (12091 tests, pid 29825)
Fri Mar 13 16:28:53 2020: Thread.Thread(0x7fced9367700) at 900
testsuite:2: Soft cast of string(1: -1412597613) to string(2147483647) isn't a valid cast.
testsuite:2: Expected: string(2147483647).
testsuite:2: Got : string(1: -1412597613).
/lhome/build/Xenofarm/client/pike-devel/medaka.roxen.com/buildtmp/Pike-v8.1-snapshot/src/testsuite.in:14918: Test 11817 (CRNL) failed.
1: mixed a() { return "\25363274223"; }
2: mixed b() { return sprintf("%c", 0x1abcd7893) ; }
testsuite:2: Soft cast of string(1: 1412597613) to string(-2147483648) isn't a valid cast.
testsuite:2: Expected: string(-2147483648).
testsuite:2: Got : string(1: 1412597613).
/lhome/build/Xenofarm/client/pike-devel/medaka.roxen.com/buildtmp/Pike-v8.1-snapshot/src/testsuite.in:14919: Test 11818 (shift 1) (CRNL) failed.
1: mixed a() { return "\12414503555"; }
2: mixed b() { return sprintf("%c", -0x1abcd7893) ; }
Subresult: 41609 tests, 2 failed, 13 skipped
```
The cause is that the values `025363274223`, `0x1abcd7893`, `012414503555` and `-0x1abcd7893` all are out of the 32-bit signed range of the integer type.
The easiest fix is probably just to switch the type for large integers to the generic `int` type.
Pike Next
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10017
Compiler: The multi assign treeopt fix was broken.
2020-03-12T15:28:53Z
Henrik (Grubba) Grubbström
Compiler: The multi assign treeopt fix was broken.
The fix for #10006 causes warnings in Nettle:
```
Pike v8.1 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
> Nettle.Hash;
/home/grubba/src/Pike/8.1/lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1280: Warning: An expression...
The fix for #10006 causes warnings in Nettle:
```
Pike v8.1 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
> Nettle.Hash;
/home/grubba/src/Pike/8.1/lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1280: Warning: An expression of type array(int | string) cannot be assigned to a variable of type array(int | string(8bit)).
/home/grubba/src/Pike/8.1/lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1281: Warning: Expected: array(int | string(8bit)).
/home/grubba/src/Pike/8.1/lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1281: Warning: Got : array(int | string).
```
The code that is warned about:
```
if (!catch([r, salt, iters] = [array(string(8bit)|int)]
array_sscanf(line, format))
```
Pike Next
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10016
Stdio.Buffer.RewindKey has LFUNs that are declared private.
2020-03-09T18:56:40Z
Henrik (Grubba) Grubbström
Stdio.Buffer.RewindKey has LFUNs that are declared private.
Having `create()` and `_destruct()` being private is not a good idea. Change them to protected.
Having `create()` and `_destruct()` being private is not a good idea. Change them to protected.
Pike 8.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/8243
Roxen error, possible search
2018-10-23T08:51:16Z
Peter Bortas
Roxen error, possible search
Imported from https://youtrack.roxen.com/issue/PIKE-243
Reported by jonas.lonnberg <jonas.lonnberg@roxen.com>
Reported in [RT#31253](http://rt.roxen.com/rt3/Ticket/Display.html?id=31253).
A Roxen site not responding to requests. Versi...
Imported from https://youtrack.roxen.com/issue/PIKE-243
Reported by jonas.lonnberg <jonas.lonnberg@roxen.com>
Reported in [RT#31253](http://rt.roxen.com/rt3/Ticket/Display.html?id=31253).
A Roxen site not responding to requests. Version 6.1.200 | rhel6_x86_64.
```
: Search: Notice: Starting database compactor with
Pike v8.0 release 408
: compact: OPTIMIZE TABLE deleted_document
: compact: OPTIMIZE TABLE document
: compact: OPTIMIZE TABLE field
: compact: OPTIMIZE TABLE lastmodified
: compact: OPTIMIZE TABLE link
: compact: OPTIMIZE TABLE metadata
: compact: OPTIMIZE TABLE queue
: compact: OPTIMIZE TABLE uri
: compact: OPTIMIZE TABLE word_hit
word 20724 (1884.4/s) "cashel"
First document id out of range: 0x83010358
Skipping this word.
word 21742 (1902.1/s) "coal"
First document id out of range: 0x9a38b939
Skipping this word.
word 22267 (1903.3/s) "conducted"
First document id out of range: 0x86000013
Skipping this word.
word 23775 (1911.9/s) "delays"
First document id out of range: 0xff3fff00
Skipping this word.
*** glibc detected *** /roxen/roxen/server-6.1.200/bin/roxen:
munmap_chunk(): invalid pointer: 0x000000000229f220 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3da9075dee]
/roxen/roxen/server-6.1.200/pike/lib/modules/_WhiteFish.so(+0x74af)[0x7fb72d7fd4af]
/roxen/roxen/server-6.1.200/bin/roxen[0x42bc81]
/roxen/roxen/server-6.1.200/bin/roxen[0x42c7cd]
[0x7fb72d789aff]
======= Memory map: ========
00400000-00671000 r-xp 00000000 fd:00 288096 /roxen/roxen/server-6.1.200/bin/roxen
00870000-00873000 rw-p 00270000 fd:00 288096 /roxen/roxen/server-6.1.200/bin/roxen
00873000-008d2000 rw-p 00000000 00:00 0
01d40000-02423000 rw-p 00000000 00:00 0 [heap]
3da8c00000-3da8c20000 r-xp 00000000 fd:00 56 /lib64/ld-2.12.so
3da8e20000-3da8e21000 r--p 00020000 fd:00 56 /lib64/ld-2.12.so
3da8e21000-3da8e22000 rw-p 00021000 fd:00 56 /lib64/ld-2.12.so
3da8e22000-3da8e23000 rw-p 00000000 00:00 0
3da9000000-3da918a000 r-xp 00000000 fd:00 78 /lib64/libc-2.12.so
3da918a000-3da938a000 ---p 0018a000 fd:00 78 /lib64/libc-2.12.so
3da938a000-3da938e000 r--p 0018a000 fd:00 78 /lib64/libc-2.12.so
3da938e000-3da9390000 rw-p 0018e000 fd:00 78 /lib64/libc-2.12.so
3da9390000-3da9394000 rw-p 00000000 00:00 0
3da9400000-3da9417000 r-xp 00000000 fd:00 772 /lib64/libpthread-2.12.so
3da9417000-3da9617000 ---p 00017000 fd:00 772 /lib64/libpthread-2.12.so
3da9617000-3da9618000 r--p 00017000 fd:00 772 /lib64/libpthread-2.12.so
3da9618000-3da9619000 rw-p 00018000 fd:00 772 /lib64/libpthread-2.12.so
```
https://git.lysator.liu.se/pikelang/pike/-/issues/8242
Former Fix in Pike 8.0 task of PIKE-234 (#8234). See it for details.
2019-12-16T09:05:03Z
Peter Bortas
Former Fix in Pike 8.0 task of PIKE-234 (#8234). See it for details.
Imported from https://youtrack.roxen.com/issue/PIKE-242
Reported by Eduardo Rodes Pastor <erodes@roxen.com>
Blocking [PIKE-234](#8234)
Imported from https://youtrack.roxen.com/issue/PIKE-242
Reported by Eduardo Rodes Pastor <erodes@roxen.com>
Blocking [PIKE-234](#8234)
https://git.lysator.liu.se/pikelang/pike/-/issues/8241
Former QA task of PIKE-229 (#8229). See it for details.
2019-12-11T14:05:43Z
Peter Bortas
Former QA task of PIKE-229 (#8229). See it for details.
Imported from https://youtrack.roxen.com/issue/PIKE-241
Reported by KG Sterneberg <kg@roxen.com>
Blocking [PIKE-229](#8229)
Imported from https://youtrack.roxen.com/issue/PIKE-241
Reported by KG Sterneberg <kg@roxen.com>
Blocking [PIKE-229](#8229)
https://git.lysator.liu.se/pikelang/pike/-/issues/8239
Issue with reused HTTPClient.SessionQuery objects
2018-12-06T11:37:21Z
Peter Bortas
Issue with reused HTTPClient.SessionQuery objects
Imported from https://youtrack.roxen.com/issue/PIKE-239
Reported by Martin Karlgren <marty@roxen.com>
Related to [PIKE-148](#8148)
There seems to be issues with reused HTTPClient.SessionQuery objects. I suspect that `source_stream` wa...
Imported from https://youtrack.roxen.com/issue/PIKE-239
Reported by Martin Karlgren <marty@roxen.com>
Related to [PIKE-148](#8148)
There seems to be issues with reused HTTPClient.SessionQuery objects. I suspect that `source_stream` was set in an earlier request and not properly reset.
Also, keep [PIKE-148](#8148) in mind. Perhaps the connection reuse handling should be revamped there.
```
String data not allowed in streaming mode.
6:02:52 1m 8.9s : etc/modules/HTTPClient.pmod:683: HTTPClient.Session()->SessionQuery(201 Created.)->async_request("roxen-appl-community-test-archive.roxen.com",80,"POST /rest/rep.shaw.story/_search HTTP/1.1",mapping[7],,,0)
6:02:52 : pike/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:256: Request("http://roxen-appl-community-test-archive.roxen.com/rest/rep.shaw.story/_search" - connected - 0 bytes received)->do_async(({"roxen-appl-community-test-archive.roxen.com",80,"POST /rest/rep.shaw.story/_search HTTP/1.1",@0=mapping[7],,,0}))
6:02:52 : pike/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:886: HTTPClient.Session()->async_do_method_url("POST",URI("http://roxen-appl-community-test-archive.roxen.com/rest/rep.shaw.story/_search"),UNDEFINED,,,5)
6:02:52 : etc/modules/HTTPClient.pmod:536: HTTPClient.Session()->async_do_method_url("POST",@2=URI("http://roxen-appl-community-test-archive.roxen.com/rest/rep.shaw.story/_search"),UNDEFINED,,,5)
6:02:52 : etc/modules/HTTPClient.pmod:166: HTTPClient.do_safe_method("POST",@6=URI("http://roxen-appl-community-test-archive.roxen.com/rest/rep.shaw.story/_search"),HTTPClient.Arguments(),0,HTTPClient.Session())
6:02:52 1m 8.9s : etc/modules/HTTPClient.pmod:65: HTTPClient.sync_post(@6,@7=HTTPClient.Arguments(),@8=HTTPClient.Session())
```
https://git.lysator.liu.se/pikelang/pike/-/issues/8238
Former QA C module task of PIKE-89 (#8089). See it for details.
2018-04-12T09:42:06Z
Peter Bortas
Former QA C module task of PIKE-89 (#8089). See it for details.
Imported from https://youtrack.roxen.com/issue/PIKE-238
Reported by Roxen Scrum Team <roxenscrumteam@roxen.com>
Imported from https://youtrack.roxen.com/issue/PIKE-238
Reported by Roxen Scrum Team <roxenscrumteam@roxen.com>