You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\actions.py", line 127, in activate
wid = PatchingController(self.core, get_current_ea(ctx))
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\ui\preview.py", line 47, in init
self.refresh()
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\ui\preview.py", line 223, in refresh
self.select_address(self.address)
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\ui\preview.py", line 68, in select_address
if insn.address != ea:
AttributeError: 'NoneType' object has no attribute 'address'
The text was updated successfully, but these errors were encountered:
gaasedelen
changed the title
not working
Crash: if insn.address != ea: -- AttributeError: 'NoneType' object has no attribute 'address'
Aug 17, 2024
This is indeed a bug and I can understand why it would crash, but I can't actually seem to figure out how you triggered it. Even deleting segments.
The fix seems like I shouldn't be giving the user the ability to launch the assembly window in some special context, but I'm already pretty strict about where it even exposes the Assemble action anyway.
It seems rare enough that it's not a big deal, but I'm curious if anyone comes up with a way to reproduce this.
Traceback (most recent call last):
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\actions.py", line 127, in activate
wid = PatchingController(self.core, get_current_ea(ctx))
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\ui\preview.py", line 47, in init
self.refresh()
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\ui\preview.py", line 223, in refresh
self.select_address(self.address)
File "C:\Users/user/AppData/Roaming/Hex-Rays/IDA Pro/plugins\patching\ui\preview.py", line 68, in select_address
if insn.address != ea:
AttributeError: 'NoneType' object has no attribute 'address'
The text was updated successfully, but these errors were encountered: