php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45995 mod_authn_dbd conflict with php+mysql
Submitted: 2008-09-04 15:11 UTC Modified: 2008-09-11 10:35 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: obylan at gmail dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 5.2.6 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: obylan at gmail dot com
New email:
PHP Version: OS:

 

 [2008-09-04 15:11 UTC] obylan at gmail dot com
Description:
------------
i have a problem with 

>= apache-2.2.8
>= php-5.2
>= mysql-5.0

If i build php apache module without mysql support, apache start. 
But if i build php module with mysql support, apache exit with segmentation fault when i try to start it.

I'm using Apache set with MPM prefork.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-04 19:31 UTC] johannes@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2008-09-05 08:22 UTC] obylan at gmail dot com
i have the same problem on different hardware ( p III biproc, Intel(R) Core(TM)2 Duo biproc, AMD Athlon(tm) 64 X2 Dual Core ) 

System is gentoo linux on different kernel.

This is the backtrace on apache execution:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b90700 (LWP 839)]
0xb6ece496 in load_defaults () from /usr/lib/libmysqlclient.so.15
(gdb) bt
#0  0xb6ece496 in load_defaults () from /usr/lib/libmysqlclient.so.15
#1  0xb73da540 in zm_startup_mysql () from /usr/lib/apache2/modules/libphp5.so
#2  0xb753243e in zend_startup_module_ex () from /usr/lib/apache2/modules/libphp5.so
#3  0xb7539645 in zend_hash_apply () from /usr/lib/apache2/modules/libphp5.so
#4  0xb75325f9 in zend_startup_modules () from /usr/lib/apache2/modules/libphp5.so
#5  0xb74db153 in php_module_startup () from /usr/lib/apache2/modules/libphp5.so
#6  0xb75a8bfc in ?? () from /usr/lib/apache2/modules/libphp5.so
#7  0xb7826d80 in ?? () from /usr/lib/apache2/modules/libphp5.so
#8  0xb7826fe0 in ?? () from /usr/lib/apache2/modules/libphp5.so
#9  0x00000001 in ?? ()
#10 0xb7aea6ba in ?? () from /usr/lib/apache2/modules/mod_ssl.so
#11 0x000000dc in ?? ()
#12 0x0000000b in ?? ()
#13 0xbf9cefd8 in ?? ()
#14 0xb75a8d7e in ?? () from /usr/lib/apache2/modules/libphp5.so
#15 0xb7826d80 in ?? () from /usr/lib/apache2/modules/libphp5.so
#16 0xb77f3f98 in ?? () from /usr/lib/apache2/modules/libphp5.so
#17 0x080a30a0 in ?? ()
#18 0xb7b39ff4 in ?? () from /usr/lib/apache2/modules/mod_headers.so
#19 0x081f6ac8 in ?? ()
#20 0x081f6b38 in ?? ()
#21 0x081f6bf0 in ?? ()
#22 0x000000c8 in ?? ()
#23 0x00000001 in ?? ()
#24 0xb77f3f98 in ?? () from /usr/lib/apache2/modules/libphp5.so
#25 0xbf9cf008 in ?? ()
#26 0x0807a7fe in ap_run_post_config ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
 [2008-09-05 23:13 UTC] jani@php.net
Exactly how did you confiugre PHP? What mysql version? (EXACTLY what 
version..)
 [2008-09-06 05:37 UTC] obylan at gmail dot com
I have tryed many version of php, mysl and apache as i reported in the 
first post, tring many combination but i have allways the same kind of 
bug.
And this was happen after last system ajournment (gentoo). If i try to 
install others versions backing to older i have ever the same problem.
 [2008-09-06 15:45 UTC] jani@php.net
I repeat: HOW did you configure PHP? What was the configure line you used before you did 'make' ???


 [2008-09-11 10:35 UTC] obylan at gmail dot com
ok i have found the problem ... is related on mod_authn_dbd that have a conflict with php+mysql.

To solve it is needeed downgrade apr and apr-util version under 1.3
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Feb 11 08:01:29 2025 UTC