473,772 Members | 2,522 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

zend api / strange segfault in extension

Hello,

I'm developing a php extension as a communication layer for a
proprietary database.

Now, when I run two different versions of this extension on the same
webserver (Apache 3, PHP 4.3.3, extension loaded via dl() ), I will get
strange segmentation faults - that occur somewhere in PHP (not in the
extension itself).

I tried everything - from changing the name of the .so to changing all
function names, to changing everything in zend_module_inf o etc.

But I still got crashes, when using both modules at the same time (not
in same request, but on the same webserver). What else could cause this
problem? I even would expect that an extension will be unloaded after a
request, and that it will only be loaded in the next request.

Maybe the module won't be correctly unloaded and causes a crash when
trying to load the other module?

Anyone had similar experiences ?
Thanks,
Robert Frunzke
Jul 17 '05 #1
0 1377

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

Similar topics

3
2225
by: webguynow | last post by:
I'm a little confused, I have test apps, using Pear DB.php but in my application, and debugging through Zend studio, I have some Database updates obviously working and then I get a Fatal Error. Apparently, it cannot find DB.php and shows include_path as: ".;C:\PHP5" On my Windows XP system, I've got php installed at C:\php and any php.ini or apache conf files reflect this accurately. My phpinfo() also correctly shows include_path...
1
2221
by: James | last post by:
I am getting frustrated of the PHP 5 releases chocking on OCI8 -- they just seem really unstable as do recent ISAPI filters when run on Windows 2003 Server. As an example the newest PHP 5.1.4 install for Windows I did with OCI8 failed to load the OCI8 extension -- I wound up dropping and older version PHP_OCI8.DLL into my install and restarting Apache and everthing was great. I just downloaded and installed the new Zend Core for...
2
1452
by: howachen | last post by:
Hi, Where can I find a newsgroup/forum to ask questions related to the PHP/Zend extension development? thanks.
7
3119
by: archimonde2 | last post by:
What are pros any cons to use eaccelerator and zend optimizer on php5-mod with apache2.2 ?? Does accelerators work immediately after install on all php files? When both are in use which accelerate speed execution of php files? How can i find that??
0
1227
by: howa | last post by:
For example, in http://eaccelerator.net/wiki/InstallFromSource It said: ..eAccelerator can be installed both as Zend or PHP extension.. In fact, what are the difference? Is all extensions can be installed Zend or PHP extension? Thanks.
1
3704
by: mosesdinakaran | last post by:
Hi All, Is there a difference between Zend Extension and PHP Extensions In php.ini For Mysql we have extension=mysql.so But for XDEBUG we have
4
2574
by: Blueparty | last post by:
I am going to use Ioncube or Zend compiler/encoder to deploy PHP5 applications on servers at customers premisses. The factors that affect choice are: - reliability - easy of deployment at Apache/UNIX, Apache Windows and IIS/Windows - price Performace is not important
0
1328
by: corretge | last post by:
Zend outsourced the news service to businesses. NET http://66.102.9.104/translate_c?hl=ca&sl=ca&tl=en&u=http://bloc.corretge.cat/2008/10/zend-subcontracta-newsletter-empreses.html&usg=ALkJrhjkf9b8JtrGNpx994AAqE7mztkn7Q It seems that Zend, the creator of the PHP core current and known as The PHP Company, not too well coordinated marketing campaigns. At the Zend Monthly Newsletter - October and November 2008 saw the URL contains the...
7
3534
by: Service4PC | last post by:
Hi all, I've a problem... I'm writing an extension for php, and i need to execute a file php... but only the content of the file and not the file... Now I better explain: - the extension get the file content of a php file (php code and html code mixed..) - execute the content with some zend api function I've already tried with zend_eval_string but not good because not
0
10264
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
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
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
8937
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...
0
5355
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4009
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
2851
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.