<div dir="ltr">Hi Rex,<div><br></div><div><br></div><div style="font-size:12.800000190734863px"></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 5:22 PM, Rex Fenley via swift-lldb-dev <span dir="ltr"><<a href="mailto:swift-lldb-dev@swift.org" target="_blank">swift-lldb-dev@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>I run lldb, platform select ios-simulator, connect to the right simulator and attach to my app and when trying to try to do anything in the repl I get the following kind of error at the bottom for an Abort, please help! The repl works fine in Xcode, not sure why it wouldn't work in this case.</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">(lldb) </span><span class="m_4885588863401700834gmail-s2">process attach -n <App Name> --waitfor</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Process 27857 stopped</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">* thread #1: tid = 0x1eadf9, 0x00007fff6d4ca5e2 dyld`pread + 10, stop reason = signal SIGSTOP</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> frame #0: 0x00007fff6d4ca5e2 dyld`pread + 10</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">dyld`pread:</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">-> 0x7fff6d4ca5e2 <+10>: jae 0x7fff6d4ca5ec ; <+20></span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> 0x7fff6d4ca5e4 <+12>: movq %rax, %rdi</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> 0x7fff6d4ca5e7 <+15>: jmp 0x7fff6d4c9c01 ; cerror</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> 0x7fff6d4ca5ec <+20>: retq </span></p></div><div><p class="m_4885588863401700834gmail-p2"><br></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Executable module set to "/Users/Rex/Library/Developer/<wbr>CoreSimulator/Devices/<wbr>ACC5BC4E-C7B1-4635-A591-<wbr>6BE65F05B7EC/data/Containers/<wbr>Bundle/Application/ECA295A8-<wbr>DB79-4A4A-8ADE-0E616CAB0093/<<wbr>App Name>.app/<App Name>".</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Architecture set to: x86_64h-apple-ios.</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s2">(lldb) </span><span class="m_4885588863401700834gmail-s1">continue</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Process 27857 resuming</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s2">(lldb) </span><span class="m_4885588863401700834gmail-s1">process interrupt</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Process 27857 stopped</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">* thread #1: tid = 0x1eadf9, 0x0000000115929f72 libsystem_kernel.dylib`mach_<wbr>msg_trap + 10, stop reason = signal SIGSTOP</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> frame #0: 0x0000000115929f72 libsystem_kernel.dylib`mach_<wbr>msg_trap + 10</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">libsystem_kernel.dylib`mach_<wbr>msg_trap:</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">-> 0x115929f72 <+10>: retq </span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> 0x115929f73 <+11>: nop </span></p></div><div><p class="m_4885588863401700834gmail-p2"><br></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">libsystem_kernel.dylib`mach_<wbr>msg_overwrite_trap:</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> 0x115929f74 <+0>: movq %rcx, %r10</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1"> 0x115929f77 <+3>: movl $0x1000020, %eax ; imm = 0x1000020 </span></p></div><div><p class="m_4885588863401700834gmail-p3"><span class="m_4885588863401700834gmail-s1">(lldb) </span><span class="m_4885588863401700834gmail-s3">repl</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s2"> 1> </span><span class="m_4885588863401700834gmail-s1">import Foundation</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">warning: Swift error in module <App Name>.</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Debug info from this module will be unavailable in the debugger.</span></p></div><div><p class="m_4885588863401700834gmail-p2"><br></p></div></blockquote></div></blockquote><div><br></div><div>This part looks suspicious. I'm assuming <App Name> is really something else on your end. If you do have a space in the name, you might want to try without a space as something in the toolchain might be mishandling spaces in pathnames.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><p class="m_4885588863401700834gmail-p2"></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Assertion failed: (!HasFatalErrors()), function GetNumModuleSearchPaths, file /Users/Rex/Documents/projects/<wbr>swift-lldb/lldb/source/Symbol/<wbr>SwiftASTContext.cpp, line 3587.</span></p></div><div><p class="m_4885588863401700834gmail-p1"><span class="m_4885588863401700834gmail-s1">Abort trap: 6</span></p></div></blockquote><span class="HOEnZb"><font color="#888888"><div>
<p class="m_4885588863401700834gmail-p2"><span class="m_4885588863401700834gmail-s1"></span></p>
<p class="m_4885588863401700834gmail-p2"><span class="m_4885588863401700834gmail-s1"></span></p>
<p class="m_4885588863401700834gmail-p2"><span class="m_4885588863401700834gmail-s1"></span></p>
<div><br></div></div></font></span></div></blockquote><div><br></div><div>This bit above definitely means something is wrong. I suspect it's a cascading error for the debugger not being able to find debug info.</div><div><br></div><div>There are a couple members of the team that will likely have some thoughts on what to try. I'll make sure they see this tomorrow.</div><div><br></div><div>Thanks for passing that along,</div><div>Todd</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="HOEnZb"><font color="#888888"><div><div></div>-- <br><div class="m_4885588863401700834gmail_signature"><div dir="ltr"><span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:arial;background-color:transparent;font-style:italic;vertical-align:baseline;white-space:pre-wrap">Rex Fenley</span><span style="font-size:16px;font-family:arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:arial;color:rgb(153,153,153);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">|</span><span style="line-height:1.15;font-family:arial;color:rgb(153,153,153);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:arial;color:rgb(153,153,153);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">IOS DEVELOPER</span><br></p></span><span><br><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:arial;color:rgb(153,153,153);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><img src="https://lh5.googleusercontent.com/xMgzw3JkFL3DLkdwyq0WxJzKs_XP57gVVCaBMvgi1FKCjSeue0xdx3JZeCWBlxN4KRHhHOfdvJbc1N-AjTwXcKIq4cjJg9H7iaFpQ8WbO4N3c9Y5dzi19cPOs_owPquuqw" width="250px;" height="53px;" style="border:none"></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><a href="https://www.remind.com/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:arial;color:rgb(17,85,204);font-weight:bold;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Remind.com</span></a><span style="font-family:arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span><span style="font-size:11px;font-family:arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">| </span><a href="http://blog.remind.com/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:arial;color:rgb(17,85,204);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">BLOG</span></a><span style="font-size:11px;font-family:arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> | </span><a href="https://twitter.com/remindhq" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:arial;color:rgb(17,85,204);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">FOLLOW US</span></a><span style="font-size:11px;font-family:arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> | </span><span style="font-family:arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span><span style="text-decoration:underline;font-size:11px;font-family:arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><a href="https://www.facebook.com/remindhq" style="text-decoration:none" target="_blank">LIKE US</a></span></p></span></div></div>
</div></font></span></div>
<br>______________________________<wbr>_________________<br>
swift-lldb-dev mailing list<br>
<a href="mailto:swift-lldb-dev@swift.org">swift-lldb-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-lldb-dev" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-lldb-<wbr>dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-Todd</div></div>
</div></div>