You are not logged in.
Hi,
I have an issue on a monocore x86 laptop after pacman 3.5.1 upgrade. I updated the db with pacman-db-update succesfuly. However, when I run testdb (or another program runs it), then testdb process never stops and consumes 100% CPU. Has anyone observed that problem? What can I do to diagnose this issue ?
Thanks.
Last edited by zebulon (2011-03-24 15:02:34)
Offline
I can not replicate... The output from "strace testdb" would help us see what is happening here.
Offline
OK, I ran strace and found out that testdb seems to be stuck accessing /var/lib/pacman/local/libsoup-2.32.2-1/
The output of strace ends up with thousands of this entry:
munmap(0xb7783000, 4096) = 0
access("/var/lib/pacman/local/libsoup-2.32.2-1/", F_OK) = 0
open("/var/lib/pacman/local/libsoup-2.32.2-1/desc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=312, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7783000
read(3, "%DEPENDS%\nperl>=5.10.0\n\n\0\0\0\0\0\0\0\0"..., 4096) = 312
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7783000, 4096) = 0
access("/var/lib/pacman/local/libsoup-2.32.2-1/", F_OK) = 0
open("/var/lib/pacman/local/libsoup-2.32.2-1/desc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=312, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7783000
read(3, "%DEPENDS%\nperl>=5.10.0\n\n\0\0\0\0\0\0\0\0"..., 4096) = 312
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7783000, 4096) = 0
access("/var/lib/pacman/local/libsoup-2.32.2-1/", F_OK) = 0
open("/var/lib/pacman/local/libsoup-2.32.2-1/desc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=312, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7783000
read(3, "%DEPENDS%\nperl>=5.10.0\n\n\0\0\0\0\0\0\0\0"..., 4096) = 312
read(3, "", 4096) = 0
close(3) It might be specific to my system, maybe my db is corrupted. Is there a way to rebuild it entirely ? Can I delete the files in /var/lib/pacman/local ?
Offline
It might be specific to my system, maybe my db is corrupted. Is there a way to rebuild it entirely ? Can I delete the files in /var/lib/pacman/local ?
Do not delete anything in /var/lib/pacamn/local.
What filesystem is this?
Offline
Do not delete anything in /var/lib/pacamn/local.
What filesystem is this?
ext3.
Last edited by zebulon (2011-03-24 14:54:17)
Offline
access("/var/lib/pacman/local/libsoup-2.32.2-1/", F_OK) = 0 open("/var/lib/pacman/local/libsoup-2.32.2-1/desc", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=312, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7783000 read(3, "%DEPENDS%\nperl>=5.10.0\n\n\0\0\0\0\0\0\0\0"..., 4096) = 312
That last line looks weird to me.... libsoup does not depend on perl, and then all the \0\0\0 stuff.
I'd try and reinstall libsoup and see if the issue fixes itself.
Offline
Note I can read these files:
/var/lib/pacaman/local/libsoup-2.32.2-1/desc
/var/lib/pacaman/local/libsoup-2.32.2-1/files
They do not seem corrupted.
Offline
I'd try and reinstall libsoup and see if the issue fixes itself.
pacman -Rd libsoup fails because of libwebkit and swfdec-devel dependencies.
pacman -Rdd libsoup leads to a pacman process using 100% CPU
This may be related I guess.
Offline
Does a plain "pacman -S libsoup" work?
Offline
OK, pacman -Sf libsoup reinstalled the library and solved the problem.
This might be a local corruption, my laptop is quite old.
Many thanks for your help ![]()
Offline