Apache Mod-Python - Bug#433038: Debian bug#433038: mod_python collides with mod_php5

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > August 2007 > Bug#433038: Debian bug#433038: mod_python collides with mod_php5





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Bug#433038: Debian bug#433038: mod_python collides with mod_php5
Robert Edmonds

2007-08-31, 7:13 am

Graham Dumpleton wrote:
> In 411487 it mentions:
>
> """So, it seems it's directly related to libmhash2 (as [2] suggests)."""
>
> Disabling of mhash module may not be enough if one of the other PHP
> modules they list in 433038 also use libmhash2 library. Quite possible
> that one of the crypto libraries use it, or the ldap module mentioned
> in the mod_python mailing list mail.
>
> Can you run ldd on main php module and all php modules and see which
> one has a dependency on libmhash2, or any other md5 hash library.


In the user's last message to the bug report, he includes the contents
of /proc/.../maps for functioning and malfunctioning apache instances.

> Basic problem as we understand it is that libmhash2 uses a symbol name
> which clashes with one used by Python md5 module. Which ever gets
> loaded first, usually php version, takes precedence and since that is
> not compatible with other package a crash occurs.
>
> If it can be determined that it is libmhash2 and then which symbol in
> it clashes with one in Python md5 module, one or the other could
> somehow be namespace escaped to avoid the problem.


Is it possibly some other library than libmhash2? The only additonal
cryptography-related DSOs I see present in the user's php instance are:

/usr/lib/libmcrypt.so.4.4.7
/usr/lib/php5/20060613+lfs/mcrypt.so

All the symbols in those DSOs appear to be namespace escaped.

--
Robert Edmonds
edmonds@debian.org


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com