<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks! We saw the same crash recently in a different source kit test, also on linux. I wonder if anyone who works on libdispatch recognizes this. AFAIK we’ve never seen this on macOS. There’s nothing particularly interesting about this queue being released, AFAICT.<div class=""><br class=""></div><div class=""><div class="">#0 0x00007f8a6b4b45f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)</div><div class="">#1 0x00007f8a6b4b4d36 SignalHandler(int)</div><div class="">#2 0x00007f8a71693390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)</div><div class="">#3 0x00007f8a71a689f7 _dispatch_queue_destroy (libdispatch-linux-x86_64/src/.libs/libdispatch.so+0x2a9f7)</div><div class="">#4 0x00007f8a71a67770 _dispatch_dispose (libdispatch-linux-x86_64/src/.libs/libdispatch.so+0x29770)</div><div class="">#5 0x00007f8a6f10a77d SourceKit::WorkQueue::Impl::release(void*) swift/tools/SourceKit/lib/Support/Concurrency-libdispatch.cpp:212:1</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Ben</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 16, 2017, at 7:43 PM, rintaro ishizaki <<a href="mailto:fs.output@gmail.com" class="">fs.output@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I've managed to reproduce this.</div><div class=""><br class=""></div><div class="">Here's the log:</div><div class=""><a href="https://gist.github.com/rintaro/f2219ffc5c310cb58c5abda32092cb15" class="">https://gist.github.com/rintaro/f2219ffc5c310cb58c5abda32092cb15</a><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-05-17 9:32 GMT+09:00 Ben Langmuir via swift-dev <span dir="ltr" class=""><<a href="mailto:swift-dev@swift.org" target="_blank" class="">swift-dev@swift.org</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">I looks like it crashed. Unfortunately I’m piping stderr to file check so I can’t see anything useful in the output. Did we capture a crash log?<div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 16, 2017, at 5:29 PM, Jordan Rose <<a href="mailto:jordan_rose@apple.com" target="_blank" class="">jordan_rose@apple.com</a>> wrote:</div><br class="m_8803561836800456054Apple-interchange-newline"><div class=""><div style="word-wrap:break-word" class=""><div class="">I don't think this is any of mine.</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><br class=""></div><div class=""><div class="">/home/buildnode/disk2/<wbr class="">workspace/oss-swift-4.0-<wbr class="">incremental-RA-linux-ubuntu-<wbr class="">16_04/swift/test/SourceKit/<wbr class="">CursorInfo/cursor_no_cancel.<wbr class="">swift:19:11: error: expected string not found in input</div></div><div class=""><br class="m_8803561836800456054Apple-interchange-newline"></div><div class=""><div class="">// CHECK: source.lang.swift.decl.<wbr class="">function.free</div></div><div class=""><div class=""> ^</div></div><div class=""><div class=""><stdin>:1:1: note: scanning from here</div></div><div class=""><div class="">#0 0x00007fa8bc5ecd88 llvm::sys::PrintStackTrace(<wbr class="">llvm::raw_ostream&) (BUILD_DIR/lib/<wbr class="">libsourcekitdInProc.so+<wbr class="">0x992d88)</div></div><div class=""><div class="">^</div></div><div class=""><div class=""><stdin>:6:23: note: possible intended match here</div></div><div class=""><div class="">#5 0x00007fa8bc631eea SourceKit::SwiftLangSupport::~<wbr class="">SwiftLangSupport() (BUILD_DIR/lib/<wbr class="">libsourcekitdInProc.so+<wbr class="">0x9d7eea)</div></div><div class=""><div class=""> ^</div></div></blockquote><div class=""><br class=""></div><div class="">SourceKit folks?<br class="m_8803561836800456054Apple-interchange-newline"><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 16, 2017, at 17:28, <a href="mailto:no-reply@swift.org" target="_blank" class="">no-reply@swift.org</a> wrote:</div><br class="m_8803561836800456054Apple-interchange-newline"><div class=""><h2 style="font-family:'Helvetica Neue',sans-serif;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;width:845px;background-color:red;color:white;text-align:center" class=""></h2><h1 style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">[<font class="m_8803561836800456054FAILURE" style="color:red">FAILURE</font>] oss-swift-4.0-incremental-RA-<wbr class="">linux-ubuntu-16_04 [#448]</h1><table style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><tbody class=""><tr style="text-align:left" class=""><th class="">Build URL:</th><td class=""><a href="https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/" style="color:rgb(0,122,255);text-decoration:none" target="_blank" class="">https://ci.swift.org/job/oss-<wbr class="">swift-4.0-incremental-RA-<wbr class="">linux-ubuntu-16_04/448/</a></td></tr><tr style="text-align:left" class=""><th class="">Project:</th><td class="">oss-swift-4.0-incremental-RA-<wbr class="">linux-ubuntu-16_04</td></tr><tr style="text-align:left" class=""><th class="">Date of build:</th><td class="">Tue, 16 May 2017 16:32:17 -0700</td></tr><tr style="text-align:left" class=""><th class="">Build duration:</th><td class="">55 min</td></tr></tbody></table><h2 style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Identified problems:</h2><ul style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><li class="">Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:<ul class=""><li class=""><a href="https://ci.swift.org//job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#-1613009903ee1a197b-acac-4b17-83cf-a53b95139a76" style="color:rgb(0,122,255);text-decoration:none" target="_blank" class="">Indication 1</a></li></ul></li><li class="">Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:<ul class=""><li class=""><a href="https://ci.swift.org//job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#762096442fca400bf-2f4a-462e-b517-e058d770b2d7" style="color:rgb(0,122,255);text-decoration:none" target="_blank" class="">Indication 1</a></li></ul></li></ul><h2 style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Tests:</h2><table width="100%" style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><tbody class=""><tr style="text-align:left" class=""><td class="m_8803561836800456054bg1" colspan="2"></td></tr><tr style="text-align:left" class=""><td class="m_8803561836800456054bg2" colspan="2">Name:<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">Swift(linux-x86_64)</b><br class="">Failed: 1 test(s), Passed: 9369 test(s), Total: 9370 test(s)</td></tr><tr bgcolor="white" style="text-align:left" class=""><td class="m_8803561836800456054test_failed" colspan="2"><b class=""><ul class=""><li class="">Failed:<span class="m_8803561836800456054Apple-converted-space"> </span><a href="https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/testReport/junit/Swift(linux-x86_64)/SourceKit_CursorInfo/cursor_no_cancel_swift" style="color:rgb(0,122,255);text-decoration:none" target="_blank" class="">Swift(linux-x86_64).<wbr class="">SourceKit/CursorInfo.cursor_<wbr class="">no_cancel.swift</a></li></ul></b></td></tr><tr style="text-align:left" class=""><td class=""></td></tr><tr style="text-align:left" class=""><td class="m_8803561836800456054bg2" colspan="2">Name:<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">Swift-Unit</b><br class="">Failed: 0 test(s), Passed: 420 test(s), Total: 420 test(s)</td></tr><tr style="text-align:left" class=""><td class=""></td></tr></tbody></table><br style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><h2 style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Changes</h2><ul style="color:rgb(57,57,57);font-family:'Helvetica Neue',sans-serif;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><li class="">Commit<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">d84e881b07c4d878cf0d1ba<wbr class="">c7f605f02392bfa02</b><span class="m_8803561836800456054Apple-converted-space"> </span>by<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">Jordan Rose:</b><p class="m_8803561836800456054commit-message" style="font-family:Menlo,fixed;white-space:pre-wrap">[ClangImporter] Import Swift 3 and 4 names for enumerators. (#9523)</p><ul class=""><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/<wbr class="">APINotesFrameworkTest.apinotes</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/<wbr class="">APINotesFrameworkTest.h</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/ImportName.<wbr class="">cpp</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/versioned.swift</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/ImportDecl.<wbr class="">cpp</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/ImportName.h</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/<wbr class="">SwiftLookupTable.h</li><li class="m_8803561836800456054change-add"><b class="">add</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/Enums.h</li></ul></li><br class=""><li class="">Commit<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">87a7b6b5828f543cf99c3d0<wbr class="">21886e437b40dd30c</b><span class="m_8803561836800456054Apple-converted-space"> </span>by<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">Jordan Rose:</b><p class="m_8803561836800456054commit-message" style="font-family:Menlo,fixed;white-space:pre-wrap">Merge pull request #9579 from jrose-apple/members-through-<wbr class="">the-ages</p><ul class=""><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/<wbr class="">SwiftLookupTable.h</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/ClangImporter/Inputs/<wbr class="">SwiftPrivateAttr.txt</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/IDE/print_clang_swift_<wbr class="">name.swift</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/IDE/print_clang_decls_<wbr class="">AppKit.swift</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/IDE/print_omit_needless_<wbr class="">words.swift</li><li class="m_8803561836800456054change-add"><b class="">add</b>: test/APINotes/versioned-objc-<wbr class="">dynamic-lookup.swift</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/Protocols.h</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/<wbr class="">APINotesFrameworkTest.apinotes</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/Classes.h</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/<wbr class="">ClangImporter.cpp</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/<wbr class="">ImporterImpl.h</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: lib/ClangImporter/ImportDecl.<wbr class="">cpp</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/versioned-objc.<wbr class="">swift</li></ul></li><br class=""><li class="">Commit<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">0643c619d6f001666bf3b0f<wbr class="">7d9f3f0a6d8c7bfd1</b><span class="m_8803561836800456054Apple-converted-space"> </span>by<span class="m_8803561836800456054Apple-converted-space"> </span><b class="">Jordan Rose:</b><p class="m_8803561836800456054commit-message" style="font-family:Menlo,fixed;white-space:pre-wrap">[test] Don't depend on "Version: 4" sections working in API notes yet.</p><ul class=""><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/Inputs/custom-<wbr class="">frameworks/<wbr class="">APINotesFrameworkTest.<wbr class="">framework/Headers/<wbr class="">APINotesFrameworkTest.apinotes</li><li class="m_8803561836800456054change-edit"><b class="">edit</b>: test/APINotes/versioned-objc.<wbr class="">swift</li></ul></li></ul></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
swift-dev mailing list<br class="">
<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank" class="">https://lists.swift.org/<wbr class="">mailman/listinfo/swift-dev</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>