Bug 1012545 - deadlock in Garbage Collection Start Event callback
Summary: deadlock in Garbage Collection Start Event callback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt-java-connector
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1012827
TreeView+ depends on / blocked
 
Reported: 2013-09-26 15:38 UTC by Jakub Filak
Modified: 2016-12-01 00:45 UTC (History)
3 users (show)

Fixed In Version: abrt-java-connector-1.0.6-1.fc19
Clone Of:
: 1012827 (view as bug list)
Environment:
Last Closed: 2013-10-10 01:07:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Deadlock backtrace (78.87 KB, text/plain)
2013-09-26 15:48 UTC, Jakub Filak
no flags Details

Description Jakub Filak 2013-09-26 15:38:23 UTC
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

Comment 1 Jakub Filak 2013-09-26 15:48:32 UTC
Created attachment 803476 [details]
Deadlock backtrace

A full backtrace of a deadlock between callback_on_gc_start and callback_on_object_alloc

Comment 2 Jakub Filak 2013-09-27 08:39:05 UTC
Upstream commit d84b4c8883bc145b0afa6b89f025dea1fa98cc3c fixes this bug.

Comment 3 Fedora Update System 2013-10-01 14:50:12 UTC
abrt-java-connector-1.0.6-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/abrt-java-connector-1.0.6-1.fc19

Comment 4 Fedora Update System 2013-10-02 06:38:51 UTC
Package abrt-java-connector-1.0.6-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-java-connector-1.0.6-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18097/abrt-java-connector-1.0.6-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-10-10 01:07:59 UTC
abrt-java-connector-1.0.6-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.