My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1007: java.lang.StackOverflowError when browsing Groups through web interface
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jun 2011


Sign in to add a comment
 
Reported by jamul...@googlemail.com, Jun 9, 2011
Affected Version: 2.2.0


What steps will reproduce the problem?
1.  Login
2.  Select "Admin"
3.  Select "Groups"
4.  Select "Administrators"
5.  Select "Settings"
6.  Select "Groups"
7.  Select "Administrators"
8   Now, repeat from #3 (Using the "Groups" link which will still be visible as a result of step #2).

After at most 2 cycles of steps 3 through 8, Gerrit will crash with a stack overflow and the web UI will yield the grey "Application Error" screen.  This is 100% repeatable.


What is the expected output? What do you see instead?

I expect the web interface to remain functional.

Please provide any additional information below.

Configuration is "fresh" -- I only installed this instance a few minutes ago.  Config has LDAP auth, with one user logged in through web interface.  No git repos exist.

Gerrit Error Log attached.
Gerrit Configuration attached (LDAP Server Name Changed).


error_log.gz
21.9 KB   Download
gerrit.config
598 bytes   View   Download
Jun 9, 2011
#1 jamul...@googlemail.com
Should perhaps have mentioned the client; this is Firefox 3.6.17 running on a Mac.
Jun 13, 2011
#2 jamul...@googlemail.com
Any thoughts on this issue?  I had hoped to deloy Gerrit as the code review tool for a project we're about to start working on, but with the frequency of crashes I'm expericing right now that's not practical.

Has anyone else been able to reproduce this?
Jun 14, 2011
#3 sop@google.com
What JVM is running Gerrit?

I tried to reproduce this yesterday, but couldn't get it to occur. I upgraded Gson to the latest 1.7.1 version in Gerrit's master branch, hoping that would resolve the problem for you.
Status: AwaitingInformation
Jun 14, 2011
#4 jamul...@googlemail.com
OK, thanks to TML (on #gerrit) for attempting to re-produce this.  He confirmed he couldn't re-produce the problem and this led me to try some additional variants.

I've now tracked down the issue and can confirm that it's due to my JRE.

This JRE exhibits the issue:

$ /usr/lib/j2sdk1.6-ibm/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_lHdSMR
JIT  - r9_20071121_1330
GC   - 20071031_AA)
JCL  - 20071118_01



This JRE does not.

$ jre1.6.0_25/bin/java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Server VM (build 20.0-b11, mixed mode)


I'll now to be switching gerrit to use an alternate JVM.

Please close this issue, thanks!
Jun 14, 2011
#5 jamul...@googlemail.com
Hi sop -- apologies, didn't see your comment until just now.  As above, the issue is resolved now however.   Thanks for taking the time to attempt to reproduce & upgrade GSon.
Jun 14, 2011
#6 sop@google.com
This is likely a bug in the reflection support in the IBM J9 build the original poster was using to run Gerrit.
Status: WontFix
Sign in to add a comment

Powered by Google Project Hosting