ID:               36206
 User updated by:  arnout at argeweb dot nl
 Reported By:      arnout at argeweb dot nl
-Status:           Bogus
+Status:           Open
 Bug Type:         CGI related
 Operating System: freeBSD 5.4
 PHP Version:      5.1.2
 New Comment:

No bogus yet :)


Previous Comments:
------------------------------------------------------------------------

[2006-02-01 16:27:37] arnout at argeweb dot nl

Tried it. Python works great. No segfaults here.

We tried python with AND without LDAP.

It's a different problem that looks the same.


[EMAIL PROTECTED]: ~ # python mysql.py
Traceback (most recent call last):
 File "mysql.py", line 6, in ?
   db = "test")
 File "/usr/local/lib/python2.4/site-packages/MySQLdb/__init__.py",
line 66, in Connect
   return Connection(*args, **kwargs)
 File "/usr/local/lib/python2.4/site-packages/MySQLdb/connections.py",
line 134, in __init__
   super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host
'dfgdfgdfg' (1)")

[EMAIL PROTECTED]: ~ # python mysql.py
Traceback (most recent call last):
 File "mysql.py", line 6, in ?
   db = "test")
 File "/usr/local/lib/python2.4/site-packages/MySQLdb/__init__.py",
line 66, in Connect
   return Connection(*args, **kwargs)
 File "/usr/local/lib/python2.4/site-packages/MySQLdb/connections.py",
line 134, in __init__
   super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1130, "Host 'nonexistenthost.nl'
is not allowed to connect to this MySQL server")

------------------------------------------------------------------------

[2006-02-01 16:01:47] [EMAIL PROTECTED]

Here:
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2005-11/0315.html
you can find that this problem also happens with Python on FreeBSD
(with the very same backtrace).
So it's not PHP problem, but some FreeBSD issue.

------------------------------------------------------------------------

[2006-02-01 15:34:08] arnout at argeweb dot nl

[EMAIL PROTECTED]: ~ $ host example.com
example.com has address 192.0.34.166

top works fine
ps aux works fine

No segfaults there...

------------------------------------------------------------------------

[2006-02-01 12:33:42] [EMAIL PROTECTED]

Please try to run `top`, `ps aux` and `host example.com`.
Do they work fine or segfault too?
I'm asking because of this:
http://lists.freebsd.org/pipermail/freebsd-bugs/2004-April/006201.html

------------------------------------------------------------------------

[2006-01-30 12:25:00] arnout at argeweb dot nl

This just in:

The script does not terminate. It ends like it's supposed to.

The segfault is put out when the scripts terminates. I don't know if
it's a child process that dies, or that the segfault resides in a
buffer untill termination or something.

[EMAIL PROTECTED]: / # echo "<? echo gethostbyname( 'php.net' ); ?>" | php
64.246.30.37Segmentation fault (core dumped)

I seem to have judged to fast before. But still: I can't surpress this
error. It's ugly!

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/36206

-- 
Edit this bug report at http://bugs.php.net/?id=36206&edit=1

Reply via email to