Open hassila opened 3 years ago
relates to:
Issue Description:
Process 29603 stopped
thread #2, name = 'NIO-ELT-0-#0', stop reason = breakpoint 1.1
frame #0: 0x000055555561586d NIOPerformanceTester`Uring.io_uring_peek_batch_cqe(events=0 values, self=0x00007ffff0001700) at Linux.swift:250:75 [opt]
247 currentCqeCount = CNIOLinux_io_uring_peek_batch_cqe(&ring, cqes, UInt32(cqeCount));
248 for i in 0 ..\< currentCqeCount
249 {
-> 250 let bitPattern : UInt = UInt(bitPattern:io_uring_cqe_get_data(cqes[Intℹ]))
251 let fd = Int(bitPattern & 0x00000000FFFFFFFF)
252 let poll_mask = Int(bitPattern >> 32) // shift out the fd
253 print("io_uring_peek_batch_cqe bitPattern[" + String(bitPattern).decimalToHexa + "] bit[(bitPattern)] fd[(fd)] i[(i)] poll_mask[(poll_mask)] currentCqeCount[(currentCqeCount)] cqes[Intℹ][(String(describing:cqes[Intℹ]))]")
Target 0: (NIOPerformanceTester) stopped.
(lldb) fr v
TypeSystemSwiftTypeRef diverges from SwiftASTContext: $sSPys6UInt32VGD != $sSpys6UInt32VGXSqD
failing type was $sSo11io_uring_sqVD
lldb: /home/build-user/llvm-project/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp:2539: virtual lldb_private::CompilerType lldb_private::TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(lldb::opaque_compiler_type_t, lldb_private::ExecutionContext *, size_t, bool, bool, bool, std::string &, uint32_t &, int32_t &, uint32_t &, uint32_t &, bool &, bool &, lldb_private::ValueObject *, uint64_t &): Assertion `equivalent && "TypeSystemSwiftTypeRef diverges from SwiftASTContext"' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: lldb .build/x86_64-unknown-linux-gnu/release/NIOPerformanceTester
@swift-ci create
Environment
Swift version 5.4-dev (LLVM d28e4b973b2abd9, Swift d378e707988c0ef) swiftdev 5.8.0-44-generic \#50\~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxAdditional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | LLDB for Swift | |Labels | Bug | |Assignee | @adrian-prantl | |Priority | Medium | md5: 709d8da8ed693633d5356ce07dbc3cecrelates to:
Issue Description:
Process 29603 stopped
thread #2, name = 'NIO-ELT-0-#0', stop reason = breakpoint 1.1
frame #0: 0x000055555561586d NIOPerformanceTester`Uring.io_uring_peek_batch_cqe(events=0 values, self=0x00007ffff0001700) at Linux.swift:250:75 [opt]
247 currentCqeCount = CNIOLinux_io_uring_peek_batch_cqe(&ring, cqes, UInt32(cqeCount));
248 for i in 0 ..\< currentCqeCount
249 {
-> 250 let bitPattern : UInt = UInt(bitPattern:io_uring_cqe_get_data(cqes[Intℹ]))
251 let fd = Int(bitPattern & 0x00000000FFFFFFFF)
252 let poll_mask = Int(bitPattern >> 32) // shift out the fd
253 print("io_uring_peek_batch_cqe bitPattern[" + String(bitPattern).decimalToHexa + "] bit[(bitPattern)] fd[(fd)] i[(i)] poll_mask[(poll_mask)] currentCqeCount[(currentCqeCount)] cqes[Intℹ][(String(describing:cqes[Intℹ]))]")
Target 0: (NIOPerformanceTester) stopped.
(lldb) fr v
TypeSystemSwiftTypeRef diverges from SwiftASTContext: $sSPys6UInt32VGD != $sSpys6UInt32VGXSqD
failing type was $sSo11io_uring_sqVD
lldb: /home/build-user/llvm-project/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp:2539: virtual lldb_private::CompilerType lldb_private::TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(lldb::opaque_compiler_type_t, lldb_private::ExecutionContext *, size_t, bool, bool, bool, std::string &, uint32_t &, int32_t &, uint32_t &, uint32_t &, bool &, bool &, lldb_private::ValueObject *, uint64_t &): Assertion `equivalent && "TypeSystemSwiftTypeRef diverges from SwiftASTContext"' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: lldb .build/x86_64-unknown-linux-gnu/release/NIOPerformanceTester