You are not logged in.
Pages: 1
Hi, I am archlinux user from maybe 2 years. I use current and I'm up to date almost ever. From 2-3 weeks something wrong is with packan, every try of pacman -Suy ends with segmentation error (fault). When I run it only from console it writes debug info, and a lots is about reiserfs. I've checked partition and it has no errors. When I don't use pacman Arch is working very good, only one application which crashes is nicotine . It happens on both kernels default and beyond. Any help? Thanks in advance. Ask me or please give me some instructions how to provide additional tests, like a coredump, systrace etc.
Offline
try pacman.static -Sy pacman
Offline
try pacman.static -Sy pacman
Ok but what is the diffrence between static and normal pacman. Static I suppose is statically linked, but I don't get it, how it could help?
Offline
pacman.static also causes segfault
Offline
Have you tried pacman -Sy followed by pacman -Su ?
that might give some clues where the problem is.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
yes, pacman -Sy with no problem but -Su crashes
Offline
strace pacman -Su
if you don't see the problem there put output in a pastebin somewhere
Offline
strace output has 132 MB, I 'll put here two exerpts:
from the begining of file:
execve("/usr/bin/pacman", ["pacman", "-Syu"], [/* 44 vars */]) = 0
brk(0) = 0x806f000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=144397, ...}) = 0
mmap2(NULL, 144397, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3) = 0
open("/usr/lib/libz.so.1", O_RDONLY) = 3
read(3, "177ELF11133132026"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=78102, ...}) = 0
mmap2(NULL, 70348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40041000
mmap2(0x40052000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x40052000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "177ELF111331PY100"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1381210, ...}) = 0
mmap2(NULL, 1168764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40053000
mmap2(0x4016a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x116) = 0x4016a000
mmap2(0x4016e000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016e000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40171000
set_thread_area({entry_number:-1 -> 6, base_addr:0x401716b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x4016a000, 8192, PROT_READ) = 0
mprotect(0x4001a000, 4096, PROT_READ) = 0
munmap(0x4001d000, 144397) = 0
brk(0) = 0x806f000
brk(0x8091000) = 0x8091000
stat64("/usr/sbin/chroot", {st_mode=S_IFREG|0755, st_size=13464, ...}) = 0
geteuid32() = 0
open("/tmp/pacman.lck", O_WRONLY|O_CREAT|O_EXCL, 0) = 3
rt_sigaction(SIGINT, {0x804d640, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804d640, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
open("/etc/pacman.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1538, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
read(4, "#n# /etc/pacman.confn#n# NOTE: I"..., 131072) = 1538
open("/etc/pacman.d/current", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1855, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40172000
read(5, "#n# CURRENT: Arch Linux core rep"..., 131072) = 1855
read(5, "", 131072) = 0
close(5) = 0
munmap(0x40172000, 131072) = 0
open("/etc/pacman.d/extra", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1699, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40172000
read(5, "#n# The Extra Repositoryn#n[extr"..., 131072) = 1699
read(5, "", 131072) = 0
close(5) = 0
munmap(0x40172000, 131072) = 0
read(4, "", 131072) = 0
close(4) = 0
munmap(0x4001d000, 131072) = 0
open("/var/log/pacman.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=210190, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
fstat64(4, {st_mode=S_IFREG|0644, st_size=210190, ...}) = 0
_llseek(4, 210190, [210190], SEEK_SET) = 0
open("/var/lib/pacman/local", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=27160, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40172000
lseek(5, 0, SEEK_SET) = 0
getdents64(5, /* 757 entries */, 131072) = 30472
stat64("/var/lib/pacman/local/.", {st_mode=S_IFDIR|0755, st_size=27160, ...}) = 0
stat64("/var/lib/pacman/local/..", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
stat64("/var/lib/pacman/local/vim-7.0.39-1", {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0
stat64("/var/lib/pacman/local/vim-7.0.39-1", {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0
open("/var/lib/pacman/local/vim-7.0.39-1/desc", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=287, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40193000
read(6, "%NAME%nvimnn%VERSION%n7.0.39-1nn"..., 131072) = 287
read(6, "", 131072) = 0
close(6) = 0
and before crash:
stat64("/var/lib/pacman/local/readline-5.1.4-1/install", {st_mode=S_IFREG|0644, st_size=196, ...}) = 0
stat64("/var/lib/pacman/local/recordproto-1.13.2-1", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
open("/var/lib/pacman/local/recordproto-1.13.2-1/desc", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=303, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401fa000
read(8, "%NAME%nrecordprotonn%VERSION%n1."..., 131072) = 303
read(8, "", 131072) = 0
close(8) = 0
munmap(0x401fa000, 131072) = 0
open("/var/lib/pacman/local/recordproto-1.13.2-1/depends", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=58, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401fa000
read(8, "%DEPENDS%nn%REQUIREDBY%nlibxtstn"..., 131072) = 58
it crashes after last line
Offline
I've probably resolved that issue! I've upgraded by hand sysfsutils and shadow packages and problem has gone!
Offline
Reinstall them with the working pacman:
pacman -S sysfsutils shadow
to make sure that they are installed correctly.
Offline
Pages: 1