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

            Bug ID: 69560
           Summary: Segfault during OPENSSL_CLEANUP in clean_child_exit
           Product: Apache httpd-2
           Version: 2.4.62
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: mich...@orlitzky.com
  Target Milestone: ---

I am trying to debug some other crash, but found this core dump sitting there
this morning.

#0  0x00007fa43595cc48 in CRYPTO_DOWN_REF (refcnt=refcnt@entry=0x558212e4d758,
ret=ret@entry=0x7ffd6bd5fb14)
    at ../openssl-3.3.2/include/internal/refcount.h:51
#1  0x00007fa43595dab9 in EVP_MD_free (md=0x558212e4d6e0) at
../openssl-3.3.2/crypto/evp/digest.c:1172
#2  0x00007fa43595e93a in evp_md_free (md=<optimized out>) at
../openssl-3.3.2/crypto/evp/digest.c:1143
#3  0x00007fa435a81d23 in ossl_method_free (method=method@entry=0x558212e4d810)
at ../openssl-3.3.2/crypto/property/property.c:168
#4  0x00007fa435a81d85 in impl_free (impl=0x558212e4d800) at
../openssl-3.3.2/crypto/property/property.c:205
#5  0x00007fa435ac96ef in OPENSSL_sk_pop_free (st=0x558212e4d830,
func=func@entry=0x7fa435a81d73 <impl_free>) at
../openssl-3.3.2/crypto/stack/stack.c:439
#6  0x00007fa435a81dbe in sk_IMPLEMENTATION_pop_free (freefunc=0x7fa435a81d73
<impl_free>, sk=<optimized out>)
    at ../openssl-3.3.2/crypto/property/property.c:47
#7  alg_cleanup (idx=idx@entry=47873, a=0x558212e4d7e0,
arg=arg@entry=0x5582128e3280) at
../openssl-3.3.2/crypto/property/property.c:229
#8  0x00007fa4359af570 in sa_doall (sa=0x5582128e32c0, node=node@entry=0x0,
leaf=leaf@entry=0x7fa435a81d9c <alg_cleanup>, arg=arg@entry=0x5582128e3280)
    at ../openssl-3.3.2/crypto/sparse_array.c:93
#9  0x00007fa4359af6c9 in ossl_sa_doall_arg (sa=<optimized out>,
leaf=leaf@entry=0x7fa435a81d9c <alg_cleanup>, arg=arg@entry=0x5582128e3280)
    at ../openssl-3.3.2/crypto/sparse_array.c:148
#10 0x00007fa435a82231 in ossl_sa_ALGORITHM_doall_arg (arg=0x5582128e3280,
leaf=0x7fa435a81d9c <alg_cleanup>, sa=<optimized out>)
    at ../openssl-3.3.2/crypto/property/property.c:97
#11 ossl_method_store_free (store=0x5582128e3280) at
../openssl-3.3.2/crypto/property/property.c:263
#12 0x00007fa435999794 in context_deinit_objs (ctx=ctx@entry=0x7fa435ca6f80
<default_context_int>) at ../openssl-3.3.2/crypto/context.c:225
#13 0x00007fa435999993 in context_deinit (ctx=ctx@entry=0x7fa435ca6f80
<default_context_int>) at ../openssl-3.3.2/crypto/context.c:355
#14 0x00007fa435999de9 in ossl_lib_ctx_default_deinit () at
../openssl-3.3.2/crypto/context.c:396
#15 0x00007fa43599d11b in OPENSSL_cleanup () at
../openssl-3.3.2/crypto/init.c:440
#16 0x00007fa4365eb150 in __run_exit_handlers (status=status@entry=0,
listp=<optimized out>, run_list_atexit=run_list_atexit@entry=true, 
    run_dtors=run_dtors@entry=true) at exit.c:108
#17 0x00007fa4365eb208 in __GI_exit (status=status@entry=0) at exit.c:138
#18 0x000055820340663b in clean_child_exit (code=code@entry=0) at prefork.c:240
#19 0x0000558203406fc5 in child_main (child_num_arg=child_num_arg@entry=9,
child_bucket=child_bucket@entry=0) at prefork.c:688
#20 0x000055820340712c in make_child (s=0x5582124f99c8, slot=slot@entry=9) at
prefork.c:773
#21 0x0000558203407381 in perform_idle_server_maintenance (p=<optimized out>)
at prefork.c:877
#22 0x0000558203407702 in prefork_run (_pconf=<optimized out>, plog=<optimized
out>, s=<optimized out>) at prefork.c:1070
#23 0x00005582033cb799 in ap_run_mpm (pconf=pconf@entry=0x5582124ce3c8,
plog=0x5582124fd6e8, s=0x5582124f99c8) at mpm_common.c:95
#24 0x00005582033c4c8f in main (argc=<optimized out>, argv=<optimized out>) at
main.c:843

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to