Bug 180926 - rebuild-gcj-db (gcj-dbtool, actually) constantly hangs
rebuild-gcj-db (gcj-dbtool, actually) constantly hangs
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Depends On: 179228
  Show dependency treegraph
Reported: 2006-02-10 10:54 EST by Alexandre Oliva
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-14 11:00:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexandre Oliva 2006-02-10 10:54:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20060207 Fedora/ Firefox/

Description of problem:
On a FC5T2/x86_64 install with all major components listed in text mode installed (as well as an everything install), rebuild-gcj-db always hangs part-way through the rebuild of the 64-bit classmap.db.  I found out that rebuilding the database by merging invidivual components one by one (xargs -n 1), as opposed to all at once, avoids the problem.  Sometimes the problem does not happen at all, even doing multiple .db files at a time.  It might be some underlying database bug or even a race condition in the kernel.  At first I thought it might be some hardware problem, but I've just got a new x86_64 box and, to my surprise, it displayed the very same problem.  I haven't been able to pinpoint the exact conditions that trigger the problem, but I know gcj-dbtool always hangs at a futex call.  With the automatic execution of rebuild-gcj-db multiple times during an update, this is a major pain.

My temporary work-around: chmod -x /usr/bin/gcj-dbtool.  That works until the next gcc update...

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Run /usr/bin/rebuild-gcj-db on a box with lots of GCJ-compiled Java packages

Actual Results:  It freezes on a futex call

Expected Results:  It shouldn't freeze

Additional info:

This does NOT happen on Fedora/x86-32
Comment 1 Jakub Jelinek 2006-02-10 11:01:50 EST

*** This bug has been marked as a duplicate of 179228 ***
Comment 2 Alexandre Oliva 2006-02-10 11:32:46 EST
Since the kernel bug is getting so many dupes and people might not think of
looking for it there, let's keep this one open, blocked on the kernel bug, which
is what should have been done from the beginning.
Comment 3 Alexandre Oliva 2006-02-14 11:00:59 EST
Fixed in kernel-2.6.15-1.1939_FC5.

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