git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62552] Loading mod_md segfaults when using DBDriver from mod_authn_dbd


https://bz.apache.org/bugzilla/show_bug.cgi?id=62552

--- Comment #13 from Stefan Eissing <stefan@xxxxxxxxxxx> ---
I agree that something seems strange, which normally indicates that there is a
hidden variable which we are not aware of yet.

In your backtrace attached here, I read:

[Wed Jul 18 11:23:52.903327 2018] [so:debug] [pid 10467:tid 140737354008448]
mod_so.c(266): AH01575: loaded module ssl_module from 
...
Program received signal SIGSEGV, Segmentation fault.
0x00007fffef1c2610 in ?? ()

(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7fe0780 (LWP 10467)):
...
#8  0x00005555555c0638 in load_module (cmd=0x7fffffffdaa0, dummy=<optimized
out>, modname=0x555555853a68 "md_module", filename=0x555555853a78
"modules/mod_md.so") at mod_so.c:302
#9  0x00005555555ac410 in invoke_cmd (cmd=0x5555557f35e0 <so_cmds>,
parms=parms@entry=0x7fffffffdaa0, mconfig=mconfig@entry=0x7fffffffd5b0,
args=<optimized out>, args@entry=0x55555582dc53 "md_module modules/mod_md.so")
at config.c:948

That is why I thought mod_ssl has been loaded before mod_md. How am I reading
that wrong?

Once we know for sure exactly which ordering is problematic, maybe we can find
the difference between mod_ssl's initalization of openssl and the way mod_md
does it.

The other thing that worries me is: if you say that only the configuration
command

DBDriver mysql

triggers the segfault then this can only happen if that config line comes
_before_ the LoadModule of mod_md. But in your minimal example, this is not the
case. So, I think we do not have a clear model of what happens when...

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-bugs/msg03009.html on line 118
Call Stack
#TimeMemoryFunctionLocation
10.0008364504{main}( ).../msg03009.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-bugs/msg03009.html on line 118
Call Stack
#TimeMemoryFunctionLocation
10.0008364504{main}( ).../msg03009.html:0