linkedin / dexmaker

A utility for doing compile or runtime code generation targeting Android's Dalvik VM
Apache License 2.0
1.88k stars 249 forks source link

Crashes debugger #100

Closed Mygod closed 6 years ago

Mygod commented 6 years ago

After using this library, setting breakpoints seems to crash the app. Here's a backtrace:

backtrace:
  #00  pc 00000000001a1864  /system/lib64/libart.so (art::annotations::GetSourceDebugExtension(art::Handle<art::mirror::Class>)+96)
  #01  pc 00000000001722cc  /system/lib64/libart.so (art::Dbg::GetSourceDebugExtension(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+284)
  #02  pc 000000000030f02c  /system/lib64/libart.so (art::JDWP::RT_SourceDebugExtension(art::JDWP::JdwpState*, art::JDWP::Request*, art::JDWP::ExpandBuf*)+56)
  #03  pc 000000000030d408  /system/lib64/libart.so (art::JDWP::JdwpState::ProcessRequest(art::JDWP::Request*, art::JDWP::ExpandBuf*, bool*)+772)
  #04  pc 0000000000314358  /system/lib64/libart.so (art::JDWP::JdwpState::HandlePacket()+164)
  #05  pc 000000000055e728  /system/lib64/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+928)
  #06  pc 00000000003146a0  /system/lib64/libart.so (art::JDWP::JdwpState::Run()+448)
  #07  pc 0000000000313d74  /system/lib64/libart.so (art::JDWP::StartJdwpThread(void*)+40)
  #08  pc 0000000000069c78  /system/lib64/libc.so (__pthread_start(void*)+36)
  #09  pc 000000000001eeb8  /system/lib64/libc.so (__start_thread+68)
moltmann commented 6 years ago
Mygod commented 6 years ago

I'm using Android 8.1 on OnePlus 5 cheeseburger. This is the source code for the app I'm writing: https://github.com/Mygod/VPNHotspot

I can no longer reproduce the crash now but I updated android-gradle from 3.1.1 to 3.1.2. That could be causing the issue.