<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/66391>66391</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Mac][M1] Crash when debug x86_64 application on Apple Silicon
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
yukho
</td>
</tr>
</table>
<pre>
I am not sure whether it is LLDB issue or Apple. The crash occurs when debugging an x86_64 application on Apple Silicon (M1). It may happen when starting a new process. After that, LLDB stays unacceptable for any commands and crashes.
[Project.zip](https://github.com/llvm/llvm-project/files/12610618/Project.zip)
<img width="1314" alt="screenshot" src="https://github.com/llvm/llvm-project/assets/6706370/6ba530e6-a6a1-400b-956a-9ae6f2f9cf43">
[crash-report.txt](https://github.com/llvm/llvm-project/files/12610643/crash-report.txt)
Note:
- It is reproduced only when CMAKE_OSX_ARCHITECTURES is set as x86_64.
- It is reproduced on any Qt version (Qt5, Qt6)
- It is reproduced with different LLDB debuggers (14, 15, 16)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVMFu4zYQ_RrqMrAgkqJsHXRw7BgNummbTQr0FlDUyGIrkwI5Wq_79QWlbLZAi6IL7IWSBpo3D2_eo47Rnh1iw9QdU8dMzzT40NzmPwaftb67NQ-gL-A8QZwDwnVAGjCAJbARPnw43oGNcUbwAfbTNGIOLwOCCToO4I2ZQ0w9Djps5_PZujNoB5931WtVgp6m0RpN1jvwbu2HZzta4x0wsXvkTNQ5PBBc9A0GPU3oVrRIOtACBg6vMAVvMMYc9j1hABo0MXFY6UXStwiz08bgRLodEXofQLsbGH-5aNdF0K5bKWPMWXFkxf7tVHe_BP87Gsr_tBNTRyZ2A9EUmdwzcWLidLY0zG1u_IWJ0zh--vLYTGsfE6fejhiZOHFR8aLiOyZOfwcV9dssebCXM1xtRwOTRyYEl7xkQoAeaS1EExBdHDylcgxmLX8zIx0jUqJUbYtKbov01molC6w2utJ8UxZFu6lVpTe1xqoXfW36UjIhmLx_V2YRbBNw8oFy-kzfRZ405fQP5HeNlvMnT5gmLB-bZA8bIeAUfDcb7MC78bba5PC4__H-9efn3173Hw8_PLzcH15-_Xj_nP6PSKDjmxPz_8BanPJE8AlDtKsvn0glez1R9c7sX1qvlgbobN9jQEerGdcUYIiQcNJ6D8AXMJ6wsq6RXS1rnWHDq7rcFkoqmQ2NkqiMksIUZltqYzrc7rAvldjpsleGZ7YRhZBFzUuuRM1FbtL6dnWx27Zyy7uelQVetB3zJH_uwzlbcttUlax5NuoWx_jlEgjNsqN2PkdWFqONFL-2kaVxuS4etUkrV3ePnKkjHJbIf836_wl5Noex-WbHLMQX-ybufwUAAP__0l9_vg">