Bug 1012827

Summary: deadlock in Garbage Collection Start Event callback
Product: Red Hat Enterprise Linux 7 Reporter: Jakub Filak <jfilak>
Component: abrt-java-connectorAssignee: Jakub Filak <jfilak>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: edewata, jberan, jfilak, jmoskovc, mkosek, ptisnovs, spoore
Target Milestone: betaKeywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: abrt-java-connector-1.0.6-1.el7 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Important: if this rebase instead contains *only bug fixes,* or *only enhancements*, select the correct option from the Doc Type drop-down list. Rebase package(s) to version: 1.0.6 Highlights, important fixes, or notable enhancements: Makes the implementation more thread safe and disables experimental features.
Story Points: ---
Clone Of: 1012545 Environment:
Last Closed: 2014-06-13 12:06:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1012545    
Bug Blocks: 1018804, 1020711    

Description Jakub Filak 2013-09-27 08:36:01 UTC
+++ This bug was initially created as a clone of Bug #1012545 +++

Description of problem:
All abrt-java-connector event callbacks enter a single private critical section. Some callbacks may trigger a GC run while being in the critical section. The GC start callback also wants to enter the critical section but the critical section is locked because the triggering callback waits until the GC run finishes. So both callbacks are waiting for each other.

Version-Release number of selected component (if applicable):
abrt-java-connector-1.0.5-1.fc19

How reproducible:
Accidentally

Steps to Reproduce:
1. run a sufficiently big application for a sufficiently long time

--- Additional comment from Jakub Filak on 2013-09-26 17:48:32 CEST ---

A full backtrace of a deadlock between callback_on_gc_start and callback_on_object_alloc

Comment 3 jiri vanek 2013-10-31 09:02:45 UTC
*** Bug 1023157 has been marked as a duplicate of this bug. ***

Comment 5 Nathan Kinder 2013-11-01 21:24:16 UTC
*** Bug 1020711 has been marked as a duplicate of this bug. ***

Comment 7 Ludek Smid 2014-06-13 12:06:15 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.