Bug 450705 - yum deadlock
Summary: yum deadlock
Keywords:
Status: CLOSED DUPLICATE of bug 444321
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-10 15:27 UTC by Bill C. Riemers
Modified: 2014-01-21 23:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-31 09:36:42 UTC


Attachments (Terms of Use)
Output of strace -o yum.log -f yum update (268.46 KB, application/x-bzip2)
2008-06-10 15:30 UTC, Bill C. Riemers
no flags Details

Description Bill C. Riemers 2008-06-10 15:27:06 UTC
Description of problem:

Yum is deadlocking in "Setting up Update process".

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

yum-metadata-parser-1.1.2-8.fc9.x86_64
yum-packagekit-0.2.2-2.20080529.fc10.x86_64
yum-utils-1.1.13-2.fc9.noarch
yum-3.2.16-2.fc9.noarch

How reproducible:

100% on my system.

Steps to Reproduce:
1. run yum update
2.
3.
  
Actual results:

deadlocks

Expected results:

install updates

Additional info:

I see I am not the only person with this trouble:

http://www.linuxquestions.org/questions/fedora-35/fc9-yum-freezes

Comment 1 Bill C. Riemers 2008-06-10 15:30:03 UTC
Created attachment 308825 [details]
Output of strace -o yum.log -f yum update

I have to use kill -9 to terminate this process.

Comment 2 James Antill 2008-06-10 15:50:53 UTC
 The last part of the strace is:

20191 open("/var/lib/rpm/Packages", O_RDONLY) = 9
20191 fcntl(9, F_SETFD, FD_CLOEXEC)     = 0
20191 fstat(9, {st_mode=S_IFREG|0644, st_size=57294848, ...}) = 0
20191 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
20191 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
20191 pread(9,
"\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\340\0\227\10\0\2\373\17\366\17\361\17"...,
4096, 4096) = 4096
[...]
20191 pread(9,
"\0\0\0\0\1\0\0\0\271/\0\0\270/\0\0\0\0\0\0\1\0\302\2\0\7doc/\0/"..., 4096,
50040832) = 4096
20191 futex(0x7f4af5d3b2f8, FUTEX_WAIT, 2, NULL) = ? ERESTARTSYS (To be restarted)


Comment 3 James Antill 2008-06-10 15:53:34 UTC
 If you are sure nothing else is using rpm, you can probably fix this by doing:

   rm -f /var/lib/rpm/__db*


Comment 4 seth vidal 2008-06-10 16:03:56 UTC
and then you probably want to run: rpm --rebuilddb


Comment 5 Christopher Beland 2008-10-23 01:53:18 UTC
This looks like it might be the same problem as in bug 444321.

Comment 6 Panu Matilainen 2009-01-31 09:36:42 UTC

*** This bug has been marked as a duplicate of bug 444321 ***


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