public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/27170]  New: Deadlock in garbage collector
@ 2006-04-14 18:57 green at redhat dot com
  2006-04-14 18:58 ` [Bug libgcj/27170] " green at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: green at redhat dot com @ 2006-04-14 18:57 UTC (permalink / raw)
  To: java-prs

I believe I've identified a deadlock that is periodically reproducible
with Eclipse running on FC5.  I'll attach the stack trace to this bug
report.  See threads 4 and 13.

1. Thread 4 aquires the GC lock and starts a GC
2. Thread 13 dlopens a .so, acquiring a glibc maintained lock
3. Thread 13 tries to acquire the GC lock while registering classes
4. Thread 4 tries to acquire the glibc lock in dl_iterate_phdr

...and we're deadlocked.


-- 
           Summary: Deadlock in garbage collector
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27170


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-04-20 23:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-14 18:57 [Bug libgcj/27170] New: Deadlock in garbage collector green at redhat dot com
2006-04-14 18:58 ` [Bug libgcj/27170] " green at redhat dot com
2006-04-14 20:51 ` Hans dot Boehm at hp dot com
2006-04-14 21:01 ` green at redhat dot com
2006-04-17 14:43 ` green at redhat dot com
2006-04-17 14:44 ` green at redhat dot com
2006-04-17 16:00 ` tromey at gcc dot gnu dot org
2006-04-20 23:48 ` bryce at gcc dot gnu dot org
2006-04-20 23:52 ` bryce at gcc dot gnu dot org
2006-04-20 23:55 ` mckinlay at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).