You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tom Troonbeeckx <to...@ideaxis.com> on 2002/11/18 14:06:23 UTC

Core Dump PHP & cocoon2

Dear Sir, Madam,

I finally got the php working with cocoon2. Thx for the many support.

However.  When I process a the phpinfo()-function, Cocoon2 shows just a bit
of data.  When I refresh the page a couple times. I have tomcat-core dump.

Any ideas why?

Thanks in advance.



 Ideaxis nv
-facing the internet-

Flanders Multimedia Valley
Wetenschapspark 1
B-3590 DIEPENBEEK

Tel : +32 11 26 89 20
Fax : +32 11 23 22 17
Mobile: +32 479 13 14 81

E-Mail: tom.troonbeeckx@ideaxis.com
URL: http://www.ideaxis.com/

Ideaxis nv legal disclaimer
The information contained in this e-mail is confidential and may be
privileged. It may be read, copied and used only by the intended recipient.
If you have received it in error, please contact the sender immediately by
returning this e-mail. Please delete this e-mail and do not disclose its
contents to any person. Ideaxis nv does not accept liability for any
errors, omissions, delays of receipt or viruses in the contents of this
message which arise as a result of e-mail transmission.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Core Dump PHP & cocoon2

Posted by Tom Troonbeeckx <to...@ideaxis.com>.
Thx for the information

Now I know at least it's not a configuration fault....




-----Original Message-----
From: Jose Borges Ferreira [mailto:jcbf@accao.net]
Sent: maandag 18 november 2002 17:00
To: cocoon-users@xml.apache.org
Subject: RE: Core Dump PHP & cocoon2


I'm thinking if anybody actually run php with tomcat ever ;)

Acording to these people ( me included ) php servlet always core dumped
after some usage.

http://bugs.php.net/bug.php?id=17020
http://bugs.php.net/bug.php?id=18939

Apparently the servlet implementation should be better.

I am not a java programmer ( that's why i am triyng to use PHP ). Can
anybody take a look at the servlet code and
http://cvs.php.net/co.php/php4/sapi/servlet/servlet.java?sbt=2&login=2&r=1.1
9 confirm if it's ok ( about 250 lines ) ?

Z.


On Mon, 2002-11-18 at 13:20, Tom Troonbeeckx wrote:
> I have found any logs about the core dump.
> The log is listed below.
> However i have checked the libphp4.so with the dependencies and they are
all
> correct
> The output list of ldd libphp4.so goes as follows:
> libpam.so.0 => /lib/libpam.so.0 (0x4013d000)
> 	        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
> (0x40145000)
>       	  libdl.so.2 => /lib/libdl.so.2 (0x40188000)
> 	        libz.so.1 => /usr/lib/libz.so.1 (0x4018c000)
>       	  libjpeg.so => /usr/lib/libjpeg.so (0x4019a000)
> 	        libpng.so.2 => /usr/lib/libpng.so.2 (0x401b9000)
>       	  libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401da000)
> 	        libpdf.so.1 => /usr/lib/libpdf.so.1 (0x4021e000)
>       	  libcrypt.so.1 => /lib/libcrypt.so.1 (0x402aa000)
> 	        libresolv.so.2 => /lib/libresolv.so.2 (0x402d8000)
>       	  libm.so.6 => /lib/i686/libm.so.6 (0x402eb000)
> 	        libnsl.so.1 => /lib/libnsl.so.1 (0x4030f000)
>       	  libc.so.6 => /lib/i686/libc.so.6 (0x40326000)
> 	        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
>
> Any ideas what goes wrong?
>
> Thanks in advance.
>
>
> LogFile - with the core dump
> -----------------------------
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x50E6EB26
> Function=zend_hash_index_update_or_next_insert+0x36
> Library=/usr/java/j2sdk1.4.1/jre/lib/i386/libphp4.so
>
> Current Java thread:
>         at net.php.reflect.setResultFromObject(Native Method)
>         at net.php.reflect.setResult(reflect.java:105)
>         at net.php.servlet.readCookies(servlet.java:92)
>         at net.php.servlet.send(Native Method)
>         at net.php.servlet.service(servlet.java:188)
>         at net.php.servlet.service(servlet.java:212)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:190)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>         at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>         at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>
> -----Original Message-----
> From: Tom Troonbeeckx [mailto:tom.troonbeeckx@ideaxis.com]
> Sent: maandag 18 november 2002 14:06
> To: cocoon-users@xml.apache.org
> Subject: Core Dump PHP & cocoon2
>
>
> Dear Sir, Madam,
>
> I finally got the php working with cocoon2. Thx for the many support.
>
> However.  When I process a the phpinfo()-function, Cocoon2 shows just a
bit
> of data.  When I refresh the page a couple times. I have tomcat-core dump.
>
> Any ideas why?
>
> Thanks in advance.
>
>
>
>  Ideaxis nv
> -facing the internet-
>
> Flanders Multimedia Valley
> Wetenschapspark 1
> B-3590 DIEPENBEEK
>
> Tel : +32 11 26 89 20
> Fax : +32 11 23 22 17
> Mobile: +32 479 13 14 81
>
> E-Mail: tom.troonbeeckx@ideaxis.com
> URL: http://www.ideaxis.com/
>
> Ideaxis nv legal disclaimer
> The information contained in this e-mail is confidential and may be
> privileged. It may be read, copied and used only by the intended
recipient.
> If you have received it in error, please contact the sender immediately by
> returning this e-mail. Please delete this e-mail and do not disclose its
> contents to any person. Ideaxis nv does not accept liability for any
> errors, omissions, delays of receipt or viruses in the contents of this
> message which arise as a result of e-mail transmission.
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
--
Linux is not user-friendly. It _is_ user-friendly.
It is not ignorant-friendly and idiot-friendly.

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Core Dump PHP & cocoon2

