[Tickets #298] NEW: putenv causes segfaults in apache with mod_perl
bugs at bugs.horde.org
bugs at bugs.horde.org
Tue Jun 15 13:53:30 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
-Ticket 298
-Queue: Horde Base
-Created By:
>From mark at workzoo.com (Tue Jun 15 13:53:30 2004):
All occurences of putenv() in Horde and Horde application code should be
replaced with apache_setenv(). I ran into sporadic segfaulting when running
Imp under an apache with mod_perl installed. I tried various static and DSO
configurations and various other configs with and without optional
components. All produced the same error which is a segfault once the server
has served a few requests which is non-consistent with any particular action
in the application.
This thread finally solved it for me and making the above change in the core
Horde code and Imp's code has solved the problem permanently.
http://www.zend.com/lists/php-dev/200309/msg00189.html
I have reproduced the bug with php 4.3.6 and php 4.3.7 and Apache 1.3.29 and
1.3.31. All used mod_perl 1.29.
Hope this helps y'all improve an already excellent app.
With thanks,
Mark.
http://bugs.horde.org/details.php?id=298
--
More information about the bugs
mailing list