[Sab] PHP/Sablotron random segfaults (fwd)
| From: | Sterling Hughes | Date: | Wed, 10 Oct 2001 12:12:42 +0000 |
| Subject: | [Sab] PHP/Sablotron random segfaults (fwd) | ||
| Groups: | php.dev php.general | ||
| Request: | Send a blank email to php-dev+get-67679@lists.php.net to get a copy of this message | ||
fyi and such...
-Sterling
---------- Forwarded message ----------
Date: Wed, 10 Oct 2001 13:40:45 +0200
From: Petr Cimprich <petr@gingerall.cz>
Reply-To: sablist@gingerall.cz
To: Ruud van den Brink <ruud@stress.utwente.nl>
Cc: sablist <sablist@gingerall.cz>,
Sterling Hughes <sterling@designmultimedia.com>
Subject: [Sab] PHP/Sablotron random segfaults
This note may be important for those of you experiencing the strange
instability of Apache/PHP/Sablotron.
We have a (strong) feeling that this problem may be related to
expat_lite library which is linked statically to Apache by default. This
old library (based on expat 1.2) exports the same symbols as expat 1.9x.
Therefore, when you use a software linking expat 1.9x dynamically (as
Sablotron does) via Apache, there may be conflicts resulting in
random-like segfaults. To avoid this problem, you have to disable
expat_lite, (rename src/lib/expat-lite) and recompile Apache.
This problem applies to all architectures using expat through Apache
(e.g. Charlie, AxKit), but we didn't realize it must be the same for
PHP/Sablotron as well.
According to Matt's message posted to perl-xml recently, Apache
developers will provide a new option (RULE_EXPAT) in the next 1.3.x
version to disable expat_lite in a more convenient way.
Please, let us know, if this helps.
Thanks,
Petr
Ruud van den Brink wrote:
>Hi Petr,
>
>Hmm, the same bug is reported at PHP with some more info:
>
>http://bugs.php.net/bug.php?id=13494
>
>Regards,
>Ruud.
>
--
Petr Cimprich
Ginger Alliance
www.gingerall.com
----------------------------------------
sablist is maintained by Ginger Alliance
The list archives are at http://www.gingerall.cz
To unsubscribe: mail to sympa@gingerall.cz with subject "UNSUB sablist"