Re: TextRenderer causing JVM Crash?

Posted by Xerxes RÄnby on
URL: https://forum.jogamp.org/TextRenderer-causing-JVM-Crash-tp4025833p4025841.html

2012-08-19 22:48, zeeawk [via jogamp] skrev:
Ok I added the extra debug switches. I also ran the runtime version check.
I can't really tell from the output what is causing the problem though.

Any insight you can provide would be most appreciated.

Debug Log: https://docs.google.com/open?id=0B578751V2n_dTGVEREJTVEtTRTA
Runtime Version Check: https://docs.google.com/open?id=0B578751V2n_dbmJ4a3JyaDBMZ3M


Thanks!

Hi I notice from your first JVM log that this Oracle build of JavaSE running on i386 crashes during garbage collection.
  1. # JRE version: 6.0_33-b03
  2. # Java VM: Java HotSpot(TM) Client VM (20.8-b03 mixed mode, sharing windows-x86 )
  1. VM_Operation (0x0339f3c0): GenCollectForAllocation, mode: safepoint, requested by thread 0x02f25400  <--- this line indicate that the GC is running.
I would like you to test your application in two different setups:

A) Run with  -Xcheck:jni     to verify that we JogAmp informs the JVM correctly when we modify data structures outside the JVM. It would be extremely interesting to see if -Xcheck:jni reports any issue.
Also if you give us your test program then we can help you triage and debug better by hands on analyze the crash.

B) Try switch garbage collector, there exist 6 different garbagecollector variants built into hotspot, try them all and check if your crash is reproducible with all of them. If you find that it only crashes with some of the combinations then file a bug with Oracle and tell them that some of their their garbage collector is broken on i386. Also here a testcase is needed so that Oracle engineers can reproduce and analyze the crash.
http://blog.ragozin.info/2011/09/hotspot-jvm-garbage-collection-options.html

Cheers
Xerxes