473,761 Members | 9,379 Online
Bytes | Software Development & Data Engineering Community
+ 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','dat abase_user', 'database_psswo rd');

mysql_select_db ('database_name ',$db);

$sql = "SELECT * FROM database_table" ;

$result = mysql_query($sq l, $db);

$row = mysql_fetch_ass oc($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_ 1fkgh7E4vJ-225x.jpg::0:2_2 _1fkgh7E4vJ.jpg

[content_subtitl e] => 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 1400

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

Similar topics

1
5038
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 double-checked the path to my error log. It is in /var/www/logs/php_error_log Thanks. :) -Wayne Stevenson
32
5947
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
10853
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 the program. The error happends suddenly and at different times. I load quiet alot of data into my program. I'm wondering if there are anyone witch are familiar with this sort of error, and has some good ideas for what may be wrong. What is...
2
19180
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 program's problem or the library's problem. The libraries I am using is the boost and stl. The original program is quite long and I shrink it short and still able to duplicate the error. Basically, I first create a priority queue and after several round...
3
13360
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 Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. On Windows XP Pro, I am using MS Visual Studio 2005, and I am using the developer's edition of...
1
2945
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 (1) { if((kfp = kd_open(kd_filename, READ, NULL , INIT_YES))== NULL) { printf("%s: File not found ...\n", kd_filename); if (!forceflag) { sleep(5); ...
0
6547
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 /new_file/prob1.rec started. Please wait.... In while loop of request searching *** glibc detected *** ./a.out: free(): invalid next size (normal): 0x099da890 *** ======= Backtrace: ========= /lib/libc.so.6
3
6444
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
6361
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 : $ ../glibc-2.5/configure --prefix=/mnt/new/Mars/glibc_HQ_test/GLIBC/ install/ --with-__thread --enable-kernel=2.6.11 --enable-shared
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10111
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9765
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8770
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3866
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 we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.