[swift-users] Swift 4.0 LLDBFrontend Crash

Michael Gottesman mgottesman at apple.com
Fri Oct 6 18:34:23 CDT 2017


It looks like this is failing during guaranteed optimization. Are you running an expression in the debugger and we are crashing there?

Michael

> On Oct 6, 2017, at 11:53 AM, Edward Connell via swift-users <swift-users at swift.org> wrote:
> 
> While trying to debug a Netlib function, LLDB is crashing
> 
> I'm not sure what this assert means.
> 
> LLDBFrontend: /home/buildnode/jenkins/workspace/oss-swift-4.0-package-linux-ubuntu-16_04/swift/lib/SILOptimizer/Mandatory/AccessEnforcementSelection.cpp:613: (anonymous namespace)::SourceAccess (anonymous namespace)::AccessEnforcementSelection::getSourceAccess(swift::SILValue): Assertion `isa<AllocStackInst>(address) || isa<SILUndef>(address)' failed.
> Stack dump:
> 0.	While running pass #10 SILModuleTransform ""Access Enforcement Selection"".
> 
> It fails every time and the same way in several functions, but not all functions.
> I tried to create a simple repro with the same function signature, but I can't get the simple case to fail.
> A debug build isn't doing whole-module-optimization, so that's not it
> 
> Ideas anyone?
> 
> Who owns the LLDBFrontend?
> 
> Thanks, Ed
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171006/0043930b/attachment.html>


More information about the swift-users mailing list