Re: Fatal error 'Unable to read from thread kernel pipe' when using mail() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 16, 2005 at 03:07:20PM +0000, Stut wrote:
> Hi All,
> 
> I've just upgraded the PHP port installation on my server to v4.4.1 and 
> the mail function has stopped working. I created a script that simply 
> calls the mail function to send a test email ad this is what I get when 
> I run it...
> 
> stut@brian:~$ php test.php
> Fatal error 'Unable to read from thread kernel pipe' at line 1100 in 
> file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0)
> Abort trap (core dumped)

This is a new one for me.

> 
> I've googled for this error and all references I found that related to 
> PHP basically say that it's due to Apache and PHP being compiled in 
> different threading modes. This cannot be the case in this instance 
> since Apache is using the preform MPM and even if it wasn't it's 
> happening on the CLI where Apache is not involved.

I'm thinking it has to do with the threading modes handled by the
bsd kernel: libkse, libc_r, libthr. If say apache was compiled with
libkse and php with libc_r, this is the kind of threading conflict
i think could occure.


> Any clues people might have as to the cause of this problem would be 
> gratefully received.
> 
> FYI: OS is FreeBSD v5.2 and Apache if v2.0.55

If you are doing this on a cvsup'd port, there could have been
major changes, you are using the portupgrade tool to install these
ports right?

I would search the bsd-ports or bsd-general mailing lists to see if
this there is anything related, and also you could try the bsd
specific google search: http://google.com/bsd

HTH,

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux