zend api / strange segfault in extension

This is a discussion on zend api / strange segfault in extension within the PHP Language forums, part of the PHP Programming Forums category; Hello, I'm developing a php extension as a communication layer for a proprietary database. Now, when I run two ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2004
Robert Frunzke
 
Posts: n/a
Default 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_info 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0