joxeankoret / diaphora

Diaphora, the most advanced Free and Open Source program diffing tool.
http://diaphora.re
GNU Affero General Public License v3.0
3.64k stars 372 forks source link

Error: Diaphora hands on dialogs #47

Closed tmr232 closed 8 years ago

tmr232 commented 8 years ago

When exporting the database and trying to overwrite an existing file, a dialog appears, asking whether to overwrite the original file. If the dialog is not closed within a few seconds, IDA pops a "running Python script" window, and the whole thing just locks up. image

As the Python code is waiting for the UI, pressing Cancel does not help either.

joxeankoret commented 8 years ago

It happens with 6.8 or 6.9 BETA? BTW, it looks like a bug on IDA itself.

tmr232 commented 8 years ago

6.8

joxeankoret commented 8 years ago

Sorry, I cannot reproduce neither with IDA 6.9 nor with IDA 6.8 in Linux or Windows (10). I waited for ~30 minutes and the "Running Python script" window doesn't appear until I close the "Export database..." dialogue.

tmr232 commented 8 years ago

This is weird, as it reproduces for me every single time. I guess I'll have to look into it myself.

joxeankoret commented 8 years ago

Uhm... may it have something to do with your own PySide installation (https://github.com/joxeankoret/diaphora/issues/48#issue-123263427)?

tmr232 commented 8 years ago

Doesn't seem like it, I get the same results on IDA 6.9 with latest version of diaphora (so PySide is not imported).

joxeankoret commented 8 years ago

Uhm.. can you try running the following in a script (not in the script command, as a script file) and see if the same problem reproduces?

import idaapi

idaapi.askyn_c(0, "Export database already exists. Do you want to overwrite it?")

If you can reproduce it all alone, it's a bug in IDAPython and I recommend contacting the Hex-Rays people.

joxeankoret commented 8 years ago

I'm closing this issue as I haven't got feedback since long time. Feel free to re-open it if you still experience it.