Posted by Jose Borges Ferreira <jc...@accao.net>.
I'm thinking if anybody actually run php with tomcat ever ;)

Acording to these people ( me included ) php servlet always core dumped
after some usage.

http://bugs.php.net/bug.php?id=17020
http://bugs.php.net/bug.php?id=18939

Apparently the servlet implementation should be better.

I am not a java programmer ( that's why i am triyng to use PHP ). Can
anybody take a look at the servlet code and 
http://cvs.php.net/co.php/php4/sapi/servlet/servlet.java?sbt=2&login=2&r=1.19 confirm if it's ok ( about 250 lines ) ?

Z.


On Mon, 2002-11-18 at 13:20, Tom Troonbeeckx wrote:
> I have found any logs about the core dump.
> The log is listed below.
> However i have checked the libphp4.so with the dependencies and they are all
> correct
> The output list of ldd libphp4.so goes as follows:
> libpam.so.0 => /lib/libpam.so.0 (0x4013d000)
> 	        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
> (0x40145000)
>       	  libdl.so.2 => /lib/libdl.so.2 (0x40188000)
> 	        libz.so.1 => /usr/lib/libz.so.1 (0x4018c000)
>       	  libjpeg.so => /usr/lib/libjpeg.so (0x4019a000)
> 	        libpng.so.2 => /usr/lib/libpng.so.2 (0x401b9000)
>       	  libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401da000)
> 	        libpdf.so.1 => /usr/lib/libpdf.so.1 (0x4021e000)
>       	  libcrypt.so.1 => /lib/libcrypt.so.1 (0x402aa000)
> 	        libresolv.so.2 => /lib/libresolv.so.2 (0x402d8000)
>       	  libm.so.6 => /lib/i686/libm.so.6 (0x402eb000)
> 	        libnsl.so.1 => /lib/libnsl.so.1 (0x4030f000)
>       	  libc.so.6 => /lib/i686/libc.so.6 (0x40326000)
> 	        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
> 
> Any ideas what goes wrong?
> 
> Thanks in advance.
> 
> 
> LogFile - with the core dump
> -----------------------------
> 
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x50E6EB26
> Function=zend_hash_index_update_or_next_insert+0x36
> Library=/usr/java/j2sdk1.4.1/jre/lib/i386/libphp4.so
> 
> Current Java thread:
>         at net.php.reflect.setResultFromObject(Native Method)
>         at net.php.reflect.setResult(reflect.java:105)
>         at net.php.servlet.readCookies(servlet.java:92)
>         at net.php.servlet.send(Native Method)
>         at net.php.servlet.service(servlet.java:188)
>         at net.php.servlet.service(servlet.java:212)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:190)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>         at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>         at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> -----Original Message-----
> From: Tom Troonbeeckx [mailto:tom.troonbeeckx@ideaxis.com]
> Sent: maandag 18 november 2002 14:06
> To: cocoon-users@xml.apache.org
> Subject: Core Dump PHP & cocoon2
> 
> 
> Dear Sir, Madam,
> 
> I finally got the php working with cocoon2. Thx for the many support.
> 
> However.  When I process a the phpinfo()-function, Cocoon2 shows just a bit
> of data.  When I refresh the page a couple times. I have tomcat-core dump.
> 
> Any ideas why?
> 
> Thanks in advance.
> 
> 
> 
>  Ideaxis nv
> -facing the internet-
> 
> Flanders Multimedia Valley
> Wetenschapspark 1
> B-3590 DIEPENBEEK
> 
> Tel : +32 11 26 89 20
> Fax : +32 11 23 22 17
> Mobile: +32 479 13 14 81
> 
> E-Mail: tom.troonbeeckx@ideaxis.com
> URL: http://www.ideaxis.com/
> 
> Ideaxis nv legal disclaimer
> The information contained in this e-mail is confidential and may be
> privileged. It may be read, copied and used only by the intended recipient.
> If you have received it in error, please contact the sender immediately by
> returning this e-mail. Please delete this e-mail and do not disclose its
> contents to any person. Ideaxis nv does not accept liability for any
> errors, omissions, delays of receipt or viruses in the contents of this
> message which arise as a result of e-mail transmission.
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
-- 
Linux is not user-friendly. It _is_ user-friendly.
It is not ignorant-friendly and idiot-friendly.

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Core Dump PHP & cocoon2

Posted by Tom Troonbeeckx <to...@ideaxis.com>.
I have found any logs about the core dump.
The log is listed below.
However i have checked the libphp4.so with the dependencies and they are all
correct
The output list of ldd libphp4.so goes as follows:
libpam.so.0 => /lib/libpam.so.0 (0x4013d000)
	        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x40145000)
      	  libdl.so.2 => /lib/libdl.so.2 (0x40188000)
	        libz.so.1 => /usr/lib/libz.so.1 (0x4018c000)
      	  libjpeg.so => /usr/lib/libjpeg.so (0x4019a000)
	        libpng.so.2 => /usr/lib/libpng.so.2 (0x401b9000)
      	  libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401da000)
	        libpdf.so.1 => /usr/lib/libpdf.so.1 (0x4021e000)
      	  libcrypt.so.1 => /lib/libcrypt.so.1 (0x402aa000)
	        libresolv.so.2 => /lib/libresolv.so.2 (0x402d8000)
      	  libm.so.6 => /lib/i686/libm.so.6 (0x402eb000)
	        libnsl.so.1 => /lib/libnsl.so.1 (0x4030f000)
      	  libc.so.6 => /lib/i686/libc.so.6 (0x40326000)
	        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

Any ideas what goes wrong?

Thanks in advance.


LogFile - with the core dump
-----------------------------

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x50E6EB26
Function=zend_hash_index_update_or_next_insert+0x36
Library=/usr/java/j2sdk1.4.1/jre/lib/i386/libphp4.so

Current Java thread:
        at net.php.reflect.setResultFromObject(Native Method)
        at net.php.reflect.setResult(reflect.java:105)
        at net.php.servlet.readCookies(servlet.java:92)
        at net.php.servlet.send(Native Method)
        at net.php.servlet.service(servlet.java:188)
        at net.php.servlet.service(servlet.java:212)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

-----Original Message-----
From: Tom Troonbeeckx [mailto:tom.troonbeeckx@ideaxis.com]
Sent: maandag 18 november 2002 14:06
To: cocoon-users@xml.apache.org
Subject: Core Dump PHP & cocoon2


Dear Sir, Madam,

I finally got the php working with cocoon2. Thx for the many support.

However.  When I process a the phpinfo()-function, Cocoon2 shows just a bit
of data.  When I refresh the page a couple times. I have tomcat-core dump.

Any ideas why?

Thanks in advance.



 Ideaxis nv
-facing the internet-

Flanders Multimedia Valley
Wetenschapspark 1
B-3590 DIEPENBEEK

Tel : +32 11 26 89 20
Fax : +32 11 23 22 17
Mobile: +32 479 13 14 81

E-Mail: tom.troonbeeckx@ideaxis.com
URL: http://www.ideaxis.com/

Ideaxis nv legal disclaimer
The information contained in this e-mail is confidential and may be
privileged. It may be read, copied and used only by the intended recipient.
If you have received it in error, please contact the sender immediately by
returning this e-mail. Please delete this e-mail and do not disclose its
contents to any person. Ideaxis nv does not accept liability for any
errors, omissions, delays of receipt or viruses in the contents of this
message which arise as a result of e-mail transmission.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>