pike issues
https://git.lysator.liu.se/pikelang/pike/-/issues
2009-04-16T14:11:39Z
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
https://git.lysator.liu.se/pikelang/pike/-/issues/1276
oracle queries with real columns return "Unknown error"
2009-04-16T14:11:39Z
Peter Bortas
oracle queries with real columns return "Unknown error"
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1276
Reported by Peter J. Holzer, WSR <hjp@wsr.ac.at>
Software involved:
Roxen 2.1.231
Pike 7.0.312
Oracle 8.1.7 (also 8.1.5 or 8.0.6)
Redhat Linux 6.2 (Kernel 2.2.14-5.0...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1276
Reported by Peter J. Holzer, WSR <hjp@wsr.ac.at>
Software involved:
Roxen 2.1.231
Pike 7.0.312
Oracle 8.1.7 (also 8.1.5 or 8.0.6)
Redhat Linux 6.2 (Kernel 2.2.14-5.0smp)
SQL queries which reference real columns of real tables fail with an
Unknown error:
RXML parse error: Query failed: Unknown error
| <emit host="CENSORED" query="select T from V" source="sql">
However pseudocolumns seem to work ok, e.g,
<emit source="sql" host="wf" query="select user from dual">
<tr>
<td>&_.USER;</td>
</tr>
</emit>
prints the expected
+---+
|HJP|
+---+
("wf" is defined in the sql database module)
Pike 7.0
https://git.lysator.liu.se/pikelang/pike/-/issues/1203
Failure to detect closed connections when using Poll
2009-04-16T14:11:39Z
Peter Bortas
Failure to detect closed connections when using Poll
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1203
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
This is a problem in all Pike versions most likely. When using poll() in
non-blocking mode w/o a ...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1203
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
This is a problem in all Pike versions most likely. When using poll() in
non-blocking mode w/o a read_callback, you won't know if the remote end
closed down. When you use select, you get a write callback in which the
write results in -1 (i.e error). With poll you don't get this last write
callback. A fix is attached. It simply calls the write_callback in case of
POLLERR or POLLHUP when there is no read_callback available.
Pike 7.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/1181
Can't build Pike 7.2 or 7.3 in separate build directory
2009-04-16T14:11:39Z
Peter Bortas
Can't build Pike 7.2 or 7.3 in separate build directory
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1181
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
I can no longer build Pike 7.2 or 7.3 using a separate build directory. The
object files gets pla...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1181
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
I can no longer build Pike 7.2 or 7.3 using a separate build directory. The
object files gets placed in the source tree for some weird reason. Pike 7.0
build works fine so it's nothing wrong on my end AFAIK. I tried checking
out Pike 7.2 from scratch (removing the old source tree) and then running
'make' (i.e the "automatic build" feature). It didn't work. This is an
example of some output when running make -n (notice the last line - ie the
.o file destination):
```
echo Making Gdbm; \
( cd Gdbm && \
( rm remake >/dev/null 2>&1 || : ) && \
( make MODNAME=Gdbm || \
( test -f remake && make MODNAME=Gdbm ) ) \
) || exit $?;
Making Gdbm
make[3]: Entering directory
`/home/neotron/pike/7.2/build/linux-2.4.1-4mdk-i686/modules/Gdbm'
if test "x" != x ; then echo "LINKER_OPTIONS+=" ; else : ; fi ; echo ""
>linker_options
echo "" >modlist_headers
echo "" >modlist_segment
echo "Compiling /home/neotron/pike/7.2/src/modules/Gdbm/gdbmmod.c" ;\
if /home/neotron/pike/7.2/build/linux-2.4.1-4mdk-i686/smartlink gcc -I.
-I/home/neotron/pike/7.2/src/modules/Gdbm
-I/home/neotron/pike/7.2/src/modules/Gdbm/../.. -I../.. -I.
-I/usr/local/include -I/usr/X11R6-DRI/include -I/usr/X11R6/include
-I/home/neotron/pike/7.2/src
-I/home/neotron/pike/7.2/build/linux-2.4.1-4mdk-i686 -g -mpentiumpro -O2
-pipe -W -Wall -Wno-unused -Wcomment -Wformat
-Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized
-Wpointer-arith -Wchar-subscripts -Wno-long-long -fPIC -DDYNAMIC_MODULE
-c /home/neotron/pike/7.2/src/modules/Gdbm/gdbmmod.c -o
/home/neotron/pike/7.2/src/modules/Gdbm/gdbmmod.o ; then : ;\
```
Pike 7.2
https://git.lysator.liu.se/pikelang/pike/-/issues/1131
The dynamic loading test fails on Sol8x86 when not compiling in the source di...
2009-04-16T14:11:39Z
Peter Bortas
The dynamic loading test fails on Sol8x86 when not compiling in the source directory.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1131
Reported by Per Hedbor, Idonex <per@roxen.com>
```
/home/per/src/Pike/7.3/build/sunos-5.8-i86pc/smartlink gcc -c -g -O2 -pipe
-mcpu=pentiumpro -fPIC conftest.c -o co...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1131
Reported by Per Hedbor, Idonex <per@roxen.com>
```
/home/per/src/Pike/7.3/build/sunos-5.8-i86pc/smartlink gcc -c -g -O2 -pipe
-mcpu=pentiumpro -fPIC conftest.c -o conftest.o
/home/per/src/Pike/7.3/bin/smartlink /usr/ccs/bin/ld -G -R/usr/local/lib
-L/usr/local/lib conftest.o -o conftest.so
configure:19037: /home/per/src/Pike/7.3/build/sunos-5.8-i86pc/smartlink gcc
-o conftest -g -O2 -pipe -mcpu=pentiumpro -R/usr/local/lib
-L/usr/local/lib conftest.c -ldl -lrt -lnsl -lsocket -lm -lpthread
-lthread 1>&5
configure:19032:26: dynamic_load.c: No such file or directory
configure: failed program was:
#line 19029 "configure"
#include "confdefs.h"
#define TESTING
#include "dynamic_load.c"
void testfunc2(void) { exit(0); }
```
Pike 7.2
https://git.lysator.liu.se/pikelang/pike/-/issues/1060
NT build fails with Guru meditation #00000000.c0000005.
2009-04-16T14:11:39Z
Peter Bortas
NT build fails with Guru meditation #00000000.c0000005.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1060
Reported by @grubba
```
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86/smartlink
rntcl -I.
-I/net/kali/E/devel/autobuild/nt4_b...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1060
Reported by @grubba
```
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86/smartlink
rntcl -I.
-I/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/src
-I/usr/local/include
-I/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/src
-I/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86
-g -O2 -R/usr/local/lib -L/usr/local/lib language.o security.o
bignum.o interpret.o constants.o cpp.o fdlib.o cyclic.o array.o backend.o
callback.o encode.o docode.o dynamic_buffer.o dynamic_load.o error.o
fd_control.o fsort.o gc.o hashtable.o lex.o multiset.o signal_handler.o
pike_search.o pike_types.o main.o mapping.o pike_memory.o module.o
module_support.o object.o opcodes.o operators.o port.o program.o rusage.o
stralloc.o stuff.o threads.o version.o queue.o builtin.o svalue.o crypt.o
las_t.o builtin_functions_t.o peep_t.o `cat modules/linker_options`
-lkernel32 -lws2_32 -ladvapi32 -lm -o tpike
gmp.lib(copyi.o) : warning LNK4078: multiple ".text" sections found with
different attributes (E0000020)
make[4]: Leaving directory
`/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86'
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86/tpike
-DNOT_INSTALLED
-m/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86/master.pike
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/bin/mktreeopt.pike
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/src/treeopt.in
|| ( mv
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86/tpike
/net/kali/E/devel/autobuild/nt4_build/pike7.1-20010118194629.tar/build/windows_nt-x86/tpike.bug
; exit 1 )
Software failure. Press left mouse button to continue.
Guru meditation #00000000.c0000005
```
See AutoBuild for details.
Pike 7.2
https://git.lysator.liu.se/pikelang/pike/-/issues/1029
Inserting binary data into a MySQL database fails
2009-04-16T14:11:39Z
Peter Bortas
Inserting binary data into a MySQL database fails
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1029
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Inserting binary data into a MySQL on Win2k/NT4 barfs. Backtrace from
hilfe (same error in Roxen):
```
> object ...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1029
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Inserting binary data into a MySQL on Win2k/NT4 barfs. Backtrace from
hilfe (same error in Roxen):
```
> object o = Sql.sql("mysql://localhost/test");
Result: object
> string s = Stdio.File("/web/test.jpg")->read();
> strlen(s);
Result: 163054
> o->quote(s);
> strlen(o->quote(s));
Result: 167663
> o->query("insert into bintest values(0, "+o->quote(s))+")");
Syntax error.
> o->query("insert into bintest values(0, "+o->quote(s)+")");
mysql->big_query(): Query failed (You have an error in your SQL syntax
near '▒Ex
if\0\0II*\\0\0\0 \0☼☺☻\0♣\0\0\0z\0\0\0►☺☻\0♀\0\0\0Ç\0\0\0↕☺♥\0☺\0\0
\0☺\0\
0\' at line 1)
C:/Program Files/Roxen Internet
Software/WebServer/server/pike/lib/pike/modules/
Sql.pmod/mysql.pike: big_query("insert into bintest values
(0, ╪ ß\32▒Exif\\0\\0
II*\\0\b\\0\\0\\0\t\\0\17\1\2\\0\5\\0\\0\\0z\\0\\0\\0\20\1\2\\0\14\\0\\0
\\0Ç\\0\
\0\\0\22\1\3\\0\1\\0\\0\\0\1\\0\\0\\0\32\1\5\\0\1\\0\\0\\0î\\0\\0\\0\33\1\5
\\0\1
\\0\\0\\0ö\\0\\0\\0(\1\3\\0\1\\0\\0\\0\2\\0\\0\\02\1\2\\0\24\\0\\0\\0£\\0
\\0\\0\
23\2\3\\"+[167499])
C:/Program Files/Roxen Internet
Software/WebServer/server/pike/lib/pike/modules/
Sql.pmod/sql.pike:352: query("insert into bintest values(0, ╪ ß\32▒Exif\\0
\\0II
*\\0\b\\0\\0\\0\t\\0\17\1\2\\0\5\\0\\0\\0z\\0\\0\\0\20\1\2\\0\14\\0\\0
\\0Ç\\0\\0
\\0\22\1\3\\0\1\\0\\0\\0\1\\0\\0\\0\32\1\5\\0\1\\0\\0\\0î\\0\\0\\0\33\1\5
\\0\1\\
0\\0\\0ö\\0\\0\\0(\1\3\\0\1\\0\\0\\0\2\\0\\0\\02\1\2\\0\24\\0\\0\\0£\\0\\0
\\0\23
\2\3"+[167500],0)
-:1: ___Foo4711()
>
```
Pike 7.0