pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2009-04-16T14:11:39Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/3659segfault in gc2009-04-16T14:11:39ZPeter Bortassegfault in gcImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3659
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23038)]
real_gc_ch...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3659
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23038)]
real_gc_check (a=0x550004) at /root/Pike/7.5/src/gc.c:1488
1488 if (m->refs == *(INT32 *) a)
(gdb) bt
#0 real_gc_check (a=0x550004) at /root/Pike/7.5/src/gc.c:1488
#1 0x08098f36 in gc_check_Backend_struct () at backend.cmod:2926
#2 0x080de99a in gc_check_object (o=0x82b1038)
at /root/Pike/7.5/src/object.c:1908
#3 0x080dd689 in gc_check_all_objects () at /root/Pike/7.5/src/object.c:1937
#4 0x080af75d in do_gc (ignored=0x8505318, explicit_call=0)
at /root/Pike/7.5/src/gc.c:2816
#5 0x0809a705 in low_call_callback (lst=0x8224e94, arg=0x0)
at /root/Pike/7.5/src/callback.c:167
#6 0x0806d003 in branch_check_threads_etc ()
at /root/Pike/7.5/src/interpret.c:1019
#7 0x0862837c in ?? ()
#8 0x08075f37 in mega_apply (type=APPLY_SVALUE, args=0, arg1=0x8550ba4,
arg2=0x0) at /root/Pike/7.5/src/interpret.c:1982
#9 0x08076ccc in apply_svalue (s=0x95309d0, args=4)
at /root/Pike/7.5/src/interpret.c:2384
#10 0x081579c2 in got_fd_event (box=0x8550b90, event=0)
at /root/Pike/7.5/src/modules/files/file.c:225
#11 0x080987a3 in low_backend_once (me=0x82b7fc0, timeout=0xbffff270)
at backend.cmod:2540
#12 0x08098a31 in f_Backend_cq__backtick_28_29 (args=4) at backend.cmod:2821
#13 0x08074e23 in low_mega_apply (type=APPLY_SVALUE, args=1, arg1=0x82b939c,
arg2=0x0) at apply_low.h:214
#14 0x08072a59 in jump_opcode_F_APPLY_AND_POP (arg1=156436944)
---Type <return> to continue, or q <return> to quit---
at interpret_functions.h:1936
#15 0x0835e88e in ?? ()
#16 0x08076022 in o_catch (
pc=0x835e94b
"¡pN\"\b\203@\034\024\213\rhN\"\b\213\025`N\"\b\211\021\203Á\004\211\rhN\"\bÇ\002\t")
at /root/Pike/7.5/src/interpret.c:2027
#17 0x080707d9 in jump_opcode_F_CATCH () at interpret_functions.h:1236
#18 0x0835e945 in ?? ()
#19 0x08075f37 in mega_apply (type=APPLY_LOW, args=2, arg1=0x82b104c,
arg2=0x68) at /root/Pike/7.5/src/interpret.c:1982
#20 0x08076c6b in apply (o=0x4023e140, fun=0x81a854c "_main", args=2)
at /root/Pike/7.5/src/interpret.c:2369
#21 0x080d20f7 in main (argc=5, argv=0xbffff6d4)
at /root/Pike/7.5/src/main.c:839
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3658Protocols.HTTP.get_url_nice doesnt follow 302 - header parser bug2022-08-28T23:35:52ZPeter BortasProtocols.HTTP.get_url_nice doesnt follow 302 - header parser bugImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3658
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
Unfortunately I cannot provide an URL for it, because its protected and only works from uni-
paderborn.de. I...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3658
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
Unfortunately I cannot provide an URL for it, because its protected and only works from uni-
paderborn.de. It seems like the header parser fails to parse the result and content-type contains
lots of headers afterwards without any separation character (text/htmllocation: http://
....something-else:....)
The web-server is an IIS.Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3656Protocols.XMLRPC trouble parsing empty <value>s2009-04-16T14:11:39ZPeter BortasProtocols.XMLRPC trouble parsing empty <value>sImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3656
Reported by Dan Nelson <dnelson_1901@yahoo.com>
According to the XMLRPC spec, <value>s should have a <type> within them,
but "If no type is indicated, the type is st...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3656
Reported by Dan Nelson <dnelson_1901@yahoo.com>
According to the XMLRPC spec, <value>s should have a <type> within them,
but "If no type is indicated, the type is string." Pike can handle untyped
strings except for the empty string case:
```
> Protocols.XMLRPC.decode_call("<?xml
version=\"1.0\"?><methodCall><methodName>test</methodName><params><param><value>hi</value></param></params></methodCall>");
(1) Result: Protocols.XMLRPC.Call("test", 1 param)
> Protocols.XMLRPC.decode_call("<?xml
version=\"1.0\"?><methodCall><methodName>test</methodName><params><param><value></value></param></params></methodCall>");
Attempt to index the empty array with 0.
/usr/local/pike/7.5.21/lib/modules/Protocols.pmod/XMLRPC.pmod/module.pmod:226:
Protocols.XMLRPC->__lambda_66003_2_line_191(">","value",([]),({}),mapping[1])
>
```
Fix:
```
Index: module.pmod
===================================================================
RCS file: /cvs/Pike/7.5/lib/modules/Protocols.pmod/XMLRPC.pmod/module.pmod,v
retrieving revision 1.24
diff -u -r1.24 module.pmod
--- module.pmod 25 Feb 2004 10:48:35 -0000 1.24
+++ module.pmod 28 Apr 2004 04:49:12 -0000
@@ -223,7 +223,7 @@
return value->s;
return value;
}
- return data[0];
+ return sizeof(data)?data[0]:"";
case "i4":
case "int":
case "boolean":
```
Applies to 7.4 - 7.6Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3655Protocols.LDAP does not support paging2009-04-16T14:11:39ZPeter BortasProtocols.LDAP does not support pagingImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3655
Reported by Marcus Wellhardh <wellhard@roxen.com>
It is not possible to retrieve more then 1000 entries in a LDAP query
because the LDAP module does not support paging.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3655
Reported by Marcus Wellhardh <wellhard@roxen.com>
It is not possible to retrieve more then 1000 entries in a LDAP query
because the LDAP module does not support paging.Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3654http pipelining is broken. Can cause missing images....2013-09-03T15:02:41ZPeter Bortashttp pipelining is broken. Can cause missing images....Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3654
Reported by Ian Kumlien, <pomac@vapor.com>
Hi,
I noticed this a while back and i have done some testing on every version
of pike and roxen cvs that i have installed...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3654
Reported by Ian Kumlien, <pomac@vapor.com>
Hi,
I noticed this a while back and i have done some testing on every version
of pike and roxen cvs that i have installed.
It might also be due to something in mozilla, more on that below.
I restested today due to this cvs entry:
14:25, April the 25th, 2004, <mirar@roxen.com>
*
Pike/7.5/lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/Request.pike
(+2/-0) Download Show Log
correct misbehaviour on small responses to actually finish the
request (how did it ever work?)
And it looks like it behaves better, i used to get 5-6 missing images now i
get 1-2.
Anyways to recreate:
Install roxen, mozilla. Enable http 1.1, keep alive and pipelining.
Enter the page, hold shift and hit reload.
You get some stalled images. These are reported as ? connections in roxens
administration interface (in roxen 4.0.x)....
I just thought i'd make this official, feel free to mail me with questions etc.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3652Java for Pike configure failes on Linux2009-04-16T14:11:39ZPeter BortasJava for Pike configure failes on LinuxImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3652
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
The Java module has begun to fail on Linux:
configuring in Java
running /bin/bash
/home/distm...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3652
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
The Java module has begun to fail on Linux:
configuring in Java
running /bin/bash
/home/distmaker/Distmaker/4.0/build/pike.lrh7.3/pike/src/modules/Java/configure
--without-msql --without-GL --without-GLU --without-GLUT --without-GTK
--without-GDK --without-gdbm --with-max-fd=65535 --without-sane
--without-HTTPLoop --without-rtldebug
--with-root=/home/distmaker/Distmaker/4.0/link/lrh7.3
--with-sybase-include-dir=/home/distmaker/Distmaker/4.0/link/lrh7.3/sybase/include
--with-sybase-lib-dir=/home/distmaker/Distmaker/4.0/link/lrh7.3/sybase/lib
--cache-file=../.././config.cache
--srcdir=/home/distmaker/Distmaker/4.0/build/pike.lrh7.3/pike/src/modules/Java
loading cache ../.././config.cache
checking for gcc... (cached)
/home/distmaker/Distmaker/4.0/build/pike.lrh7.3/build/smartlink gcc
checking whether the C compiler
(/home/distmaker/Distmaker/4.0/build/pike.lrh7.3/build/smartlink gcc -g
-mcpu=i686 -R/home/distmaker/Distmaker/4.0/link/lrh7.3/lib
-L/home/distmaker/Distmaker/4.0/link/lrh7.3/lib) works... (cached) yes
checking whether we are using GNU C... (cached) yes
checking whether
/home/distmaker/Distmaker/4.0/build/pike.lrh7.3/build/smartlink gcc accepts
-g... (cached) yes
checking if we are using TCC... (cached) no
checking how to run the C preprocessor... gcc -E
checking which operating system we are using... linux
checking which architecture we are using... i386
checking what kind of threads to use... native_threads
checking for working ls... /bin/ls
checking for JAVA_HOME... /usr/local/jdk1.3/jre
checking for Java libraries...
/usr/local/jdk1.3/jre/lib/i386/native_threads
/usr/local/jdk1.3/jre/lib/i386/classic /usr/local/jdk1.3/jre/lib/i386
/usr/local/jdk1.3/jre/lib/i386/server /usr/local/jdk1.3/jre/lib/i386/client
Adding /usr/local/jdk1.3/jre/lib/i386/native_threads
/usr/local/jdk1.3/jre/lib/i386/classic /usr/local/jdk1.3/jre/lib/i386
/usr/local/jdk1.3/jre/lib/i386/server /usr/local/jdk1.3/jre/lib/i386/client
to the library search path.
checking for the Java include directory... /usr/local/jdk1.3/jre/../include
Adding /usr/local/jdk1.3/jre/../include to the include search path.
Adding /usr/local/jdk1.3/jre/../include/linux to the include search path.
checking for JavaVM (MacOS X)... no
checking for jni.h... yes
checking for winbase.h... (cached) no
checking for setjmp.h... (cached) yes
checking for sysOpen in -lhpi... yes
checking for JNI_CreateJavaVM in -ljvm... yes
checking for Java_java_lang_Class_isInstance in -ljava... yes
checking for Java_java_util_zip_Inflater_inflateBytes in -lzip... yes
checking for thr_create in -lthread... no
checking for ibmFindDLL in -ljava... no
checking if the JVM really works... no
checking for known machine language... x86
checking whether make sets ${MAKE}... (cached) yes
checking for the Pike base directory...
/home/distmaker/Distmaker/4.0/build/pike.lrh7.3/pike/src
updating cache ../.././config.cache
creating ./config.status
creating make_variables
creating Makefile
creating module.pmod.in
creating config.hPike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3651Segmenteringsfel "0x00000034 could not be read"2013-09-03T15:10:52ZPeter BortasSegmenteringsfel "0x00000034 could not be read"Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3651
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
pike.exe crashar med läsfel. Se bifogade skärmbilder.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3651
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
pike.exe crashar med läsfel. Se bifogade skärmbilder.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3650Implicit lambda fails to compile in return statement.2009-04-16T14:11:39ZPeter BortasImplicit lambda fails to compile in return statement.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3650
Reported by Marcus Agehall <agehall@roxen.com>
When using an implicit lambda like this:
```
return foo() { ... };
```
the compiler fails to compile the code.
Chang...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3650
Reported by Marcus Agehall <agehall@roxen.com>
When using an implicit lambda like this:
```
return foo() { ... };
```
the compiler fails to compile the code.
Changing the code to
```
mixed ret=foo() { ... };
return ret;
```
compiles.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3648Error in draw: Failed to decode layers in specified image.2009-04-16T14:11:39ZPeter BortasError in draw: Failed to decode layers in specified image.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3648
Reported by Marcus Wellhardh <wellhard@roxen.com>
```
The attached png file can not be decoded in 3.4.136 version. It worked OK
in 3.4.109. See RT #5072 for more inf...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3648
Reported by Marcus Wellhardh <wellhard@roxen.com>
```
The attached png file can not be decoded in 3.4.136 version. It worked OK
in 3.4.109. See RT #5072 for more info.
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3646SEGV in tpike during build2009-04-16T14:11:39ZPeter BortasSEGV in tpike during buildImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3646
Reported by Jakub Bogusz, <qboosh@pld-linux.org>
I tried to build Pike 7.4.44 on sparc-linux, it failed on precompilation -
tpike caught SEGV.
SEGV occurred in sparc...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3646
Reported by Jakub Bogusz, <qboosh@pld-linux.org>
I tried to build Pike 7.4.44 on sparc-linux, it failed on precompilation -
tpike caught SEGV.
SEGV occurred in sparc_flush_instruction_cache() (src/code/sparc.c).
I found that size passed to this function is multiplied by
sizeof(PIKE_OPCODE_T) twice (the first time in program.c, as
sizeof(p->program[0]), and the second in sparc.h, as sizeof(PIKE_OPCODE_T).
Removing the second one avoids SEGV, pike builds successfully.
```
--- Pike-v7.4.44/src/code/sparc.h.orig 2002-11-08 17:37:00.000000000 +0000
+++ Pike-v7.4.44/src/code/sparc.h 2004-04-15 21:15:42.000000000 +0000
@@ -72,7 +72,7 @@
extern const unsigned INT32 sparc_flush_instruction_cache[];
#define FLUSH_INSTRUCTION_CACHE(ADDR, LEN) \
(((void (*)(void *,size_t))sparc_flush_instruction_cache) \
- (ADDR, (LEN)*sizeof(PIKE_OPCODE_T)))
+ (ADDR, (LEN)))
struct dynamic_buffer_s;
```
(...or maybe it should be (LEN)+sizeof(PIKE_OPCODE_T), as I found in CVS
history about 2001, before changing it to macro?)Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3643Endless loop during install after "Installing Pike"2022-08-28T16:03:22ZPeter BortasEndless loop during install after "Installing Pike"Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3643
Reported by Scott Walters, <scott@slowass.net>
NetBSD. Install goes to 100% CPU usage and sits there for hours
after "make install" (possibly indefinately - hours be...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3643
Reported by Scott Walters, <scott@slowass.net>
NetBSD. Install goes to 100% CPU usage and sits there for hours
after "make install" (possibly indefinately - hours before I
killed it). "make verify" does the same thing but
does a little progress bar that says "Installing:" and gets to 20% before
stopping and sitting on the CPU. There are no errors during the
configure or build process except a warning that it was unable
to compile peep.c with optimizations but did link pike, and
I am able to run bin/pike -v and get the version number.
NetBSD 1.6.1 x86, gcc 2.95.3, default Pike configuration, Pike v7.4.44
(freshly downloaded).
Sorry for the lame bug report - I'm not a Pike user so I don't
know how to give you a stacktrace and I don't have the
incentive to try earlier versions or such.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3636cimg tag with format="jpeg" and jpeg-progressive="0" creates progressive JPEGs2009-04-16T14:11:39ZPeter Bortascimg tag with format="jpeg" and jpeg-progressive="0" creates progressive JPEGsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3636
Reported by Arjan van Staalduijnen, RTL iMedia <arjanvanstaalduijnen@rtlimedia.nl>
It appears the cimg tag creates progressive JPEGs, when the jpeg-
progressive para...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3636
Reported by Arjan van Staalduijnen, RTL iMedia <arjanvanstaalduijnen@rtlimedia.nl>
It appears the cimg tag creates progressive JPEGs, when the jpeg-
progressive parameter is explicitly set to "0".
This image has been explicitly generated with parameters
format="jpeg" jpeg-quality="92" jpeg-optimize="1" jpeg-progressive="0"
dither="floyd-steinberg"
http://www.rtl.nl/_internal/cimg!0/5apsxizgnaltae2jh6l.jpeg
Roxen webserver 2.4.103release1 with modifications
Pike 7.2.539 on LinuxPike 7.4https://git.lysator.liu.se/pikelang/pike/-/issues/3631Server hang2015-03-27T17:56:50ZPeter BortasServer hangImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3631
Reported by Marcus Wellhardh <wellhard@roxen.com>
The server hanged when I was trying to install an IntraWise site.
```
Host: king.roxen.com
Running without setting...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3631
Reported by Marcus Wellhardh <wellhard@roxen.com>
The server hanged when I was trying to install an IntraWise site.
```
Host: king.roxen.com
Running without setting LD_ASSUME_KERNEL.
```
Pike version: Pike v7.4 release 47
Product version: Roxen CMS 4.0.25-cvs
Operating system: Linux 2.4.21-9.0.1.EL (i686)
Starting MySQL ... Done 4.0.13-standard [522.5ms]
kill -QUIT gives:
```
: ### Describing all Pike threads:
16:57:01 :
31m53.7s : ### Thread -1249035344:
: _static_modules.Builtin()->mutex:
_static_modules.Builtin()->mutex()->lock(2)
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):771:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->_sbobj(0,"roxen-files",0,0)
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):1090:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->get_fs_roots_in(0,"")
:
modules/sitebuilder/pike-modules/Sitebuilder.pmod/FS.pmod/VCDir.pike
(version 1.192):418: VCDir(E:0:[Basic]::/)->get_contents()
16:57:01 :
modules/sitebuilder/pike-modules/Sitebuilder.pmod/FS.pmod/VCDir.pike
(version 1.192):1116:
VCDir(E:0:[Basic]::/)->list(0,0,1,Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->CacheEntry(),0)
31m53.8s : modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):2846:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->build_entries(0,"sitebuilder/xsl-template",RequestID(/))
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):2937:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->locate_file("cms-common.xsl",VCDir(E:0:[Basic]::/),"sitebuilder/xsl-template",RequestID(/))
: modules/sitebuilder/modules/xsltransform/xsltransform.pike
(version 1.97):1575:
RoxenModule(Basic/xsltransform#0)->get_xsl_path("cms-common.xsl",0,0,RequestID(/))
: modules/sitebuilder/modules/xsltransform/xsltransform.pike
(version 1.97):1604:
RoxenModule(Basic/xsltransform#0)->do_xsltransform("xsltransform",mapping[2],0,RequestID(/),mapping[1],editor/handler()->__class_67190_0_line_25(),([]))
: modules/sitebuilder/handlers/xml/common.pike (version
1.72):379:
editor/handler()->view_xml_or_html(MDFile("/home/wellhard/projects/roxen-4.0/Basic.sb/wa/view/index.xml",rML),mapping[1],RequestID(/))
16:57:01 : modules/sitebuilder/handlers/xml/handler.pike (version
1.27):22:
editor/handler()->view(MDFile("/home/wellhard/projects/roxen-4.0/Basic.sb/wa/view/index.xml",rML),mapping[1],RequestID(/))
31m53.8s : modules/sitebuilder/pike-modules/Sitebuilder.pmod/module.pmod
(version 1.197):658:
Sitebuilder->sb_http_file_answer(MDFile("/home/wellhard/projects/roxen-4.0/Basic.sb/wa/view/index.xml",rML),RequestID(/),0)
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):2440:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->wa_find_file_low("index.xml",0,1,RoxenModule(Basic/insite_editor#0),RequestID(/))
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):2721:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->wa_find_file("index.xml",0,1,RoxenModule(Basic/insite_editor#0),RequestID(/))
: modules/sitebuilder/modules/manager/workarea.pike (version
1.182):804:
RoxenModule(Basic/insite_editor#0)->find_file("index.xml",RequestID(/))
: modules/sitebuilder/modules/manager/insite_editor.pike (version
1.100):1066:
RoxenModule(Basic/insite_editor#0)->find_file("index.xml",RequestID(/))
16:57:01 : base_server/configuration.pike (version 1.551):1564:
Configuration(Basic)->low_get_file(RequestID(/),0)
31m53.8s : base_server/configuration.pike (version 1.551):1793:
Configuration(Basic)->get_file(RequestID(/),0,0)
: base_server/configuration.pike (version 1.551):1757:
Configuration(Basic)->handle_request(RequestID(/))
: modules/directories/indexfiles.pike (version 1.22):59:
RoxenModule(Basic/indexfiles#0)->parse_directory(RequestID(/))
: base_server/configuration.pike (version 1.551):1643:
Configuration(Basic)->low_get_file(RequestID(/),0)
: base_server/configuration.pike (version 1.551):1793:
Configuration(Basic)->get_file(RequestID(/),0,0)
16:57:01 : base_server/configuration.pike (version 1.551):1757:
Configuration(Basic)->handle_request(RequestID(/))
31m53.8s : protocols/http.pike (version 1.424):1912:
RequestID(/)->handle_request()
: base_server/roxen.pike (version 1.866):639:
roxen->handler_thread(4)
:
: ### Thread -1248769104:
: _static_modules.Builtin()->mutex:
_static_modules.Builtin()->mutex()->lock()
16:57:01 : modules/scripting/pikescript.pike (version 1.72):118:
RoxenModule(Administration
Interface/pikescript#0)->call_script(/home/wellhard/projects/roxen-4.0/server/config_interface/sites/create_site_with_template()->parse,RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101),,,0)
31m53.8s : modules/scripting/pikescript.pike (version 1.72):253:
RoxenModule(Administration
Interface/pikescript#0)->handle_file_extension(Stdio.File("config_interface/sites/create_site_with_template.pike",
"r", 777 /* fd=38
*/),"pike",RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101))
: base_server/configuration.pike (version 1.551):1688:
Configuration(Administration
Interface)->low_get_file(RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101),0)
: base_server/configuration.pike (version 1.551):1793:
Configuration(Administration
Interface)->get_file(RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101),0,0)
: base_server/configuration.pike (version 1.551):1757:
Configuration(Administration
Interface)->handle_request(RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101))
: protocols/http.pike (version 1.424):1912:
RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101)->handle_request()
16:57:01 : base_server/roxen.pike (version 1.866):639:
roxen->handler_thread(3)
31m53.8s :
: ### Thread -1248502864:
: _static_modules.Builtin()->mutex:
_static_modules.Builtin()->mutex()->lock()
: modules/scripting/pikescript.pike (version 1.72):118:
RoxenModule(Administration
Interface/pikescript#0)->call_script(/home/wellhard/projects/roxen-4.0/server/config_interface/sites/create_site_with_template()->parse,RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101),,,0)
: modules/scripting/pikescript.pike (version 1.72):253:
RoxenModule(Administration
Interface/pikescript#0)->handle_file_extension(Stdio.File("config_interface/sites/create_site_with_template.pike",
"r", 777 /* fd=39
*/),"pike",RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101))
16:57:01 : base_server/configuration.pike (version 1.551):1688:
Configuration(Administration
Interface)->low_get_file(RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101),0)
31m53.8s : base_server/configuration.pike (version 1.551):1793:
Configuration(Administration
Interface)->get_file(RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101),0,0)
: base_server/configuration.pike (version 1.551):1757:
Configuration(Administration
Interface)->handle_request(RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101))
: protocols/http.pike (version 1.424):1912:
RequestID(/sites/create_site_with_template.pike?name=73,110,116,114,97,87,105,115,101)->handle_request()
: base_server/roxen.pike (version 1.866):639:
roxen->handler_thread(2)
:
16:57:01 : ### Thread -1248236624:
31m53.9s : _static_modules.Builtin()->create_process:
_static_modules.Builtin()->create_process()->wait()
: modules/sitebuilder/pike-modules/VC.pmod/CVS.pmod/CVS.pike
(version 1.43):148:
VC.CVS.CVS()->command(0,"/home/wellhard/projects/roxen-4.0/server/modules/sitebuilder/bin/cvs","-!","-q","-d:local:/home/wellhard/projects/roxen-4.0/server","--version")
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Site.pike
(version 1.327):3720:
Site(IntraWise:/home/wellhard/projects/roxen-4.0/intrawise.iw/default/storage.sb/)->initialize(RoxenModule(IntraWise/sitebuilder#0)->get_mac,"../intrawise.iw/default/storage.sb",1,DefaultSite("/home/wellhard/projects/roxen-4.0/server/modules/intrawise/default_site"),mapping[4],mapping[6])
: modules/sitebuilder/modules/manager/sitebuilder.pike (version
1.113):565: RoxenModule(IntraWise/sitebuilder#0)->initialize(1)
: modules/sitebuilder/modules/manager/sitebuilder.pike (version
1.113):614:
RoxenModule(IntraWise/sitebuilder#0)->start(2,Configuration(IntraWise))
16:57:01 : base_server/configuration.pike (version 1.551):2607:
Configuration(IntraWise)->save(0)
31m53.9s : modules/intrawise/modules/intrawise.pike (version 1.188):579:
RoxenModule(IntraWise/intrawise#0)->start(0,Configuration(IntraWise))
: base_server/configuration.pike (version 1.551):3084:
Configuration(IntraWise)->call_high_start_callbacks(RoxenModule(IntraWise/intrawise#0),ModuleInfo(intrawise))
: base_server/configuration.pike (version 1.551):2966:
Configuration(IntraWise)->call_start_callbacks(RoxenModule(IntraWise/intrawise#0),ModuleInfo(intrawise),ModuleCopies(1))
: site_templates/common.pike:153:
/home/wellhard/projects/roxen-4.0/server/site_templates/intrawise()->parse(RequestID(/sites/create_site_with_template.pike),0)
: site_templates/intrawise.pike (version 1.21):160:
/home/wellhard/projects/roxen-4.0/server/site_templates/intrawise()->parse(RequestID(/sites/create_site_with_template.pike))
16:57:01 : config_interface/sites/create_site_with_template.pike:90:
/home/wellhard/projects/roxen-4.0/server/config_interface/sites/create_site_with_template()->parse(RequestID(/sites/create_site_with_template.pike))
31m53.9s : modules/scripting/pikescript.pike (version 1.72):133:
RoxenModule(Administration
Interface/pikescript#0)->call_script(/home/wellhard/projects/roxen-4.0/server/config_interface/sites/create_site_with_template()->parse,RequestID(/sites/create_site_with_template.pike),,,0)
: modules/scripting/pikescript.pike (version 1.72):253:
RoxenModule(Administration
Interface/pikescript#0)->handle_file_extension(Stdio.File("config_interface/sites/create_site_with_template.pike",
"r", 777 /* fd=24 */),"pike",RequestID(/sites/create_site_with_template.pike))
: base_server/configuration.pike (version 1.551):1688:
Configuration(Administration
Interface)->low_get_file(RequestID(/sites/create_site_with_template.pike),0)
: base_server/configuration.pike (version 1.551):1793:
Configuration(Administration
Interface)->get_file(RequestID(/sites/create_site_with_template.pike),0,0)
: base_server/configuration.pike (version 1.551):1757:
Configuration(Administration
Interface)->handle_request(RequestID(/sites/create_site_with_template.pike))
16:57:01 : protocols/http.pike (version 1.424):1912:
RequestID(/sites/create_site_with_template.pike)->handle_request()
31m53.9s : base_server/roxen.pike (version 1.866):639:
roxen->handler_thread(1)
:
: ### Thread -1246766160:
: _static_modules.Builtin()->create_process:
_static_modules.Builtin()->create_process()->wait()
: modules/sitebuilder/pike-modules/VC.pmod/CVS.pmod/CVS.pike
(version 1.43):148:
VC.CVS.CVS()->command(0,"/home/wellhard/projects/roxen-4.0/server/modules/sitebuilder/bin/cvs","-!","-q","-d:local:/home/wellhard/projects/roxen-4.0/Basic.sb/cvsroot","-n","status","-v","__info")
16:57:01 : modules/sitebuilder/pike-modules/VC.pmod/CVS.pmod/file.pike
(version 1.87):382: VC.CVS.file()->status(1)
31m53.9s :
modules/sitebuilder/pike-modules/Sitebuilder.pmod/FS.pmod/VCDir.pike
(version 1.192):299:
VCDir(0:0:[Basic]::/intranet/PSO/Projects/Norrk_ping_SOW_2002-36_Upphandlingsenheten/Norrk_ping_SOW_2002-36_(Upphandlingsenheten))->update_state(0,0,1)
:
modules/sitebuilder/pike-modules/Sitebuilder.pmod/FS.pmod/VCDir.pike
(version 1.192):125:
VCDir(0:0:[Basic]::/intranet/PSO/Projects/Norrk_ping_SOW_2002-36_Upphandlingsenheten/Norrk_ping_SOW_2002-36_(Upphandlingsenheten))->create(Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/)),({"intranet","PSO","Projects","Norrk_ping_SOW_2002-36_Upphandlingsenheten"}),0,VC.CVS.dir(),0)
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):724:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->_make_vadir("intranet/PSO/Projects/Norrk_ping_SOW_2002-36_Upphandlingsenheten/Norrk_ping_SOW_2002-36_(Upphandlingsenheten)",,,0)
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):818:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->_sbobj(0,"intranet/PSO/Projects/Norrk_ping_SOW_2002-36_Upphandlingsenheten/Norrk_ping_SOW_2002-36_(Upphandlingsenheten)",0,0)
: modules/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike
(version 1.231):1130:
Workarea(,Site(Basic:/home/wellhard/projects/roxen-4.0/Basic.sb/))->prefetch_va(({VCDir(E:0:[Basic]::/intranet/PSO/Projects/Nexor/Customer_Deliverables),VCDir(E:0:[Basic]::/intranet/PSO/Projects/Nexor/Meeting_Minutes),,,244}))
16:57:01 : base_server/roxen.pike (version 1.866):994:
roxen->bg_process_queue()
31m53.9s : base_server/roxen.pike (version 1.866):639:
roxen->handler_thread(0)
:
: ### Thread -1220463968 (backend thread):
: _static_modules.Builtin()->thread_id:
Thread.Thread(-1220463968)->backtrace()
: base_server/roxen.pike (version 1.866):4362:
roxen->describe_all_threads()
16:57:01 : _static_modules.Builtin()->Backend:
_static_modules.Builtin()->__backend->`()(3600.000000)
31m53.9s :
: ### Total 6 Pike threads
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3630SIGBUS in low_backtrace()2009-04-16T14:11:39ZPeter BortasSIGBUS in low_backtrace()Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3630
Reported by David Gourdelier, <vida@caudium.net>
```
Program received signal SIGBUS, Bus error.
0x810dede in low_backtrace (i=0x8228e40)
at /home/david/Pike/7.5/...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3630
Reported by David Gourdelier, <vida@caudium.net>
```
Program received signal SIGBUS, Bus error.
0x810dede in low_backtrace (i=0x8228e40)
at /home/david/Pike/7.5/src/builtin.cmod:1547
1547 if (function && (function->identifier_flags &
IDENTIFIER_VARARGS) &&
(gdb) bt
#0 0x810dede in low_backtrace (i=0x8228e40)
at /home/david/Pike/7.5/src/builtin.cmod:1547
#1 0x810dfc9 in f_backtrace (args=0)
at /home/david/Pike/7.5/src/builtin.cmod:1610
#2 0x80ac74a in push_error (
description=0xbfbfdb04 "Wrong type of argument to MIME.decode_base64()\n")
at error.c:175
#3 0x80ac76d in low_error (
buf=0xbfbfdb04 "Wrong type of argument to MIME.decode_base64()\n")
at error.c:190
#4 0x80ac8ed in va_error (
fmt=0x286681a0 "Wrong type of argument to MIME.decode_base64()\n",
args=0xbfbfeb30 "pë¿¿«v\r\b2_f(ÄW2\b\b") at error.c:228
#5 0x80acc99 in Pike_error (
fmt=0x286681a0 "Wrong type of argument to MIME.decode_base64()\n")
at error.c:376
#6 0x28665f71 in f_decode_base64 (args=1) at mime.c:165
#7 0x8070a65 in opcode_F_CALL_BUILTIN1 (arg1=18)
at /home/david/Pike/7.5/src/interpret_functions.h:2178
#8 0x86d1821 in ?? ()
#9 0x8073042 in o_catch (
pc=0x86d17dc
"¡H\216\"\b\213\r@\216\"\b\211\b\203À\004£H\216\"\b\213\035P\216\"\b\213S$\213B\004\211A\004\213\022\211\021f\203ú\aw\002ÿ")
at interpret.c:1936
#10 0x806def0 in jump_opcode_F_CATCH ()
at /home/david/Pike/7.5/src/interpret_functions.h:1240
#11 0x86d17d6 in ?? ()
#12 0x8072f80 in mega_apply (type=APPLY_STACK, args=8, arg1=0x0, arg2=0x0)
at interpret.c:1891
#13 0x80730a8 in f_call_function (args=8) at interpret.c:1962
#14 0x2851a0f8 in container_callback (this=0xc356000, thisobj=0xc71b178,
v=0xbc38630, startc=0x88d77b0, cstartc=1574, endc=0x88d77b0, cendc=15519,
st=0x87507b0, cutstart=0x87507bc, ccutstart=0x87507c0, cutend=0x88d77b0,
ccutend=15532) at html.c:2734
#15 0x2851b560 in do_try_feed (this=0xc356000, thisobj=0xc71b178,
st=0x87507b0,
feed=0x87507bc, finished=1, ignore_tag_cb=0) at html.c:3223
#16 0x2851c6b2 in try_feed (finished=1) at html.c:3736
#17 0x2851ccb6 in html_finish (args=1) at html.c:3931
#18 0x8071e22 in low_mega_apply (type=APPLY_LOW, args=1, arg1=0xc71b178,
arg2=0xc) at apply_low.h:211
#19 0x8070370 in jump_opcode_F_CALL_OTHER (arg1=55)
at /home/david/Pike/7.5/src/interpret_functions.h:1958
#20 0xbb47861 in ?? ()
#21 0x8072f80 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
at interpret.c:1891
---Type <return> to continue, or q <return> to quit---
#22 0x80730a8 in f_call_function (args=1) at interpret.c:1962
#23 0x809a9ef in backend_do_call_outs (me=0x831a400)
at /home/david/Pike/7.5/src/backend.cmod:1192
#24 0x809bf08 in low_backend_once (me=0x831a400, timeout=0xbfbff188)
at /home/david/Pike/7.5/src/backend.cmod:2514
#25 0x809c095 in f_Backend_cq__backtick_28_29 (args=1)
at /home/david/Pike/7.5/src/backend.cmod:2559
#26 0x8071e22 in low_mega_apply (type=APPLY_SVALUE, args=1, arg1=0x83ebfcc,
arg2=0x0) at apply_low.h:211
#27 0x806ff15 in jump_opcode_F_APPLY_AND_POP (arg1=49)
at /home/david/Pike/7.5/src/interpret_functions.h:1937
#28 0x83dcbae in ?? ()
#29 0x8073042 in o_catch (
pc=0x83dcb28
"\213\rP\216\"\b¸Ø4Â÷÷Ø\211A\034\203A\034\020\213\025H\216\"\b\213\035@\216\"\b\211\032\203Â\004\211\025H\216\"\bÇ\003\t")
at interpret.c:1936
#30 0x806def0 in jump_opcode_F_CATCH ()
at /home/david/Pike/7.5/src/interpret_functions.h:1240
#31 0x83dcb22 in ?? ()
#32 0x8072f80 in mega_apply (type=APPLY_LOW, args=2, arg1=0x8315f14, arg2=0x66)
at interpret.c:1891
#33 0x8073b19 in apply (o=0x8315f14, fun=0x81a76da "_main", args=2)
at interpret.c:2278
#34 0x80d4c24 in main (argc=14, argv=0xbfbff510) at main.c:841
#35 0x8061e56 in _start ()
```
(gdb) display function->name
6: function->name = (struct pike_string *)
Error accessing memory address 0xfe56e852: Bad address.
Disabling display 6 to avoid infinite recursion.
(gdb) display function->identifier_flags
7: function->identifier_flags =
Error accessing memory address 0xfe56e85a: Bad address.
Disabling display 7 to avoid infinite recursion.
This is the latest Pike 7.5 CVS running on FreeBSD 4.7.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3626Segfault when reloading a Caudium module2015-04-16T17:50:54ZPeter BortasSegfault when reloading a Caudium moduleImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3626
Reported by David Gourdelier, <vida@caudium.net>
Hello again,
When reloading a Caudium module I got this error:
```
Program received signal SIGSEGV, Segmentation f...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3626
Reported by David Gourdelier, <vida@caudium.net>
Hello again,
When reloading a Caudium module I got this error:
```
Program received signal SIGSEGV, Segmentation fault.
0x80ddf77 in low_object_index_no_free (to=0x28a43240, o=0x9927f00, f=0)
at object.c:1133
1133 assign_svalue_no_free(to, s);
(gdb) bt
#0 0x80ddf77 in low_object_index_no_free (to=0x28a43240, o=0x9927f00, f=0)
at object.c:1133
#1 0x965d16e in ?? ()
#2 0x8073042 in o_catch (
pc=0x8a500b6
"¡H\216\"\b\213\r@\216\"\b\211\b\203À\004£H\216\"\bÇ\004$\036")
at interpret.c:1936
#3 0x806def0 in jump_opcode_F_CATCH ()
at /home/david/Pike/7.5/src/interpret_functions.h:1240
#4 0x8a500b0 in ?? ()
#5 0x8073042 in o_catch (
pc=0x8992cfb
"¡P\216\"\b\203@\034\017\213\rH\216\"\b\213\025@\216\"\b\211\021\203Á\004\211\rH\216\"\b\017¿X>\201ÃÀ")
at interpret.c:1936
#6 0x806def0 in jump_opcode_F_CATCH ()
at /home/david/Pike/7.5/src/interpret_functions.h:1240
#7 0x8992cf5 in ?? ()
#8 0x8072f80 in mega_apply (type=APPLY_STACK, args=2, arg1=0x0, arg2=0x0)
at interpret.c:1891
#9 0x80730a8 in f_call_function (args=2) at interpret.c:1962
#10 0x810708a in new_thread_func (data=0xbfbfeff4) at threads.c:864
#11 0x282281b4 in _thread_start () from /usr/lib/libc_r.so.4
#12 0x0 in ?? ()
```
Might not be the compiler since there is a good amount of code in the
start() function of an inherit Caudium module. The bug doesn't appear all
the time but quite often anyway. I'm running FreeBSD 4.7 on IA32.
PS: This time my installation is clean this time:)Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3625Segfault when starting Pike2009-04-16T14:11:39ZPeter BortasSegfault when starting PikeImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3625
Reported by David Gourdelier, <vida@caudium.net>
During the installation of the latest Pike CVS, I got this:
Making GTK
/home/david/Pike/7.5/src/pike -DNOT_INSTALLE...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3625
Reported by David Gourdelier, <vida@caudium.net>
During the installation of the latest Pike CVS, I got this:
Making GTK
/home/david/Pike/7.5/src/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE
-m/home/david/Pike/7.5/src/master.pike
/home/david/Pike/7.5/src/post_modules/GTK/new_build_pgtk.pike
--source='/home/david/Pike/7.5/src/post_modules/GTK/source/'
/home/david/Pike/7.5/src/post_modules/GTK/output/few.pike
Segmentation fault (core dumped)
Gdb shows:
```
Program received signal SIGSEGV, Segmentation fault.
0x81082bb in init_thread_obj (o=0x8315f8c) at threads.c:1595
1595 MEMSET(&THIS_THREAD->state, 0, sizeof(struct Pike_interpreter));
(gdb) bt
#0 0x81082bb in init_thread_obj (o=0x8315f8c) at threads.c:1595
#1 0x80ee558 in compat_event_handler (e=0) at program.c:3207
#2 0x80dc572 in call_c_initializers (o=0x8315f8c) at object.c:283
#3 0x80dc8c1 in fast_clone_object (p=0x8312480) at object.c:375
#4 0x81090e0 in th_init () at threads.c:2045
#5 0x80d4cb4 in low_init_main () at main.c:906
#6 0x8154eb5 in init_modules () at module.c:75
#7 0x80d4aec in main (argc=2, argv=0xbfbff6ec) at main.c:794
#8 0x8061e56 in _start ()
```
The segfault is reproductible, the OS is FreeBSD 4.7.Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3624Problem in Parser.HTML() with mixed_mode2009-04-16T14:11:39ZPeter BortasProblem in Parser.HTML() with mixed_modeImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3624
Reported by Marcus Wellhardh <wellhard@roxen.com>
Mixed mode in Parser.HTML() does not work for more then 32 nodes.
```
Reported in RT#4969
```
Test program below:...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3624
Reported by Marcus Wellhardh <wellhard@roxen.com>
Mixed mode in Parser.HTML() does not work for more then 32 nodes.
```
Reported in RT#4969
```
Test program below:
```
Pike v7.2 release 421 running Hilfe v2.0 (Incremental Pike Frontend)
--------------
object p = Parser.HTML();
p->mixed_mode (1);
p->add_container ("land", lambda (object p, mapping args, string content)
{return ({ p->tag_content() }); });
Works
-----
p->feed("\"\\n <land>1</land>\\n <land>2</land>\\n <land>3</land>\\n
<land>4</land>\\n <land>5</land>\\n <land>6</land>\\n <land>7</land>\\n
<land>8</land>\\n <land>9</land>\\n <land>10</land>\\n
<land>11</land>\\n <land>12</land>\\n <land>13</land>\\n
<land>14</land>\\n <land>15</land>")->read();
```
Result: ({ /* 30 elements */
"\"\\n ",
"1",
"\\n ",
"2",
"\\n ",
"3",
"\\n ",
"4",
"\\n ",
"5",
"\\n ",
"6",
"\\n ",
"7",
"\\n ",
"8",
"\\n ",
"9",
"\\n ",
"10",
"\\n ",
"11",
"\\n ",
"12",
"\\n ",
"13",
"\\n ",
"14",
"\\n ",
"15"
})
```
Does not work
-------------
p->feed("\"\\n <land>1</land>\\n <land>2</land>\\n <land>3</land>\\n
<land>4</land>\\n <land>5</land>\\n <land>6</land>\\n <land>7</land>\\n
<land>8</land>\\n <land>9</land>\\n <land>10</land>\\n
<land>11</land>\\n <land>12</land>\\n <land>13</land>\\n
<land>14</land>\\n <land>15</land>\\n <land>16</land>")->read();
```
Result: ({ })Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/3623Can't load edit applet over https on Mozilla2009-04-16T14:11:39ZPeter BortasCan't load edit applet over https on MozillaImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3623
Reported by Marcus Wellhardh <wellhard@roxen.com>
Got the following in the Java console when trying to edit a page in the
simple edit applet when using https. The ap...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3623
Reported by Marcus Wellhardh <wellhard@roxen.com>
Got the following in the Java console when trying to edit a page in the
simple edit applet when using https. The applet failed to load and was
replaced by a red cross.
Mozilla: 1.4
Java: 1.4.2
CMS: 3.4.136
javax.net.ssl.SSLHandshakeException: Remote host closed connection during
handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setNewClient(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown
Source)
at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
at sun.plugin.cache.FileCache.get(Unknown Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown
Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
... 31 more
javax.net.ssl.SSLHandshakeException: Remote host closed connection during
handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setNewClient(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown
Source)
at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
at sun.plugin.cache.FileCache.get(Unknown Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown
Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
... 31 more
load: class spectral.intrawise.simpleeditor.SimpleEditor not found.
java.lang.ClassNotFoundException: spectral.intrawise.simpleeditor.SimpleEditor
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setNewClient(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown
Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
... 24 morePike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/3621HTTPS Client problem2009-04-16T14:11:39ZPeter BortasHTTPS Client problemImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3621
Reported by Marcus Wellhardh <wellhard@roxen.com>
The search engine in Roxen CMS does not work when using HTTPS ports.
The following test program does not work when...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3621
Reported by Marcus Wellhardh <wellhard@roxen.com>
The search engine in Roxen CMS does not work when using HTTPS ports.
The following test program does not work when accessing a Roxen Webserver
HTTPS site:
```
object o = Protocols.HTTP.Query();
void ok()
{
write("ok...\n");
write(sprintf("%O\n",o->headers));
exit(0);
}
void fail()
{
write("fail\n");
exit(0);
}
int main(int foo, array args)
{
if(sizeof(args) < 2) { werror("USAGE: https.pike <URL>\n"); exit(0); }
Standards.URI uri = Standards.URI(args[1]);
if(uri->scheme == "https") o->https = 1;
o->set_callbacks(ok, fail);
o->async_request(uri->host, uri->port, "GET / HTTP/1.0");
return -17;
}
```Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/3614Backtrace when copying roxen-files2009-04-16T14:11:39ZPeter BortasBacktrace when copying roxen-filesImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3614
Reported by Marcus Wellhardh <wellhard@roxen.com>
Got the following when copying /roxen-files to /roxen-files-copy in Roxen
CMS 3.4.128:
```
cvs.exe add: use 'cvs.e...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3614
Reported by Marcus Wellhardh <wellhard@roxen.com>
Got the following when copying /roxen-files to /roxen-files-copy in Roxen
CMS 3.4.128:
```
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away sc_res_infosingle_uc.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for middle_uc.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away middle_uc.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for mailto_old.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away mailto_old.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for middle_old.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away middle_old.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for middle.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away middle.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for mailto.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away mailto.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for free.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away free.gif; it is in the way
[...]
cvs.exe status: nothing known about __info
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe status: use `cvs.exe add' to create an entry for search.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away search.gif; it is in the way
cvs.exe status: use `cvs.exe add' to create an entry for reserve.gif
cvs.exe add: use 'cvs.exe commit' to add this file permanently
cvs.exe update: move away reserve.gif; it is in the way
: "C:/Roxen
CMS/3.4.128/Basic.sb/wa/view/roxen-files-copy/i-icons/intr
abook/help/en/reserve.gif" is invalid or modified - trying to repair.
: Internal server error: Couldn't create pipe: Error 10035
18:06:42 : /${PIKE_MODULE_PATH}/VC.pmod/CVS.pmod/CVS.pike:105:
command(0,"c:/ro
xen
cms/3.4.128/server-3.4.128/modules/sitebuilder/bin/cvs.exe","-!","-q","-d:lo
cal:C:/Roxen CMS/3.4.128/Basic.sb/cvsroot","-n","status","-v","reserve.gif")
0d 1h 9m : /${PIKE_MODULE_PATH}/VC.pmod/CVS.pmod/file.pike:378: status(1)
: /${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/VCFile.pike:1064:
VCFi
le(E/E:2:[Basic]::/roxen-files-copy/i-icons/intrabook/help/en/reserve.gif)->ensu
re_faked()
: /${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/VCFile.pike:2636:
VCFi
le(E/E:2:[Basic]::/roxen-files-copy/i-icons/intrabook/help/en/reserve.gif)->_act
ual_commit(,,,2)
: /${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/VCFile.pike:2733:
VCFi
le(E/E:2:[Basic]::/roxen-files-copy/i-icons/intrabook/help/en/reserve.gif)->comm
it(@0,"Test",0,0)
:
/${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/SBCurrentDir.pike:373:
NoVCDir(E:2:[Basic]::/roxen-files/i-icons/intrabook/help/en)->copy(@0,VCDir(E:2
:[Basic]::/roxen-files-copy/i-icons/intrabook/help/en),"Test",0)
18:06:42 :
/${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/SBCurrentDir.pike:371:
NoVCDir(E:2:[Basic]::/roxen-files/i-icons/intrabook/help)->copy(@0,VCDir(E:2:[B
asic]::/roxen-files-copy/i-icons/intrabook/help),"Test",0)
0d 1h 9m :
/${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/SBCurrentDir.pike:371:
NoVCDir(E:2:[Basic]::/roxen-files/i-icons/intrabook)->copy(@0,VCDir(E:2:[Basic]
::/roxen-files-copy/i-icons/intrabook),"Test",0)
:
/${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/SBCurrentDir.pike:371:
NoVCDir(E:2:[Basic]::/roxen-files/i-icons)->copy(@0,VCDir(E:2:[Basic]::/roxen-f
iles-copy/i-icons),"Test",0)
:
/${PIKE_MODULE_PATH}/Sitebuilder.pmod/FS.pmod/SBCurrentDir.pike:371:
NoVCDir(E:2:[Basic]::/roxen-files)->copy(@0,VCDir(E:2:[Basic]::/roxen-files-cop
y),"Test",0)
: c:/roxen
cms/3.4.128/server-3.4.128/modules/sitebuilder/tabs/files/w
izards/copy.pike (version 1.25):264:
wizard_done(@0,@1=NoVCDir(E:2:[Basic]::/rox
en-files))
: /roxen cms/3.4.128/server-3.4.128/base_server/wizard.pike
(version 1
.143):674: wizard_for(@0,"/edit/!!/!!files!N!ct!!!1078160662«/",@1)
18:06:42 : c:/roxen
cms/3.4.128/server-3.4.128/modules/sitebuilder/tabs/files/w
izards/_wizardbase.pike (version 1.38):259:
wizard_for(@0,"/edit/!!/!!files!N!ct
!!!1078160662«/",@1)
0d 1h 9m : /roxen cms/3.4.128/server-3.4.128/base_server/wizard.pike
(version 1
.143):959: wizard_menu(@0,"c:/roxen
cms/3.4.128/server-3.4.128/modules/sitebuild
er/tabs/files/wizards/","/edit/!!/!!files!N!ct!!!1078160662«/",@1)
: c:/roxen
cms/3.4.128/server-3.4.128/modules/sitebuilder/modules/mana
ger/content_editor.pike (version 1.328):975: show(@0,"wizards/",({c:/roxen
cms/3
.4.128/server-3.4.128/modules/sitebuilder/modules/manager/content_editor.pike.Ta
b(),,,5}))
: c:/roxen
cms/3.4.128/server-3.4.128/modules/sitebuilder/modules/mana
ger/content_editor.pike (version 1.328):2065:
RoxenModule(Basic/content_editor#0
)->find_file("!!roxen-files!!files!N!ct!/!!1078160653-«/wizards/",@0)
: /roxen
cms/3.4.128/server-3.4.128/base_server/configuration.pike (ve
rsion 1.535):1545: Configuration(Basic)->low_get_file(@0,0)
: /roxen
cms/3.4.128/server-3.4.128/base_server/configuration.pike (ve
rsion 1.535):1772: Configuration(Basic)->get_file(@0,0,0)
18:06:42 : /roxen
cms/3.4.128/server-3.4.128/base_server/configuration.pike (ve
rsion 1.535):1736: Configuration(Basic)->handle_request(@0)
0d 1h 9m : /roxen cms/3.4.128/server-3.4.128/protocols/http.pike (version
1.410
):1849:
RequestID(/edit/!!roxen-files!!files!N!ct!/!!1078160653%C2%AE/wizards/?m
agic_roxen_automatic_charset_variable=%E5%E4%F6%26%2333439%3B&action=copy.pike&_
page=1&_state=eJw1jk1OwzAQRlVAgwpU5QgYpIpNlUSBUsSiN%2BAKtmtPUquOHfmH0AuxpDtOBByB
NU6rSLOYGb1P%0D%0A7%2FvaYj66hHFn3bbStqONlcjuYSKV52uNtON0HUOwhm3gQiqHIli3O2J7mA5Y
9OgGcA9jzU0deY1H%0D%0AbgUj2qaLVQWA4EagptFpBjcZShUyQtJUSqMnr0QEQkiRPy2LRb54XH5mv7
TSbAYnqUngNZtO4Hqw%0D%0A9mnraGvb2PbaaCRqDIP2wzfJfSrRh9S8T571u%2BENMrhy9h3N%2FKCd
C9vu4LbhtRL08Kc8BtvwkG6x%0D%0A4c5joG%2Fcqd7K4Pzn%2B292V5YP5fPLP%2BZ7cB4%3D&commi
tmsg=Test&ok=+Ok+)->handle_request()
: /roxen cms/3.4.128/server-3.4.128/base_server/roxen.pike
(version 1.
838):631: roxen->handler_thread(2)
:
: Persistent cache: Prefetch crawler finished after 00:02:30
: Started indexing: Basic
: Starting Search Crawler (pid 3444).
18:11:04 : Finished indexing: Basic
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström