cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Java MKS Api Crash viewsandbox

anikic
1-Visitor

Java MKS Api Crash viewsandbox

 

Hallo,

 

 

wir versuchen derzeit über eine jarfile eine Verbindung mit Integrity aufzubauen und Befehle auszuführen. Der Aufbau und das Ausführen von Befehlen läuft einwandfrei, bis auf der "si viewsandbox" Befehl. Wenn wir diesen mit einer kleinen Sandbox ausführen wollen klappt alles, aber beim Ausführen des Befehls bei einer riesigen Sandbox bekommen wir die Folgende Fehlermeldung:

 

Hello,

we try to build a connection to Integrity with a jarfile, by using the Java MKS api, to execute some si commands. The Connection and execution of the commands works fine, except the "si viewsandbox" command. When we try to execute the "viewsandbox" command with tiny sandboxes, it works fine, but if we try to execute the command with a huge sandbox, we get the following error message:

 

#

 

# A fatal error has been detected by the Java Runtime Environment:

 

#

 

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=4984, tid=3628

 

#

 

# JRE version:  (7.0_40-b43) (build )

 

# Java VM: Java HotSpot(TM) Client VM (24.0-b56 mixed mode windows-x86 )

 

# Problematic frame:

 

# C 0x00000000

 

#

 

# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

 

#

 

# If you would like to submit a bug report, please visit:

 

# http://bugreport.sun.com/bugreport/crash.jsp

 

#

 

 

--------------- T H R E A D  ---------------

 

 

Current thread (0x0054dc00):  JavaThread "main" [_thread_in_Java, id=3628, stack(0x010a0000,0x10aa0000)]

 

 

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x00000000

 

 

Registers:

 

EAX=0x00100000, EBX=0x52aada90, ECX=0x12aa0da0, EDX=0x00500001

 

ESP=0x10a9edf0, EBP=0x10a9ee18, ESI=0x10a9edf4, EDI=0x10a9ee1c

 

EIP=0x00000000, EFLAGS=0x00010216

 

 

Top of Stack: (sp=0x10a9edf0)

 

0x10a9edf0:   10aa347b 12aa0da0 10a9edf8 52ab76ab

 

0x10a9ee00:   10a9ee1c 52b0d648 00000000 52ab76e8

 

0x10a9ee10: 10a9edf4 10a9ee20 10a9ee3c 10aa03d7

 

0x10a9ee20: 10a9ee70 10a9ee4c 639be6e2 00001f80

 

0x10a9ee30: 10aa0372 0054dc00 52ab76e8 10a9eebc

 

0x10a9ee40: 639bee1a 10a9ee70 10a9ef44 0000000a

 

0x10a9ee50: 52ab76e8 10aa9800 10a9ef54 00000000

 

0x10a9ee60: 0054dc00 0054dc00 0054dc00 00000004

 

 

Instructions: (pc=0x00000000)

 

0xffffffe0:

 

 

 

Register to memory mapping:

 

 

EAX=0x00100000 is an unknown value

 

EBX=0x52aada90 is an oop

 

{method}

 

- klass: {other class}

 

ECX=0x12aa0da0 is an oop

 

  1. java.lang.Class

 

- klass: 'java/lang/Class'

 

EDX=0x00500001 is an unknown value

 

ESP=0x10a9edf0 is pointing into the stack for thread: 0x0054dc00

 

EBP=0x10a9ee18 is pointing into the stack for thread: 0x0054dc00

 

ESI=0x10a9edf4 is pointing into the stack for thread: 0x0054dc00

 

EDI=0x10a9ee1c is pointing into the stack for thread: 0x0054dc00

 

 

 

Stack: [0x010a0000,0x10aa0000],  sp=0x10a9edf0,  free space=255995k

 

 

--------------- P R O C E S S  ---------------

 

 

Java Threads: ( => current thread )

 

=>0x0054dc00 JavaThread "main" [_thread_in_Java, id=3628, stack(0x010a0000,0x10aa0000)]

 

 

Other Threads:

 

0x56e40c00 VMThread [stack: 0x57060000,0x570b0000] [id=5364]

 

 

VM state:not at safepoint (normal execution)

 

 

VM Mutex/Monitor currently owned by a thread: None

 

 

Heap

 

def new generation   total 157248K, used 2795K [0x12aa0000, 0x1d540000, 0x27ff0000)

 

  eden space 139776K,   2% used [0x12aa0000, 0x12d5ae88, 0x1b320000)

 

  from space 17472K,   0% used [0x1b320000, 0x1b320000, 0x1c430000)

 

to   space 17472K,   0% used [0x1c430000, 0x1c430000, 0x1d540000)

 

tenured generation   total 349568K, used 0K [0x27ff0000, 0x3d550000, 0x52aa0000)

 

the space 349568K,   0% used [0x27ff0000, 0x27ff0000, 0x27ff0200, 0x3d550000)

 

compacting perm gen  total 12288K, used 518K [0x52aa0000, 0x536a0000, 0x56aa0000)

 

the space 12288K,   4% used [0x52aa0000, 0x52b21aa8, 0x52b21c00, 0x536a0000)

 

No shared spaces configured.

 

 

Card table byte_map: [0x56aa0000,0x56cd0000] byte_map_base: 0x56a0ab00

 

 

Polling page: 0x001c0000

 

 

Code Cache  [0x10aa0000, 0x10ae8000, 0x12aa0000)

 

total_blobs=39 nmethods=0 adapters=18 free_code_cache=32499Kb largest_free_block=33278912

 

 

Compilation events (0 events):

 

No events

 

 

GC Heap History (0 events):

 

No events

 

 

Deoptimization events (0 events):

 

No events

 

 

Internal exceptions (0 events):

 

No events

 

 

Events (10 events):

 

Event: 0.015 loading class 0x00b0bd30 done

 

Event: 0.015 loading class 0x00b0bd10 done

 

Event: 0.015 loading class 0x00b16d50

 

Event: 0.015 loading class 0x00b16d50 done

 

Event: 0.015 loading class 0x00b13e28

 

Event: 0.015 loading class 0x00b13e28 done

 

Event: 0.015 loading class 0x00b1af98

 

Event: 0.015 loading class 0x00b1af98 done

 

Event: 0.015 loading class 0x00b1afc0

 

Event: 0.015 loading class 0x00b1afc0 done

 

 

 

Dynamic libraries:

 

0x002e0000 - 0x0030f000 C:\Program Files\Integrity\IntegrityClient\jre\bin\java.exe

 

0x77090000 - 0x77210000 C:\Windows\SysWOW64\ntdll.dll

 

0x754b0000 - 0x755c0000 C:\Windows\syswow64\kernel32.dll

 

0x76c40000 - 0x76c87000 C:\Windows\syswow64\KERNELBASE.dll

 

0x76710000 - 0x767b0000 C:\Windows\syswow64\ADVAPI32.dll

 

0x76b90000 - 0x76c3c000 C:\Windows\syswow64\msvcrt.dll

 

0x74f60000 - 0x74f79000 C:\Windows\SysWOW64\sechost.dll

 

0x74c10000 - 0x74d00000 C:\Windows\syswow64\RPCRT4.dll

 

0x74bb0000 - 0x74c10000 C:\Windows\syswow64\SspiCli.dll

 

0x74ba0000 - 0x74bac000            C:\Windows\syswow64\CRYPTBASE.dll

 

0x764c0000 - 0x765c0000 C:\Windows\syswow64\USER32.dll

 

0x74d00000 - 0x74d90000 C:\Windows\syswow64\GDI32.dll

 

0x765c0000 - 0x765ca000 C:\Windows\syswow64\LPK.dll

 

0x75350000 - 0x753ed000 C:\Windows\syswow64\USP10.dll

 

0x73300000 - 0x7349e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll

 

0x75420000 - 0x75477000 C:\Windows\syswow64\SHLWAPI.dll

 

0x74f00000 - 0x74f60000 C:\Windows\system32\IMM32.DLL

 

0x75280000 - 0x7534c000 C:\Windows\syswow64\MSCTF.dll

 

0x74880000 - 0x748c6000 C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~1.DLL

 

0x76230000 - 0x76235000            C:\Windows\syswow64\PSAPI.DLL

 

0x65810000 - 0x658ce000 C:\Program Files\Integrity\IntegrityClient\jre\bin\msvcr100.dll

 

0x63880000 - 0x63c00000 C:\Program Files\Integrity\IntegrityClient\jre\bin\client\jvm.dll

 

0x6c600000 - 0x6c607000 C:\Windows\system32\WSOCK32.dll

 

0x76b50000 - 0x76b85000 C:\Windows\syswow64\WS2_32.dll

 

0x77060000 - 0x77066000 C:\Windows\syswow64\NSI.dll

 

0x73500000 - 0x73532000 C:\Windows\system32\WINMM.dll

 

0x6f8b0000 - 0x6f8bc000 C:\Program Files\Integrity\IntegrityClient\jre\bin\verify.dll

 

0x6f890000 - 0x6f8b0000 C:\Program Files\Integrity\IntegrityClient\jre\bin\java.dll

 

0x6f870000 - 0x6f883000 C:\Program Files\Integrity\IntegrityClient\jre\bin\zip.dll

 

0x6c510000 - 0x6c5fb000 C:\Windows\system32\dbghelp.dll

 

 

VM Arguments:

 

jvm_args: -Xss250M -Xms512M -Xmx1G

 

java_command: C:\_projects\jenkins\run_and_log\MKS_connect_no_gui\mks_connect_test.jar C:/_projects/jenkins/DEV_m6.54.0.3/project.pj muell.txt

 

Launcher Type: SUN_STANDARD

 

 

 

Ist Ihnen ein solcher Fehler bekannt und gibt es dafür eine Lösung?

 

Do you know something about this and is there a solution?

 

 

Weitere Frage: Was bedeutet die Fehlermeldung com.mks.frame.ui.ViewException?

Another Question: What does "com.mks.frame.ui.ViewException" mean?

 

 

Mit freundlichen Grüßen,

Best reagards,

 

Alexander Nikic

 

3 REPLIES 3
anikic
1-Visitor
(To:anikic)

Nachtrag/EDIT:

Wenn wir die folgenden Paramter  -XX:PermSize100M -Xss250M -Xms512M -Xmx1G beim Ausführen der .jar angeben, bekommen wir folgende Fehlermeldung zurück:

When we add the following parameters  -XX:PermSize100M -Xss250M -Xms512M -Xmx1G and run the application, we get the following error Exception:

"com.mks.api.response.CommandException: mks.frame.app.ui.ViewException"

Hat das jemand schon gesehen? Wenn man das in google so eintippt erhält wenig bis gar keine Treffer, die nichts aussagendes bringen.

Has anyone seen this before? If you search the error message you get only a few results, which does not help.

Hallo Alexander,

Are you using the Integrity JVM included in the client (or the server), or are you using some other Java installation?

Also, is there a stack trace in the server's log/server.log directory?

Bitte entschuldigen Sie die Sprache keine Fehler hier, als mein Deutsch ist aus der Übung und nicht technischen.

Verwenden Sie die Integrity JVM auf dem Client (oder dem Server) enthalten ist, oder verwenden Sie eine andere Java-Installation?

Außerdem gibt es einen Stack-Trace in log / server.log-Verzeichnis des Servers?

Regards/mit freundlichen Grüßen,

-Kael


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager

Hi Kael,

yes, we are using the JVM included in the client. A developer from Integritay guesses that it has something to do with the client´s heap.

And no, there is no log folder including log files

Best Regards

Alexander

Announcements


Top Tags