Closed

Expert PHP C++ / Linus Developer to fix a bug in PHP Extension - Please share your relevant portfolio

Looking for a seasoned C++/Linux developer to help me fix a bug in a PHP extension (.so).

The bug manifests itself as the following error message when the PHP interpreter is started:

$ php

free(): invalid pointer

Aborted (core dumped)

This only happens in the presence of other extensions, e.g. php-intl. With just my extension alone, PHP runs fine.

My extension is linked together with libgcc (using -static-libgcc). This is done so that the same binary (.so) can work on many Linux variants/versions. On the flip side of this, it seems that some libgcc symbols get duplicated when the .so is dynamically linked with PHP and other extensions. My guess is that the heap is also duplicated, resulting in the error message above.

I tried adding -fvisibility=hidden to every gcc call in the build scripts in the hopes to stop libgcc symbols from being exported from my shared library. That had no effect. Perhaphs I am missing something. Your help would be greatly appreciated.

Skills: PHP, Linux, Apache, Software Architecture, MySQL

See more: freelancer fix bug partime, freelancer fix bug, phpbb mass email fix bug, fix bug acsent, fix bug javascript, fix bug game, fix bug xss, fix bug google chrome, freelancer sustaining fix bug, elastix know partys extension please enter, fix bug joomla, fix bug galleria ie7, know partys extension please, online fix bug, fix bug ag310 adsl modem firmware, fix bug flash map, fix bug js, fix bug jsp, expert c# freelance developer hourly, fix bug c#

About the Employer:
( 165 reviews ) Rawalpindi, Pakistan

Project ID: #31439944

1 freelancer is bidding on average $100 for this job

virtuamagictm

I don't think the issue is in a duplicate heap. The message is pretty clear, but there could be multiple root causes. We need to investigate the binary and to analyze the cores, for further clues. Reach out to me, for More

$100 USD in 7 days
(21 Reviews)
5.1