in reply to Re^2: Calling a C function using malloc() in a XS
in thread Calling a C function using malloc() in a XS
Thank you, Rob, for your participation and reproducing the code on your Win32/perl-5-12 environment. I described my problem bearing in mind perl 5.6 (I know, it's an old version ... maybe even an archaic one), but your perl version triggered my intention to try a more recent perl.
Firstly I wanted to try on a fresh environment. After reinstalling Win/MSVS6/Perl everything worked the same way ... Then I tried Perl 5.8 with the SAME (only #include "ppport.h" was added by h2xs) code and it worked correctly.
Maybe it's premature to state that it's a Perl 5.6 (more precisely ActiveState Perl 5.6.1 Build 638) bug, but Perl 5.8 doesn't have this memory leak problem.
Now I need to upgrade Perl/mod_perl. A last question would be what do you recommend for a 'not-enterprise production environment': 5.8, 5.10, or 5.12? Is there a stable mod_perl module built from 5.12 sources for Apache 2.2 (all Win32)? Or is it better to use mod_perl with Apache 2.0?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Calling a C function using malloc() in a XS
by syphilis (Archbishop) on Aug 09, 2010 at 00:32 UTC | |
by ikegami (Patriarch) on Aug 09, 2010 at 01:36 UTC | |
by Anonymous Monk on Aug 09, 2010 at 11:48 UTC | |
by ikegami (Patriarch) on Aug 09, 2010 at 13:59 UTC |