pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2009-04-16T14:11:39Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/2644ws2_32.dll dependency2009-04-16T14:11:39ZPeter Bortasws2_32.dll dependencyImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2644
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Pike, or at least it's installation, depends on ws2_32.dll, which makes it
impossible to install on Windows...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2644
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Pike, or at least it's installation, depends on ws2_32.dll, which makes it
impossible to install on Windows 95. Earlier versions, e.g. 0.6.80 can
be installed an run on Windows 95 without problems.Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2638"Warning: Redefining inherited variable" when starting Roxen2009-04-16T14:11:39ZPeter Bortas"Warning: Redefining inherited variable" when starting RoxenImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2638
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
The following is printed out when Roxen 2.4 is started
```
/export/d1/nilsson/pike/7.3.13/lib/modules/Cale...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2638
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
The following is printed out when Roxen 2.4 is started
```
/export/d1/nilsson/pike/7.3.13/lib/modules/Calendar.pmod/YMD.pmod:1929:
Warning: Redefining inherited variable 'Day' with different type.
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2634Some refdoc files aren't where export.pike expects them2009-04-16T14:11:39ZPeter BortasSome refdoc files aren't where export.pike expects themImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2634
Reported by Martin Stjernholm <mast@roxen.com>
make export fails when export.pike tries to create the tarball. The errors
from tar are:
tar: Cannot add file Pike-v7...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2634
Reported by Martin Stjernholm <mast@roxen.com>
make export fails when export.pike tries to create the tarball. The errors
from tar are:
tar: Cannot add file Pike-v7.3.13/refdoc/tree-split-style.css: No such file
or directory
tar: Cannot add file Pike-v7.3.13/refdoc/tree-split-template.html: No such
file or directoryPike 7.4https://git.lysator.liu.se/pikelang/pike/-/issues/2625_memory_usage() returns negative num_objects value2009-04-16T14:11:39ZPeter Bortas_memory_usage() returns negative num_objects valueImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2625
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Pike v7.3 release 12 running Hilfe v2.0 (Incremental Pike Frontend)
> _memory_usage();
Result: ([ /* 18...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2625
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Pike v7.3 release 12 running Hilfe v2.0 (Incremental Pike Frontend)
> _memory_usage();
Result: ([ /* 18 elements */
"array_bytes":17804,
"callable_bytes":8200,
"callback_bytes":2052,
"frame_bytes":10756,
"mapping_bytes":52295,
"multiset_bytes":304,
"num_arrays":159,
"num_callables":220,
"num_callbacks":2,
"num_frames":9,
"num_mappings":45,
"num_multisets":19,
"num_objects":-56,
"num_programs":104,
"num_strings":2922,
"object_bytes":185076,
"program_bytes":563152,
"string_bytes":109240
])
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2620sprintf("%x") fails on IA642009-04-16T14:11:39ZPeter Bortassprintf("%x") fails on IA64Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2620
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
modules/sprintf/module_testsuite: Test 44 (shift 2) failed.
1: mixed a() { return sprintf("%x", -0x80000...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2620
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
modules/sprintf/module_testsuite: Test 44 (shift 2) failed.
1: mixed a() { return sprintf("%x", -0x80000000) ; }
2: mixed b() { return "-80000000"; }
o->a(): "-ffffffff80000000"
o->b(): "-80000000"Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2616#pike doesn't work2009-04-16T14:11:39ZPeter Bortas#pike doesn't workImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2616
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
(possibly duplicate of 2458)
The program
```
#pike 7.0
int main() {
mixed b = Simulate;
write(__VERSIO...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2616
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
(possibly duplicate of 2458)
The program
```
#pike 7.0
int main() {
mixed b = Simulate;
write(__VERSION__ + "\n");
}
```
yields
```
Bad argument 1 to sizeof().
/export/d1/nilsson/pike/7.3.12/lib/master.pike:835:
master()->dirnode(0)->create(0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:352:
```
master()->compile_file("/export/d1/nilsson/pike/7.3.12/lib/7.0/modules/Simulate.pmod",0,Si
```
mulate,master()->dirnode(0))
/export/d1/nilsson/pike/7.3.12/lib/master.pike:528:
```
master()->low_findprog("/export/d1/nilsson/pike/7.3.12/lib/7.0/modules/Simulate.pmod","",0
```
,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:579:
```
master()->findprog("/export/d1/nilsson/pike/7.3.12/lib/7.0/modules/Simulate.pmod",".pmod",
```
0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
```
master()->low_cast_to_program("/export/d1/nilsson/pike/7.3.12/lib/7.0/modules/Simulate","/
```
.",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:802:
```
master()->low_cast_to_object("/export/d1/nilsson/pike/7.3.12/lib/7.0/modules/Simulate.pmod
```
","/.",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1142:
master()->findmodule("/export/d1/nilsson/pike/7.3.12/lib/7.0/modules/Simulate",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1311:
CompatResolver(7.0)->resolv_base("Simulate","/home/nilsson/test.pike",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1369:
CompatResolver(7.0)->resolv("Simulate","/home/nilsson/test.pike",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:352:
master()->compile_file("/home/nilsson/test.pike",0,test.pike,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:528:
master()->low_findprog("/home/nilsson/test",".pike",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:574:
master()->findprog("/home/nilsson/test",".pike",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
```
master()->low_cast_to_program("/home/nilsson/test","/export/d1/nilsson/pike/7.3.12/lib/mas
```
ter.pike",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:640:
```
master()->cast_to_program("/home/nilsson/test.pike","/export/d1/nilsson/pike/7.3.12/lib/ma
```
ster.pike",0)
test.pike:4:Placeholder already has storage!
Pike: Failed to compile script:
Compilation failed.
```
The problem is probably somewhere in compile (program.c).Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2608Missing GTK Module RH7.1 Running Pike 7.2.239 RH 6.2 Sh Install2009-04-16T14:11:39ZPeter BortasMissing GTK Module RH7.1 Running Pike 7.2.239 RH 6.2 Sh InstallImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2608
Reported by Anthony Dycks, Marconi Services Americas <panfisher@earthlink.net>
I'm encountering the following message running an adaptation of the
GTK Hello World pr...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2608
Reported by Anthony Dycks, Marconi Services Americas <panfisher@earthlink.net>
I'm encountering the following message running an adaptation of the
GTK Hello World program, hellogtk.pike.
Running the following Pike source code ...
```
int main()
{
GTK.setup_gtk();
GTK.Alert("Hello world!") -> signal_connect("destroy", exit, 0);
return -1;
}
```
// >>> End of Program -- hellogtk.pike <<<
I encounter the following error under a Red Hat Linux 7.1
Gnome Workstation Environment ...
```
hellogtk.pike:3:Failed to index module 'GTK' with 'setup_gtk'
(module doesn't exist?)
Pike: Failed to compile script:
Compilation failed.
```
I suspect I'm missing a GTK Version package install or a Pike GTK module.
I used the following downloaded shell file to install Pike 7.2.239 ...
pike-7.2.239-lrh6.2.sh (Accepted all defaults from Shell Script prompts)
Any suggestions on how I might resolve the error?
Thanks & Best Regards,
Panfisher
Some background information regarding my RH Linux V7.2 & Pike V7.2.239
Install...
G-Prefix files in /usr/pike/local/7.2.239/lib/modules Directory ...
Gdbm.so Getopt.pmod Gettext.so GLU.pmod.o Gnome.pmod
GDK.pmod Getopt.pmod.o GLU.pmod Gmp.so Gz.so
Geography.pmod:
Countries.pmod Countries.pmod.o Position.pike Position.pike.o
Graphics.pmod:
Graph.pmod
GTKSupport.pmod:
Alert.pike pCtree.pike SClist.pike
MenuFactory.pmod pDrawingArea.pike Util.pmod
<End of Directory Listing>
RPM Query of G-Prefixed Installed Packages Shows ...
gd-1.8.3-7
...
gd-devel-1.8.3-7
gdk-pixbuf-0.8.0-7
gdk-pixbuf-devel-0.8.0-7
...
glib10-1.0.6-9
glib-1.2.9-1
glibc-2.2.2-10
glibc-common-2.2.2-10
glibc-devel-2.2.2-10
glibc-profile-2.2.2-10
glib-devel-1.2.9-1
glib-gtkbeta-1.3.2-2
...
gnome-applets-1.2.4-3
...
gnome-core-1.2.4-16
gnome-core-devel-1.2.4-16
...
gnome-kerberos-0.2.2-2
gnome-libs-1.2.8-11
gnome-libs-devel-1.2.8-11
...
gnome-objc-1.0.2-11
gnome-objc-devel-1.0.2-11
...
gpm-1.19.3-16
gpm-devel-1.19.3-16
...
gtk+10-1.0.6-9
gtk+-1.2.9-4
gtk+-devel-1.2.9-4
gtk-doc-0.4b1-3
gtk-engines-0.10-12
gtk+-gtkbeta-1.3.2-4
<End Of RPM Installed Packages Clip>Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/2604Calendar.Timezone doesn't compile when starting WebServer2009-04-16T14:11:39ZPeter BortasCalendar.Timezone doesn't compile when starting WebServerImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2604
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:69:C
an not clone program withou...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2604
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:69:C
an not clone program without parent context.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:215:
Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:257:
Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:621:
Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:828:
Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:1016
:Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:1054
:Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:1343
:Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:1374
:Class definition failed.
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/Timezone.pmod:1390
:Class definition failed.
Compilation failed.
/export/d1/nilsson/pike/7.3.12/lib/master.pike:352:
master()->compile_file("/export/d1/nilss"+[38]+"od/Timezone.pmod",0,0,0)
etc/roxen_master.pike:627:
master()->low_findprog("/export/d1/nilss"+[38]+"od/Timezone.pmod","",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:579:
master()->findprog("/export/d1/nilss"+[38]+"od/Timezone.pmod",".pmod",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
master()->low_cast_to_program("/export/d1/nilss"+[33]+"ar.pmod/Timezone","/
.",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:802:
master()->low_cast_to_object("/export/d1/nilss"+[38]+"od/Timezone.pmod","/.
",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1142:
master()->findmodule("/export/d1/nilss"+[33]+"ar.pmod/Timezone",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:925:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod
")->ind("/export/d1/nilss"+[33]+"ar.pmod/Timezone")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:953:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod
")->`[]("Timezone")
/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod/module.pmod:47:
`[]("_module_value")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:852: `!()
/export/d1/nilsson/pike/7.3.12/lib/master.pike:893:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod
")->ind("Second")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:953:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Calendar.pmod
")->`[]("Second")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:352:
master()->compile_file("/export/d1/nilss"+[31]+"s.pmod/X509.pmod",0,0,0)
etc/roxen_master.pike:627:
master()->low_findprog("/export/d1/nilss"+[31]+"s.pmod/X509.pmod","",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:579:
master()->findprog("/export/d1/nilss"+[31]+"s.pmod/X509.pmod",".pmod",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
master()->low_cast_to_program("/export/d1/nilss"+[26]+"/Tools.pmod/X509","/
.",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:802:
master()->low_cast_to_object("/export/d1/nilss"+[31]+"s.pmod/X509.pmod","/.
",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1142:
master()->findmodule("/export/d1/nilss"+[26]+"/Tools.pmod/X509",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:925:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Tools.pmod")-
>ind("/export/d1/nilss"+[26]+"/Tools.pmod/X509")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:953:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Tools.pmod")-
>`[]("X509")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:352:
master()->compile_file("/export/d1/nilss"+[34]+"d/handshake.pike",0,0,0)
etc/roxen_master.pike:627:
master()->low_findprog("/export/d1/nilss"+[29]+"L.pmod/handshake",".pike",0
)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:574:
master()->findprog("/export/d1/nilss"+[29]+"L.pmod/handshake",".pike",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
master()->low_cast_to_program("/export/d1/nilss"+[29]+"L.pmod/handshake","/
home/nilsson/Ro"+[20]+"oxen_master.pike",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:640:
master()->cast_to_program("/export/d1/nilss"+[34]+"d/handshake.pike","/home
/nilsson/Ro"+[20]+"oxen_master.pike",0)
etc/roxen_master.pike:450:
programof("/export/d1/nilss"+[34]+"d/handshake.pike")
etc/roxen_master.pike:621:
master()->low_findprog("/export/d1/nilss"+[30]+".pmod/connection",".pike",0
)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:580:
master()->findprog("/export/d1/nilss"+[30]+".pmod/connection","",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:620:
master()->low_cast_to_program("connection","/export/d1/nilss"+[32]+"mod/ssl
file.pike",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:640:
master()->cast_to_program("connection","/export/d1/nilss"+[32]+"mod/sslfile
.pike",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:791:
master()->handle_inherit("connection","/export/d1/nilss"+[32]+"mod/sslfile.
pike",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:352:
master()->compile_file("/export/d1/nilss"+[32]+"mod/sslfile.pike",0,0,0)
etc/roxen_master.pike:627:
master()->low_findprog("/export/d1/nilss"+[27]+"SSL.pmod/sslfile",".pike",0
)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:580:
master()->findprog("/export/d1/nilss"+[27]+"SSL.pmod/sslfile","",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
master()->low_cast_to_program("/export/d1/nilss"+[27]+"SSL.pmod/sslfile",0,
0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:640:
master()->cast_to_program("/export/d1/nilss"+[27]+"SSL.pmod/sslfile",0,0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:930:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/SSL.pmod")->i
nd("/export/d1/nilss"+[27]+"SSL.pmod/sslfile")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:953:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/SSL.pmod")->`
[]("sslfile")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:347:
master()->compile_file("/export/d1/nilss"+[47]+"pmod/module.pmod",0,0,0)
etc/roxen_master.pike:627:
master()->low_findprog("/export/d1/nilss"+[47]+"pmod/module.pmod","",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:579:
master()->findprog("/export/d1/nilss"+[47]+"pmod/module.pmod",".pmod",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:610:
master()->low_cast_to_program("/export/d1/nilss"+[42]+"HTTP.pmod/module","/
.",0,1)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:802:
master()->low_cast_to_object("/export/d1/nilss"+[47]+"pmod/module.pmod","/.
",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1142:
master()->findmodule("/export/d1/nilss"+[42]+"HTTP.pmod/module",0)
/export/d1/nilsson/pike/7.3.12/lib/master.pike:850: `!()
/export/d1/nilsson/pike/7.3.12/lib/master.pike:893:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Protocols.pmo
d/HTTP.pmod")->ind("Query")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:953:
master()->dirnode("/export/d1/nilsson/pike/7.3.12/lib/modules/Protocols.pmo
d/HTTP.pmod")->`[]("Query")
/export/d1/nilsson/pike/7.3.12/lib/master.pike:1370:
master()->resolv("Protocols.HTTP.Query",0,0)
base_server/roxenloader.pike:726: nm_resolv("Protocols.HTTP.Query")
base_server/roxenloader.pike:2114: do_main(2,0)
base_server/roxenloader.pike:1190:
do_main_wrapper(2,({"/home/nilsson/Ro"+[27]+"roxenloader.pike","--no-delaye
d-load"}))
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2593Check if the UA32_RELOCATION check is present in Solaris 82009-04-16T14:11:39ZPeter BortasCheck if the UA32_RELOCATION check is present in Solaris 8Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2593
Reported by @zino
The "your gcc generates UA32_RELOCATIONS" configure test is a major
showstopper for Solaris/Sparc users. You have to be very dedicated to
getting a...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2593
Reported by @zino
The "your gcc generates UA32_RELOCATIONS" configure test is a major
showstopper for Solaris/Sparc users. You have to be very dedicated to
getting a Pike to acctually change to source to gcc and recompile it before
continuing. Is this bug still present in Sol8, and if so, how does it
manifest and can it be worked around in some other way?Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2589Pike 7.4 superbug2020-03-01T13:36:41ZPeter BortasPike 7.4 superbugImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2589
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Let this bug depend on blocker bugs for Pike 7.4.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2589
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Let this bug depend on blocker bugs for Pike 7.4.Pike 7.6https://git.lysator.liu.se/pikelang/pike/-/issues/2581Invalid prototype for initialized variables in inherited classes2009-04-16T14:11:39ZPeter BortasInvalid prototype for initialized variables in inherited classesImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2581
Reported by Martin Stjernholm <mast@roxen.com>
This program:
```
class A (int i) {}
class B (int i, int j) {inherit A;}
class C {inherit B;}
int mai...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2581
Reported by Martin Stjernholm <mast@roxen.com>
This program:
```
class A (int i) {}
class B (int i, int j) {inherit A;}
class C {inherit B;}
int main()
{
C (1,1);
}
```
fails with:
```
foo.pike:6:Too many arguments to C.
foo.pike:6:Expected: function(int : object(is 65602))
foo.pike:6:Got : function(int(1..1), int(1..1) : void | mixed)
```
Problem exists in 7.2 and 7.3.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2571Scope pointer bug2009-04-16T14:11:39ZPeter BortasScope pointer bugImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2571
Reported by Martin Stjernholm <mast@roxen.com>
The following program produces a segmentation fault:
```
int main()
{
int var;
void x() {var++;};...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2571
Reported by Martin Stjernholm <mast@roxen.com>
The following program produces a segmentation fault:
```
int main()
{
int var;
void x() {var++;};
lambda () {x();}();
}
```
Cursory investigation indicates that it's some problem with the scope
pointers. It works in 7.2.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2564Illegal Instruction: si_code [1]: ILL_ILLOPC [addr: 0xb32ac]2009-04-16T14:11:39ZPeter BortasIllegal Instruction: si_code [1]: ILL_ILLOPC [addr: 0xb32ac]Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2564
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Encountered by Peter Ohlerich at University of Bielefeld. Running Pike
7.2.229 from Roxen 2.2.230 on Sol7Sparc.
...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2564
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Encountered by Peter Ohlerich at University of Bielefeld. Running Pike
7.2.229 from Roxen 2.2.230 on Sol7Sparc.
Illegal Instruction
si_signo [4]: Illegal Instruction
si_errno [0]: Error 0
si_code [1]: ILL_ILLOPC [addr: 0xb32ac]Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2563Protocols.HTTP.Query()->sync_request() returns empty object2009-04-16T14:11:39ZPeter BortasProtocols.HTTP.Query()->sync_request() returns empty objectImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2563
Reported by Henrik Wallin, Roxen <hedda@roxen.com>
```
Pike v7.3 release 12 running Hilfe v2.0 (Incremental Pike Frontend)
> object con = Protocols.HTTP.Query();
Res...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2563
Reported by Henrik Wallin, Roxen <hedda@roxen.com>
```
Pike v7.3 release 12 running Hilfe v2.0 (Incremental Pike Frontend)
> object con = Protocols.HTTP.Query();
Result: Query()
> object q=con->sync_request("www.avanza.se", 80, "GET /nyheteranalyser/nyheteranalyser.cgi?page= HTTP/1.0", (["user-agent" : "Mozilla/4.0 compatible (Pike HTTP client)", "host" : "www.avanza.se" ]), 0);
Result: Query()
> q->ok;
Result: 0
Pike v7.2 release 229 running Hilfe v2.0 (Incremental Pike Frontend)
> object con = Protocols.HTTP.Query();
Result: Query()
> object q=con->sync_request("www.avanza.se", 80, "GET /nyheteranalyser/nyheteranalyser.cgi?page= HTTP/1.0", (["user-agent" : "Mozilla/4.0 compatible (Pike HTTP client)", "host" : "www.avanza.se" ]), 0);
Result: Query(200 OK)
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2548Unicode.normalize doesn't work with empty strings2009-04-16T14:11:39ZPeter BortasUnicode.normalize doesn't work with empty stringsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2548
Reported by Johan Schön <js@roxen.com>
```
> Unicode.normalize("","C");
Result: "\10007557410"
```
(The result should be the empty string.)Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2548
Reported by Johan Schön <js@roxen.com>
```
> Unicode.normalize("","C");
Result: "\10007557410"
```
(The result should be the empty string.)Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2519Process creation fails when running with --quiet2009-04-16T14:11:39ZPeter BortasProcess creation fails when running with --quietImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2519
Reported by Jonas Wallden <jonasw@roxen.com>
The replication system creates a sub-process for running a script
periodically, but this fails when the server is run wi...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2519
Reported by Jonas Wallden <jonasw@roxen.com>
The replication system creates a sub-process for running a script
periodically, but this fails when the server is run with the --quiet
option on Win2K.Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/2505Postgres 7.1 has changed name of one include file2009-11-17T16:03:30ZPeter BortasPostgres 7.1 has changed name of one include fileImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2505
Reported by Petter Larsson <petterl@home.se>
In Postgres 7.1 they seam to have shanged the name of the includefile
postgres.h to postgres_fe.h
```
By changing linge...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2505
Reported by Petter Larsson <petterl@home.se>
In Postgres 7.1 they seam to have shanged the name of the includefile
postgres.h to postgres_fe.h
```
By changing linge 34 in
pike/7.0/src/modules/Postgres/postgres.c
to
#include <postgres_fe.h>
```
or making a symlink from postgres.h to postgres_fe.h works fine.Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2504Compat mode doesn't work for inherited files.2009-04-16T14:11:39ZPeter BortasCompat mode doesn't work for inherited files.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2504
Reported by Stefan Wallström <stewa@lysator.liu.se>
Inherited files aren't compiled in compat mode (i.e. starting pike with
"pike -V7.0").
Removing these lines from...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2504
Reported by Stefan Wallström <stewa@lysator.liu.se>
Inherited files aren't compiled in compat mode (i.e. starting pike with
"pike -V7.0").
Removing these lines from program.c:change_compiler_compatibility seems to
do the trick.
```
if(major == Pike_compiler->compat_major &&
minor == Pike_compiler->compat_minor) {
if (compat_handler) {
add_ref(compat_handler);
}
return;
}
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2480Support for SSL "no certificates" error.2009-04-16T14:11:39ZPeter BortasSupport for SSL "no certificates" error.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2480
Reported by @grubba
```
From: "Bill.Welliver@fairchildsemi.com" <Bill.Welliver@fairchildsemi.com>
To: "pike@roxen.com" <pike@roxen.com>
Date: Thu, 1 Nov 2001 13:36:2...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2480
Reported by @grubba
```
From: "Bill.Welliver@fairchildsemi.com" <Bill.Welliver@fairchildsemi.com>
To: "pike@roxen.com" <pike@roxen.com>
Date: Thu, 1 Nov 2001 13:36:20 -0500
Subject: Patches
```
I've been working on a project using PiGTK and the LDAP client in Pike, and
along the way I made some fixes and additions. I'd like to contribute these
to the pike source, if they're suitable. There are 3 patches in this
message.
Item 1: without this patch, a server that requests a certificate of a
client is sent a fatal handshake error. According to the SSL3 spec, we can
just return a "no certificates" message, and let the server deal with that
(usually the request is made to do authentication against the cert).
--- lib/modules/SSL.pmod/handshake.pike.orig Wed Oct 24 15:15:30 2001
+++ lib/modules/SSL.pmod/handshake.pike Wed Oct 24 15:06:22 2001
```
@@ -1038,10 +1039,13 @@
array(int) cert_types = input->get_var_uint_array(1, 1);
// int num_distinguished_names = input->get_uint(2);
// array(string) distinguished_names =
- send_packet(Alert(ALERT_fatal, ALERT_unexpected_message, version[1],
- "SSL.session->handle_handshake: unexpected
message\n",
+// send_packet(Alert(ALERT_fatal, ALERT_unexpected_message,
version[1],
+// "SSL.session->handle_handshake: unexpected message\n",
+// backtrace()));
+ send_packet(Alert(ALERT_warning, ALERT_no_certificate, version[1],
+ "", backtrace()));
- return -1;
+// return -1;
}
break;
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2441Segfault during jvm initialization2009-04-16T14:11:39ZPeter BortasSegfault during jvm initializationImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2441
Reported by Martin Stjernholm <mast@roxen.com>
Get this when I try to start a Roxen:
: Executing /export/mast/2.2/server/bin/roxen -DDEBUG
-DMODULE_DEBUG ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2441
Reported by Martin Stjernholm <mast@roxen.com>
Get this when I try to start a Roxen:
: Executing /export/mast/2.2/server/bin/roxen -DDEBUG
-DMODULE_DEBUG -DENABLE_THREADS -DRAM_CACHE -DENABLE_THREADS
"-M/export/mast/2.2/server/etc/modules"
"-I/export/mast/2.2/server/etc/include"
"-I/export/mast/2.2/server/base_server" "-P/export/mast/2.2/server" -w
base_server/roxenloader.pike --remove-dumped
16:24:09 : ----------------------------------------------------------
0m 0.0s : Pike v7.2 release 226, Roxen WebServer 2.2.230
: Starting mysql ...
: "bin/roxen_mysql"
"--defaults-file=/export/mast/2.2/configurations/_mysql/my.cfg"
"--socket=/export/mast/2.2/configurations/_mysql/socket"
"--skip-networking" "--skip-locking"
"--basedir=/export/mast/2.2/server/mysql/"
"--datadir=/export/mast/2.2/configurations/_mysql"
"--pid-file=/export/mast/2.2/configurations/_mysql/mysql_pid" "--user=root"
: Done 3.23.31 [331.5ms]
: Loading pike modules ...
16:24:14 :
0m 4.9s : mysql: bin/roxen_mysql: ready for connections
: Done [6390.4ms]
: Loading roxen ... Segmentation Fault - core dumped
```
(gdb) bt
#0 0xdeb0c192 in InitializeExecEnv () from
/i/jdk/1.2.2_006/jre/lib/i386/classic/libjvm.so
#1 0xdeb30e79 in InitializeJavaVM () from
/i/jdk/1.2.2_006/jre/lib/i386/classic/libjvm.so
#2 0xdeb16488 in JNI_CreateJavaVM () from
/i/jdk/1.2.2_006/jre/lib/i386/classic/libjvm.so
#3 0xdeb9ce0b in f_create (args=0) at
/home/mast/Pike/7.2/src/modules/Java/jvm.c:2846
#4 0x8084a1c in mega_apply (type=APPLY_LOW, args=0, arg1=0x86432c4,
arg2=0x0)
at /home/mast/Pike/7.2/src/interpret.c:1228
#5 0x80861c3 in apply_lfun (o=0x86432c4, fun=1, args=0) at
/home/mast/Pike/7.2/src/interpret.c:1624
#6 0x80e3d2b in call_pike_initializers (o=0x86432c4, args=0) at
/home/mast/Pike/7.2/src/object.c:255
#7 0x80e4152 in parent_clone_object (p=0x8565c60, parent=0x8643304,
parent_identifier=0, args=0)
at /home/mast/Pike/7.2/src/object.c:317
#8 0x8084a63 in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/mast/Pike/7.2/src/interpret.c:1240
#9 0x80833ba in eval_instruction_without_debug (pc=0x8520918
"hD\001v\023")
at /home/mast/Pike/7.2/src/interpret_functions.h:1489
#10 0x8084dc1 in mega_apply (type=APPLY_LOW, args=0, arg1=0x8643304,
arg2=0xe)
at /home/mast/Pike/7.2/src/interpret.c:799
#11 0x80861c3 in apply_lfun (o=0x8643304, fun=1, args=0) at
/home/mast/Pike/7.2/src/interpret.c:1624
#12 0x80e3d2b in call_pike_initializers (o=0x8643304, args=0) at
/home/mast/Pike/7.2/src/object.c:255
#13 0x80e3ee2 in debug_clone_object (p=0x83fa908, args=0) at
/home/mast/Pike/7.2/src/object.c:280
#14 0x80844e2 in mega_apply (type=APPLY_STACK, args=0, arg1=0x0, arg2=0x0)
at /home/mast/Pike/7.2/src/interpret.c:1051
#15 0x80833ba in eval_instruction_without_debug (pc=0x834b834
"ei\004&\004\003\002G")
at /home/mast/Pike/7.2/src/interpret_functions.h:1489
#16 0x8084dc1 in mega_apply (type=APPLY_LOW, args=3, arg1=0x82f401c,
arg2=0x28)
at /home/mast/Pike/7.2/src/interpret.c:799
/.../
```
It might be some clue that the server tree has been copied to another
location from where it used to run.Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström