Re: Segfault on graceful reload with OCSP stapling enabled?

2015-12-21 Thread Jeff Trawick
On Mon, Dec 21, 2015 at 8:09 AM, Micha Lenk  wrote:

> Hi all,
>
> Am 18.12.2015 12:35, schrieb Micha Lenk:
>
>> I am currently observing a httpd segfault that is triggered on my
>> system by every second graceful reload (i.e. SIGUSR1).
>>
>> Unfotunately I won't be able to trace this down before Monday, so this
>> is merely a heads-up for those interested.
>> Is anybody able to reproduce this behavior?
>>
>
> Just for the records, the segfault seems to be caused by a bad patch.
> So sorry for the noise...
>

Thanks for reporting back/glad it is resolved!


>
> Best regards,
> Micha
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/


Re: Segfault on graceful reload with OCSP stapling enabled?

2015-12-21 Thread Micha Lenk

Hi all,

Am 18.12.2015 12:35, schrieb Micha Lenk:

I am currently observing a httpd segfault that is triggered on my
system by every second graceful reload (i.e. SIGUSR1).

Unfotunately I won't be able to trace this down before Monday, so this
is merely a heads-up for those interested.
Is anybody able to reproduce this behavior?


Just for the records, the segfault seems to be caused by a bad patch.
So sorry for the noise...

Best regards,
Micha


Segfault on graceful reload with OCSP stapling enabled?

2015-12-18 Thread Micha Lenk

Hi all,

I am currently observing a httpd segfault that is triggered on my system 
by every second graceful reload (i.e. SIGUSR1).


Unfotunately I won't be able to trace this down before Monday, so this 
is merely a heads-up for those interested.

Is anybody able to reproduce this behavior?

This is my configuration:

SSLStaplingCache shmcb:cache/ocsp_cache(128000)
SSLUseStapling on
SSLStaplingResponderTimeout 5
SSLStaplingReturnResponderErrors off

Thanks in advance for any helpful comments...

Cheerds,
Micha

BTW: The backtrace looks like this (however, please note that this is a 
patched http 2.4.16, so line numbers might be off a bit):


(gdb) bt full
#0  0x7d50537b in ?? ()
No symbol table info available.
#1  0x0829af5c in find_entry (ht=0x88e7f68, key=0xcfc0, klen=20, 
val=0x0) at tables/apr_hash.c:294

hep = 
he = 
hash = 
#2  0x0829b04b in apr_hash_get (ht=0x88e7f68, key=0xcfc0, klen=20) 
at tables/apr_hash.c:367

he = 
#3  0x0818f059 in ssl_stapling_init_cert (s=0x8602c78, p=0x84cf0a8, 
ptemp=0x8520e98, mctx=0x89e87a8, x=0x8a29a58) at ssl_util_stapling.c:120

idx = "\226i\327w\347\200[=\272ς\333\364f\263\232PKKJ"
cinf = 
issuer = 
cid = 
aia = 
#4  0x0818145d in ssl_init_server_ctx (pphrases=, 
sc=, ptemp=, p=, 
s=) at ssl_engine_init.c:1457

No locals.
#5  ssl_init_ConfigureServer (s=0x8602c78, p=0x84cf0a8, ptemp=0x8520e98, 
sc=0x89e8660, pphrases=0x865a0f0) at ssl_engine_init.c:1499

rv = 0
#6  0x08181b3a in ssl_init_Module (p=0x84cf0a8, plog=0x850e2e0, 
ptemp=0x8520e98, base_server=0x8502fd0) at ssl_engine_init.c:314

mc = 
sc = 
s = 0x8602c78
rv = 0
pphrases = 0x865a0f0
#7  0x080d32c0 in ap_run_post_config (pconf=0x84cf0a8, plog=0x850e2e0, 
ptemp=0x8520e98, s=0x8502fd0) at config.c:103

n = 2
rv = 2102416251
#8  0x080b6fa5 in main (argc=139251872, argv=0x864ef88) at main.c:777
c = 68 'D'
showcompile = 0
showdirectives = 0
confname = 0xd42e "/var/lib/usp/hsp/hts/conf/httpd.conf"
def_server_root = 0xd416 "/var/lib/usp/hsp/hts"
temp_error_log = 0x0
error = 
process = 0x84cd130
pconf = 0x84cf0a8
plog = 0x850e2e0
ptemp = 0x8520e98
pcommands = 0x84f1130
opt = 0x84f11d0
rv = 
opt_arg = 0xd455 "SSL"