Skip to content

[Multithreading] Process hang and does not terminate properly #42

Open

Description

@micheletufano

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

Activity

  1. micheletufano commented on Nov 21, 2018

    @micheletufano
    Author

    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.

  2. caev03 commented on Nov 21, 2018

    @caev03
    Collaborator

    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.

  3. micheletufano commented on Nov 21, 2018

    @micheletufano
    Author

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions