<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/79430>79430</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb] lldb hangs when trying to execute command with "-o"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sk2212
</td>
</tr>
</table>
<pre>
Using this line `lldb -o 'process connect connect://[fd42:af35:2043::1]:50773'` from command line results into a 'hanging' lldb process which cannot be canceled but only forced to background (with Ctrl+Z).
Reproduceable in lldb 'terminal':
```
install@DE011-CM3688 ~ % lldb
(lldb) script -- lldb.debugger.SetAsync(False)
(lldb) process connect connect://[fd6a:6d5d:5c74::1]:56986
HANG!
```
Hint from here https://discourse.llvm.org/t/lldb-hangs-when-trying-to-execute-command-with-o/76471.
Workaround here:
https://stackoverflow.com/a/77869259/1617325
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMU8GO5CYQ_ZryBbmFC2Psgw-e7XRySQ6Joki5YcA2GRpagLczl3x7hLt3kskmUiQERriqXr1XT6ZkV2_MCPwF-LmSe95CHNMrYoPVHPTb-HOyfiV5s4k46w2BjjqnZ1IHAihuMSiTElHBe6PylxPYBHgpi78sukVgk1wYBzYhbVl5ZVMD_Axs4lQIBiigo2SJ4UpUuF6l149q0aTd5USsz4HIUnGTfrV-BRTkwPEFwX2zaiNKeh8ymU35UsYZTeY9k-DdG1lCVEaTHMgs1esaw-41AezvNm_kU44O8OVXwOEE9Ax0euw_mlsMeldGzs4Q6x9FAUU28Wq9dAU6m_4eAh19ruNqfcrSOWjp-RvaNPWn71nX9-QPAsiPbM8o7I8LDiSpaG-Z1PXxfNJm3tfVxNNPJk_pzSvA_iJdMoDDV7H_S5BOAps6zXXhX4n2oyDd0Hcf-vmP_bvph28Bm39t-vmH9fkh6maiIVvOt_SORNukwh6TOTn3-XoKcQW8ZMBLaaUuMqf6vhlf5_hm_VrnUJvfjdqzqZ8jUhfl6gB4EV0rmtPXEH8J8VU-hC4I_iHURzwpS_UaPpu4uHA_qXAFvMiSW_TdgHwAvDRdIxjyR3SlR6YHNsjKjI2gXSM6HIZqG3vW8UX3DRVmkXpBplrOxcwZlaiNxsqOSLGlDXI68IYNJ2o6IZemFXRYukEitNRcpXXvzFQ2pd2MYmgZrZycjUuHZRG9uZPjERCLg-NYYup5XxO01NmU019Zss3u8PoxLfz8GOaDalKoJg-qi0WeVL-78TAJIBa6sdqjGz-yt9q87fOTtlLwedS3GH4rA4iXA2YqjJY2_gwAAP__5fNYPw">