pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2009-04-16T14:11:39Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/3467cpp doesn't support line continuation in macro args2009-04-16T14:11:39ZPeter Bortascpp doesn't support line continuation in macro argsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3467
Reported by Martin Stjernholm <mast@roxen.com>
The following is accepted by a normal C preprocessor:
```
#define FOO(A, \
B)
```
But pikes cpp() compla...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3467
Reported by Martin Stjernholm <mast@roxen.com>
The following is accepted by a normal C preprocessor:
```
#define FOO(A, \
B)
```
But pikes cpp() complains with "Expected argument for macro."Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3466Stdio library broken when ungets() is used, getchar() broken in any case2009-04-16T14:11:39ZPeter BortasStdio library broken when ungets() is used, getchar() broken in any caseImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3466
Reported by Stephen R. van den Berg, Cubic Circle <srb@cuci.nl>
getchar() will fail to return correct data in the current implementation at
times (fixed).
Regular un...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3466
Reported by Stephen R. van den Berg, Cubic Circle <srb@cuci.nl>
getchar() will fail to return correct data in the current implementation at
times (fixed).
Regular ungets() calls will cause excessive buffering in get_data() because
we read from the filedescriptor every time (fixed).Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3458random(n) is not random for bignums.2009-04-16T14:11:39ZPeter Bortasrandom(n) is not random for bignums.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3458
Reported by Anders Johansson <anders@roxen.com>
random(2147483648) generates the same sequense of numbers every time after
startup. random_seed() has no efect in thi...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3458
Reported by Anders Johansson <anders@roxen.com>
random(2147483648) generates the same sequense of numbers every time after
startup. random_seed() has no efect in this case.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3456apply_matrix on empty image may trigger core dump2009-04-16T14:11:39ZPeter Bortasapply_matrix on empty image may trigger core dumpImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3456
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
The following code
```
object fn = Image.Fonts.Font( "font.ttf", 61 );
Image.Image i = fn->write("\302...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3456
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
The following code
```
object fn = Image.Fonts.Font( "font.ttf", 61 );
Image.Image i = fn->write("\30240");
i->apply_matrix( ({ ({1,2,1}), ({2,5,2}), ({1,2,1}) }) );
```
using the font.ttf in aido/fonts generates a segmentation fault.
```
0x4012e23b in chunk_free (ar_ptr=0x401dfc80, p=0x8362191) at malloc.c:3228
3228 malloc.c: No such file or directory.
in malloc.c
(gdb) bt
#0 0x4012e23b in chunk_free (ar_ptr=0x401dfc80, p=0x8362191) at malloc.c:3228
#1 0x4012dfc0 in __libc_free (mem=0x83621a0) at malloc.c:3154
#2 0x403c5d5a in exit_image_struct (obj=0x846ae88)
at /home/nilsson/Pike/7.5/src/modules/Image/image.c:192
#3 0x080fee34 in compat_event_handler (e=1)
at /home/nilsson/Pike/7.5/src/program.c:2938
#4 0x080e25d5 in destruct (o=0x846ae88)
at /home/nilsson/Pike/7.5/src/object.c:763
#5 0x080e2814 in low_destruct_objects_to_destruct ()
at /home/nilsson/Pike/7.5/src/object.c:878
#6 0x08074e35 in low_return () at /home/nilsson/Pike/7.5/src/interpret.c:1619
#7 0x08070816 in opcode_F_RETURN_0 ()
at /home/nilsson/Pike/7.5/src/interpret_functions.h:1412
#8 0x0832b6a0 in ?? ()
#9 0x0807524c in o_catch (pc=0x83791cc "¡\020¬#\b\203@\034\022Ç\004$#")
at /home/nilsson/Pike/7.5/src/interpret.c:1749
#10 0x0806f9c2 in opcode_F_CATCH ()
at /home/nilsson/Pike/7.5/src/interpret_functions.h:1212
#11 0x083791c8 in ?? ()
#12 0x08075170 in mega_apply (type=APPLY_LOW, args=2, arg1=0x82ca6ec,
arg2=0x58) at /home/nilsson/Pike/7.5/src/interpret.c:1704
#13 0x08075c77 in apply (o=0x82ca6ec, fun=0x81c0c37 "_main", args=2)
at /home/nilsson/Pike/7.5/src/interpret.c:2020
#14 0x080d9593 in main (argc=4, argv=0xbffffa74)
at /home/nilsson/Pike/7.5/src/main.c:760
#15 0x400cd336 in __libc_start_main (main=0x80d8bc0 <main>, argc=4,
ubp_av=0xbffffa74, init=0x80622b8 <_init>, fini=0x819ee50 <_fini>,
rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffa6c)
at ../sysdeps/generic/libc-start.c:129
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3452Gl.glGetString dumps core2009-04-16T14:11:39ZPeter BortasGl.glGetString dumps coreImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3452
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Pike v7.4 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
> GL.glGetString(GL.GL_VERSION);
P...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3452
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Pike v7.4 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
> GL.glGetString(GL.GL_VERSION);
Program received signal SIGSEGV, Segmentation fault.
0x40177833 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x40177833 in strlen () from /lib/libc.so.6
#1 0x080eed84 in debug_make_shared_string (str=0x0)
at /home/nilsson/Pike/7.4/src/stralloc.c:872
#2 0x405c228c in f_glGetString ()
from /usr/local/pike/7.4.13/lib/modules/GL.so
#3 0x0806f096 in opcode_F_CALL_BUILTIN1 (arg1=0)
at /home/nilsson/Pike/7.4/src/interpret_functions.h:2075
#4 0x0831ce0f in ?? ()
#5 0x080718b6 in o_catch (pc=0x83daa6e "¡\020K!\b\203@\034\022¡")
at /home/nilsson/Pike/7.4/src/interpret.c:1576
#6 0x0806bdc9 in opcode_F_CATCH ()
at /home/nilsson/Pike/7.4/src/interpret_functions.h:1201
#7 0x083daa6a in ?? ()
#8 0x080717c0 in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/nilsson/Pike/7.4/src/interpret.c:1532
#9 0x080c80d7 in call_pike_initializers (o=0x82a3ae8, args=0)
at /home/nilsson/Pike/7.4/src/object.c:281
#10 0x080c8304 in parent_clone_object (p=0x82a3ae8, parent=0x0,
parent_identifier=0, args=0) at /home/nilsson/Pike/7.4/src/object.c:346
#11 0x08070648 in low_mega_apply (type=APPLY_LOW, args=0, arg1=0x8319594,
arg2=0x18) at /home/nilsson/Pike/7.4/src/apply_low.h:207
#12 0x0806ebb3 in opcode_F_CALL_OTHER_AND_POP (arg1=122)
at /home/nilsson/Pike/7.4/src/interpret_functions.h:1948
#13 0x082cd546 in ?? ()
#14 0x080717c0 in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/nilsson/Pike/7.4/src/interpret.c:1532
#15 0x080723e9 in apply (o=0x82a3bc4, fun=0x0, args=1078309352)
at /home/nilsson/Pike/7.4/src/interpret.c:1829
#16 0x080c0f35 in main (argc=1, argv=0xbffff354)
at /home/nilsson/Pike/7.4/src/main.c:726
#17 0x40111907 in __libc_start_main () from /lib/libc.so.6
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3451toplevel Makefile isn't liked by GNU Make on OpenBSD2009-04-16T14:11:39ZPeter Bortastoplevel Makefile isn't liked by GNU Make on OpenBSDImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3451
Reported by Ian Delahorne, Stacken ACC <ian@stacken.kth.se>
Trying to compile Pile 7.4.20 with GNU Make 3.80 on OpenBSD-current yields
the following:
$ gmake instal...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3451
Reported by Ian Delahorne, Stacken ACC <ian@stacken.kth.se>
Trying to compile Pile 7.4.20 with GNU Make 3.80 on OpenBSD-current yields
the following:
$ gmake install
"Makefile", line 336: Need an operator
No closing parenthesis in archive specification
"Makefile", line 337: Error in archive specification:
"\|void\|constant\|class\)\>)*\|\<\"
No closing parenthesis in archive specification
"Makefile", line 337: Error in archive specification: "\t]\{1,\}\"
"Makefile", line 337: Need an operator
sh: syntax error: `(' unexpected
"Makefile", line 340: warning:
"\|->=?\|<[<=]\|==\|>[=>]\|\[\]=?\|()\|[%-!^&+*<>|~\/]\)\)[ \t]*(/\4/' -r
'/" returned non-zero status
Fatal errors encountered -- cannot continue
gmake: *** [install] Error 1Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3427Error with cyclic arrays in backtraces2009-04-16T14:11:39ZPeter BortasError with cyclic arrays in backtracesImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3427
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
The following code produces a hang.
void foo() {
```
void bar(array i) {
error("gazonk\n");
};
...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3427
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
The following code produces a hang.
void foo() {
```
void bar(array i) {
error("gazonk\n");
};
array a = ({ 0 });
a[0]=a;
bar(a);
}
```Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3421Installation of pike fails2009-04-16T14:11:39ZPeter BortasInstallation of pike failsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3421
Reported by Low Kian Seong, none <pike_low@yahoo.com>
Installation of pike fails with the attached error.
Pike version : v7.4.20
gcc version : 3.2.2
glibc version :...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3421
Reported by Low Kian Seong, none <pike_low@yahoo.com>
Installation of pike fails with the attached error.
Pike version : v7.4.20
gcc version : 3.2.2
glibc version : 2.3.2
kernel : 2.4.20Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3414MIME multipart message improperly terminated bug2015-04-16T17:43:25ZPeter BortasMIME multipart message improperly terminated bugImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3414
Reported by Jeff Utter, <funk@softhome.net>
I'm using pike 7.4.21 with the Caudium web server. I've noticed a bug
related to uploading files using MIME attachments. ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3414
Reported by Jeff Utter, <funk@softhome.net>
I'm using pike 7.4.21 with the Caudium web server. I've noticed a bug
related to uploading files using MIME attachments. IT seems that small
files work fine, however larger files do not. The web browser keeps saying
it's loading, but the caudium log gives error ouput as follows:
```
multipart message improperly terminated ("\r\nContent-Disposition:
form-data; name=\"file\"; filename=\"drummer.png\"\r\nContent-Type:
image/png***Here it shows the text ouput of the file i cut it out to save
lots of space in the bug report*** )
/usr/local/pike/7.4.21/lib/modules/MIME.pmod/module.pmod:1078:
MIME.Message()->create("-----------------------------47449013511489176341833204461\r\nContent-Disposition:
form-data; name=\"file\"; filename=\"drummer.png\"\r\nContent-Type:
image/png\r\n\r\n\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\1g\0\0\1j\b\6\0"+[16854],mapping[11],0,0)
object_program(MIME): MIME->Message()
protocols/http.pike:200: protocols/http()->handle_body_encoding(21665)
protocols/http.pike:455: protocols/http()->parse_got()
protocols/http.pike:1657:
protocols/http()->got_data(0,"7\366$\336\31t\34\223\245\314)\262r\16\302\361D_\25\36PjZuk\27\7!\301""6\345D9s\224\277\7\341\317N|\24\215\255\234\233\220ES\355\273\274\36\361\310\310\373\354\350u\340-\334\23\212q\210\37\177=\322\216[9\367
\35\345<\31\231\350\254\t\274\215<
\343\234\261\307J\243(\347\t1\367\347\227V`\245\30\373\253\364\203nD\345\274#\372\33\322?\220\207\\n\177lU<\217\373\\\276A}+g\27q\377\336""5\345\274\21b\352*\323\216\230\275\216#\207o+Y\257\352\247\365e\335\25s\177YQiG\323L2\365ls\326r\253|I\261\24""3\300\177\225\355CS\225\"]4_\347\264"+[1254])
/usr/local/pike/7.4.21/lib/modules/Stdio.pmod/module.pmod:695:
Stdio.File("socket", "192.168.0.2 58269", 777 /* fd=19
*/)->__stdio_read_callback()
module.c:58()->Builtin()->Backend:
module.c:58()->Builtin()->__backend->`()(3600.000000)
/usr/local/pike/7.4.21/lib/master.pike:1951:
master()->_main(({"bin/caudium","-DCAUDIUM","-DCAUDIUM_CACHE","-DROXEN","-DMODULE_DEBUG","-w","-Mlib/7.4.21/",,,6}),({"SSH_CLIENT=192.168.0.2
63575 22","USER=root","MAIL=/var/mail/root","SHLVL=1",,,15}))
```
The log keeps repeating this until i press stop in my browser...
Here i'll include the code i use to upload the images.
HTML PAGE:
<form name="imhouploadform" method="POST" enctype="multipart/form-data"
action="/(dumpid)/upload">
<br />
<input name="file" type="file">
<br />
<input type="submit" name="1" value="Upload to attachments" />
</form>
excerpt from Caudium Pike Module:
```
mixed find_file( string f, object id ) {
string sucpage = id->variables->success;
string fpage = id->variables->failed;
string contents = id->variables->file;
string filename = id->variables["file.filename"];
string gallery;
if (id->variables->gallery)
gallery = id->variables->gallery;
else
gallery = QUERY(defaultgallery);
string galpath = Stdio.append_path(QUERY(albumpath), gallery);
string path = Stdio.append_path(QUERY(albumpath), gallery, filename);
if ( contents && filename && Stdio.is_dir(galpath) &&
!Stdio.is_file(path) && isgood(filename) && sizeof(contents) <
QUERY(maxsize) ) {
Stdio.write_file ( path, contents );
return http_string_answer("Upload Succeeded","text/html");
}
```
I hope this helps someone locate and troubleshoot this bug, it's seriously
stumping my productivity... Well thanks for any help.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3412Type compatibility problem with ?:2009-04-16T14:11:39ZPeter BortasType compatibility problem with ?:Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3412
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
It is possible to run 1?throw(1):1; in Pike up until 7.2. Then in Pike 7.4
it produces the error "The a...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3412
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
It is possible to run 1?throw(1):1; in Pike up until 7.2. Then in Pike 7.4
it produces the error "The arguments to ?: may not be void." IMO the above
expression should be allowed in Pike 7.4 as well. In any case it needs
compatibility junk if the yyerror is to remain.
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3384img->scale(0.5) produces images of zero size.2009-04-16T14:11:39ZPeter Bortasimg->scale(0.5) produces images of zero size.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3384
Reported by Anders Johansson <anders@roxen.com>
This simple program causes a segfault.
```
void main()
{
object img = Image.Image(1,1);
img = img->scale(0.5);
...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3384
Reported by Anders Johansson <anders@roxen.com>
This simple program causes a segfault.
```
void main()
{
object img = Image.Image(1,1);
img = img->scale(0.5);
img = img->scale(2.0);
}
```
After scale(0.5) the image is 0x0 pixels, and when doing scale(2.0) on that
image Pike goes BOOM!
Tested on Pike 7.0, 7,2 and 7.4.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3369Hang in define tag2009-04-16T14:11:39ZPeter BortasHang in define tagImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3369
Reported by Marcus Wellhardh <wellhard@roxen.com>
The following code results in a server hang.
<define tag="insert-keyword" scope="ik">
<attrib name="keywords"><!...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3369
Reported by Marcus Wellhardh <wellhard@roxen.com>
The following code results in a server hang.
<define tag="insert-keyword" scope="ik">
<attrib name="keywords"><!-- error 2 -->
</define>Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/3357Date bug in X509.pmod2009-04-16T14:11:39ZPeter BortasDate bug in X509.pmodImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3357
Reported by Marcus Wellhardh <wellhard@roxen.com>
The parse_time function in Tools.pmod/X509.pmod does not accept the last
day in a month.
Change:
if ( (m->mday <...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3357
Reported by Marcus Wellhardh <wellhard@roxen.com>
The parse_time function in Tools.pmod/X509.pmod does not accept the last
day in a month.
Change:
if ( (m->mday <= 0) || (m->mday >= Calendar.ISO.Year(m->year + 1900)
->month(m->mon + 1)->number_of_days()))
To:
if ( (m->mday <= 0) || (m->mday > Calendar.ISO.Year(m->year + 1900)
->month(m->mon + 1)->number_of_days()))Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3338Pike 7.2 don't recognice postgres after upgrade to postgres 7.2.12009-04-16T14:11:39ZPeter BortasPike 7.2 don't recognice postgres after upgrade to postgres 7.2.1Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3338
Reported by Robert Nilsson, <robert@rnn.nu>
I'm running Red Hat Linux 7.3 with Postgres v7.2.1, Roxen 3.3 and pike 7.2
(release 433). After I upgraded Postgres from ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3338
Reported by Robert Nilsson, <robert@rnn.nu>
I'm running Red Hat Linux 7.3 with Postgres v7.2.1, Roxen 3.3 and pike 7.2
(release 433). After I upgraded Postgres from v7.0 to 7.2.1 pike (and
therefore also Roxen) didn't support postgres anymore. "pike --features"
didn't list "postgres".
I upgraded Roxen from v2.2 to v3.3, but still no support of Postgres...
Finally found that pike was using Postgres c
library "/usr/lib/libpq.so.2.1", but that has been replaced
by "libpq.so.2.2".
Solution:
Made a symbolic link of the old name to the new:
ln -s libpq.so.2.2 libpq.so.2.1
and then Postgres was supported in Pike again.Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3326sscanf matching things it shouldn't2009-04-16T14:11:39ZPeter Bortassscanf matching things it shouldn'tImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3326
Reported by BW, Riverweb <hww3@riverweb.com>
```
> Pike v7.3 release 62 running Hilfe v3.5 (Incremental Pike Frontend)
>
>>sscanf("1b", "%[0-9]%[0-9]", mixed s, mixe...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3326
Reported by BW, Riverweb <hww3@riverweb.com>
```
> Pike v7.3 release 62 running Hilfe v3.5 (Incremental Pike Frontend)
>
>>sscanf("1b", "%[0-9]%[0-9]", mixed s, mixed t);
>
> (1) Result: 2
>
```
Per Martin Nilsson...
Your first %[0-9] will always match all digits so that there will never
be any left for the second %[0-9]. But with other values, it is obvious
that this is in fact a bug:
```
> array_sscanf("1", "%[0-9]%[a-c]");
(11) Result: ({ /* 2 elements */
"1",
""
})
> sscanf("12b", "%1[0-9]%[0-9]", s,t);
(12) Result: 2
> s;
(13) Result: "12"
> t;
(14) Result: ""
```Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3316xml/mapping leak2009-04-16T14:11:39ZPeter Bortasxml/mapping leakImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3316
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Running a pike with --with-dmalloc --with-cdebug --with-security
--with-double-precision --with-profiling -...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3316
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Running a pike with --with-dmalloc --with-cdebug --with-security
--with-double-precision --with-profiling --with-keypair-loop
--with-new-multisets
through the lib module tests generates:
```
Exited normally, counting bytes.
Mappings left: 6 (41864 bytes) (zapped)
Refs=2, next=0x979b060, prev=(nil), flags=0x0, size=2, hashsize=2
Indices type field = string
Values type field = mapping int
([ /* 2 elements */
"location":11,
"previous":([ /* 1 element */
"location":39
])
])
Refs=2, next=0x979b010, prev=0x979b074, flags=0x0, size=2, hashsize=2
Indices type field = string
Values type field = mapping int
([ /* 2 elements */
"location":31,
"previous":([ /* 1 element */
"location":39
])
])
Refs=2, next=0x979affc, prev=0x979b060, flags=0x0, size=2, hashsize=2
Indices type field = string
Values type field = mapping int
([ /* 2 elements */
"location":11,
"previous":([ /* 1 element */
"location":39
])
])
Refs=2, next=0x979b038, prev=0x979b010, flags=0x0, size=2, hashsize=2
Indices type field = string
Values type field = mapping int
([ /* 2 elements */
"location":31,
"previous":([ /* 1 element */
"location":39
])
])
Garbage collecting..
Arrays left: 0 (0 bytes)
Mappings left: 4 (41648 bytes)
Multisets left: 0 (4096 bytes)
Freeing storage for small block still in use 0x979affc at
/home/nilsson/Pike/7.3/src/mapping.c:79.
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9508
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x9798af8 offset 9552
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x9798af8 offset 9652
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x9419238 offset 912
**Location: 0x9419238 Type: unknown Refs: 160301800
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 0
-> from unknown 0x98e02e8 offset 4
gc generation: 0/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x979b010 offset 12
**Location: 0x979b010 Type: unknown Refs: 1
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9492
-> from unknown 0x9798af8 offset 9588
-> from unknown 0x979affc offset 16
-> from unknown 0x979b060 offset 12
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times) *
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times) *
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times) *
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:10:
Test 2 (shift 1) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times) *
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times) *
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times) *
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:10:
Test 2 (shift 1) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
Freeing storage for small block still in use 0x979b010 at
/home/nilsson/Pike/7.3/src/mapping.c:79.
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9492
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x9798af8 offset 9588
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x979b060 offset 12
**Location: 0x979b060 Type: unknown Refs: 1
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9512
-> from unknown 0x9798af8 offset 9608
-> from unknown 0x979b010 offset 16
-> from unknown 0x979b074 offset 12
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times)
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:8:
Test 1 (shift 0) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times)
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:10:
Test 2 (shift 1) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
Freeing storage for small block still in use 0x979b060 at
/home/nilsson/Pike/7.3/src/mapping.c:79.
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9512
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x9798af8 offset 9608
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
-> from unknown 0x979b074 offset 12
**Location: 0x979b074 Type: unknown Refs: 1
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9592
-> from unknown 0x979b060 offset 16
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times)
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:8:
Test 1 (shift 0) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times)
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:8:
Test 1 (shift 0) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
Freeing storage for small block still in use 0x979b074 at
/home/nilsson/Pike/7.3/src/mapping.c:79.
<<<Possibly referenced>>>
-> from unknown 0x9798af8 offset 9592
**Location: 0x9798af8 Type: unknown Refs: 155292216
<<<Possibly referenced>>>
-> from unknown 0x9419238 offset 4
gc generation: 5/17 gc pass: 0/0
-->
/home/nilsson/Pike/7.3/lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:15:
Test 1 (shift 0) (CRNL):0 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:2490 (2 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:962 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2464 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2361 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2175 (9 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2174 (9 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2163 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2358 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:263 (2 times)
*** /home/nilsson/Pike/7.3/src/modules/spider/xml.c:2354 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:364 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:715 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1337 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:231 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:161 (2 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:8:
Test 1 (shift 0) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:79 (1 times)
free(0x9798af8) (/home/nilsson/Pike/7.3/src/mapping.c:79)
free(0x9419238) (/home/nilsson/Pike/7.3/src/mapping.c:79)
free(0x98e02e8) (/home/nilsson/Pike/7.3/src/mapping.c:79)
==LEAK==: (0x98b8f38) 176 bytes
**Location: 0x98b8f38 Type: unknown Refs: 1
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:1042 (6 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1185 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2359 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2164 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2279 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:770 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2273 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:208 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:173 (1 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:8:
Test 1 (shift 0) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/pike_memory.c:570 (1 times)
==LEAK==: (0x96f8c38) 176 bytes
**Location: 0x96f8c38 Type: unknown Refs: 1
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:1042 (6 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1185 (1 times)
*** /home/nilsson/Pike/7.3/src/gc.c:770 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2164 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2359 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2279 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2273 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:208 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:173 (1 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:10:
Test 2 (shift 1) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/pike_memory.c:570 (1 times)
==LEAK==: (0x989b538) 176 bytes
**Location: 0x989b538 Type: unknown Refs: 1
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:1042 (6 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1185 (1 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2359 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2273 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:770 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2164 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2279 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:208 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:173 (1 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:10:
Test 2 (shift 1) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/pike_memory.c:570 (1 times)
==LEAK==: (0x9721800) 176 bytes
**Location: 0x9721800 Type: unknown Refs: 1
**Cannot describe block of unknown type 247
*******************
gc generation: 6/17 gc pass: 0/0
*** /home/nilsson/Pike/7.3/src/mapping.c:1042 (6 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:1185 (1 times)
*** /home/nilsson/Pike/7.3/src/gc.c:1671 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2164 (13 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2359 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2279 (11 times)
*** /home/nilsson/Pike/7.3/src/gc.c:770 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:2273 (11 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:208 (1 times)
*** /home/nilsson/Pike/7.3/src/mapping.c:173 (1 times)
-->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/XML.pmod/testsuite.in:8:
Test 1 (shift 0) (CRNL):1 (1 times)
*** /home/nilsson/Pike/7.3/src/pike_memory.c:570 (1 times)
```Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3315Roxen dies when using faulty code (instead of getting Pike backtrace)2009-04-16T14:11:39ZPeter BortasRoxen dies when using faulty code (instead of getting Pike backtrace)Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3315
Reported by Niklas Schulman, Roxen <niklas.schulman@roxen.com>
Arjan van Staalduijnen reported:
I managed to crash my Roxen webserver, using a little piece of Pike ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3315
Reported by Niklas Schulman, Roxen <niklas.schulman@roxen.com>
Arjan van Staalduijnen reported:
I managed to crash my Roxen webserver, using a little piece of Pike code
using stringbuffers. I had a module execute code like this:
```
String.Buffer css = String.Buffer();
css->add("span.cross{position:absolute;border:solid
thin;text-align:center;"
"width:", (3*id->misc->gridsize), "px;height:",
(3*id->misc->gridsize),
"px;color:white;background-color:red;z-index:920}\n");
```
The problem lies in the pieces (3*id->misc->gridsize), which are
integers, without doing a cast to string. I know this is, of course,
incorrect code, but instead of getting a Pike backtrace I got a dead
Roxen webserver - no errors reported.
This problem was triggered using the Pike version that comes with Roxen
3.2.103, no custom build, under RedHat 8.0.Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3314Trouble finding postgress?2009-04-16T14:11:39ZPeter BortasTrouble finding postgress?Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3314
Reported by Anders Johansson <anders@roxen.com>
Created an attachment (id=216)
Original diffImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3314
Reported by Anders Johansson <anders@roxen.com>
Created an attachment (id=216)
Original diffPike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3296Pike fails to setlocale, resulting in core dump2009-04-16T14:11:39ZPeter BortasPike fails to setlocale, resulting in core dumpImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3296
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
I don't think there is anything we can do about this, but a bugreport to
reference to might be good.
```
[...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3296
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
I don't think there is anything we can do about this, but a bugreport to
reference to might be good.
```
[nilsson@m222 server]$ pike
Segmentation fault (core dumped)
[nilsson@m222 server]$ pike
Pike v7.3 release 60 running Hilfe v3.5 (Incremental Pike Frontend)
gdb backtrace:
#0 0x400c69a8 in _ufc_foobar () from /lib/libc.so.6
#1 0x400db3b1 in msort_with_tmp (b=0x82944c0, n=2, s=8,
cmp=0x400d6008 <alias_compare>, t=0xbfffb500 "") at msort.c:72
#2 0x400db305 in msort_with_tmp (b=0x82944c0, n=5, s=8,
cmp=0x400d6008 <alias_compare>, t=0xbfffb500 "") at msort.c:47
#3 0x400db305 in msort_with_tmp (b=0x82944c0, n=11, s=8,
cmp=0x400d6008 <alias_compare>, t=0xbfffb500 "") at msort.c:47
#4 0x400db305 in msort_with_tmp (b=0x82944c0, n=23, s=8,
cmp=0x400d6008 <alias_compare>, t=0xbfffb500 "") at msort.c:47
#5 0x400db305 in msort_with_tmp (b=0x82944c0, n=47, s=8,
cmp=0x400d6008 <alias_compare>, t=0xbfffb500 "") at msort.c:47
#6 0x400db463 in qsort (b=0x82944c0, n=47, s=8,
cmp=0x400d6008 <alias_compare>) at msort.c:98
#7 0x400d5c5c in read_alias_file (
fname=0xffffff7c <Address 0xffffff7c out of bounds>, fname_len=-452984831)
at localealias.c:368
#8 0x400d5b1f in _nl_expand_alias (name=0xbffffee7 "en_US")
at localealias.c:205
#9 0x400d11c6 in _nl_find_locale (locale_path=0x8293f88 "/usr/lib/locale",
locale_path_len=16, category=0, name=0xbffff8b4) at findlocale.c:87
#10 0x400d05a8 in setlocale (category=0, locale=0x8197d54 "")
at setlocale.c:384
#11 0x080c9bec in main (argc=1, argv=0xbffffacc)
at /home/nilsson/Pike/7.3/src/main.c:275
#12 0x400c7336 in __libc_start_main (main=0x80c9b20 <main>, argc=1,
ubp_av=0xbffffacc, init=0x805f96c <_init>, fini=0x8177030 <_fini>,
rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffabc)
at ../sysdeps/generic/libc-start.c:129
where main.c:275 is the following setlocate
#ifdef LC_CTYPE
setlocale(LC_CTYPE, "");
#endif
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3294Concatenated constants erroneous2009-04-16T14:11:39ZPeter BortasConcatenated constants erroneousImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3294
Reported by M Norrby, Shapeline <norrby@lysator.liu.se>
Concatenated constants does not work as it does in Pike 7.2.
First an example with expected results:
nor...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3294
Reported by M Norrby, Shapeline <norrby@lysator.liu.se>
Concatenated constants does not work as it does in Pike 7.2.
First an example with expected results:
norrby@klinik:/tmp% cat fish.pike
#!/usr/local/src/Pike/7.3/bin/pike
```
constant FISH = "Fish";
constant FOO = FISH + "ing rod";
constant BAR = FISH + "y";
void main()
{
write("Fishing rod: " + FOO + "\n");
write("Fishy: " + BAR + "\n");
}
norrby@klinik:/tmp% ./fish.pike
Fishing rod: Fishing rod
Fishy: Fishy
```
Then an example with strange results:
norrby@klinik:/tmp% cat fishy.pike
#!/usr/local/src/Pike/7.3/bin/pike
```
constant FOO = FISH + "ing rod";
constant BAR = FISH + "y";
constant FISH = "Fish";
void main()
{
write("Fishing rod: " + FOO + "\n");
write("Fishy: " + BAR + "\n");
}
norrby@klinik:/tmp% ./fishy.pike
Fishing rod: Fishy
Fishy: Fishy
```
Pike v7.3 release 58Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström