Bug #14000 Updated: [notice] child pid XXXXX exit signal Segmentation fault (11)
| From: | hunter at spysatcentral dot net | Date: | Sat, 10 Nov 2001 20:24:55 +0000 |
| Subject: | Bug #14000 Updated: [notice] child pid XXXXX exit signal Segmentation fault (11) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70016@lists.php.net to get a copy of this message | ||
ID: 14000
User updated by: hunter@spysatcentral.net
Reported By: hunter@spysatcentral.net
Status: Closed
Bug Type: IMAP related
Operating System: FreeBSD
PHP Version: 4.0.6
New Comment:
ok I do have the "c-client.h"
maby this will help.
http://beta.spysatcentral.net:8080/~hunter/phpinfo.php
Previous Comments:
------------------------------------------------------------------------
[2001-11-10 15:06:32] hunter@spysatcentral.net
ok I do have the "c-client.h"
maby this will help.
http://beta.spysatcentral.net:8080/~hunter/phpinfo.php
------------------------------------------------------------------------
[2001-11-10 11:49:36] sniper@php.net
If you don't have c-client.h file, the version is below
imap-2000. So you better update the libs.
------------------------------------------------------------------------
[2001-11-10 11:11:27] hunter@spysatcentral.net
How do I tell what version I have of c-client?
I did a "grep -i version *" in "/usr/local/include/c-client" and it returned:
bash-2.05$ pwd
/usr/local/include/c-client
bash-2.05$ grep -i version *
imap4r1.h: * This original version of this file is
misc.h: * This original version of this file is
osdep.h: * Program: Operating-system dependent routines -- FreeBSD version
portrevision.h:#define CCLIENT_PORTVERSION "0106191041"
rfc822.h: * This original version of this file is
smtp.h: * This original version of this file is
utf8.h:/* UTF-8 size and conversion routines from UCS-2 values. This will need to
utf8.h: /* 6/1 Norwegian version 2 (withdrawn) */
utf8.h: cstext_t dsp; /* text conversion dispatch */
utf8.h: void *tab; /* conversion table */
bash-2.05$
------------------------------------------------------------------------
[2001-11-10 10:46:11] sniper@php.net
This is not bug in PHP but propably in the version of
c-client you have. Which version is it? I just tried
with imap-2001a.RELEASE-CANDIDATE.4 and it worked
just fine.
--Jani
------------------------------------------------------------------------
[2001-11-09 16:19:11] hunter@spysatcentral.net
Hosting Server:
---------------
FreeBSD fbsd.austin.rr.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001
murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386
Pop3 Server:
------------
+OK Qpopper (version 4.0.3) at dual.spysatcentral.net starting.
<69911.1005340240@dual.spysatcentral.net>
Error in /var/log/httpd-error.log:
----------------------------------
[Fri Nov 9 13:23:56 2001] [notice] child pid 95700 exit signal Segmentation fault (11)
PHP Version 4.0.6 options:
'./configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars'
'--without-gd' '--without-mysql' '--with-imap=/usr/local'
'--prefix=/usr/local' 'i386--freebsd4.4'
HTML/PHP code:
--------------
<HTML><HEAD></HEAD><BODY>
<?php
$mbox = imap_open ("{dual.spysatcentral.net:110/pop3}INBOX", "someuser",
"somepass");
imap_close($mbox);
?>
</BODY></HTML>
Comments:
---------
I don't know any c programming much less how to use a debugger. but I set this up with a fresh
install of FreeBSD 4.4-stable, and installed from /usr/ports/www/mod_php4 and added imap options.
I was able to get imap to connext to the pop3 on a Lotus Domino servers pop3 port and work so it
apears to be a bug in the the way php4.0.6 talks to Qpopper( also found in the FreeBSD ports ) then
again maby I am just doing something stupid. :P my original code has much more to it but I can get
the segfault with just the little code I provided.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14000&edit=1