-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iosanitizerFound with sanitizer testing (ASAN, LSAN, MSAN, TSAN, UBSAN)Found with sanitizer testing (ASAN, LSAN, MSAN, TSAN, UBSAN)triagedIssue has been triaged by sub teamIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
--- Command "vm" (took 800ms):
DART_CONFIGURATION=ReleaseUBSANARM64 xcodebuild/ReleaseUBSANARM64/dart -Dtest_runner.configuration=vm-ubsan-mac-release-arm64 --ignore-unrecognized-flags --packages=/Volumes/Work/s/w/ir/.dart_tool/package_config.json /Volumes/Work/s/w/ir/tests/standalone/io/raw_datagram_socket_test.dart
exit code:
-6
stdout:
unittest-suite-wait-for-done
stderr:
../../runtime/bin/socket_base_posix.cc:37:43: runtime error: reference binding to misaligned address 0x00014703cd4c for type 'const RawAddr', which requires 8 byte alignment
0x00014703cd4c: note: pointer points here
00 00 00 00 1c 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
^
#0 0x000102842148 in dart::bin::SocketAddress::SocketAddress(sockaddr*, bool) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x100066148)
#1 0x000102843ef4 in dart::bin::SocketBase::ListInterfaces(int, dart::bin::OSError**) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x100067ef4)
#2 0x00010283dedc in dart::bin::Socket::ListInterfacesRequest(dart::bin::CObjectArray const&) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x100061edc)
#3 0x000102829e7c in dart::bin::IOServiceCallback(long long, _Dart_CObject*) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x10004de7c)
#4 0x000102dcd48c in dart::(anonymous namespace)::HandleMessage::Run() (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x1005f148c)
#5 0x000102fc982c in dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x1007ed82c)
#6 0x000102fc9dfc in dart::ThreadPool::Worker::Main(unsigned long) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x1007eddfc)
#7 0x000102f0a5dc in dart::ThreadStart(void*) (/Volumes/Work/s/w/ir/xcodebuild/ReleaseUBSANARM64/dartvm:arm64+0x10072e5dc)
#8 0x00018f00ef90 in _pthread_joiner_wake (/usr/lib/system/libsystem_pthread.dylib:arm64+0x6f90)
#9 0x507600018f009d30 (<unknown module>)
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../../runtime/bin/socket_base_posix.cc:37:43
--- Re-run this test:
python3 tools/test.py -n vm-ubsan-mac-release-arm64 standalone/io/raw_datagram_socket_test
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iosanitizerFound with sanitizer testing (ASAN, LSAN, MSAN, TSAN, UBSAN)Found with sanitizer testing (ASAN, LSAN, MSAN, TSAN, UBSAN)triagedIssue has been triaged by sub teamIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)