#49009 [Opn->Fbk]: Segmentation fault during mysql_fetch_assoc

From: Date: Thu, 23 Jul 2009 11:05:50 +0000
Subject: #49009 [Opn->Fbk]: Segmentation fault during mysql_fetch_assoc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140117@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


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

[2009-07-23 00:17:36] vanessa at mobezeinc dot com

i'm working through the legacy code that's causing this.  I found that
if I comment out the following line of code the script runs:

$_SESSION['SESSION'][$name]=$value

where $value=null and $name='BP:SignupProcess_serialized_process'

which makes me think the mysql part isn't the issue and SESSION is. 
I'm working on a script to reproduce the error but I'm having
difficulty.)

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

[2009-07-22 20:21:02] jani@php.net

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.

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

[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))

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

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



Thread (10 messages)

« previous php.bugs (#140117) next »