My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2365: Deadlock between web and SSH clients.
6 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Jan 2014


Sign in to add a comment
 
Reported by jamestn...@gmail.com, Dec 24, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:
2.8

previous version (2.5 seemed ok)

What steps will reproduce the problem?
1. COnnect a Jenkins server with the Gerrit Trigger Plugin and configure it to build projects.
2. make code changes/push to repo/do reviews
3. eventually gerrit will deadlock

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

ssh / https server becomes unresponsive

Stack with deadlock attached (inside H2)


Please provide any additional information below.

gerrit_stack.txt
221 KB   View   Download
Jan 2, 2014
#1 jamestn...@gmail.com
Already fixed upstream?
http://www.h2database.com/html/changelog.html

Version 1.3.174 (2013-10-19)
Fix an LOB deadlock between reading and updating LOB columns
Jan 9, 2014
Project Member #2 david.pu...@sonymobile.com
https://gerrit-review.googlesource.com/53611

(not tested)
Status: ChangeUnderReview
Jan 23, 2014
#3 sop@google.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.9
May 1, 2014
#4 dark.kni...@gmail.com
Hi, are there any plans to backport this change to the stable 2.8? I have seen similar backtraces in my 2.8.4 installation:

Found one Java-level deadlock:
=============================
"HTTP-736":
  waiting to lock monitor 0x00007f31240fdfb0 (object 0x00000006845316b0, a org.h2.engine.Engine),
  which is held by "HTTP-680"
"HTTP-680":
  waiting to lock monitor 0x00007f30bc011638 (object 0x0000000681f7c840, a org.h2.engine.Database),
  which is held by "HTTP-658"
"HTTP-658":
  waiting to lock monitor 0x00007f30bc011590 (object 0x0000000681fe8ce8, a org.h2.engine.Session),
  which is held by "HTTP-678"
"HTTP-678":
  waiting to lock monitor 0x00007f30bc011638 (object 0x0000000681f7c840, a org.h2.engine.Database),
  which is held by "HTTP-658"

Thanks.
May 9, 2014
#5 vphan2...@gmail.com
could you let me know if the fix can be a patch for 2.8?
Jul 18, 2014
Project Member #6 edwin.ke...@gmail.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting