<div dir="ltr">I have been blocked for several weeks with this LLDB crashing bug, but it has not been assigned to anyone.<div>I&#39;m providing repro steps with the LLDB CLI in order to remove any possibility that it is caused by my IDE. I have had this independently confirmed by one of the CLion engineers.</div><div><div><br><div>I logged the bug: <a href="https://bugs.swift.org/browse/SR-5226">https://bugs.swift.org/browse/SR-5226</a></div><div><br></div><div>I would really appreciate this being fixed so my development can continue.</div><div><br></div><div>thanks, Ed</div><div><br></div><div><br></div><div>Here is a simple 6 line repro</div><div>----------------------------</div><div><div>struct SomeStruct { }</div><div><br></div><div>func fetch(outputData: inout SomeStruct?) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>outputData = SomeStruct()</div><div>}</div><div><br></div><div>var outData: SomeStruct?</div><div><br></div><div>fetch(outputData: &amp;outData)</div></div><div><br></div><div>-----------------------------</div><div><br></div><div><div>1) build the project as HelloWorld (or whatever you like)</div><div>2) then from the LLDB CLI, set a breakpoint on line 5 and run</div><div>3) then examine outputData:  fr var -O outputData</div></div><div><br></div><div><br></div></div><div>This is the session output</div><div>------------------------------</div><div><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(245,245,245)">$ lldb HelloWorld<br>(lldb) target create &quot;HelloWorld&quot;<br>Current executable set to &#39;HelloWorld&#39; (x86_64).<br>(lldb) br se --file main.swift --line 5<br>Breakpoint 1: where = HelloWorld`HelloWorld.fetch(outputData: inout Swift.Optional&lt;HelloWorld.SomeStruct&gt;) -&gt; () + 28 at main.swift:5, address = 0x0000000000400b6c<br>(lldb) r<br>Process 14669 launched: &#39;/home/ed/CLionProjects/untitled1/.build/debug/HelloWorld&#39; (x86_64)<br>Process 14669 stopped</p><ul style="margin:10px 0px 0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(245,245,245)"><li>thread #1, name = &#39;HelloWorld&#39;, stop reason = breakpoint 1.1<br>frame #0: 0x0000000000400b6c HelloWorld`fetch(outputData=some) at main.swift:5<br>2 <br>3 func fetch(outputData: inout SomeStruct?) { 4 outputData = SomeStruct() -&gt; 5 }<p style="margin:10px 0px 0px;padding:0px">6 <br>7 var outData: SomeStruct?<br>8 <br>Target 0: (HelloWorld) stopped.<br>(lldb) fr var -O outputData<br>lldb: /home/buildnode/disk2/workspace/oss-swift-4.0-package-linux-ubuntu-16_04/swift/lib/SIL/TypeLowering.cpp:1693: const swift::Lowering::TypeLowering &amp;swift::Lowering::TypeConverter::getTypeLoweringForUncachedLoweredType(swift::Lowering::TypeConverter::TypeKey): Assertion `key.SubstType-&gt;isLegalSILType() &amp;&amp; &quot;type is not already lowered&quot;&#39; failed.<br>Stack dump:<br>0.        HandleCommand(command = &quot;fr var -O outputData&quot;)<br>Aborted (core dumped)</p></li></ul></div></div></div>