neallester / danake-sw

A persistence framework in Swift.
MIT License
3 stars 0 forks source link

Crash in LoggingTests.testWaitForEntry on Linux #16

Open neallester opened 5 years ago

neallester commented 5 years ago

Test Case 'LoggingTests.testWaitForEntry' started at 2019-08-15 22:01:49.429 Fatal error: Index out of range Current stack trace: 0 libswiftCore.so 0x00007ff13b292ec0 swift_reportError + 50 1 libswiftCore.so 0x00007ff13b3040f0 _swift_stdlibreportFatalError + 69 2 libswiftCore.so 0x00007ff13b1ff5f7 + 3347959 3 libswiftCore.so 0x00007ff13b0065c2 + 1279426 4 libswiftCore.so 0x00007ff13b007128 + 1282344 5 libswiftCore.so 0x00007ff13b01fae0 BidirectionalCollection.last.getter + 310 6 danakePackageTests.xctest 0x0000559f68537b60 + 4729696 7 danakePackageTests.xctest 0x0000559f68207b7f + 1387391 8 libswiftDispatch.so 0x00007ff13b5c9f91 + 143249 9 libswiftDispatch.so 0x00007ff13b5bcc6e + 89198 10 libdispatch.so 0x00007ff13b579d0b + 216331 11 libswiftDispatch.so 0x00007ff13b5c9e60 DispatchQueue.sync(execute:) + 158 12 danakePackageTests.xctest 0x0000559f68207965 + 1386853 13 danakePackageTests.xctest 0x0000559f68536edc + 4726492 14 danakePackageTests.xctest 0x0000559f68216b0c + 1448716 15 danakePackageTests.xctest 0x0000559f6817370c + 780044 16 danakePackageTests.xctest 0x0000559f68216ce1 + 1449185 17 libXCTest.so 0x00007ff13b50d6f1 + 190193 18 libXCTest.so 0x00007ff13b50d759 + 190297 19 libXCTest.so 0x00007ff13b50d6c4 + 190148 20 libXCTest.so 0x00007ff13b4ffc77 + 134263 21 libXCTest.so 0x00007ff13b50c0d0 XCTestCase.invokeTest() + 73 22 libXCTest.so 0x00007ff13b50bd30 XCTestCase.perform(:) + 172 23 libXCTest.so 0x00007ff13b510230 XCTest.run() + 191 24 libXCTest.so 0x00007ff13b50dc50 XCTestSuite.perform(:) + 232 25 libXCTest.so 0x00007ff13b510230 XCTest.run() + 191 26 libXCTest.so 0x00007ff13b50dc50 XCTestSuite.perform(:) + 232 27 libXCTest.so 0x00007ff13b510230 XCTest.run() + 191 28 libXCTest.so 0x00007ff13b50dc50 XCTestSuite.perform(:) + 256 29 libXCTest.so 0x00007ff13b510230 XCTest.run() + 191 30 libXCTest.so 0x00007ff13b50a8d0 XCTMain(:) + 1091 31 danakePackageTests.xctest 0x0000559f6821cba4 + 1473444 32 libc.so.6 0x00007ff13911aab0 __libc_start_main + 231 33 danakePackageTests.xctest 0x0000559f680db27a + 156282 0x559f680dc239, closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install() -> () at /home/ubuntu/danake-sw/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:53 0x559f680dc258, @objc closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install() -> () at /home/ubuntu/danake-sw/:0 0x7ff13acc188f 0x7ff13b1ff5f7 0x7ff13b0065c1 0x7ff13b007127 0x7ff13b01fc15 0x559f68537b5f, closure #5 (Swift.Array) -> Swift.Bool in danakeTests.LoggingTests.testWaitForEntry() -> () at /home/ubuntu/danake-sw/Tests/danakeTests/LoggingTests.swift:158 0x559f68207b7e, closure #1 () -> () in danake.InMemoryLogger.waitForEntry(intervalUseconds: Swift.UInt32, timeoutSeconds: Swift.Double, condition: (Swift.Array) -> Swift.Bool) -> Swift.Bool at /home/ubuntu/danake-sw/Sources/danake/logging.swift:194 0x7ff13b5c9f90 0x7ff13b5bcc6d 0x7ff13b579d0a 0x7ff13b5c9efd 0x559f68207964, danake.InMemoryLogger.waitForEntry(intervalUseconds: Swift.UInt32, timeoutSeconds: Swift.Double, condition: (Swift.Array) -> Swift.Bool) -> Swift.Bool at /home/ubuntu/danake-sw/Sources/danake/logging.swift:192 0x559f68536edb, danakeTests.LoggingTests.testWaitForEntry() -> () at /home/ubuntu/danake-sw/Tests/danakeTests/LoggingTests.swift:157 0x559f68216b0b, partial apply forwarder with unmangled suffix ".262" at /home/ubuntu/danake-sw/:0 0x559f6817370b, reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> (@out ()) at /home/ubuntu/danake-sw/:0 0x559f68216ce0, reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> (@out ())partial apply forwarder with unmangled suffix ".282" at /home/ubuntu/danake-sw/:0 0x7ff13b50d6f0 0x7ff13b50d758 0x7ff13b50d6c3 0x7ff13b4ffc76 0x7ff13b50c118 0x7ff13b50bddb 0x7ff13b5102ee 0x7ff13b50dd37 0x7ff13b5102ee 0x7ff13b50dd37 0x7ff13b5102ee 0x7ff13b50dd4f 0x7ff13b5102ee 0x7ff13b50ad12 0x559f6821cba3, main at /home/ubuntu/danake-sw/.build/x86_64-unknown-linux/debug/testlist.derived/main.swift:6 0x7ff13911ab96 0x559f680db279 0xffffffffffffffff Exited with signal code 4