Skip to main content

SIGSEGV in ConcurrentGCThread using 6u14's new "Garbage First" collector

3 replies [Last post]
Joined: 2009-02-19

( pasted from note the comment applies to jre6u14 running Tomcat and some webapps on a live server )

For info on 6u14's new GC and potential usefulness for use with java web
apps, see: (cancel the print dialog: this gives you the complete message w/o extra crap).

Unfortunately, when running with

>VM Arguments:
>jvm_args: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -Xms256m -Xmx768m -XX:PermSize=256m -XX:MaxPermSize=768m -Djava.awt.headless=true >...
>java_command: org.apache.catalina.startup.Bootstrap start

You get a SIGSEGV (which obviates the whole point of garbage-collection):

>A fatal error has been detected by the Java Runtime Environment:
>SIGSEGV (0xb) at pc=0x0000000000e9c621, pid=13441, tid=114968912
>JRE version: 6.0_14-b01
>Java VM: OpenJDK 64-Bit Server VM (14.0-b10 mixed mode linux-amd64 )
>Problematic frame:
>V []

The SIGSEGV happens because of new Garbage Collector, as invoked by
"-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC". It dies after running for
less than an hour:

>Current thread (0x000000004149f000): ConcurrentGCThread [stack: 0x0000000000000000,0x0000000000000000] [id=13448]
>siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000001600000050
>elapsed time: 2916 seconds

This issue doesn't occur with the default GC invoked with

>jvm_args: -Xms256m -Xmx768m -XX:PermSize=256m -XX:MaxPermSize=768m -Djava.awt.headless=true"

I guess that's why this is an "Early Access" release.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-01-07

Well, seems like a bug.

Best is probably to report the problem to , so that guys can fix it.

- Clemens

Joined: 2009-02-19

I tried, and the bugreporting website failed to notify that the bug was received. It did do something glitchy after final submit... Is there a record of my bug submitted? I believe I tried twice, with a browser restart for good measure. I had all the goodies attached and everything. Now I'm not sure where they even are anymore... I just wrote this comment and moved on:

Joined: 2006-07-30

I can't find it in our bug reporting system DB. Could you please submit another one? You can post the incident number and I'll post back the bug ID after I've verified the issue. Also, it'll be easier for me to find your bug report if you can provide your Sun Online Account ID during your bug submission process.