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

ghidraRun.bat CTRL+d message #7384

Open
867315310 opened this issue Jan 16, 2025 · 14 comments
Open

ghidraRun.bat CTRL+d message #7384

867315310 opened this issue Jan 16, 2025 · 14 comments

Comments

@867315310
Copy link

867315310 commented Jan 16, 2025

After starting the software once, close it and restart it. ghidraRun.bat prompts "..., you can use CTRL+d to close this terminal, or press Enter to restart". However, in reality, CTRL+d cannot close the terminal, and Enter cannot restart it. In any case, the terminal does not respond and can only end the task using the task manager.

@867315310
Copy link
Author

Note that the issue only occurs during the second startup of the software after the calculation is started. (And it is best to restart the software immediately after closing it)

@867315310
Copy link
Author

Alternatively, this issue may only occur during the second run after downloading the software.

@ryanmkurtz ryanmkurtz changed the title a bug ghidraRun.bat CTRL+d message Jan 16, 2025
@ryanmkurtz
Copy link
Collaborator

I am not about to reproduce the failed start up. Can you run support/ghidraDebug.bat instead, and post the error message?

@867315310
Copy link
Author

20250116_202335.mp4

@867315310
Copy link
Author

This bug seems to have no relation to the specific circumstances under which it is run. It appears to randomly occur only once after a re-download.

@ryanmkurtz
Copy link
Collaborator

Seems like you are launching from a shortcut. What is the behavior if you launch directly from the batch file?

@867315310
Copy link
Author

The same situation will occur

@867315310
Copy link
Author

And this shortcut is to run ghidraRun.bat.

@ryanmkurtz
Copy link
Collaborator

I fear I cannot reproduce this...it's surely something about your system configuration that I do not have. If you are up to it, you could add some debugging to support/launch.bat starting at line 203 to try to get some additional information printed out.

@867315310
Copy link
Author

This is too troublesome because every time this bug is triggered, the software needs to be downloaded and installed again

@867315310
Copy link
Author

I think we can let the main program start and check if the terminal is still running. If so, let the main program force the terminal to end.

@ryanmkurtz
Copy link
Collaborator

Where are you downloading Ghidra from?

@867315310
Copy link
Author

github

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

No branches or pull requests

3 participants