forprevious / zynamics

Automatically exported from code.google.com/p/zynamics
0 stars 0 forks source link

BinDiff IDA plugin can not open flowgraphs view #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start IDA and open first database
2. Run BinDiff plugin selecting second database
3. Right click on line in "Matched Functions" display and select "View 
Flowgraphs"

What is the expected output? What do you see instead?
Expected: Flowgraph display should open
Instead: Error window with title "Java Virtual Machine Launcher" saying "Error: 
Could not create the Java Virtual Machine"

What version of the product are you using? On what operating system?
BinDiff 4.0.1 Build 15694
Win 7 Prof x64 SP1
IDA 6.3.120802
Java RE 7.0.50

Please provide any additional information below.
Flow Graph display works when using BinDiff standalone app.
Tested with IDA 32 and 64.

Original issue reported on code.google.com by L783x...@gmail.com on 15 Aug 2012 at 10:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hey L783xz5g,

you have probably installed JRE 32Bit. Please install JRE 64Bit and this issue 
should be fixed.

Best regards,
Nils

Original comment by nilsheu...@google.com on 15 Aug 2012 at 10:51

GoogleCodeExporter commented 9 years ago
Fixed.
Never thought about 64bit java, because IDA itself is only 32bit.
Thanks for the quick response,
Stefan

Original comment by L783x...@gmail.com on 15 Aug 2012 at 11:02

GoogleCodeExporter commented 9 years ago

Original comment by nilsheu...@google.com on 15 Aug 2012 at 11:06

GoogleCodeExporter commented 9 years ago

Original comment by nilsheu...@google.com on 22 Aug 2012 at 12:11

GoogleCodeExporter commented 9 years ago
How did you fix this problem?

Original comment by ViicMac...@hotmail.com on 9 Oct 2013 at 3:58

GoogleCodeExporter commented 9 years ago
The problem was not fixed by changing code. What happens here is that the 
BinDiff IDA PlugIn tries to reserve more Java VM memory than a 32bit JRE can 
address resulting in the error mentioned above. So using a 64bit JRE ensures 
that even bigger flow and callgraphs can be loaded and displayed if the system 
has enough RAM available.

Best regards,
Nils

Original comment by nilsheu...@google.com on 15 Oct 2013 at 1:34

GoogleCodeExporter commented 9 years ago
Hello,

I am having the same issue with the following configuration:
BinDiff 4.0.1 Release (Build 15464)
Windows 7 Pro 32bit
IDA Pro Version 6.5.140116 (32-bit)
Java RE 7.0.55 (32 bit)
Running inside VMWare Workstation

Obviously installing java RE 64bit is not an option.

Original comment by rotem.sa...@gmail.com on 20 May 2014 at 4:32

GoogleCodeExporter commented 9 years ago
You could try this:
http://www.zynamics.com/kb/kb0003.html

Note: With just 1GB of VM memory medium sized callgraphs or big/huge flowgraphs 
may not fit into memory which results in crashes as well…

Best regards,
Nils

Original comment by nilsheu...@google.com on 20 May 2014 at 7:41

GoogleCodeExporter commented 9 years ago
Hi Nils,

First off, thanks for the fast reply, and your solution helped keep working.
I tried this and this works when i run BinDiff directly via the cmd file, but 
it still crashes when I click the "View flowgraphs" option from IDA (unless I 
execute BinDiff manually beforehand), is there a way to workaround this 
permenantly?

Original comment by rotem.sa...@gmail.com on 21 May 2014 at 3:19

GoogleCodeExporter commented 9 years ago
No, sorry, this is currently the only solution for your situation.

Original comment by nilsheu...@google.com on 21 May 2014 at 5:22