Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawn already in progress for the specified identifier #687

Open
0xtaro opened this issue Jul 27, 2024 · 1 comment
Open

Spawn already in progress for the specified identifier #687

0xtaro opened this issue Jul 27, 2024 · 1 comment
Labels
freshissue Default label for new, untriaged issues.

Comments

@0xtaro
Copy link

0xtaro commented Jul 27, 2024

I am running the latest objection on an application that is on an iPad with iPadOS 17.5.1 and I'm running Frida 16.4.7.

Using the command objection -g [app identifier] explore leads to the following error:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/objection", line 33, in <module>
    sys.exit(load_entry_point('objection==1.11.0', 'console_scripts', 'objection')())
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/objection/console/cli.py", line 114, in explore
    agent.inject()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/objection/utils/agent.py", line 202, in inject
    session = self.get_session()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/objection/utils/agent.py", line 166, in get_session
    self.spawned_pid = self.device.spawn(state_connection.gadget_name)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/frida/core.py", line 86, in wrapper
    return f(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/frida/core.py", line 1029, in spawn
    return self._impl.spawn(program, **kwargs)
frida.InvalidOperationError: spawn already in progress for the specified identifier
@0xtaro 0xtaro added the freshissue Default label for new, untriaged issues. label Jul 27, 2024
@IPMegladon
Copy link
Collaborator

Please provide more info on how to replicate the issue. Have you attempted to restart the application and do you consistently get the same issue? Does this happen wit all applications or only a specific one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freshissue Default label for new, untriaged issues.
Projects
None yet
Development

No branches or pull requests

2 participants