httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: Segfault in ssl_scache_init on reload
Date Sun, 09 Oct 2016 17:46:18 GMT


On 10/08/2016 09:28 PM, Niklas Edmundsson wrote:
> 
> Hi all.
> 
> httpd 2.4.23, built from httpd-2.4.23.tar.bz2 and httpd-2.4.23-deps.tar.bz2 on Ubuntu
14.04.5 LTS (trusty).
> 
> While fiddling with enabling https on ftp.acc.umu.se I stumbled on the following coredump
when reloading the server with
> -k graceful after renewing/updating the certificate. Has anyone seen anything like it
before? I'm at a loss figuring out
> which end I should start prodding to make sense of this...
> 
> frame 0 of the coredump seems to be garbage, and I can't find any obvious NULL pointer
or similar in frame 1...
> 
> -------------------------------------8<------------------------------
> (gdb) bt full
> #0  0x0000000000000000 in ?? ()
> No symbol table info available.
> #1  0x00007fad4616c3a4 in ssl_scache_init (s=s@entry=0x10d12a0,
>     p=p@entry=0x109b138) at ssl_scache.c:61
>         mc = 0x10bfc98
>         rv = <optimized out>
>         hints = {avg_id_len = 20, avg_obj_size = 1500, expiry_interval = 300}
> #2  0x00007fad4615dc4e in ssl_init_Module (p=0x109b138, plog=<optimized out>,
>     ptemp=0x10cc458, base_server=0x10d12a0) at ssl_engine_init.c:287
>         mc = <optimized out>
>         sc = 0x10e8e58
>         s = 0x0
>         rv = <optimized out>
>         pphrases = <optimized out>
> #3  0x000000000044ca89 in ap_run_post_config (pconf=0x109b138, plog=0x10c8358,
>     ptemp=0x10cc458, s=0x10d12a0) at config.c:103
>         pHook = 0x117dc08
>         n = 7
>         rv = 1178082720
> #4  0x000000000042b610 in main (argc=22, argv=0x7ffc686b6878) at main.c:771
>         c = 84 'T'
>         showcompile = 0
>         showdirectives = 0
>         confname = 0x7ffc686b7f73 "/var/conf/apache2/httpd.conf"
>         def_server_root = 0x4682a5 "/lap/apache/2.4.23"
>         temp_error_log = <optimized out>
>         error = <optimized out>
>         process = 0x1099218
>         pconf = 0x109b138
>         plog = 0x10c8358
>         ptemp = 0x10cc458
>         pcommands = 0x10bd248
>         opt = 0x10bd338
>         rv = <optimized out>
>         mod = 0x689938 <ap_prelinked_modules+24>
>         opt_arg = 0x0
>         signal_server = <optimized out>
>         rc = <optimized out>
> (gdb) frame 1
> #1  0x00007fad4616c3a4 in ssl_scache_init (s=s@entry=0x10d12a0,
>     p=p@entry=0x109b138) at ssl_scache.c:61
> 61              rv = mc->stapling_cache->init(mc->stapling_cache_context,
> (gdb) l
> 56              memset(&hints, 0, sizeof hints);
> 57              hints.avg_obj_size = 1500;
> 58              hints.avg_id_len = 20;
> 59              hints.expiry_interval = 300;
> 60
> 61              rv = mc->stapling_cache->init(mc->stapling_cache_context,
> 62                                           "mod_ssl-stapling", &hints, s, p);
> 63              if (rv) {
> 64                  ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01872)
> 65                               "Could not initialize stapling cache. Exiting.");
> -------------------------------------8<------------------------------

What are the values of

mc->stapling_cache
mc->stapling_cache->init

Regards

RĂ¼diger


Mime
View raw message