# Bug Report: ui freeze when attaching to android app

**URL:** <https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105>\
**Category:** Support\
**Created:** [January 28, 2025, 8:26am UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105 "2025-01-28T08:26:36Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uncle](https://avatars.discourse-cdn.com/v4/letter/u/e5b9ba/32.png) [@Uncle](https://community.hex-rays.com/u/Uncle)\
**Post date:** [January 28, 2025, 8:26am UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/1 "2025-01-28T08:26:37Z")

</div>

In previous versions of IDA, I could start the Android server, launch the Android app, and attach directly from IDA without loading any .so file or IDB. The process was responsive, and I could begin debugging immediately.

However, with IDA 9.0 SP1, if I try to attach directly from IDA without first loading a .so file or IDB, the entire UI freezes and becomes unresponsive. On the other hand, if I load the .so file into IDA before attaching, it works correctly.

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [January 28, 2025, 4:10pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/2 "2025-01-28T16:10:54Z")

</div>

Do you remember what version you used previously?  
Also, do you have source-level debugging enabled (Debugger \> Use source-level debugging)?

---

<div class="post-metadata">

**Author:** ![Uncle](https://avatars.discourse-cdn.com/v4/letter/u/e5b9ba/32.png) [@Uncle](https://community.hex-rays.com/u/Uncle)\
**Post date:** [January 28, 2025, 4:17pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/3 "2025-01-28T16:17:23Z")

</div>

previously i tested with 7.7 and 8.3.

debugger i am using these options:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/rays_hex/original/1X/745a839a198d3c56e0d644c8ae18ff36b334f55d.png)

then after attaching and selecting the process ui freezes like with this as last message:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/rays_hex/original/1X/2779fc51f5fccbfa38e9c752896d065cb0c584b1.png)

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [January 28, 2025, 4:32pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/4 "2025-01-28T16:32:56Z")

</div>

Please try this on “good” and “bad” IDA versions:  
`ida.exe -z10000 -LC:\temp\idadbg.log`  
(use a writable path for the log and different filenames for each run)  
Then compare what’s different in 9.0 compared to the previous version. Hopefully it will give some clues.

---

<div class="post-metadata">

