#49009 [Opn->Fbk]: Segmentation fault durng mysql_fetch_assoc
| From: | jani@php.net | Date: | Wed, 22 Jul 2009 20:21:02 +0000 |
| Subject: | #49009 [Opn->Fbk]: Segmentation fault durng mysql_fetch_assoc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140083@lists.php.net to get a copy of this message | ||
ID: 49009
Updated by: jani@php.net
Reported By: vanessa at mobezeinc dot com
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: CentOS 5.3
PHP Version: 5.2.10
New Comment:
I have same, and no crashes whatsoever. Now you need to come up with
proper reproducing script and DB layout for us to test with. The script
must be 10-20 lines at most without any external files required. DB
schema as simple as possible as well.
Previous Comments:
------------------------------------------------------------------------
[2009-07-22 20:15:16] vanessa at mobezeinc dot com
mysql
MySQL Support enabled
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient)
------------------------------------------------------------------------
[2009-07-22 20:12:29] jani@php.net
What is the mysql version you've compiled PHP with? (check from
phpinfo() output!)
------------------------------------------------------------------------
[2009-07-21 23:42:02] vanessa at mobezeinc dot com
sorry, missunderstood, it happend on 5.2.4 ( the previous version we
were working with))
------------------------------------------------------------------------
[2009-07-21 23:17:49] jani@php.net
Let's try again: Did this same script crash with earlier PHP versions?
------------------------------------------------------------------------
[2009-07-21 23:07:54] vanessa at mobezeinc dot com
PHP Version 5.2.10
System Linux #1 SMP Tue Jul 14 07:15:01 EDT 2009 i686
Build Date Jul 20 2009 16:23:35
Configure Command './configure' '--prefix=/usr/share'
'--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share'
'--includedir=/usr/include' '--sysconfdir=/etc' '--disable-debug'
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin'
'--with-mysql=/usr' '--enable-bcmath' '--enable-calendar'
'--enable-ctype' '--enable-dbase' '--enable-discard-path'
'--enable-exif' '--enable-ftp' '--enable-force-cgi-redirect'
'--enable-shmop' '--enable-gd-native-ttf' '--enable-mbstring'
'--enable-inline-optimization' '--with-bz2' '--enable-magic-quotes'
'--enable-mbregex' '--enable-safe-mode' '--enable-sigchild'
'--enable-sysvsem' '--with-gd=/usr' '--enable-sysvshm'
'--enable-wddx'
'--with-gettext' '--with-zlib' '--with-openssl' '--with-mm'
'--with-curl=/usr' '--with-imap-ssl' '--with-iconv'
'--with-apxs2=/usr/sbin/apxs' '--with-jpeg-dir=/usr'
'--with-png-dir=/usr' '--with-t1lib=/usr' '--with-ttf'
'--with-pdo-mysql=/usr' '--with-gdbm' '--with-mcrypt=/usr'
'--with-mhash=/usr')
------------------------------------------------------------------------
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/49009
--
Edit this bug report at http://bugs.php.net/?id=49009&edit=1