build: use clang over g++ for ubsan #229
Annotations
10 errors
Test:
test/pseudo-tty/console-dumb-tty.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
{ foo: 'bar' }
{ foo: 'bar' }
string q
{ foo: 'bar' } with object format param
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/console-dumb-tty.js
|
Test:
test/pseudo-tty/no_interleaved_stdio.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooO__This is some stderr__
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/no_interleaved_stdio.js
|
Test:
test/pseudo-tty/console_colors.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
{ foo: [32m'bar'[39m }
string q
{ foo: [32m'bar'[39m } with object format param
Error: test
at abc (../fixtures/node_modules/bar.js:4:4)
foobar
at Object.<anonymous> [90m(/home/runner/work/node/node/[39mtest/pseudo-tty/console_colors.js:13:3[90m)[39m
[90m at Module._compile (node:internal/modules/cjs/loader:1421:14)[39m
[90m at Module._extensions..js (node:internal/modules/cjs/loader:1499:10)[39m
[90m at Module.load (node:internal/modules/cjs/loader:1232:32)[39m
[90m at Module._load (node:internal/modules/cjs/loader:1048:12)[39m
[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)[39m
[90m at node:internal/main/run_main_module:28:49[39m
Error: Should not ever get here.
at Object.<anonymous> [90m(/home/runner/work/node/node/[39mtest/fixtures/node_modules/[4mnode_modules[24m/bar.js:22:7[90m)[39m
[90m at Module._compile (node:internal/modules/cjs/loader:1421:14)[39m
[90m at Module._extensions..js (node:internal/modules/cjs/loader:1499:10)[39m
[90m at Module.load (node:internal/modules/cjs/loader:1232:32)[39m
[90m at Module._load (node:internal/modules/cjs/loader:1048:12)[39m
[90m at Module.require (node:internal/modules/cjs/loader:1257:19)[39m
[90m at require (node:internal/modules/helpers:188:18)[39m
at Object.<anonymous> [90m(/home/runner/work/node/node/[39mtest/pseudo-tty/console_colors.js:17:3[90m)[39m
[90m at Module._compile (node:internal/modules/cjs/loader:1421:14)[39m
[90m at Module._extensions..js (node:internal/modules/cjs/loader:1499:10)[39m
Error
at evalmachine.<anonymous>:1:13
[90m at Script.runInThisContext (node:vm:136:12)[39m
[90m at Object.runInThisContext (node:vm:316:38)[39m
at Object.<anonymous> [90m(/home/runner/work/node/node/[39mtest/pseudo-tty/console_colors.js:22:4[90m)[39m
[90m at Module._compile (node:internal/modules/cjs/loader:1421:14)[39m
[90m at Module._extensions..js (node:internal/modules/cjs/loader:1499:10)[39m
[90m at Module.load (node:internal/modules/cjs/loader:1232:32)[39m
[90m at Module._load (node:internal/modules/cjs/loader:1048:12)[39m
[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)[39m
[90m at node:internal/main/run_main_module:28:49[39m
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/console_colors.js
|
Test:
test/pseudo-tty/no_dropped_stdio.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooO
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/no_dropped_stdio.js
|
Test:
test/pseudo-tty/readline-dumb-tty.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
text
text
text
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/readline-dumb-tty.js
|
Test:
test/pseudo-tty/ref_keeps_node_running.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node --expose-internals --no-warnings /home/runner/work/node/node/test/pseudo-tty/ref_keeps_node_running.js
|
Test:
test/pseudo-tty/test-assert-colors.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/test-assert-colors.js
|
Test:
test/pseudo-tty/stdin-setrawmode.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/stdin-setrawmode.js
|
Test:
test/pseudo-tty/repl-dumb-tty.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
[1m../deps/v8/src/handles/global-handles.cc:866:3:[1m[31m runtime error: [1m[0m[1mcall to function node::BaseObject::MakeWeak()::$_0::__invoke(v8::WeakCallbackInfo<node::BaseObject> const&) through pointer to incorrect function type 'void (*)(const v8::WeakCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x24e8e90):[1m[30m note: [1m[0mnode::BaseObject::MakeWeak()::$_0::__invoke(v8::WeakCallbackInfo<node::BaseObject> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/handles/global-handles.cc:866:3 in
> >
console.log("foo")
foo
undefined
> 1 + 2
3
> "str"
'str'
> console.dir({ a: 1 })
{ a: 1 }
undefined
> { a: 1 }
{ a: 1 }
>
> .exit
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/repl-dumb-tty.js
|
Test:
test/pseudo-tty/test-assert-position-indicator.js#L1
--- stdout ---
[1m../deps/v8/src/api/api-arguments-inl.h:334:3:[1m[31m runtime error: [1m[0m[1mcall to function v8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) through pointer to incorrect function type 'void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void> &)'[1m[0m
[1m(/home/runner/work/node/node/out/Release/node+0x2e875b0):[1m[30m note: [1m[0mv8::internal::Accessors::ReconfigureToDataProperty(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&) defined here[1m[0m
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../deps/v8/src/api/api-arguments-inl.h:334:3 in
Command: /opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 /home/runner/work/node/node/test/pseudo-tty/../../tools/pseudo-tty.py out/Release/node /home/runner/work/node/node/test/pseudo-tty/test-assert-position-indicator.js
|
The logs for this run have expired and are no longer available.
Loading