[php-maint] Bug#347642: Bug#347878: libmysqlclient15 calls into libmysqlclient12, leading to apache2 segfault

Christian Kujau evil at g-house.de
Sat Jan 14 20:02:39 UTC 2006


hi all[0]

i've debugged the issue a bit further and it seems that not apache2 nor
libmysqlclient15 is to blame, but libmysqlclient12 :)

normally i have apache2 started and both libaries are used:

root at sheep:~# <insert "lsof" and "grep" magic here>
apache2 /usr/lib/libmysqlclient.so.12.0.0
apache2 /usr/lib/libmysqlclient.so.15.0.0

libmysqlclient.so.12 is loaded, because i'm using mod_auth_mysql too and
its module is linked against libmysqlclient.so.12:

% ldd /usr/lib/apache2/modules/mod_auth_mysql.so
        linux-gate.so.1 =>  (0xffffe000)
        libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0xb7f65000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e2e000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7e1a000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7dec000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7dd6000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7db0000)
        /lib/ld-linux.so.2 (0x80000000)

so when i disable mod_auth_mysql (from debian's
libapache2-mod-auth-mysql), apache2 won't segfault.

my question is now: why does libmysqlclient.so.15 call
libmysqlclient.so.12 at all? (as shown in the backtrace). because
mod_auth_mysql works as expected: when accessing protected directories
(username/passw prompt). the directory of the torrentflux installation is
not even protected by mod-auth-mysql. and: should i set up another
bugreport for libmysqlclient12? (i doubt that, though)

i could provide shell access to my box if someone wants to play around a
bit...

thank you for your time,
Christian.

[0] if i should remove someone from the Cc next time, pls tell me so in
    private, so we don't spam the bugreport.

-- 
make bzImage, not war





More information about the pkg-php-maint mailing list