Skip to content

Assertion (wrap->ssl_) != nullptr failed in TLSWrap::GetServername #48000

@tniessen

Description

@tniessen

Version

HEAD

Platform

fedora-last-latest-x64

Subsystem

tls

What steps will reproduce the bug?

Start a Jenkins CI job that includes fedora-last-latest-x64.

How often does it reproduce? Is there a required condition?

It happens quite often. The build time graph shows a clear increase in error rates during the last few days:

build time trend showing significantly more failures in the last few days

What is the expected behavior? Why is that the expected behavior?

No error.

What do you see instead?

mkdir -p out/doc
mkdir -p out/doc/api
cp -r doc/api out/doc
mkdir -p out/doc/api/assets
if [ -d doc/api/assets ]; then cp -r doc/api/assets out/doc/api; fi;
if [ -x /home/iojs/build/workspace/node-test-commit-linux/./node ] && [ -e /home/iojs/build/workspace/node-test-commit-linux/./node ]; then /home/iojs/build/workspace/node-test-commit-linux/./node  tools/doc/versions.mjs out/previous-doc-versions.json; elif [ -x `command -v node` ] && [ -e `command -v node` ] && [ `command -v node` ]; then `command -v node`  tools/doc/versions.mjs out/previous-doc-versions.json; else echo "No available node, cannot run \"node  tools/doc/versions.mjs out/previous-doc-versions.json\""; exit 1; fi;
/home/iojs/build/workspace/node-test-commit-linux/./node[4083780]: ../src/crypto/crypto_tls.cc:1233:static void node::crypto::TLSWrap::GetServername(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `(wrap->ssl_) != nullptr' failed.
 1: 0xc8df40 node::Abort() [/home/iojs/build/workspace/node-test-commit-linux/./node]
 2: 0xc8dfbe  [/home/iojs/build/workspace/node-test-commit-linux/./node]
 3: 0xe53b6a node::crypto::TLSWrap::GetServername(v8::FunctionCallbackInfo<v8::Value> const&) [/home/iojs/build/workspace/node-test-commit-linux/./node]
 4: 0xf1578f v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/home/iojs/build/workspace/node-test-commit-linux/./node]
 5: 0xf15ffd  [/home/iojs/build/workspace/node-test-commit-linux/./node]
 6: 0xf164c5 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/home/iojs/build/workspace/node-test-commit-linux/./node]
 7: 0x191ddf6  [/home/iojs/build/workspace/node-test-commit-linux/./node]
/bin/sh: line 1: 4083780 Aborted                 (core dumped) /home/iojs/build/workspace/node-test-commit-linux/./node tools/doc/versions.mjs out/previous-doc-versions.json
make[2]: *** [Makefile:780: out/previous-doc-versions.json] Error 134
make[1]: *** [Makefile:738: doc-only] Error 2
make: *** [Makefile:579: run-ci] Error 2
Build step 'Execute shell' marked build as failure

Additional information

This only started happening recently. Unless there was an infrastructure change (cc @nodejs/build), it likely is due to a recent change on main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    linuxIssues and PRs related to the Linux platform.netIssues and PRs related to the net subsystem.tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions