NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] glibc error when DBG is installed


Joined: 16 Jun 2007
Posts: 6
Reply with quote
Hi,
I am trying to setup remote debugging on the server. Here's my setup:

# PHP Version: 5.1.6
# Web Server: Apache

Relevant php.ini
==========
(As dbg-wizard.php suggested)
extension=dbg.so-5.1.x
[debugger]
debugger.hosts_allow= <host1> localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

;zend extension for optimizer

The glibc version on the server is : 2.5-12

As dbg-wizard.php said, I have moved from local: <mypath>\server\Linux\dbg-3.2.10-Linux-glibc-2.2\x86\dbg.so-5.1.x to server: /usr/lib/php/modules/

I restart apache, and get the following error:
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev): 0x08e59d58 ***

Any help here will be greatly appreciated.

Thanks,
Srini
View user's profileFind all posts by dsvidduSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I just checked CentOS 5.1 (glibc 2.5.18, php 5.1.6, dbg-3.2.10) and it did not get any errors.
What other php extensions/zend_extensions do you have? Please provide all the info at nusphere support.
TIA

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Jun 2007
Posts: 6
Reply with quote
Thanks Dmitri for the response.

Other extensions in the php.ini are
=======
extension_dir = "/usr/lib/php/modules"

,
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
=====

I tried with zend_optimizer 3.3.3 as well.

Thanks,
Srinivas
View user's profileFind all posts by dsvidduSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
This problem is caused by ZendExtensionManager.
Because of it, you can not use extension= for loading debugger if there is any zend_extension. Please read this post, hope it will help you: http://forum.nusphere.com/howto-install-debugger-module-t576.html
Alternatively you can load zendoptimizer directly instead of loading it through zendextensionmanager.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] glibc error when DBG is installed
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic