Red Hat Bugzilla – Bug 180908
gcj-dbtool hangs when processing /usr/lib64/gcj/eclipse-cdt/cdtmicore.jar.db
Last modified: 2007-11-30 17:11:23 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:188.8.131.52) Gecko/20060202 Fedora/184.108.40.206-2 Firefox/220.127.116.11
Description of problem:
Whenever /usr/bin/rebuild-gcj-db is run (for example, after a java rpm is updated via yum), it eventually will hang when gcj-dbtool tries to merge /usr/lib64/gcj/eclipse-cdt/cdtmicore.jar.db into /usr/lib64/gcj-4.1.0/classmap.db.
I was able to narrow down with db file was causing the problem by tweaking the rebuild-gcj-db script to call gcj-dbtool with only one argument at a time (i.e. xargs -n1), and the eclipse cdtmicore db file causes it to hang every time.
I'm not sure if this is a gcj problem or an eclipse problem. However, a bad .db file probably shouldn't be able to hang the whole rebuild-db process either.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure eclipse is installed (so that /usr/lib64/gcj/eclipse-cdt/cdtmicore.jar.db is present)
2. Execute /usr/bin/rebuild-gcj-db
Actual Results: Hang-o-la. You have to kill the process with CTRL-C.
Expected Results: It should rebuild the /usr/lib64/gcj-4.1.0/classmap.db file.
*** This bug has been marked as a duplicate of 179002 ***