473,480 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

glibc error on PHP MySQL execution

I am working on setting up a new server. It is running PHP v4.4.1, CentOS
4.3 i686 - WHM X v3.1.0, Cpanel WHM 10.8.0 cPanel 10.8.2-R83, MySQL
4.1.18-standard, Apache 1.3.34 (Unix), Kernel 2.6.9-34.EL.

When I attempt to do even the most basic MySQL call in a PHP page, I get:

*** glibc detected *** double free or corruption (!prev): 0x09e66628 ***
[Mon May 22 17:11:53 2006] [notice] child pid 30190 exit signal Aborted (6)

in the error log. I have no idea where to start looking to see why this
happens. Is it PHP? Is it MySQL? Is it configuration?

I wrote a test script:

<?php
$db = mysql_connect('localhost','database_user', 'database_pssword');

mysql_select_db('database_name',$db);

$sql = "SELECT * FROM database_table";

$result = mysql_query($sql, $db);

$row = mysql_fetch_assoc($result);

echo '<h1>DB Testing</h1><pre>';
print_r($row);
echo '</pre>';
?>

Even this rudimentary script, run from the server, produced the error:

root@host [/home/site/www]# php ./phptest.php
<h1>DB Testing</h1><pre>Array

(

[content_id] => 1

[content_tstamp] => 2005-10-13 20:17:25

[content_title] => Welcome to Our Site

[content_text] => We are a family owned business located in Orange
County, Califorina. We work hard all year to produce only the finest widgets
available. Our widgets are always fresh, right out of the trees, we never
use widgets from previous years. Feel free to browse our site and thanks for
your interest.

[content_image] =>
2:000_0011.JPG:2_2_1fkgh7E4vJ.jpg:225::6:2_2_1fkgh 7E4vJ-225x.jpg::0:2_2_1fkgh7E4vJ.jpg

[content_subtitle] => Your source for fresh widgets direct from the
grower.

)

</pre>*** glibc detected *** corrupted double-linked list: 0x092b9450 ***

Aborted

root@host [/home/site/www]#
Thoughts?
May 22 '06 #1
0 1386

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5004
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I...
32
5889
by: Clunixchit | last post by:
How can i read lines of a file and place each line read in an array? for exemple; array=line1 array=line2 ...
4
10822
by: Stian Karlsen | last post by:
Hi. I'm getting an error in my program. It doesn't occur each time even if the same things happend in my program each time I run it. There will however be different values used for calculations in...
2
19159
by: zl2k | last post by:
hi, I have one program runs fine on my i386 linux box but get the "glibc detected *** corrupted double-linked list" error on the x86_64 linux box. Please help me to figure out if it is my...
3
13337
by: Ted | last post by:
In WSAT, I get the following error when trying to set up my provider: Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site...
1
2906
by: mahiapkum | last post by:
hello all i have a code which looks fine when reviewed but when the application has a long run say for example of 2 days it gets exit, because of glibc error and the sample code is as follows: while...
0
6516
by: shrik | last post by:
I have following error : Total giant files in replay configuration file are : File name : /new_file/prob1.rec Given file /new_file/prob1.rec is successfully verified. Splitting for giant file...
3
6425
by: Ananthu | last post by:
Hi This is my codings in order to access mysql database from java. Codings: import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement;
2
6334
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.