**Author:** ![Uncle](https://avatars.discourse-cdn.com/v4/letter/u/e5b9ba/32.png) [@Uncle](https://community.hex-rays.com/u/Uncle)\
**Post date:** [January 28, 2025, 6:27pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/5 "2025-01-28T18:27:13Z")

</div>

ida 8

```auto
Caching 'Choose process to attach to'... ok
process pid/tid: 904
INTERP: /apex/com.android.runtime/bin/linker64, SONAME: /system/bin/linker64
72E7F1C000: new dll /apex/com.android.runtime/bin/linker64 (soname=/system/bin/linker64)
Build ID 'bacf9941030f330f49c494fe0df1f09b' of '/apex/com.android.runtime/bin/linker64'
72E7F698F0: added shlib bpt (rtld_db_dlactivity)
Build ID '6c62557be5d4fc86476bf109a2f9cd20' of '/system/bin/app_process64'
70E55000: new dll /apex/com.android.art/javalib/arm64/boot.oat (soname=boot.oat)
..
DBG: PTRACE_O_TRACECLONE ability detected, will be used in debugging multi-threaded program
DBG: collect threads
DBG: 0 found 904 thread
DBG: 0 found 940 thread
...
Assuming __fastcall calling convention by default
E7F1B000: loaded [vdso]
E68A8000: loaded /system/system_ext/lib64/vendor.qti.hardware.audiohalext@1.0.so
E684D000: loaded /system/lib64/libpowermanager.so
...
70E55000: loaded /apex/com.android.art/javalib/arm64/boot.oat
E7F1C000: loaded /apex/com.android.runtime/bin/linker64
RNG:FF00000D: create_range 12C00000..32C00000
RNG:FF00000D: create_range 70A15000..70CA4000
...
RNG:FF00000D: del_range 8F8000 delcmt 1
Unloading IDP module C:\Program Files\IDA Pro 8.3\procs\arm.dll...

```

ida 9

```auto
process pid/tid: 30289
INTERP: /apex/com.android.runtime/bin/linker64, SONAME: /system/bin/linker64
72E7F1C000: new dll /apex/com.android.runtime/bin/linker64 (soname=/system/bin/linker64)
Build ID 'bacf9941030f330f49c494fe0df1f09b' of '/apex/com.android.runtime/bin/linker64'
72E7F698F0: added shlib bpt (rtld_db_dlactivity)
Build ID '6c62557be5d4fc86476bf109a2f9cd20' of '/system/bin/app_process64'
...
DBG: PTRACE_O_TRACECLONE ability detected, will be used in debugging multi-threaded program
DBG: collect threads
DBG: 0 found 30289 thread
...
DBG: 1 found 30809 thread
DBG: 1 found 30810 thread
72E7F1B000: loaded [vdso]
72E68A8000: loaded /system/system_ext/lib64/vendor.qti.hardware.audiohalext@1.0.so
72E684D000: loaded /system/lib64/libpowermanager.so
..
72E7F1C000: loaded /apex/com.android.runtime/bin/linker64
Debugger: attached to process /system/bin/app_process64 (pid=30289)
Build ID '96a2ad2581099975b8c7bb4ab40fb39a7086a166' of '/apex/com.android.art/javalib/arm64/boot.oat'
...
Build ID '05439b3fd79c7af99f197179ad59f15e' of '/system/lib64/libpowermanager.so'
Build ID '03157a4d5504abbd915c9e9e8bedc511' of '/system/system_ext/lib64/vendor.qti.hardware.audiohalext@1.0.so'
Hex-Rays Decompiler plugin has been loaded (v9.0.0.241217)
  The hotkeys are F5: decompile, Ctrl-F5: decompile all.

  Please check the Edit/Plugins menu for more information.
Hex-rays version 9.0.0.241217 has been detected, gooMBA plugin ready to use
dbg_bin_search 12C00000..32C00000

```

ida 9 seems to get stuck there and the line about attaching to app process seems strange, unless that is intended behavior, as I was attaching to another process.

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [January 30, 2025, 10:12pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/6 "2025-01-30T22:12:29Z")

</div>

Thanks! It is supposed to be fixed, but we used to have an issue in the rust plugin which was triggering an unintended search during debugging and I wonder if it reappeared in different circumstances. Can you try moving rust.dll out of the plugins folder temporarily and see if it fixes the problem?

---

<div class="post-metadata">

**Author:** ![Uncle](https://avatars.discourse-cdn.com/v4/letter/u/e5b9ba/32.png) [@Uncle](https://community.hex-rays.com/u/Uncle)\
**Post date:** [January 31, 2025, 10:44am UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/7 "2025-01-31T10:44:45Z")

</div>

Thanks for the prompt support, I am happy to confirm removing rust.dll fixes the issue.

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [February 27, 2025, 3:39pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/8 "2025-02-27T15:39:44Z")

</div>

This issue is fixed in IDA 9.1. BTW, it was not limited to Android but could happen with any remote debugger.

---

<div class="post-metadata">

**Author:** ![Uncle](https://avatars.discourse-cdn.com/v4/letter/u/e5b9ba/32.png) [@Uncle](https://community.hex-rays.com/u/Uncle)\
**Post date:** [February 27, 2025, 7:46pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/9 "2025-02-27T19:46:42Z")

</div>

when can we expect ida 9.1 to be available ? thanks!

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [February 28, 2025, 11:29pm UTC](https://community.hex-rays.com/t/bug-report-ui-freeze-when-attaching-to-android-app/105/10 "2025-02-28T23:29:53Z")

</div>

It has been released.
