File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
presto-native-execution/presto_cpp/main/http Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -462,10 +462,14 @@ folly::SemiFuture<proxygen::HTTPTransaction*> HttpClient::createTransaction(
462
462
}
463
463
VLOG (3 ) << " Reuse idle connection from different thread to "
464
464
<< address_.describe ();
465
+ // Skip this check for GCC to prevent SIGSEGV as described in the issue:
466
+ // https://github.com/prestodb/presto/issues/22995
467
+ #if defined(__clang__)
465
468
auto * evb = session->getEventBase ();
466
469
// The event base from idle session should not be the current event base,
467
470
// otherwise we should have already got it from the local session pool.
468
471
VELOX_CHECK (!evb || !evb->isInEventBaseThread ());
472
+ #endif
469
473
session->attachThreadLocals (
470
474
eventBase_,
471
475
sslContext_,
You can’t perform that action at this time.
0 commit comments