grpc dumps core

22 views
Skip to first unread message

Jeff Steger

unread,
Jun 4, 2024, 5:35:51 PMJun 4
to grpc.io

I am running grpc 1.46.3 and I am experiencing this core dump upon receiving very large messages. Does anyone recognize this backtrace and know if any similar issues have been addressed in more recent grpc versions?


Jeff


(gdb) bt

#0  0x00007fd9966b93f0 in pthread_rwlock_rdlock () from /lib/x86_64-linux-gnu/libpthread.so.0

#1  0x00007fd996c1394d in CRYPTO_THREAD_read_lock (lock=<optimized out>) at crypto/threads_pthread.c:97

#2  0x00007fd996c03325 in ossl_lib_ctx_get_data (ctx=0x7fd996e19e80 <default_context_int>, index=1,

    meth=0x7fd996dd5120 <provider_store_method>) at crypto/context.c:377

#3  0x00007fd996c10323 in get_provider_store (libctx=<optimized out>) at crypto/provider_core.c:339

#4  0x00007fd996c10c3d in ossl_provider_deregister_child_cb (handle=0x7fd93001daa0) at crypto/provider_core.c:1806

#5  0x00007fd996c031d0 in OSSL_LIB_CTX_free (ctx=0x7fd930053480) at crypto/context.c:248

#6  OSSL_LIB_CTX_free (ctx=0x7fd930053480) at crypto/context.c:241

#7  0x00007fd988013cc5 in legacy_teardown (provctx=0x7fd930053f70) at providers/legacyprov.c:168

#8  0x00007fd996c119b5 in ossl_provider_free (prov=0x7fd93001daa0) at crypto/provider_core.c:696

#9  ossl_provider_free (prov=0x7fd93001daa0) at crypto/provider_core.c:679

#10 0x00007fd996bde3b6 in evp_cipher_free_int (cipher=0x7fd93007f3f0) at crypto/evp/evp_enc.c:1651

#11 0x00007fd996f0adfc in SSL_CTX_free (a=0x7fd930056e40) at ssl/ssl_lib.c:3642

#12 SSL_CTX_free (a=0x7fd930056e40) at ssl/ssl_lib.c:3576

#13 0x00007fd996f0b2c6 in SSL_free (s=0x7fd91c2c6ea0) at ssl/ssl_lib.c:1359

#14 SSL_free (s=0x7fd91c2c6ea0) at ssl/ssl_lib.c:1260

#15 0x000055820c4ea8a4 in ssl_protector_destroy (self=0x7fd91c03f5b0)

    at /workspace/grpc/grpc.source/src/core/tsi/ssl_transport_security.cc:1191

#16 0x000055820c66ad6a in (anonymous namespace)::secure_endpoint::~secure_endpoint (this=0x7fd91c3c5bb0,

    __in_chrg=<optimized out>) at /workspace/grpc/grpc.source/src/core/lib/security/transport/secure_endpoint.cc:85

#17 destroy (ep=0x7fd91c3c5bb0) at /workspace/grpc/grpc.source/src/core/lib/security/transport/secure_endpoint.cc:124

#18 secure_endpoint_unref (ep=0x7fd91c3c5bb0, reason=<optimized out>, line=<optimized out>,

    file=0x55820c930520 "/workspace/grpc/grpc.source/src/core/lib/security/transport/secure_endpoint.cc")

    at /workspace/grpc/grpc.source/src/core/lib/security/transport/secure_endpoint.cc:140

#19 0x000055820c3dd62d in grpc_chttp2_transport::~grpc_chttp2_transport (this=0x7fd91c33f490, __in_chrg=<optimized out>)

    at /workspace/grpc/grpc.source/src/core/ext/transport/chttp2/transport/chttp2_transport.cc:209

#20 0x000055820c3e2d48 in grpc_chttp2_unref_transport (line=566,

    file=0x55820c8f2b20 "/workspace/grpc/grpc.source/src/core/ext/transport/chttp2/transport/chttp2_transport.cc",

    reason=0x55820c900865 "destroy", t=0x7fd91c33f490)

    at /workspace/grpc/grpc.source/src/core/ext/transport/chttp2/transport/internal.h:802

#21 destroy_transport_locked (tp=0x7fd91c33f490)

    at /workspace/grpc/grpc.source/src/core/ext/transport/chttp2/transport/chttp2_transport.cc:566

#22 0x000055820c443d74 in grpc_combiner_continue_exec_ctx ()

    at /workspace/grpc/grpc.source/src/core/lib/iomgr/combiner.cc:240

#23 0x000055820c44727e in grpc_core::ExecCtx::Flush (this=0x7fd95cff6a80)

    at /workspace/grpc/grpc.source/src/core/lib/iomgr/exec_ctx.cc:82

#24 0x000055820c456598 in run_some_timers () at /workspace/grpc/grpc.source/src/core/lib/iomgr/exec_ctx.h:233

#25 timer_main_loop () at /workspace/grpc/grpc.source/src/core/lib/iomgr/timer_manager.cc:238

#26 timer_thread (completed_thread_ptr=completed_thread_ptr@entry=0x7fd934050870)

    at /workspace/grpc/grpc.source/src/core/lib/iomgr/timer_manager.cc:285

#27 0x000055820c68f605 in grpc_core::(anonymous namespace)::ThreadInternalsPosix::<lambda(void*)>::operator() (

    __closure=0x0, v=<optimized out>) at /workspace/grpc/grpc.source/src/core/lib/gprpp/thd_posix.cc:140

#28 grpc_core::(anonymous namespace)::ThreadInternalsPosix::<lambda(void*)>::_FUN(void *) ()

    at /workspace/grpc/grpc.source/src/core/lib/gprpp/thd_posix.cc:145

#29 0x00007fd9966b4609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

#30 0x00007fd9965d9533 in clone () from /lib/x86_64-linux-gnu/libc.so.6 

 

Reply all
Reply to author
Forward
0 new messages