Skip to content
New issue

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

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

Already on GitHub? # to your account

Start failure on IDA Python 3.12 #95

Open
MinatoTW opened this issue May 7, 2024 · 9 comments
Open

Start failure on IDA Python 3.12 #95

MinatoTW opened this issue May 7, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@MinatoTW
Copy link

MinatoTW commented May 7, 2024

After installing via pip and selecting IDA pro, IDA pro crashes with "Error 1442" on opening. Problem is resolved after deleting decomp2dbg file and folder from plugins.

image

Python version 3.12 on Arch Linux 64 bit.

@mahaloz
Copy link
Owner

mahaloz commented May 7, 2024

And you're 100% d2d is the only culprit? I ran latest d2d on ida 8.4 for Mac and it worked great this weekend.

I find it strange since the plugin, on load from ida, only makes a toolbar menu.

@MinatoTW
Copy link
Author

MinatoTW commented May 7, 2024

Yes, I'm sure. It happened as soon as I installed the plugin and goes away when I delete it. Looked at the strings in the generated IDA dump and it had the d2d file path in it.

@mahaloz
Copy link
Owner

mahaloz commented May 9, 2024

Alright, this one may take a while to close. I don't have access to a Linux copy of IDA Pro 8.4 yet, and I don't see any obvious bugs in our current implementation. Maybe 3.12 is a culprit here. Any chance you can execute your idapyswitch binary in your IDA install, switch to non-3.12, and report back if it still does this?

@mahaloz mahaloz added the bug Something isn't working label May 9, 2024
@MinatoTW
Copy link
Author

MinatoTW commented May 9, 2024

Yup, it was 3.12, works with 3.10. Thank you, this plugin is amazing.

@MinatoTW
Copy link
Author

MinatoTW commented May 9, 2024

Although, now after i connect with GDB (GEF) I get the error [!] Command 'context' failed to execute properly, reason: 'NoneType' object has no attribute 'items'.
It's able to resolve main but no pseudocode. I guess that's related to the python version too?

@MinatoTW
Copy link
Author

MinatoTW commented May 9, 2024

Never mind, that binary had issues with decompilation due to a huge stack frame.

@mahaloz mahaloz changed the title IDA Pro 8.4 crashes Start failure on IDA Python 3.12 May 9, 2024
@k4lizen
Copy link

k4lizen commented Oct 2, 2024

I can confirm that I also had the same issue. The binary was normal, IDA segfaults when run with python version 3.12:

Oops, IDA has almost crashed! (signum=11)
fish: Job 1, 'ida ./babystack' terminated by signal SIGSEGV (Address boundary error)

but works with 3.10.

@mahaloz
Copy link
Owner

mahaloz commented Oct 2, 2024

@k4lizen, would you be able to attach the binary for testing?

@k4lizen
Copy link

k4lizen commented Oct 2, 2024

yeah you can get it here: https://pwnable.tw/static/chall/babystack

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants