Bug 101062
Summary: | rpm hangs in futex(0x405bd790, FUTEX_WAIT, 0, NULL... | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Scott Leerssen <scott> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | herrold, kragen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-07-29 12:55:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Scott Leerssen
2003-07-28 21:02:27 UTC
If you are doing "kill -9" then you must clean up stale locks afterwards by doing rm -f /var/lib/rpm/__db* And, try "rpm -qa | less", exit early, watch stale lock left behind. Then upgrade to rpm-4.2-1 from ftp://ftp.rpm.org/pub That should have been ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.2.x Why would setting LD_ASSUME_KERNEL=1 cause rpm to run without hanging if stale locfiles were the cause? I meant LD_ASSUME_KERNEL=2.4.1 Because LD_ASSUME_KERNEL=2.4.1 uses the old libpthread implementation, not NPTL. This changes the posix mutex implementation that is used by Berkeley DB in rpm. Excellent, thanks for the detail. That makes some sense, then. Maybe we should add a GNOME dialog box to kill -9: "Warning: Killing processes can cause system instability. Are you sure you want to do this?" Also when you close a filehandle, since that can cause a SIGPIPE. Or maybe we should stop putting futexes in files that exist on the filesystem. |