ID: 30481
Comment by: lg83news at free dot fr
Reported By: nickj at despammed dot com
Status: Assigned
Bug Type: MySQL related
Operating System: FreeBSD 4.7-RELEASE-p27
PHP Version: 5.0.2
Assigned To: georg
New Comment:
Hi, I believe I am experiencing the same issue, with
mysql-standard-4.1.7-pc-linux-i686.
My configure line is ./configure --with-apxs2=/usr/bin/apxs2
--with-mysql=/usr/local/mysql/ --disable-short-tags
I am compiling PHP 5.0.2, using Linux Debian Sarge (but I uninstalled
all MySQL packages and installed MySQL binaries into
/usr/local/mysql/).
I get a segmentation fault, for example, whenever I call
mysql_connect() (with or without arguments).
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-10-22 18:56:52] [EMAIL PROTECTED]
Even if the wrong client library is used, it should not
crashed. Discussed this with my MySQL colleagues before,
probably we have to change the FIELD structure to provide
BC.
Changing Status to assigned - not sure if a possible fix
will go in to ext/mysql or libmysql
------------------------------------------------------------------------
[2004-10-22 17:54:28] nickj at despammed dot com
Sorted. Apologies. Wrong client library linked in. PHP is blameless.
------------------------------------------------------------------------
[2004-10-21 09:59:51] nickj at despammed dot com
Any update on this?
Cheers
N
------------------------------------------------------------------------
[2004-10-19 19:56:48] nickj at despammed dot com
Hi Georg. Thanks for your quick response.
I don't think the table structure is that important. This error occurs
on all tables of different types, on a wide variety of different dbs.
Executing SHOW CREATE TABLE commands via phpMyAdmin causes the seg
fault again, but if you really want an example of one of my tables, I
can get one or two definitions directly via the mysql prompt.
Cheers
------------------------------------------------------------------------
[2004-10-19 19:03:00] [EMAIL PROTECTED]
Looks like some BC break in MYSQL_FIELD structure inside
libmysql.
Could please also provide the table definition (SHOW
CREATE TABLE) ?
------------------------------------------------------------------------
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/30481
--
Edit this bug report at http://bugs.php.net/?id=30481&edit=1