pike issues
https://git.lysator.liu.se/pikelang/pike/-/issues
2009-04-16T14:11:39Z
https://git.lysator.liu.se/pikelang/pike/-/issues/2662
Pike fails to generate auto.c in the GL module
2009-04-16T14:11:39Z
Peter Bortas
Pike fails to generate auto.c in the GL module
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2662
Reported by Marek Habersack, The Caudium Group <grendel@caudium.net>
The gen.pike script generating auto.c seems to bomb on the input from
auto.c.in - it happens onl...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2662
Reported by Marek Habersack, The Caudium Group <grendel@caudium.net>
The gen.pike script generating auto.c seems to bomb on the input from
auto.c.in - it happens only on the PPC architecture (m68k compiles fine, so
it's not endianness). As I have no access to any PPC machine atm, I can't
provide more information except for what follows:
Debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=122956&repeatmerged=yes
Note from a fellow Debian developer:
7.2.238-2 built even on m68k so it's no endianness
issue. The other thing that makes powerpc very different is varargs (and
it usually triggers segfaults). Please look into things like
va_list orig_va = va (should be __va_copy(orig_va, va)).
The builder machine runs the following software:
Debian/Sid
glibc 2.2
gcc 2.95
I'm trying to find a suitable PPC machine for testing now.
(pike 7.2 compiles just fine on machines like hppa, ia64, s390, alpha,
sparc, mips, m68k, arm - although on some of them there were problems due
to signedness assumption for the 'char' type - arm, ppc and s390 assume it
to be unsigned vs. signed on other architectures)
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2643
Mutex & Thread under Linux.
2009-04-16T14:11:39Z
Peter Bortas
Mutex & Thread under Linux.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2643
Reported by Xavier Beaudouin, ISDnet <kiwi@isdnet.net>
On Linux and in some rare condition on FreeBSD, when using a lots of
threads and mutex...
There seems to be ...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2643
Reported by Xavier Beaudouin, ISDnet <kiwi@isdnet.net>
On Linux and in some rare condition on FreeBSD, when using a lots of
threads and mutex...
There seems to be an error in the way pike uses pthreads. From main()
it calls init_program() which eventually calls mt_lock(&interleave_lock).
This is done before the mutex is initialized (from low_th_init). The patch
below moves the low_th_init call earlier so that the mutex is initialized
before use.
Here is a patch for Pike 7.0.355 (that can be applied also on recent pike
too) :
```
diff -u pike7-7.0.355-old/src/main.c pike7-7.0.355/src/main.c
--- pike7-7.0.355-old/src/main.c Wed Mar 14 06:21:58 2001
+++ pike7-7.0.355/src/main.c Sun Dec 16 21:04:41 2001
@@ -481,6 +481,8 @@
GETTIMEOFDAY(¤t_time);
+ low_th_init();
+
init_shared_string_table();
init_interpreter();
init_types();
@@ -488,8 +490,6 @@
init_lex();
init_program();
init_object();
-
- low_th_init();
init_modules();
master();
```
The patch is from Randolph Chung <tausq@debian.org>
You can see this in action, when setuping a Threaded caudium + camas using
external auth module (ldap is an example).
Pike 7.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2584
localtime() doesn't setup "timezone" in the mapping
2009-04-16T14:11:39Z
Peter Bortas
localtime() doesn't setup "timezone" in the mapping
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2584
Reported by Xavier Beaudouin, ISDnet <kiwi@isdnet.net>
Configure script doesn't find that struct tm has tm_gmtoff member :
--/--- According to the man page of local...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2584
Reported by Xavier Beaudouin, ISDnet <kiwi@isdnet.net>
Configure script doesn't find that struct tm has tm_gmtoff member :
--/--- According to the man page of localtime() on FreeBSD 4.4 :
External declarations as well as the tm structure definition are in the
<time.h> include file. The tm structure includes at least the following
fields:
int tm_sec; /* seconds (0 - 60) */
int tm_min; /* minutes (0 - 59) */
int tm_hour; /* hours (0 - 23) */
int tm_mday; /* day of month (1 - 31) */
int tm_mon; /* month of year (0 - 11) */
int tm_year; /* year - 1900 */
int tm_wday; /* day of week (Sunday = 0) */
int tm_yday; /* day of year (0 - 365) */
int tm_isdst; /* is summer time in effect? */
char *tm_zone; /* abbreviation of timezone name */
long tm_gmtoff; /* offset from UTC in seconds */
--/---
So there is some problems in the detection of tm_gmtoff in autoconf script.
Also I've found in pike 7.2.234 some typos in that avoid pike to be
compiled when STRUCT_TM_HAS_GMTOFF is forced in machine.h
Here is a diff to correct this :
```
--- builtin_functions.c.orig Wed Oct 31 02:18:18 2001
+++ builtin_functions.c Fri Nov 30 20:10:58 2001
@@ -4029,10 +4029,10 @@
#if STRUCT_TM_HAS_GMTOFF
if((args > 7) && (Pike_sp[7-args].subtype == NUMBER_NUMBER))
{
- date.tm_gmtoff=Pike_sp[7-args].u.intger;
+ date.tm_gmtoff=Pike_sp[7-args].u.integer;
}else{
time_t tmp = 0;
- data.tm_gmtoff=localtime(&tmp).tm_gmtoff;
+ date.tm_gmtoff=localtime(&tmp)->tm_gmtoff;
}
retval=mktime(&date);
#else
```
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2533
Heap Dump @ Granada
2009-04-16T14:11:39Z
Peter Bortas
Heap Dump @ Granada
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2533
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Error reported by Simon Denvers <Simon.Denvers@granadamedia.com>. Login
information for Granada's system availabl...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2533
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Error reported by Simon Denvers <Simon.Denvers@granadamedia.com>. Login
information for Granada's system available from me (ian@roxen.com)
We've just had a few problems with Roxen repeatedly crashing. One of the
crashes ended with a heap error. Is this something we can avoid? Do you
know why this could have happened? Developers have been complaining it's
been slow for a few days and it does look to be eating more CPU on the
machine than it used to.
If you need more info, please let me know.
Thanks,
Simon
: | <insert file="/banner_ad.html"/>
10:50:12 : Error in
/index.xml?id=1&headline1=SERIES+4©1=IS+IT+MARITAL+BLIS
S+FOR+ADAM+%26amp%3B+RACHEL%3F+DIVORCE+FOR+DAVID+%26amp%3B+KAREN%3F+RECONCIL
IATI
ON+FOR+PETE+%26amp%3B+JENNY%3F+WE+FOLLOW++BRITAIN%27S+FAVOURITE+THIRTYSOMETH
INGS
+AS+THEY+STUMBLE+THROUGH+THE+MINEFIELDS+OF+MARRIAGE%2C+SEX%2C+FRIENDSHIP+AND
+PAR
ENTHOOD.&link1=%23&headline2=©2=&link2=%23&cmd=save_feature_copy.
2m18.9s : RXML run error: No such file (/banner_ad.html).
: | <insert file="/banner_ad.html"/>
********** Internal heap ERROR 17112 addr=0x1155518 *********
***** Dump of memory around addr 0x1155518:
1155300 00000000
00000000
1155320 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Repeat 5 times
11553E0 00000000 00000000 00000000 00000000 00000000 C00000B9 01154DAC
01008878
1155400 011558C8 00000000 00000000 00000000 00000000 00000000 00000000
00000000
1155420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Repeat 3 times
11554A0 00000000 20000015 01154D9C 20000035 011553F4 00000000 00000000
73656C65
11554C0 6374202A 2066726F 6D20686F 6D657061 67652077 68657265 2069643D
32000000
11554E0 30000035 011554AC 00000000 00000000 00004654 00000000 00000000
00000000
1155500 00000000 00000000 00000000 00000000 00000000 200003D5 01154D88
00000000
1155520 00000000 F8E9DACB 01040000 0102FE00 0102FE00 00000C00 00000000
00000000
1155540 00000000 00000000 00000000 00000000 00000000 00000000 01155880
00000000
1155560 00000000 00000001 00000BFF 00000000 00000001 00000000 02000080
011554BC
1155580 00000021 00000000 00000000 01008224 0000000A 00000000 00000001
00000000
11555A0 00000001 00000000 00000000 00000000 00000000 00030384 00000000
00000000
11555C0 00000000 01155524 00000001 00000000 00000000 00000000 00000000
00000000
11555E0 00000000 00000000 0000000A 0100AAEC 00000000 00040000 00000001
00000000
1155600 00000000 00000000 00000000 00000000 00000000 015A1BDC 00000000
011554F0
1155620 0000080F 0000080F 00000001 00000000 01008C2C 000000FF 01154DD0
01008224
1155640 01006F27 00000000 000006D4 000006D4 00000000 011765CC 0115505C
10000000
1155660 00000000 015423F0 FC99EA30 01155654 16182E04 2D1F182E 042D0618
00100000
1155680 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Repeat 3 times
1155700 00000000 00000000 00000000 00000000 00000000 00000000
******************************************************
HEAP DUMP heap name="Alloc environm" desc=0x10317cc
extent sz=0x1024 alt=32 het=32767 rec=0 flg=3 opc=3
parent=0 owner=0 nex=0 xsz=0x1f6c
EXTENT 0
Chunk 15838c0 sz= 8036 free " "
EXTENT 1
Chunk 1581948 sz= 8036 free " "
EXTENT 2
Chunk 157f9d0 sz= 8036 freeable "Alloc statemen " ds=1543b70
EXTENT 3
Chunk 157da18 sz= 8036 free " "
EXTENT 4
Chunk 1599a60 sz= 8036 free " "
EXTENT 5
Chunk 1597ae8 sz= 8036 free " "
EXTENT 6
Chunk 1595b70 sz= 8036 free " "
EXTENT 7
Chunk 1593bf8 sz= 8036 free " "
EXTENT 8
Chunk 1591c80 sz= 8036 free " "
EXTENT 9
Chunk 158fd08 sz= 8036 free " "
EXTENT 10
Chunk 15aea78 sz= 8036 free " "
EXTENT 11
Chunk 15a1a28 sz= 420 free " "
Chunk 15a1bcc sz= 40 freeable assoc with mark prv=0 nxt=0
Chunk 15a1bf4 sz= 8016 freeable assoc with mark prv=0 nxt=0
EXTENT 12
Chunk 15bb6c0 sz= 13328 freeable "Alloc server h " ds=1541950
EXTENT 13
Chunk 153eb28 sz= 7332 free " "
Chunk 15407cc sz= 4144 recreate "Alloc server h " latch=0
ds 1541950 sz= 17472 ct= 2
15bb6c0 sz= 13328
Chunk 15417fc sz= 444 freeable assoc with mark prv=0 nxt=0
Chunk 15419b8 sz= 1308 freeable assoc with mark prv=0 nxt=0
Chunk 1541ed4 sz= 1292 freeable assoc with mark prv=0 nxt=0
Chunk 15423e0 sz= 428 freeable assoc with mark prv=0 nxt=0
Chunk 154258c sz= 220 free " "
Chunk 1542668 sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 154267c sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 1542690 sz= 28 freeable assoc with mark prv=0 nxt=0
Chunk 15426ac sz= 40 freeable assoc with mark prv=0 nxt=0
Chunk 15426d4 sz= 256 freeable assoc with mark prv=0 nxt=0
Chunk 15427d4 sz= 4144 recreate "Alloc statemen " latch=0
ERROR, BAD NEXT EXTENT (c168c0, 69736500, 2)
EXTENT 14
Chunk 155bd88 sz= 13328 freeable "Alloc server h " ds=11f92a8
EXTENT 15
Chunk 11f4260 sz= 12928 free " "
Chunk 11f74e0 sz= 4144 recreate "Alloc server h " latch=0
ds 11f92a8 sz= 17472 ct= 2
155bd88 sz= 13328
Chunk 11f8510 sz= 1308 freeable assoc with mark prv=0 nxt=0
Chunk 11f8a2c sz= 1292 freeable assoc with mark prv=0 nxt=0
Chunk 11f8f38 sz= 428 freeable assoc with mark prv=0 nxt=0
Chunk 11f90e4 sz= 32 free " "
Chunk 11f9104 sz= 40 freeable assoc with mark prv=0 nxt=0
Chunk 11f912c sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 11f9140 sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 11f9154 sz= 444 freeable assoc with mark prv=0 nxt=0
EXTENT 16
Chunk 1219e10 sz= 13328 freeable "Alloc server h " ds=117b4a0
EXTENT 17
Chunk 1176558 sz= 72 free " "
Chunk 11765a0 sz= 28 freeable assoc with mark prv=0 nxt=0
Chunk 11765bc sz= 256 freeable assoc with mark prv=0 nxt=0
Chunk 11766bc sz= 28 freeable assoc with mark prv=0 nxt=0
Chunk 11766d8 sz= 12180 free " "
Chunk 117966c sz= 4144 recreate "Alloc server h " latch=0
ds 117b4a0 sz= 17472 ct= 2
1219e10 sz= 13328
Chunk 117a69c sz= 1308 freeable assoc with mark prv=0 nxt=0
Chunk 117abb8 sz= 1292 freeable assoc with mark prv=0 nxt=0
Chunk 117b0c4 sz= 428 freeable assoc with mark prv=0 nxt=0
Chunk 117b270 sz= 68 free " "
Chunk 117b2b4 sz= 104 freeable assoc with mark prv=0 nxt=0
Chunk 117b31c sz= 24 freeable assoc with mark prv=0 nxt=0
Chunk 117b334 sz= 24 freeable assoc with mark prv=0 nxt=0
Chunk 117b34c sz= 444 freeable assoc with mark prv=0 nxt=0
Chunk 117b508 sz= 256 freeable assoc with mark prv=0 nxt=0
EXTENT 18
Chunk 1173138 sz= 13328 freeable "Alloc server h " ds=1159b50
EXTENT 19
Chunk 1154c08 sz= 252 free " "
Chunk 1154d04 sz= 104 freeable assoc with mark prv=0 nxt=0
Chunk 1154d6c sz= 28 freeable assoc with mark prv=0 nxt=0
Chunk 1154d88 sz= 1932 recreate "Alloc statemen " latch=0
ds 1155880 sz= 9968 ct= 3
1006dc8 sz= 3892
1007cfc sz= 4144
Chunk 1155514 sz= 980 freeable assoc with mark prv=0 nxt=0
Chunk 11558e8 sz= 4144 freeable "Alloc statemen " ds=1157cb4
Chunk 1156918 sz= 4144 recreate "Alloc statemen " latch=0
ds 1157cb4 sz= 8288 ct= 2
11558e8 sz= 4144
Chunk 1157948 sz= 980 freeable assoc with mark prv=0 nxt=0
Chunk 1157d1c sz= 4144 recreate "Alloc server h " latch=0
ds 1159b50 sz= 17472 ct= 2
1173138 sz= 13328
Chunk 1158d4c sz= 1308 freeable assoc with mark prv=0 nxt=0
Chunk 1159268 sz= 1292 freeable assoc with mark prv=0 nxt=0
Chunk 1159774 sz= 428 freeable assoc with mark prv=0 nxt=0
Chunk 1159920 sz= 132 free " "
Chunk 11599a4 sz= 40 freeable assoc with mark prv=0 nxt=0
Chunk 11599cc sz= 24 freeable assoc with mark prv=0 nxt=0
Chunk 11599e4 sz= 24 freeable assoc with mark prv=0 nxt=0
Chunk 11599fc sz= 444 freeable assoc with mark prv=0 nxt=0
Chunk 1159bb8 sz= 256 freeable assoc with mark prv=0 nxt=0
EXTENT 20
Chunk 10155a8 sz= 13328 freeable "Alloc server h " ds=100ad10
EXTENT 21
Chunk 1005df0 sz= 2336 free " "
Chunk 1006710 sz= 1292 freeable assoc with mark prv=0 nxt=0
Chunk 1006c1c sz= 428 freeable assoc with mark prv=0 nxt=0
Chunk 1006dc8 sz= 3892 freeable "Alloc statemen " ds=1155880
Chunk 1007cfc sz= 4144 freeable "Alloc statemen " ds=1155880
Chunk 1008d2c sz= 4144 recreate "Alloc server h " latch=0
ds 100ad10 sz= 17472 ct= 2
10155a8 sz= 13328
Chunk 1009d5c sz= 1308 freeable assoc with mark prv=0 nxt=0
Chunk 100a278 sz= 1292 freeable assoc with mark prv=0 nxt=0
Chunk 100a784 sz= 428 freeable assoc with mark prv=0 nxt=0
Chunk 100a930 sz= 28 free " "
Chunk 100a94c sz= 104 freeable assoc with mark prv=0 nxt=0
Chunk 100a9b4 sz= 28 freeable assoc with mark prv=0 nxt=0
Chunk 100a9d0 sz= 40 freeable assoc with mark prv=0 nxt=0
Chunk 100a9f8 sz= 104 freeable assoc with mark prv=0 nxt=0
Chunk 100aa60 sz= 28 freeable assoc with mark prv=0 nxt=0
Chunk 100aa7c sz= 96 free " "
Chunk 100aadc sz= 104 freeable assoc with mark prv=0 nxt=0
Chunk 100ab44 sz= 40 free " "
Chunk 100ab6c sz= 40 freeable assoc with mark prv=0 nxt=0
Chunk 100ab94 sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 100aba8 sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 100abbc sz= 444 freeable assoc with mark prv=0 nxt=0
Chunk 100ad78 sz= 256 freeable assoc with mark prv=0 nxt=0
Chunk 100ae78 sz= 20 freeable assoc with mark prv=0 nxt=0
Chunk 100ae8c sz= 20 freeable assoc with mark prv=0 nxt=0
EXTENT 22
Chunk 10029d0 sz= 13328 freeable "Alloc server h " ds=10022d0
EXTENT 23
Chunk 10019b0 sz= 24 perm "perm " alo=24
Chunk 10019c8 sz= 1972 recreate "Alloc server h " latch=0
ds 10022d0 sz= 15300 ct= 2
10029d0 sz= 13328
Chunk 100217c sz= 444 freeable assoc with mark prv=0 nxt=0
Chunk 1002338 sz= 256 freeable assoc with mark prv=0 nxt=0
Chunk 1002438 sz= 104 freeable assoc with mark prv=0 nxt=0
Chunk 10024a0 sz= 1308 freeable assoc with mark prv=0 nxt=0
Total heap size = 283248
FREE LISTS:
Bucket 0 size=272
Chunk 15a1be0 sz= 0 ERROR, BAD SIZE (c0000001)
Bucket 1 size=528
Bucket 2 size=1040
Chunk 15838c0 sz= 8036 free " "
Chunk 15aea78 sz= 8036 free " "
Chunk 158fd08 sz= 8036 free " "
Chunk 1591c80 sz= 8036 free " "
Chunk 1593bf8 sz= 8036 free " "
Chunk 1595b70 sz= 8036 free " "
Chunk 1597ae8 sz= 8036 free " "
Chunk 1599a60 sz= 8036 free " "
Chunk 157da18 sz= 8036 free " "
Chunk 1581948 sz= 8036 free " "
Chunk 1005df0 sz= 2336 free " "
Chunk 11f4260 sz= 12928 free " "
Chunk 11766d8 sz= 12180 free " "
Chunk 153eb28 sz= 7332 free " "
Total free space = 115136
UNPINNED RECREATABLE CHUNKS (lru first):
PERMANENT CHUNKS:
Chunk 10019b0 sz= 24 perm "perm " alo=24
Permanent space = 24
Pike 7.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2520
Memory leak in string operations
2009-04-16T14:11:39Z
Peter Bortas
Memory leak in string operations
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2520
Reported by Serhat Sakarya, <web@sakarya.nl>
This code below generates ever increasing memory usage. I've tested this
for Pike 7.2.30 and Pike 7.2.197 - both give th...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2520
Reported by Serhat Sakarya, <web@sakarya.nl>
This code below generates ever increasing memory usage. I've tested this
for Pike 7.2.30 and Pike 7.2.197 - both give the same problem of increasing
memory usage of about 600kB after each gc().
```
int main()
{
string str;
int i;
while(1) {
for(i=0;i<10000;i++) {
str=(i%1)+"123456789012345";
}
gc();
sleep(1);
}
}
```
The effect seems to depend on:
- Using a variable addition to a string. I've used (i%1) so as to achieve
the same length string every time.
- The length of the string. If one character is added to the constant
string, then there is no problem. Only strings of length <= 16 seem to be
affected.
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2489
Modules can not be clone in some cases
2009-04-16T14:11:39Z
Peter Bortas
Modules can not be clone in some cases
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2489
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Under some conditions Pike is not able to clone some modules. I have only
seen this in hilfe, when accessin...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2489
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Under some conditions Pike is not able to clone some modules. I have only
seen this in hilfe, when accessing an .pmod-module and when there is a
dumped .o-file.
bash-2.03$ /export/d1/nilsson/pike/7.3.11/bin/pike -e 'write("%O\n",
indices(Pr
ogram));'
({ /* 6 elements */
"inherit_list",
"defined",
"all_inherits",
"inherits",
"inherit_tree",
"implements"
})
bash-2.03$ /export/d1/nilsson/pike/7.3.11/bin/pike test.pike
({ /* 6 elements */
"inherit_list",
"defined",
"inherit_tree",
"all_inherits",
"implements",
"inherits"
})
```
bash-2.03$ /export/d1/nilsson/pike/7.3.11/bin/pike
Pike v7.3 release 11 running Hilfe v2.0 (Incremental Pike Frontend)
> Program;
-:1:Error resolving 'Program'.
Attempting to clone an unfinished program
/export/d1/nilsson/pike/7.3.11/lib/master.pike:784:
```
master()->low_cast_to_object("/export/d1/nilsson/pike/7.3.11/lib/modules/P
```
rogram.pmod","/.",Hilfe.StdinHilfe.__class_65665_0_line_47())
/export/d1/nilsson/pike/7.3.11/lib/master.pike:1104:
```
master()->findmodule("/export/d1/nilsson/pike/7.3.11/lib/modules/Program",
```
Hilfe.StdinHilfe.__class_65665_0_line_47())
/export/d1/nilsson/pike/7.3.11/lib/master.pike:1278:
```
master()->resolv_base("Program","-",Hilfe.StdinHilfe.__class_65665_0_line_
```
47())
/export/d1/nilsson/pike/7.3.11/lib/master.pike:1334:
master()->resolv("Program","-",Hilfe.StdinHilfe.__class_65665_0_line_47())
/export/d1/nilsson/pike/7.3.11/lib/master.pike:217:
master()->compile_string("#pragma unpragma_strict_types\n\nmapping
query_v
ariables() { return ([\n\n ]);\n}\n\n# 1\nmixed ___Foo4711() { return
(mi
xed)(Program);
}\n\n","-",Hilfe.StdinHilfe.__class_65665_0_line_47())
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:85:
eval("mixed ___Foo4711() { return (mixed)(Program);
}\n")
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:110:
do_evaluate("mixed ___Foo4711() { return (mixed)(Program);
}\n",1)
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:625:
parse_statement("Program;")
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:402:
do_parse()
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:245:
add_buffer("Program;\n")
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:646:
add_input_line("Program;\n")
/export/d1/nilsson/pike/7.3.11/lib/modules/Tools.pmod/Hilfe.pmod:719:
```
create()
Hilfe: StdinHilfe()
Pike 7.4
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2400
Svalue zapping in GC stage 250
2009-04-16T14:11:39Z
Peter Bortas
Svalue zapping in GC stage 250
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2400
Reported by @grubba
Pike v7.2 release 224, Roxen WebServer 2.2.227
```
Found test file etc/test/tests/rxml/RoxenTest_RXMLTags.xml
/home/grubba/src/Pike/7.2/src/arra...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2400
Reported by @grubba
Pike v7.2 release 224, Roxen WebServer 2.2.227
```
Found test file etc/test/tests/rxml/RoxenTest_RXMLTags.xml
/home/grubba/src/Pike/7.2/src/array.c:2105: Fatal error:
Pike was in GC stage 250 when this fatal occured:
Didn't expect an svalue zapping now.
Attempting to dump backlog (may fail)...
Backtrace at time of fatal:
modules/configuration/roxen_test.pike.FakePrefLang: __INIT()
modules/configuration/roxen_test.pike: RoxenModule(Test server
1/roxen_test#0)->FakePrefLang()
modules/configuration/roxen_test.pike:165: RoxenModule(Test server
1/roxen_test#0)->get_id()
modules/configuration/roxen_test.pike:268: RoxenModule(Test server
1/roxen_test#0)->xml_test(parser.c:176(),([]),"\n<rxml><crypt
co"+[74]+"sult>1</result>\n",mapping[36])
parser.c:208: finish("<!-- ..........."+[29562]+"result>\n</test>\n")
modules/configuration/roxen_test.pike:603: RoxenModule(Test server
1/roxen_test#0)->run_xml_tests("<!--
..........."+[29562]+"result>\n</test>\n")
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 23581, uid: 1053]
stackpointer=FFBEDCA8
"Finalizer" (TID:0x717564, sys_thread_t:0x7174a8, state:CW, thread_t: t@9,
threadID:0xfce41d78, stack_bottom:0xfce42000, stack_size:0x20000) prio=8
[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:106)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:128)
[3] java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:175)
-------------------
"Reference Handler" (TID:0x711e8c, sys_thread_t:0x711dd0, state:CW,
thread_t: t@8, threadID:0xfce71d78, stack_bottom:0xfce72000,
stack_size:0x20000) prio=10
[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:107)
-------------------
"Signal dispatcher" (TID:0x6fd1f4, sys_thread_t:0x6fd138, state:MW,
thread_t: t@7, threadID:0xfd4d1d78, stack_bottom:0xfd4d2000,
stack_size:0x20000) prio=10
-------------------
"main" (TID:0x5e2df4, sys_thread_t:0x5e2d38, state:R, thread_t: t@1,
threadID:0x2b7768, stack_bottom:0xffbf0000, stack_size:0x20000) prio=5
*current thread*
```
-------------------
23581 Abort - core dumped
Pike 7.2
https://git.lysator.liu.se/pikelang/pike/-/issues/2288
SSL.cipher fails to compile on MacOS X.
2020-03-01T14:37:08Z
Peter Bortas
SSL.cipher fails to compile on MacOS X.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2288
Reported by @grubba
```
From: Aaron Shipman <aaron@resolver.co.nz>
To: Henrik Grubbström <grubba@roxen.com>
Date: Thu, 1 Jan 1970 12:14:32 +1200
```
If I Install th...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2288
Reported by @grubba
```
From: Aaron Shipman <aaron@resolver.co.nz>
To: Henrik Grubbström <grubba@roxen.com>
Date: Thu, 1 Jan 1970 12:14:32 +1200
```
If I Install the server offline I am able to browse it slowly from another
machine on the LAN. (But not from Localhost.)
However on restart I cannot.
After a restart I run the ./start script in the server directory.
The default.1 debug log gives me a massive amount of stuff like this
```
12:45:38 : ----------------------------------------------------------
0m 0.0s : Pike v7.2 release 187, Roxen WebServer 2.2.199
: Starting mysql ... Was running 3.23.41 [9.3ms]
: Loading pike modules ...
pike/lib/pike/modules/SSL.pmod/cipher.pike:
125:Bad type in assignment.
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Expected: object(implements
65844
)
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Got : object(is 65847)
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Type of identifier "`()"
does not
match.
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Expected: function(string :
objec
t(is 65848))
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Got : function(string :
objec
t(is 65845))
pike/lib/pike/modules/SSL.pmod/cipher.pike:165:Class definition failed.
pike/lib/pike/modules/SSL.pmod/cipher.pike:182:Class definition failed.
pike/lib/pike/modules/SSL.pmod/cipher.pike:204:Illegal program identifier
pike/lib/pike/modules/SSL.pmod/cipher.pike:204:Illegal program identifier
pike/lib/pike/modules/SSL.pmod/cipher.pike:204:Not a valid program
specifier: 'm
pz'
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Bad type in assignment.
pike/lib/pike/modules/SSL.pmod/cipher.pike:125:Expected: object(implements
65891
).....
Plus pages more
```
I am unable to get it to work either under PPP (when I am connected to the
net) I get the same log on restart.
All works fine connected to the web over TCIP LAN.
But would like to try and get it sorted offline if possible.
NB my registered roxen address is aaron@digitalriver.co.nz
Any suggestions?
Thanks
Aaron
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2264
Problem with varchar2 on Oracle via ODBC on NT
2009-04-16T14:11:39Z
Peter Bortas
Problem with varchar2 on Oracle via ODBC on NT
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2264
Reported by Thomas Svenson, Idonex AB / Sales Engineer <thomass@roxen.com>
When connecting to en Oracle 8.1.7 (Win2000) database via ODBC on another
machine, we only...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2264
Reported by Thomas Svenson, Idonex AB / Sales Engineer <thomass@roxen.com>
When connecting to en Oracle 8.1.7 (Win2000) database via ODBC on another
machine, we only get garbage for VARCHAR2 columns.
We have now also tried it via ODBC to an MS SQL Server 2000) and it has the
same problems with VARCHAR columns.
Example (sThe garbage is from an VARCHAR2(100):
```
odbc://editur:manager@editur2/editur
Member of the Uncategorized database group
ID NOMBRE NOMBRE2 NOMBRE3 NOMBRE4 NOMBRE5
1 ??Ø�¼Ð×?à ����`á Û?ûw?®øwÿÿÿÿpá
ú«\���\L�¾Z?@�9à@����` s
�������rèíL�¾�������??øw��\6����dá
?\â Û?ûwÐ?øwÿÿÿÿ(â
ì?üw\6����6��������Hã
��\DùwêÛ?\?üw�\���dÌÃ������Äá
����Z?@�#ò@�����������������\����í
Tâ
��\`â Û?ûwðÕÿÿÿÿ�â
�����\ÔËejDH�����ZTD�<»
B�Ìe������������ ±¨±'?@� ±¨±/?@� ±?è������� ±���?èÈì?±/?@�����¤ÿ
´]�ømi�ÿÿÿÿ����ÿ±\�|Ðר±Z?@�fô@��������������?èkæE�?è������È?
���� åE�?è¦?@�Èì�������È? å
± ±���` sÂF�Xã /���ÓCùwX\��\/���¸mm0ã
? ��èä Û?ûwDùwÿÿÿÿøä
?üwX\x��)���Ø kàÖ!����hã ?y�� å
Û?ûwDùwÿÿÿÿ0å P?üwg?üw���°å
���ì?üw8\¨~Ëðuº¨~Ëx±À¬h��\�����������\A�������ÿÿÿÿàW³\�
ä
���ÓCùw\��\�������øã ?y��°å
Û?ûwDùwÿÿÿÿÀå P?üwXä ���??øw��\Ø k���4ä ?\èä
Û?ûwÐ?øwÿÿÿÿøä ì?üw8\à kp��¸mmØk\��\°ä
���ÓCùw?\��\ ���p²l?ä ��\@æ Û?ûwDùwÿÿÿÿ�æ
/���?\1���������\)����lùwx��¸mm��èZÔËejDH�����ZTD�<»B�Ìe��������ÿÿÿÿ����
```
NULL
NULL
NULL
NULL
Pike 7.4
https://git.lysator.liu.se/pikelang/pike/-/issues/2250
ODBC-module gets "Too many arguments to big_query".
2009-04-16T14:11:39Z
Peter Bortas
ODBC-module gets "Too many arguments to big_query".
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2250
Reported by @grubba
```
From: Magnus Lindhe <magnus.lindhe@fse.se>
Resent-From: roxen@roxen.com
To: "pike@roxen.com" <pike@roxen.com>
Cc: "roxen@roxen.com" <roxen@ro...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2250
Reported by @grubba
```
From: Magnus Lindhe <magnus.lindhe@fse.se>
Resent-From: roxen@roxen.com
To: "pike@roxen.com" <pike@roxen.com>
Cc: "roxen@roxen.com" <roxen@roxen.com>
Date: Mon, 10 Sep 2001 20:29:45 +0200
Resent-Date: Mon, 10 Sep 2001 20:26:17 +0200 (MEST)
Subject: ODBC/Windows/MS SQL
```
[ The following text is in the "utf-8" character set. ]
[ Your display is set for the "iso-8859-1" character set. ]
[ Some characters may be displayed incorrectly. ]
I created a DSN to the Northwind database that is installed along with
SQL Server 2000.
```
Then I wrote this simple program to test the connection:
---cut---
import Sql;
int main()
{
Sql o;
o = Sql("odbc://northwind");
}
---cut---
```
I get the following errors:
```
C:/Program Files/Roxen Internet
Software/WebServer/server-2.2.198/pike/lib/pike/modules/Sql.pmod/odbc.pi
ke:16:Too many arguments to big_query.
C:/Program Files/Roxen Internet
Software/WebServer/server-2.2.198/pike/lib/pike/modules/Sql.pmod/odbc.pi
ke:16:Expected: function(string : int | object)
C:/Program Files/Roxen Internet
Software/WebServer/server-2.2.198/pike/lib/pike/modules/Sql.pmod/odbc.pi
ke:16:Got : function(string, object(implements 65721) : void |
mixed)
Compilation failed.
```
Can anyone tell me what im doing wrong? I Still can connect to the
Northwind database from Roxen's database configuration, and i'm using
the same connection string as in the example.
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2186
Sort isn't consistent (locale-dependant)
2009-04-16T14:11:39Z
Peter Bortas
Sort isn't consistent (locale-dependant)
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2186
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
bash-2.03$ uname -a
SunOS estonia.roxen.com 5.8 Generic_108529-04 i86pc i386 i86pc
bash-2.03$ pike
Pike...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2186
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
bash-2.03$ uname -a
SunOS estonia.roxen.com 5.8 Generic_108529-04 i86pc i386 i86pc
bash-2.03$ pike
Pike v7.2 release 144 running Hilfe v2.0 (Incremental Pike Frontend)
> sort ( ({ "a.h","aa.h","b.h","ab.h" }) );
Result: ({ /* 4 elements */
"a.h",
"aa.h",
"ab.h",
"b.h"
})
bash-2.04$ uname -a
Linux kryten.roxen.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
bash-2.04$ pike
Pike v7.2 release 108 running Hilfe v2.0 (Incremental Pike Frontend)
> sort ( ({ "a.h","aa.h","b.h","ab.h" }) );
Result: ({ /* 4 elements */
"aa.h",
"ab.h",
"a.h",
"b.h"
})
```
Pike 7.6
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2045
Index 'PCode' not present in module 'RXML'.
2009-04-16T14:11:39Z
Peter Bortas
Index 'PCode' not present in module 'RXML'.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2045
Reported by Tomas Nilsson, exRoxen <tomas.nilsson@roxen.com>
```
0m 0.0s : Pike v7.2 release 155, Roxen WebServer 2.2.156
: Starting mysql ... Done 3.23.3...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2045
Reported by Tomas Nilsson, exRoxen <tomas.nilsson@roxen.com>
```
0m 0.0s : Pike v7.2 release 155, Roxen WebServer 2.2.156
: Starting mysql ... Done 3.23.30-gamma [650.9ms]
: Loading pike modules ... Done [3595.2ms]
: Loading roxen ... etc/modules/roxen.pmod:927:Index 'PCode' not
prese
nt in module 'RXML'.
etc/modules/roxen.pmod:935:Index 'Parser' not present in module 'RXML'.
etc/modules/roxen.pmod:937:Index 'PCode' not present in module 'RXML'.
etc/modules/roxen.pmod:942:Index 'PCode' not present in module 'RXML'.
etc/modules/roxen.pmod:959:Index 'Parser' not present in module 'RXML'.
etc/modules/roxen.pmod:959:Index 'Type' not present in module 'RXML'.
etc/modules/roxen.pmod:967:Index 'Parser' not present in module 'RXML'.
etc/modules/roxen.pmod:2002:Class definition failed.
etc/modules/roxen.pmod:2041:Illegal program pointer.
etc/modules/roxen.pmod:2237:Class definition failed.
etc/modules/roxen.pmod:2656:Class definition failed.
etc/modules/roxen.pmod:2708:Class definition failed.
etc/modules/Roxen.pmod:935:Index 'Parser' not present in module 'RXML'.
etc/modules/Roxen.pmod:959:Index 'Parser' not present in module 'RXML'.
etc/modules/Roxen.pmod:959:Index 'Type' not present in module 'RXML'.
etc/modules/Roxen.pmod:967:Index 'Parser' not present in module 'RXML'.
etc/modules/Roxen.pmod:2002:Class definition failed.
etc/modules/Roxen.pmod:2041:Illegal program pointer.
etc/modules/Roxen.pmod:2237:Class definition failed.
etc/modules/Roxen.pmod:2656:Class definition failed.
etc/modules/Roxen.pmod:2708:Class definition failed.
etc/modules/Roxen.pmod:2719:Class definition failed.
etc/modules/Roxen.pmod:2798:Illegal program pointer.
etc/modules/Roxen.pmod:2896:Class definition failed.
etc/modules/Roxen.pmod:2899:Illegal program pointer.
etc/modules/Roxen.pmod:2979:Class definition failed.
etc/modules/Variable.pmod/module.pmod:59:Failed to index module 'Roxen'
with 'ma
ke_container' (module doesn't exist?)
etc/modules/Variable.pmod/module.pmod:182:Class definition failed.
etc/modules/Variable.pmod/module.pmod:601:Class definition failed.
etc/modules/Variable.pmod/module.pmod:613:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:682:Class definition failed.
etc/modules/Variable.pmod/module.pmod:694:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:746:Class definition failed.
etc/modules/Variable.pmod/module.pmod:755:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:775:Class definition failed.
etc/modules/Variable.pmod/module.pmod:783:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:842:Class definition failed.
etc/modules/Variable.pmod/module.pmod:852:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:878:Class definition failed.
etc/modules/Variable.pmod/module.pmod:883:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:906:Class definition failed.
etc/modules/Variable.pmod/module.pmod:911:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:924:Class definition failed.
etc/modules/Variable.pmod/module.pmod:929:Cannot inherit program which is
not fu
lly compiled yet.
etc/modules/Variable.pmod/module.pmod:937:Class definition failed.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:5:Index 'Variable'
not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:10:Index 'Variable
' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:15:Index 'Variable
' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:57:Index 'Variable
' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:75:Index 'Variable
' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:87:Index 'Variable
' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:92:Index 'String'
not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:98:Index 'File' no
t present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:104:Index 'Int' no
t present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:110:Index 'Directo
ry' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/basic_defvar.pike:117:Index 'StringC
hoice' not present in module 'Variable'.
/test/pf-2.2.156/server-
2.2.156/base_server/global_variables.pike:12:Couldn't ca
st string "basic_defvar" to program
/test/pf-2.2.156/server-
2.2.156/base_server/global_variables.pike:12:Illegal pro
gram pointer.
/test/pf-2.2.156/server-
2.2.156/base_server/global_variables.pike:197:Illegal pr
ogram pointer.
/test/pf-2.2.156/server-2.2.156/base_server/global_variables.pike:201:Must
retur
n a value for a non-void function.
/test/pf-2.2.156/server-
2.2.156/base_server/global_variables.pike:206:Class defi
nition failed.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:24:Couldn't cast
string "
global_variables" to program
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:24:Illegal program
pointe
r.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:515:Failed to
index
module 'Roxen' with 'is_modified' (module doesn't exist?)
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:622:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:636:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:660:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:665:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:669:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:692:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:710:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:717:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:722:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/disk_cache.pike:728:Must
return a va
lue for a non-void function.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:29:Couldn't cast
string "
disk_cache" to program
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:29:Illegal program
pointe
r.
base_server/basic_defvar.pike:5:Index 'Variable' not present in
module 'Variable
'.
base_server/basic_defvar.pike:10:Index 'Variable' not present in
module 'Variabl
e'.
base_server/basic_defvar.pike:15:Index 'Variable' not present in
module 'Variabl
e'.
base_server/basic_defvar.pike:57:Index 'Variable' not present in
module 'Variabl
e'.
base_server/basic_defvar.pike:75:Index 'Variable' not present in
module 'Variabl
e'.
base_server/basic_defvar.pike:87:Index 'Variable' not present in
module 'Variabl
e'.
base_server/basic_defvar.pike:92:Index 'String' not present in
module 'Variable'
.
base_server/basic_defvar.pike:98:Index 'File' not present in
module 'Variable'.
base_server/basic_defvar.pike:104:Index 'Int' not present in
module 'Variable'.
base_server/basic_defvar.pike:110:Index 'Directory' not present in
module 'Varia
ble'.
base_server/basic_defvar.pike:117:Index 'StringChoice' not present in
module 'Va
riable'.
/test/pf-2.2.156/server-
2.2.156/base_server/module_support.pike:96:Couldn't cast
string "basic_defvar" to program
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:96:Illegal
progr
am pointer.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:140:Class
defini
tion failed.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:174:Cannot
inher
it program which is not fully compiled yet.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:185:Class
defini
tion failed.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:191:Class
defini
tion failed.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:234:Cannot
inher
it program which is not fully compiled yet.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:256:Class
defini
tion failed.
/test/pf-2.2.156/server-2.2.156/base_server/module_support.pike:455:Class
defini
tion failed.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:32:Couldn't cast
string "
module_support" to program
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:32:Illegal program
pointe
r.
/test/pf-2.2.156/server-
2.2.156/base_server/config_userdb.pike:131:Couldn't cast
string "basic_defvar" to program
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:131:Illegal
progr
am pointer.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:134:Illegal
progr
am pointer.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:188:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:219:Illegal
progr
am pointer.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:233:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:325:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:500:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:686:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:802:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/config_userdb.pike:817:Class
definit
ion failed.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:33:Couldn't cast
string "
config_userdb" to program
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:33:Illegal program
pointe
r.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:346:Class
definition fail
ed.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:367:Class
definition fail
ed.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:375:Class
definition fail
ed.
/test/pf-2.2.156/server-2.2.156/base_server/roxen.pike:429:Must return a
value f
or a non-void function.
ERROR
: Compilation failed.
15:35:09 : Roxen loader failed:
0m 7.8s : Compilation failed.
:
```
E:\test\pf-2.2.156>
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/1827
Postgres module does not compile --without-threads
2009-04-16T14:11:39Z
Peter Bortas
Postgres module does not compile --without-threads
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1827
Reported by Fredrik Hubinette, Idonex <hubbe@hubbe.net>
Postgres module does use ifdefs and provided defines to
NOT use mutexes when compiled --without-threads which...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1827
Reported by Fredrik Hubinette, Idonex <hubbe@hubbe.net>
Postgres module does use ifdefs and provided defines to
NOT use mutexes when compiled --without-threads which causes
it not to compile.
Pike 7.2
https://git.lysator.liu.se/pikelang/pike/-/issues/1780
Java module(?) trigs coredump.
2009-04-16T14:11:39Z
Peter Bortas
Java module(?) trigs coredump.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1780
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
This is what happens when I start a new WebServer 2.2 with new Pike 7.2 and
press on the add module button ...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1780
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
This is what happens when I start a new WebServer 2.2 with new Pike 7.2 and
press on the add module button in the administration interface.
```
bash-2.03$ ./debugstart --gdb
: Maximum number of open FDs: 1024
: Executing gdb /home/nilsson/Roxen/2.2/server/bin/roxen
-DMODULE_DEBUG -DRAM_CACHE -DENABLE_THREADS -DYES_I_KNOW_WHAT_I_AM_DOING
-M/home/nilsson/Roxen/2.2/server/etc/modules
-I/home/nilsson/Roxen/2.2/server/etc/include
-I/home/nilsson/Roxen/2.2/server/base_server
-P/home/nilsson/Roxen/2.2/server -w base_server/roxenloader.pike
--no-delayed-load
GNU gdb 20000110
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.7"...
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
[New LWP 5]
19:02:59 : ----------------------------------------------------------
0m 0.0s : Pike v7.2 release 81, Roxen WebServer 2.2.109
: Starting mysql ... Was running 3.23.27-beta [467.5ms]
: Loading pike modules ... Done [1403.3ms]
: Loading roxen ... Notice: Dumping failed for
etc/modules/Roxen.pmod (not a bug)
: Notice: Dumping failed for server/base_server/roxen.pike (not a
bug)
19:03:05 : Notice: Dumping failed for
server/base_server/configuration.pike (not a bug)
0m 5.9s : Done [3725.4ms]
: Loading font handlers ...
: Image directory fonts (bitmap)
: Builtin fonts (scalable)
: Image TAR-file fonts (bitmap)
19:03:05 : Compact image file font (bitmap)
0m 6.1s : Compatibility bitmap fonts (bitmap)
: FreeType fonts (scalable)
: Done [67.8ms]
: Adding languages ... Done [71.20ms]
: Initiating argument cache ... Done [89.66ms]
19:03:05 : Protocol handlers ... fhttp hilfe ftp tetris http [4.4ms]
0m 6.3s : Searching for pike-modules directories ... Done [1167ms]
:
: Enabling the configuration sb ...
: Registered http://*:12321/ for sb
: Enabled sb in 214.2ms
19:03:07 :
0m 7.7s : Enabling the configuration Administration Interface ...
: Registered http://*:12322/ for Administration Interface
: Enabled Administration Interface in 61.1ms
:
: Enabling all modules for sb...
19:03:07 : Tags: Javascript Support ... OK 63.6ms
0m 7.9s : SiteBuilder: XSLTransform ... OK 85.9ms
: SiteBuilder: Work Area Filesystem ... [dontdump] OK
6769.1ms
: SiteBuilder: Templates ... OK 40.5ms
: URL Rectifier ... OK 28.7ms
: SiteBuilder: Main module ... [dontdump] [
adding req modules
19:03:14 : Access Control: Main module ... [ adding req
modules
0m15.0s : Graphics: Tab list ... OK 9.0ms
: Graphics: Graphic text ... OK 38.3ms
: Access Control: Internal password ... OK 89.1ms
: Access Control: Cookie HTTP authentication ... OK 15.8ms
: Access Control: Basic HTTP and FTP authentication... OK
13.1ms
19:03:14 : ] OK 420.7ms
0m15.4s : ]
: Initializing in storage: /home/nilsson/Roxen/2.2/sb.sb/
: OK 2519.0ms
: Tags: RXML 2 tags ...
: Notice: Dumping failed for modules/tags/rxmltags.pike (not a
bug)
19:03:18 : [nodump] OK 1154.6ms
0m18.5s : Preferred Language Analyzer ... OK 304.7ms
: Navigation ... OK 26.0ms
: Graphics: GButton ... OK 51.6ms
: SiteBuilder: Content Editor ... [dontdump] OK
1409.1ms
: Graphics: Image converter ... OK 13.8ms
19:03:19 : Tags: Verified form ... OK 263.2ms
0m20.6s : Tags: SQL tags ... OK 66.7ms
: SiteBuilder: Tags 2.0 ... [dontdump] OK
425.2ms
: Tags: RXML 2 parser ...
: Notice: Dumping failed for modules/tags/rxmlparse.pike (not a
bug)
: [nodump] OK 163.7ms
19:03:20 : Directory Listings ... OK 31.0ms
0m21.3s : Tags: Translation module ... OK 11.9ms
: Graphics: Business graphics ... OK 104.3ms
: Tags: HTML color wiretap ... OK 11.5ms
: Tags: Tablify ... OK 10.5ms
: Tags: Outlined box ... OK 12.3ms
19:03:20 : Tags: HTML washer ... OK 23.3ms
0m21.4s : All modules for sb enabled in 13.7 seconds
:
:
: Enabling all modules for Administration Interface...
: Tags: Javascript Support ... OK 3.7ms
19:03:21 : Tags: RXML 2 tags ... OK 18.8ms
0m21.5s : Scripting: Path info support ... OK 6.4ms
: Index files only ... OK 7.0ms
: Graphics: GButton ... OK 3.9ms
: Graphics: Image converter ... OK 4.2ms
: Configuration Filesystem ...
19:03:21 : Failed to open the documentation tar-file.
0m21.6s : Authentication: Password ... OK 7.2ms
: OK 58.4ms
: Tags: RXML 2 parser ... OK 2.6ms
: Scripting: Pike script support ... OK 7.8ms
: Tags: Administration interface tags ... OK 26.5ms
19:03:21 : Authentication: Password ... OK 19.8ms
0m21.6s : Tags: Translation module ... OK 3.1ms
: Update client ... OK 20.4ms
: Graphics: Tab list ... OK 5.5ms
: Graphics: Graphic text ... OK 9.4ms
: Content types ... OK 67.7ms
19:03:21 : All modules for Administration Interface enabled in 0.3 seconds
0m21.8s :
: Starting 5 threads to handle requests.
: -- Total boot time 21.8 seconds ---------------------------
:
: ** 2001-06-20 19:03 pid: 25987 ppid: 25985 uid: nilsson
19:03:21 :
[New LWP 6]
[New LWP 7]
[New LWP 8]
0m22.9s : Prefetch done for work area "Main" in "sb", took: 00:00:07.
: Administrator logged on as admin from estonia.roxen.com
(194.52.182.169).
: Searching for pike-modules directories ... Done [0ms]
: Searching for roxen modules ... trying to register nonexistant
function
Unknown program:
create(({({"getVar","(Ljava/lang/Stri"+[24]+"ava/lang/Object;",native_get_var}),({"setVar","(Ljava/lang/Stri"+[42]+"ava/lang/Object;",native_set_var}),({"deleteVar","(Ljava/lang/String;Ljava/lang/String;)V",native_delete_var}),({"userGetVar","(Ljava/lang/Stri"+[24]+"ava/lang/Object;",native_user_get_var}),({"userSetVar","(Ljava/lang/Stri"+[42]+"ava/lang/Object;",native_user_set_var}),({"userDeleteVar","(Ljava/lang/String;Ljava/lang/String;)V",native_user_delete_var}),({"tagDebug","(Ljava/lang/String;)V",native_tag_debug})}),object)
Unknown program: register_natives()
etc/modules/JavaModule.pmod:854: create()
/export/d1/nilsson/pike/7.2.81/lib/master.pike:664:
master()->low_cast_to_object("/home/nilsson/Ro"+[26]+"/JavaModule.pmod","/.",0)
/export/d1/nilsson/pike/7.2.81/lib/master.pike:920:
master()->findmodule("/home/nilsson/Ro"+[21]+"dules/JavaModule",0)
/export/d1/nilsson/pike/7.2.81/lib/master.pike:1088:
master()->resolv_base("JavaModule","/home/nilsson/Ro"+[26]+"/javamodule.pike",0)
/export/d1/nilsson/pike/7.2.81/lib/master.pike:1132:
master()->resolv("JavaModule","/home/nilsson/Ro"+[26]+"/javamodule.pike",0)
/export/d1/nilsson/pike/7.2.81/lib/master.pike:199:
master()->compile_file("/home/nilsson/Ro"+[26]+"/javamodule.pike",0)
etc/roxen_master.pike:604:
master()->low_findprog("/home/nilsson/Ro"+[21]+"erver/javamodule",".pike",base_server/roxenloader.pike.ErrorContainer())
/export/d1/nilsson/pike/7.2.81/lib/master.pike:464:
master()->findprog("/home/nilsson/Ro"+[21]+"erver/javamodule",".pike",0)
/export/d1/nilsson/pike/7.2.81/lib/master.pike:507:
master()->cast_to_program("javamodule","/home/nilsson/Ro"+[30]+"ule_support.pike",0)
base_server/module_support.pike:261:
ModuleInfo(JavaReflector)->instance(0,1)
base_server/module_support.pike:339:
ModuleInfo(JavaReflector)->init_module("modules/examples/JavaReflector.class")
base_server/module_support.pike:392:
ModuleInfo(JavaReflector)->rec_find_module("JavaReflector","modules/examples/")
base_server/module_support.pike:402:
ModuleInfo(JavaReflector)->find_module("JavaReflector")
base_server/module_support.pike:413: ModuleInfo(JavaReflector)->check(0)
base_server/module_support.pike:581: roxen->find_module("JavaReflector",1)
base_server/module_support.pike:536: roxen->all_modules()
config_interface/sites/add_module.pike:504:
page_really_compact(@0=RequestID())
config_interface/sites/add_module.pike:675: parse(@0)
modules/scripting/pikescript.pike:129: RoxenModule(Administration
Interface/pikescript#0)->call_script(@1=parse,@0,@2=Stdio.File("config_interface/sites/add_module.pike",
"r", 777 /* fd=21 */))
modules/scripting/pikescript.pike:249: RoxenModule(Administration
Interface/pikescript#0)->handle_file_extension(@2,"pike",@0)
base_server/configuration.pike:1587: Configuration(Administration
Interface)->low_get_file(@0,0)
base_server/configuration.pike:1688: Configuration(Administration
Interface)->get_file(@0,0,0)
base_server/configuration.pike:1656: Configuration(Administration
Interface)->handle_request(@0)
protocols/http.pike:1858: RequestID()->handle_request()
base_server/roxen.pike:550: roxen->handler_thread(2)
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 5]
j86CreatePatch () at /home/nilsson//Pike/7.2/src/modules/Java/jvm.c:1948
warning: Source file is more recent than executable.
1948 }
(gdb) bt
#0 j86CreatePatch () at
/home/nilsson//Pike/7.2/src/modules/Java/jvm.c:1948
#1 0x80cc77b in low_destruct (o=0x883e0b8, do_free=1)
at /home/nilsson//Pike/7.2/src/object.c:581
#2 0x80cc961 in destruct (o=0x883e0b8)
at /home/nilsson//Pike/7.2/src/object.c:632
#3 0x80cca68 in schedule_really_free_object (o=0x883e0b8)
at /home/nilsson//Pike/7.2/src/object.c:727
#4 0x80f6879 in debug_free_svalues (s=0x8bbaf90, num=5, type_hint=65535)
at /home/nilsson//Pike/7.2/src/svalue.c:286
#5 0x808c1ae in really_free_array (v=0x8bbaf78)
at /home/nilsson//Pike/7.2/src/array.c:135
#6 0x80f6879 in debug_free_svalues (s=0x8bb7a48, num=27, type_hint=257)
at /home/nilsson//Pike/7.2/src/svalue.c:286
#7 0x808c1ae in really_free_array (v=0x8bb7a30)
at /home/nilsson//Pike/7.2/src/array.c:135
#8 0x80f6879 in debug_free_svalues (s=0x8bb2fe8, num=2, type_hint=32767)
at /home/nilsson//Pike/7.2/src/svalue.c:286
#9 0x808c1ae in really_free_array (v=0x8bb2fd0)
at /home/nilsson//Pike/7.2/src/array.c:135
#10 0x8071d99 in mega_apply (type=APPLY_LOW, args=-1, arg1=0x8286528,
arg2=0x21) at /home/nilsson//Pike/7.2/src/interpret.c:1412
#11 0x8072897 in call_handle_error ()
at /home/nilsson//Pike/7.2/src/interpret.c:1487
---Type <return> to continue, or q <return> to quit---
#12 0x8072b95 in safe_apply_low (o=0x8286528, fun=65, args=3)
at /home/nilsson//Pike/7.2/src/interpret.c:1556
#13 0x80e5e8f in find_module_identifier (ident=0x8ac45cc, see_inherit=1)
at /home/nilsson//Pike/7.2/src/program.c:432
#14 0x8068f23 in yyparse () at /i/bison/1.28/share/bison.simple:3089
#15 0x80ea455 in compile (prog=0x8922870, handler=0x0, major=-1, minor=-1)
at /home/nilsson//Pike/7.2/src/program.c:3389
#16 0x810bdcc in f_compile (args=4)
at /home/nilsson//Pike/7.2/src/builtin_functions.c:3181
#17 0x80721cd in mega_apply (type=APPLY_SVALUE, args=4, arg1=0x828adbc,
arg2=0x0) at /home/nilsson//Pike/7.2/src/interpret.c:995
#18 0x806bf82 in eval_instruction (pc=0x8287fa3 "\"\001\001]\0177hG")
at /home/nilsson/Pike/7.2/src/interpreter.h:1479
#19 0x80724e8 in mega_apply (type=APPLY_LOW, args=2, arg1=0x8286528,
arg2=0xf)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#20 0x807116f in eval_instruction (pc=0x82a2cac "i\003zd\bv9")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#21 0x8072765 in o_catch (pc=0x82a2ca8 "G\005¢\017i\003zd\bv9")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#22 0x806d3bf in eval_instruction (pc=0x82a2ca4 "\013")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#23 0x80724e8 in mega_apply (type=APPLY_LOW, args=3, arg1=0x8286528,
arg2=0x1e)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
---Type <return> to continue, or q <return> to quit---
#24 0x807116f in eval_instruction (pc=0x8288293 "\"M")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#25 0x80724e8 in mega_apply (type=APPLY_LOW, args=3, arg1=0x8286528,
arg2=0x1f)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#26 0x807116f in eval_instruction (pc=0x8288331 "d\a'D3M\a7t\022")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#27 0x80724e8 in mega_apply (type=APPLY_LOW, args=3, arg1=0x8286528,
arg2=0x20)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#28 0x80cfc0e in o_cast (type=0x825ef84, run_time_type=5)
at /home/nilsson//Pike/7.2/src/opcodes.c:449
#29 0x80cffb9 in f_cast () at /home/nilsson//Pike/7.2/src/opcodes.c:655
#30 0x8070ca5 in eval_instruction (pc=0x847dbfa "H")
at /home/nilsson/Pike/7.2/src/interpreter.h:1340
#31 0x8072765 in o_catch (
pc=0x847dbd5 "D\001D\001\237\220\006:\234?\005\030\024")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#32 0x806d3bf in eval_instruction (pc=0x847dbd1 "<")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#33 0x80724e8 in mega_apply (type=APPLY_LOW, args=2, arg1=0x8949b88,
arg2=0xc)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#34 0x807116f in eval_instruction (pc=0x847dd37 "d\001w\017")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#35 0x8072765 in o_catch (pc=0x847dd32 "o78¢\fd\001w\017")
---Type <return> to continue, or q <return> to quit---
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#36 0x806d3bf in eval_instruction (pc=0x847dd2e "9")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#37 0x80724e8 in mega_apply (type=APPLY_LOW, args=1, arg1=0x8949b88,
arg2=0x11)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#38 0x807116f in eval_instruction (pc=0x847df5f "v\005")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#39 0x8072765 in o_catch (pc=0x847dea7 "S\004H\003 ")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#40 0x806d3bf in eval_instruction (pc=0x847dea3 "Ã")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#41 0x80713ff in eval_instruction (pc=0x847ddee "\223")
at /home/nilsson/Pike/7.2/src/interpreter.h:1571
#42 0x8072765 in o_catch (pc=0x847ddb8 "S\004H\003 ")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#43 0x806d3bf in eval_instruction (pc=0x847ddb4 "Ä")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#44 0x80724e8 in mega_apply (type=APPLY_LOW, args=2, arg1=0x8949b88,
arg2=0x13)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#45 0x807116f in eval_instruction (pc=0x847df85 "v\005")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#46 0x80724e8 in mega_apply (type=APPLY_LOW, args=1, arg1=0x8949b88,
arg2=0x14)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
---Type <return> to continue, or q <return> to quit---
#47 0x807116f in eval_instruction (
pc=0x847e040
"\"$\177/home/nilsson/Roxen/2.2/server/base_server/module_support.pike") at
/home/nilsson/Pike/7.2/src/interpreter.h:1458
#48 0x80724e8 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#49 0x806d537 in eval_instruction (pc=0x847c3ac "w\013")
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#50 0x80724e8 in mega_apply (type=APPLY_SVALUE, args=2, arg1=0xddf902a8,
arg2=0x0) at /home/nilsson//Pike/7.2/src/interpret.c:1324
#51 0x8072e68 in apply_svalue (s=0xddf902a8, args=2)
at /home/nilsson//Pike/7.2/src/interpret.c:1640
#52 0x81125b3 in f_map (args=3)
at /home/nilsson//Pike/7.2/src/builtin_functions.c:6519
#53 0x80721cd in mega_apply (type=APPLY_SVALUE, args=3, arg1=0x847ccd4,
arg2=0x0) at /home/nilsson//Pike/7.2/src/interpret.c:995
#54 0x806bfe2 in eval_instruction (
pc=0x847c2b5 "oD \017+o8\017&\210i\002n\225!\0024H\002\0202>\e¤.H")
at /home/nilsson/Pike/7.2/src/interpreter.h:1484
#55 0x80724e8 in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#56 0x806d537 in eval_instruction (
pc=0x8adcebd
"i\003¥,nG\003\226;4B1\017-H\003\017$?\ti\004S\005ln?\026¤\037\001;\002?\027\017
>\026¤\037\001;\021?g\017 H")
---Type <return> to continue, or q <return> to quit---
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#57 0x80724e8 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#58 0x806d537 in eval_instruction (pc=0x8add293 "\"")
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#59 0x80724e8 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#60 0x806d537 in eval_instruction (pc=0x8a6b145 "i\003zi\004H\006\022\b")
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#61 0x8072765 in o_catch (pc=0x8a6b140 "G")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#62 0x806d3bf in eval_instruction (pc=0x8a6b13c "\f")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#63 0x80724e8 in mega_apply (type=APPLY_LOW, args=3, arg1=0x8a69ca8,
arg2=0x65)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#64 0x807116f in eval_instruction (pc=0x8a6b30b "p\001d\006\017\016v\006")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#65 0x80724e8 in mega_apply (type=APPLY_STACK, args=3, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#66 0x806d537 in eval_instruction (pc=0x856aadf "i\aS\003H\a\022_")
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#67 0x80724e8 in mega_apply (type=APPLY_LOW, args=2, arg1=0x8478150,
arg2=0x4c)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
---Type <return> to continue, or q <return> to quit---
#68 0x807116f in eval_instruction (pc=0x856ad83 "i\004D´/\a")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#69 0x80724e8 in mega_apply (type=APPLY_LOW, args=3, arg1=0x8478150,
arg2=0x4d)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#70 0x807116f in eval_instruction (pc=0x856ac92 "d\002\017%w?")
at /home/nilsson/Pike/7.2/src/interpreter.h:1458
#71 0x80724e8 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#72 0x806d537 in eval_instruction (pc=0x8aad249 "hzd")
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#73 0x8072765 in o_catch (pc=0x8aad23f "]4oD \226ø¤;4hzd")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#74 0x806d3bf in eval_instruction (pc=0x8aad23b "\020")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#75 0x80724e8 in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#76 0x806d537 in eval_instruction (pc=0x852f218 "S\001\001]0`lt;")
at /home/nilsson/Pike/7.2/src/interpreter.h:1491
#77 0x8072765 in o_catch (pc=0x852f1ed "n\001D*\226\0134d\001\017\037v+")
at /home/nilsson//Pike/7.2/src/interpret.c:1458
#78 0x806d3bf in eval_instruction (pc=0x852f1e9 "©")
at /home/nilsson/Pike/7.2/src/interpreter.h:856
#79 0x80724e8 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
---Type <return> to continue, or q <return> to quit---
at /home/nilsson//Pike/7.2/src/interpret.c:1324
#80 0x80727c5 in f_call_function (args=2)
at /home/nilsson//Pike/7.2/src/interpret.c:1473
#81 0x80f364e in new_thread_func (data=0x8a8e148)
at /home/nilsson//Pike/7.2/src/threads.c:638
(gdb)
```
Pike 7.2
Marcus Comstedt
Marcus Comstedt
https://git.lysator.liu.se/pikelang/pike/-/issues/1777
Weak multisets fail to store objects properly
2009-04-16T14:11:39Z
Peter Bortas
Weak multisets fail to store objects properly
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1777
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
As shown below, the weak multiset stores the object only after the
second try. Not after the f...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1777
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
As shown below, the weak multiset stores the object only after the
second try. Not after the first try which it's supposed to. (A
reference to the object is always kept in the 'o' variable.)
```
Pike v7.2 release 86 running Hilfe v2.0 (Incremental Pike Frontend)
> multiset m = set_weak_flag((<>), 1);
Result: (< >)
> object o = (class{})();
Result: object
> m[o] = 1;
Result: 1
> m;
Result: (< >)
> m[o] = 1;
Result: 1
> m;
Result: (< /* 1 element */
object
>)
> o;
Result: object
```
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/1704
SSL module indexing the NULL-value
2020-03-01T12:57:45Z
Peter Bortas
SSL module indexing the NULL-value
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1704
Reported by Pär Svensson, Roxen IS <noy@lysator.liu.se>
In some circumstances the SSL module is trying to do a write() on a
stdio.File object that is NULL. The behav...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1704
Reported by Pär Svensson, Roxen IS <noy@lysator.liu.se>
In some circumstances the SSL module is trying to do a write() on a
stdio.File object that is NULL. The behavior is observed to happend in
blocking mode. Probably just some more errorchecking is needed in
sslfile.pike.
Pike 7.4
https://git.lysator.liu.se/pikelang/pike/-/issues/1561
Image.AVS.decode dumps core in testsuite
2009-04-16T14:11:39Z
Peter Bortas
Image.AVS.decode dumps core in testsuite
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1561
Reported by Mirar , Idonex Heavy Industries <mirar@roxen.com>
chapter: encoding/decoding
test: Image.PNM.encode/decode...ok
test: Image.GIF.encode/decode...ok
...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1561
Reported by Mirar , Idonex Heavy Industries <mirar@roxen.com>
chapter: encoding/decoding
test: Image.PNM.encode/decode...ok
test: Image.GIF.encode/decode...ok
test: Image.GIF.encode/decode colortable ...ok
test: Image.GIF.encode/decode colortable w/ floyd-steinberg...ok
test: Image.AVS.encode/decode ...
```
Program received signal SIGSEGV, Segmentation fault.
0x40416bd5 in image_avs_f__decode (args=1)
at /home/mirar/pike/src/modules/Image/encodings/avs.c:86
86 ((struct image *)io->storage)->img[c] = pix;
(gdb) bt
#0 0x40416bd5 in image_avs_f__decode (args=1)
at /home/mirar/pike/src/modules/Image/encodings/avs.c:86
#1 0x40416dbc in image_avs_f_decode (args=1)
at /home/mirar/pike/src/modules/Image/encodings/avs.c:99
#2 0x8080e91 in mega_apply (type=APPLY_SVALUE, args=1, arg1=0x83e02b4,
arg2=0x0) at /home/mirar/pike/src/interpret.c:1235
#3 0x807d5ad in eval_instruction_without_debug (pc=0x83ddae1 "H")
at /home/mirar/pike/src/interpreter.h:1569
#4 0x80819dc in o_catch (pc=0x83ddacc "n:d:d\017\b\232?:+ªi")
at /home/mirar/pike/src/interpret.c:805
#5 0x80777bf in eval_instruction_without_debug (pc=0x83ddac8 "(")
at /home/mirar/pike/src/interpreter.h:904
#6 0x8080ffa in mega_apply (type=APPLY_LOW, args=0, arg1=0x8335a94,
arg2=0x38)
at /home/mirar/pike/src/interpret.c:805
#7 0x807d38a in eval_instruction_without_debug (
pc=0x83de450
"p§9p§:p§;p§<p§=p§>p§?p§@p§Ap§Bp§Cp§Dp§Ep§Fp§Gp§Hp§Ip§Jp§Kn>\fD") at
/home/mirar/pike/src/interpreter.h:1542
#8 0x8080ffa in mega_apply (type=APPLY_LOW, args=0, arg1=0x8335a94,
arg2=0x4c)
at /home/mirar/pike/src/interpret.c:805
#9 0x807d38a in eval_instruction_without_debug (pc=0x83de4cc "n>ÓD")
at /home/mirar/pike/src/interpreter.h:1542
#10 0x8080ffa in mega_apply (type=APPLY_LOW, args=0, arg1=0x8335a94,
arg2=0x4d)
at /home/mirar/pike/src/interpret.c:805
#11 0x807d38a in eval_instruction_without_debug (pc=0x83de4e7 "n>ÕD")
at /home/mirar/pike/src/interpreter.h:1542
#12 0x8080ffa in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/mirar/pike/src/interpret.c:805
#13 0x807d5ad in eval_instruction_without_debug (pc=0x839a4fc
"d\0036\024\b")
at /home/mirar/pike/src/interpreter.h:1569
#14 0x8080ffa in mega_apply (type=APPLY_LOW, args=2, arg1=0x8335bb4,
arg2=0x4c)
at /home/mirar/pike/src/interpret.c:805
#15 0x8082697 in apply (o=0x8335bb4, fun=0x81d1559 "_main", args=2)
at /home/mirar/pike/src/interpret.c:1614
#16 0x80e246e in Return () at /home/mirar/pike/src/main.c:607
(gdb) list
81 rgb_group pix, apix;
82 apix.r = apix.g = apix.b = q[c*4+8];
83 pix.r = q[c*4+9];
84 pix.g = q[c*4+10];
85 pix.b = q[c*4+11];
86 ((struct image *)io->storage)->img[c] = pix;
87 ((struct image *)ao->storage)->img[c] = apix;
88 }
89 pop_n_elems(args);
90 push_constant_text("image");
(gdb) p io
$1 = (struct object *) 0x8335adc
(gdb) p *((struct image *)io->storage)
$3 = {img = 0x839c9b0, xsize = 100, ysize = 100, rgb = {r = 0 '\000',
g = 0 '\000', b = 0 '\000'}, alpha = 0 '\000'}
(gdb) p c
$4 = 1
(gdb) p *((struct image *)ao->storage)
$6 = {img = 0x83ea0e0, xsize = 100, ysize = 100, rgb = {r = 0 '\000',
g = 0 '\000', b = 0 '\000'}, alpha = 0 '\000'}
```
Pike 7.4
https://git.lysator.liu.se/pikelang/pike/-/issues/1520
php modules compile in pike 7.2, 7.3 error:
2009-04-16T14:11:39Z
Peter Bortas
php modules compile in pike 7.2, 7.3 error:
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1520
Reported by Thomas Lau, N/A <lkthomas@hkicable.com>
Hi, I try to compile pike 7.2 and 7.3, work fine in compile
processing, but can not start pike script ( roxen cha...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1520
Reported by Thomas Lau, N/A <lkthomas@hkicable.com>
Hi, I try to compile pike 7.2 and 7.3, work fine in compile
processing, but can not start pike script ( roxen chat client ), so I
point /usr/local/bin/pike back to 7.0.xx, the program work fine again
next, I am going to compile php modules for roxen and pike, 7.0.xx --->
anything work fine, no error happened
7.2,7.3 got error.h not found msg when I compile php modules, why?
please test it if you can
7.0xx, 7.2, 7.3 are cvs version
using FreeBSD 4.2
Thanks
Pike 7.2
https://git.lysator.liu.se/pikelang/pike/-/issues/1420
Pike 7.2 fails to build after fresh CVS fetch on Redhat 6.2 Dell Dual-Process...
2009-04-16T14:11:39Z
Peter Bortas
Pike 7.2 fails to build after fresh CVS fetch on Redhat 6.2 Dell Dual-Processor P3 system.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1420
Reported by Barry Treahy, Midwest Microwave <treahy@mmaz.com>
This has been briefly discussed on the Roxen mailing list.
Pike 7.2 will not build on my system (see s...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1420
Reported by Barry Treahy, Midwest Microwave <treahy@mmaz.com>
This has been briefly discussed on the Roxen mailing list.
Pike 7.2 will not build on my system (see summary). I have tried different
approaches, and the build still fails with:
```
make[1]: Leaving directory `/isrc/roxen.com/cvs/Pike/7.2/src/modules'
Creating ./hilfe...
Done.
make post_modules
make[1]: Entering directory `/isrc/roxen.com/cvs/Pike/7.2/src'
Compiling module.c
./precompile.sh precompile.pike
>"/isrc/roxen.com/cvs/Pike/7.2/src/builtin.c" "/
isrc/roxen.com/cvs/Pike/7.2/src/builtin.cmod" || { rm
"/isrc/roxen.com/cvs/Pike/
7.2/src/builtin.c"; exit 1; }
precompile: /isrc/roxen.com/cvs/Pike/7.2/src/pike -DNOT_INSTALLED
-m/isrc/roxen.
com/cvs/Pike/7.2/src/master.pike ././precompile.pike
/isrc/roxen.com/cvs/Pike/7
.2/src/builtin.cmod (method=Q)
./precompile.sh: /isrc/roxen.com/cvs/Pike/7.2/src/pike: No such file or
director
y
precompile: /isrc/roxen.com/cvs/Pike/7.2/src/tpike -DNOT_INSTALLED
-m/isrc/roxen
.com/cvs/Pike/7.2/src/master.pike ./././precompile.pike
/isrc/roxen.com/cvs/Pik
e/7.2/src/builtin.cmod (method=QQ)
./precompile.sh: /isrc/roxen.com/cvs/Pike/7.2/src/tpike: No such file or
directo
ry
precompile: /isrc/roxen.com/cvs/Pike/7.2/src/test-pike
././././precompile.pike /
isrc/roxen.com/cvs/Pike/7.2/src/builtin.cmod (method=QQQ)
./precompile.sh: /isrc/roxen.com/cvs/Pike/7.2/src/test-pike: No such file
or dir
ectory
precompile: pike -DOLD ././././././precompile.pike
/isrc/roxen.com/cvs/Pike/7.2/
src/builtin.cmod (method=QQQQQQ)
./precompile.sh: pike: command not found
precompile: /isrc/roxen.com/cvs/Pike/7.2/src/pike -DNOT_INSTALLED
-m/isrc/roxen.
com/cvs/Pike/7.2/src/master.pike ./././././././././precompile.pike
/isrc/roxen.
com/cvs/Pike/7.2/src/builtin.cmod (method=Q)
./precompile.sh: /isrc/roxen.com/cvs/Pike/7.2/src/pike: No such file or
director
y
precompile: /isrc/roxen.com/cvs/Pike/7.2/src/tpike -DNOT_INSTALLED
-m/isrc/roxen
.com/cvs/Pike/7.2/src/master.pike ././././././././././precompile.pike
/isrc/rox
en.com/cvs/Pike/7.2/src/builtin.cmod (method=QQ)
./precompile.sh: /isrc/roxen.com/cvs/Pike/7.2/src/tpike: No such file or
directo
ry
precompile: /isrc/roxen.com/cvs/Pike/7.2/src/test-pike
./././././././././././pre
compile.pike /isrc/roxen.com/cvs/Pike/7.2/src/builtin.cmod (method=QQQ)
./precompile.sh: /isrc/roxen.com/cvs/Pike/7.2/src/test-pike: No such file
or dir
ectory
precompile: pike -DOLD ./././././././././././././precompile.pike
/isrc/roxen.com
/cvs/Pike/7.2/src/builtin.cmod (method=QQQQQQ)
./precompile.sh: pike: command not found
make[1]: *** [/isrc/roxen.com/cvs/Pike/7.2/src/builtin.c] Error 1
make[1]: Leaving directory `/isrc/roxen.com/cvs/Pike/7.2/src'
make: *** [all] Error 2
```
Pike 7.2
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/1346
Pike NULL-value call hangs roxen
2009-04-16T14:11:39Z
Peter Bortas
Pike NULL-value call hangs roxen
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1346
Reported by Chad Leigh, Shire.Net LLC <chad@shire.net>
Hi
I somewhat regularly get the following message in my default.? logfile as
the last thing after a hang that ...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1346
Reported by Chad Leigh, Shire.Net LLC <chad@shire.net>
Hi
I somewhat regularly get the following message in my default.? logfile as
the last thing after a hang that the ABS system cannot clear. I do not
yet know what is causing it but suspect a CGI that dies or something.
This is on Roxen 2.1.231 on FreeBSD 4.2-RELEASE running on an SMP system.
```
11:00:00 :
0d21h 4m : ** 2001-03-16 11:00 pid: 7991 ppid: 2920 euid: nobody
uid: r
oot
:
Attempt to call the NULL-value
Unknown program: 0(0)
/usr/local/roxen/roxen/pike/7.0.312/lib/modules/Stdio.pmod/module.pmod:331:
__st
dio_write_callback()
:
: ** 2001-03-16 12:00 pid: 7991 ppid: 2920 euid: nobody
uid: r
oot
:
crickhollow#
```
Pike 7.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström