Segmentation faults still :(
| From: | Eric Terstegen | Date: | Tue, 27 Nov 2001 17:47:57 +0000 |
| Subject: | Segmentation faults still :( | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71833@lists.php.net to get a copy of this message | ||
Hello all,
I am still having some problems with segmentation faults (making an
extension), and this is with the latest release (4.1.0RC3) ...
Maybe I am just stupid and the code is screwed up, but if anyone would take
a
look at this I would greatly apprectiate it..
Bascially i am making a wrapper for a Decnet library and this is where I
first encountered the problem. I hacked the code down to just some bare
simple things (no decnet required :)..
It is mainly two C++ libraries (pretty bare) and the extension is using
resources.. The first library holds a class and the second library creates
an instance of this class and returns it as a typdef void * to the straight
C
extension, which really does nothing with it....
I stuck the code on our site at www.kingscredit.com/die_ext.zip and
www.kingscredit.com/die_libs.zip
(Sorry for the lack of a makefile in the libs but there is a small bash
script)
PHP is compiled with the axps thing for apache 1.3.20 and no other special
options (on RedHat 7.1)
--Thanks
Eric Terstegen