Public bug reported:

sudo aptitude upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done


here it stops and starts hogging cpu.

$ ls /var/cache/apt/archives/*.deb | wc -l
563

I tried lookin what happens with strace, first there's gettimeofday calls
gettimeofday({1154084258, 541628}, NULL) = 0
gettimeofday({1154084258, 541724}, NULL) = 0
.
.

Then

) = 31ng tag database... Donebase... Done\r", 31
write(1, "\n", 1
)                       = 1
munmap(0xb5bb9000, 528384)              = 0
mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb549b000
mprotect(0xb549b000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb5c9b4e4, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED,
 parent_tidptr=0xb5c9bbe8, {entry_number:6, base_addr:0xb5c9bba0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}, child_tidptr=0xb5c9bbe8) = 32512

after this it starts to eat cpu time.

** Affects: aptitude (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
aptitude upgrade stops and hogs cpu
https://launchpad.net/bugs/54342

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to