LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2009, 09:32 AM   #1
adrianc.grigoras
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Rep: Reputation: 0
Php returns this error


Hi,

I install libtidy and tidy extension for php and when I run:
php -m, I get the following error:

Code:
*** glibc detected *** php: free(): invalid next size (fast): 0x000000000d5e5c00 ***
======= Backtrace: =========
/lib64/libc.so.6[0x350da71634]
/lib64/libc.so.6(cfree+0x8c)[0x350da74c5c]
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/tidy.so(zm_shutdown_tidy+0x20)[0x2b3f24581200]
php(module_destructor+0x23)[0x537e63]
php[0x53a08a]
php(zend_hash_graceful_reverse_destroy+0x18)[0x53a2d8]
php(zend_shutdown+0x20)[0x535c50]
php(php_module_shutdown+0x1d)[0x506d6d]
php(main+0x343)[0x55ab53]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x350da1d8b4]
php[0x42fd39]
How to solve this?
 
Old 02-22-2009, 10:53 PM   #2
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
These glibc free() errors usually mean in C/C++ programs that someone is mixing stack-based memory blocks with allocated memory blocks. It's tricky, because older gcc versions or glibc versions do not enforce these errors. It helps to write better programs, but it's a pain to find what causes the problem.

In your case the problem is likely to be introduced by one of the extension. Of course you have to make sure that the problem doesn't show up for your plain PHP installation.

linux

Last edited by gergely89; 02-27-2009 at 11:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP $_SERVER['HTTP_REFERER'] returns previous url? ldp Programming 6 05-11-2018 03:14 AM
apache 1.3.27, https url returns error -12263 in Firefox, fatal error (40) in Opera leo22838 Linux - Server 0 04-04-2008 02:51 PM
Calling a PHP function from another file returns a weird value mohtasham1983 Programming 1 07-27-2007 02:06 PM
SWIG wrap.c file returns error: struct_vector_wrap.c:2413: error: dereferencing point varun_shrivastava Programming 0 05-25-2007 05:47 AM
php ini_set() always returns false jon23d Programming 1 10-13-2006 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration