Closed lukaville closed 4 years ago
Hi! Assuming this is still an issue, can you share the example project it looks like you were using to test? This crash is happening on the GC background thread (which only exists on newer android versions, hence the OS levels you saw this on), which is why we don't get a full stacktrace. I agree it's likely some issue with memory being freed by the code generator, but it's a large search area without being able to reproduce the issue locally. Thanks!
Hi! Gentle bump on above, please let me know if this is still an issue for you. Thanks!
Hey, Yes, this issue is still relevant. Unfortunately, we can't share our project but I will try to reproduce it on a sample project.
Closing this as we were able to reproduce this issue even without dexmaker-mockito-inline
dependency
Hi! I'm having strange random crashes when I use mocks with
dexmaker-mockito-inline
. It happens randomly but it consistently happens with some probability when I use mocks. When I use mocks it crashes sometimes and without mocks it doesn't crash in 100% cases so I'm pretty sure it's related to runtime instrumentation that is done bydexmaker-mockito-inline
.Here is an excerpt from the crash log:
I can't find any backtrace or tombstone and looks like the crash is happening in
HeapTaskDaemon
. Does anyone have any ideas why is this happening or how can I debug this issue?Full crash log: https://gist.github.com/lukaville/955fffb4b11f882668141e0355d8ec0d
I've tested on different Android versions and it is reproducible on Android 9, 10