TheSoftwareDesignLab/MutAPK

[Multithreading] Process hang and does not terminate properly

Opened this issue · 3 comments

On an app I tested, the process hangs even if all the threads finished generating the mutants.

Just an update: I tested MutAPK on ~60 apps and it happened 2 times on 2 different apps.
It's not high priority, but it would be better to investigate.

Are those 2 applications the ones with higher amount of mutants generated ? or maybe the bigger apks ? I am just trying to find common things between those apps.

Can you please send me the apks.

Hi Camilo, no, they are no the ones with the highest number of mutants. They are pretty average.

I'm attaching here the apk and the log file:

As you can see, the log doesn't show any error/exceptions at the end, but the process didn't finish and it was still waiting, so I had to manually kill it (so the next app could start automatically).

I don't remember the second app, I didn't keep the name.

Not sure exactly how we could fix this, but maybe let's check whether there are some good practices for multithreading that avoid this (which is rare anyway).