You are not logged in.

#1 2007-01-17 23:26:33

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Multiple programs returning segmentation faults

Hi,
  For the past week, my Arch system has been returning segfaults for ls, pacman, firefox, openoffice, nedit, and rhythmbox (through gstreamer). I have never had any problems before this.
  I have solved the 'ls' problem by doing a 'pacman -Sr /mnt/arch' from a newly installed backup system on the same harddrive, and 'ls' is working properly right now. While I am able to boot into the original system, the other programs are working erratically.
  I have had the same problem with firefox for even the newly installed backup system and am typing this message during one of the random times when firefox is working.
  Having searched on the forums, I read that many programs all segfaulting probably means a hardware error, and I should check my ram, processor, and other stuff.
  So, the question is, how do I check my hardware?
  Here is an strace of firefox in the newly installed backup system.

execve("/opt/mozilla/bin/firefox", ["firefox"], [/* 44 vars */]) = 0
brk(0)                                  = 0x80cd000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fda000
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=66511, ...}) = 0
mmap2(NULL, 66511, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fc9000
close(3)                                = 0
open("/lib/libreadline.so.5", O_RDONLY) = 3
read(3, "177ELF111331P274"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=225032, ...}) = 0
mmap2(NULL, 191588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f9a000
mmap2(0xb7fc4000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a) = 0xb7fc4000
mmap2(0xb7fc8000, 3172, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fc8000
close(3)                                = 0
open("/lib/libhistory.so.5", O_RDONLY)  = 3
read(3, "177ELF11133120030"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=32482, ...}) = 0
mmap2(NULL, 29496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f92000
mmap2(0xb7f99000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7f99000
close(3)                                = 0
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "177ELF111331@347"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=296368, ...}) = 0
mmap2(NULL, 269892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f50000
mmap2(0xb7f89000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xb7f89000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "177ELF111331@f00"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13798, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f4c000
mmap2(0xb7f4e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f4e000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "177ELF11133120Y100"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1459044, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f4b000
mmap2(NULL, 1217948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e21000
mmap2(0xb7f45000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x124) = 0xb7f45000
mmap2(0xb7f48000, 9628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f48000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e20000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e206c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f45000, 4096, PROT_READ)   = 0
mprotect(0xb7ff6000, 4096, PROT_READ)   = 0
munmap(0xb7fc9000, 66511)               = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0x80cd000
brk(0x80ee000)                          = 0x80ee000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1682720, ...}) = 0
mmap2(NULL, 1682720, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c85000
close(3)                                = 0
getuid32()                              = 1000
getgid32()                              = 100
geteuid32()                             = 1000
getegid32()                             = 100
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1169051657
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd9000
read(3, "MemTotal:       223504 kBnMemFre"..., 1024) = 728
close(3)                                = 0
munmap(0xb7fd9000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="myhost", ...}) = 0
stat64("/home/ravi", {st_mode=S_IFDIR|0711, st_size=3304, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0711, st_size=3304, ...}) = 0
getpid()                                = 2601
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54635, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd9000
read(3, "# GNU libc iconv configuration.n"..., 4096) = 4096
read(3, "astJS//tttJUS_I.B1.002//naliastY"..., 4096) = 4096
read(3, "etINTERNALttISO-8859-3//ttISO885"..., 4096) = 4096
read(3, "astISO-IR-199//ttISO-8859-14//na"..., 4096) = 4096
read(3, "totttmodulettcostnaliastCSEBCDIC"..., 4096) = 4096
read(3, "ettcostnaliastCP284//tttIBM284//"..., 4096) = 4096
read(3, "astCP864//tttIBM864//naliast864/"..., 4096) = 4096
read(3, "duletIBM937//ttINTERNALttIBM937t"..., 4096) = 4096
read(3, "UC-JP//naliastUJIS//tttEUC-JP//n"..., 4096) = 4096
read(3, "dulettcostnaliastISO-IR-143//ttI"..., 4096) = 4096
read(3, "OX//nmoduletISO_10367-BOX//ttINT"..., 4096) = 4096
read(3, "duletINTERNALttEUC-JISX0213//ttE"..., 4096) = 4096
read(3, "oduletIBM1130//ttINTERNALttIBM11"..., 4096) = 4096
read(3, "804//ttIBM16804//naliastCP16804/"..., 4096) = 1387
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7fd9000, 4096)                = 0
getppid()                               = 2600
getpgrp()                               = 2600
rt_sigaction(SIGCHLD, {0x80756d0, [], 0}, {SIG_DFL}, 8) = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd9000
read(3, "# Locale name alias data base.n#"..., 4096) = 2586
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7fd9000, 4096)                = 0
open("/usr/lib/locale/LC_CTYPE=zh_CN.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8/LC_MESSAGES", O_RDONLY) = -1 ENAMETOOLONG (File name too long)
open("/usr/lib/locale/LC_CTYPE=zh_CN.utf8lcnumericenusutf8lctimeenusutf8lccollateclcmonetaryenusutf8lcmessagesenusutf8lcpaperenusutf8lcnameenusutf8lcaddressenusutf8lctelephoneenusutf8lcmeasurementenusutf8lcidentificationenusutf8/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC_CTYPE=zh_CN/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC.utf8lcnumericenusutf8lctimeenusutf8lccollateclcmonetaryenusutf8lcmessagesenusutf8lcpaperenusutf8lcnameenusutf8lcaddressenusutf8lctelephoneenusutf8lcmeasurementenusutf8lcidentificationenusutf8/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC_CTYPE=zh_CN.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8/LC_NUMERIC", O_RDONLY) = -1 ENAMETOOLONG (File name too long)
open("/usr/lib/locale/LC_CTYPE=zh_CN.utf8lcnumericenusutf8lctimeenusutf8lccollateclcmonetaryenusutf8lcmessagesenusutf8lcpaperenusutf8lcnameenusutf8lcaddressenusutf8lctelephoneenusutf8lcmeasurementenusutf8lcidentificationenusutf8/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC_CTYPE=zh_CN/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC.utf8lcnumericenusutf8lctimeenusutf8lccollateclcmonetaryenusutf8lcmessagesenusutf8lcpaperenusutf8lcnameenusutf8lcaddressenusutf8lctelephoneenusutf8lcmeasurementenusutf8lcidentificationenusutf8/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC_CTYPE=zh_CN.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8/LC_TIME", O_RDONLY) = -1 ENAMETOOLONG (File name too long)
open("/usr/lib/locale/LC_CTYPE=zh_CN.utf8lcnumericenusutf8lctimeenusutf8lccollateclcmonetaryenusutf8lcmessagesenusutf8lcpaperenusutf8lcnameenusutf8lcaddressenusutf8lctelephoneenusutf8lcmeasurementenusutf8lcidentificationenusutf8/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC_CTYPE=zh_CN/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC.utf8lcnumericenusutf8lctimeenusutf8lccollateclcmonetaryenusutf8lcmessagesenusutf8lcpaperenusutf8lcnameenusutf8lcaddressenusutf8lctelephoneenusutf8lcmeasurementenusutf8lcidentificationenusutf8/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/LC/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/opt/mozilla/bin/firefox", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff66d08) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/shn#n# ***** BEGIN LICENS"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=5292, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
brk(0x810f000)                          = 0x810f000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/shn#n# ***** BEGIN LICENS"..., 5292) = 5292
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -1831, [3461], SEEK_CUR)   = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e20708) = 2602
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2602
waitpid(-1, 0xbff6651c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x80756d0, [], 0}, {0x80756d0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "/opt/mozilla/binn", 128)      = 17
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x80762c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "progbase=`basename "$progname"`n"..., 5292) = 1831
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -1799, [3493], SEEK_CUR)   = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e20708) = 2603
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2603
waitpid(-1, 0xbff6651c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x80756d0, [], 0}, {0x80756d0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "firefoxn", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x80762c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "run_moz="$curdir/run-mozilla.sh""..., 5292) = 1799
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
access("/opt/mozilla/bin/run-mozilla.sh", X_OK) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -1247, [4045], SEEK_CUR)   = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e20708) = 2604
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2604
waitpid(-1, 0xbff6600c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x80756d0, [], 0}, {0x80756d0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "/home/ravin", 128)            = 11
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x80762c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
lstat64("/opt/mozilla/bin/firefox", {st_mode=S_IFREG|0755, st_size=5292, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/home", {st_mode=S_IFDIR|0755, st_size=128, ...}) = 0
stat64("/home/ravi", {st_mode=S_IFDIR|0711, st_size=3304, ...}) = 0
chdir("/home/ravi")                     = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "if [ $found = 0 ]; thenn  # Chec"..., 5292) = 1247
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
access("/opt/mozilla/lib/firefox-2.0.0.1/run-mozilla.sh", X_OK) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/opt/mozilla/lib/firefox-2.0.0.1/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 3 entries */, 4096)    = 80
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/home/ravi/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
access("/opt/mozilla/lib/firefox-2.0.0.1/init.d/S*", X_OK) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
access("/home/ravi/.mozilla/firefox/init.d/S*", X_OK) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
_llseek(255, -91, [5201], SEEK_CUR)     = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e20708) = 2605
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0) = 2605
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbff6688c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x80762c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "exitcode=$?nn## Stop addon scrip"..., 5292) = 91
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/home/ravi/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/opt/mozilla/lib/firefox-2.0.0.1/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 3 entries */, 4096)    = 80
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
access("/home/ravi/.mozilla/firefox/init.d/K*", X_OK) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
access("/opt/mozilla/lib/firefox-2.0.0.1/init.d/K*", X_OK) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(139)                         = ?

I hope this helps. I have straces of soffice and rhythmbox also, if anyone wants them.
Thanks,
Ravster

Offline

#2 2007-01-18 10:48:09

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Multiple programs returning segmentation faults

ravster wrote:

Hi,
  For the past week, my Arch system has been returning segfaults for ls, pacman, firefox, openoffice, nedit, and rhythmbox (through gstreamer). I have never had any problems before this.
  I have solved the 'ls' problem by doing a 'pacman -Sr /mnt/arch' from a newly installed backup system on the same harddrive, and 'ls' is working properly right now. While I am able to boot into the original system, the other programs are working erratically.
  I have had the same problem with firefox for even the newly installed backup system and am typing this message during one of the random times when firefox is working.
  Having searched on the forums, I read that many programs all segfaulting probably means a hardware error, and I should check my ram, processor, and other stuff.
  So, the question is, how do I check my hardware?[...]

You can try Memtest86+ to check your memory. There's a package of it in extra and if I'm not mistaken it provides a filesystem image that you can boot using lilo or grub.

*Edit*
Fixed the Memtest link

Offline

#3 2007-01-18 16:54:04

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: Multiple programs returning segmentation faults

smoon wrote:

You can try Memtest86+ to check your memory. There's a package of it in extra and if I'm not mistaken it provides a filesystem image that you can boot using lilo or grub.

*Edit*
Fixed the Memtest link

Memtest returned an error when performing test 4. It said

Failing address - [random alphanumeric code] --- 97.3MB
Count - 1
Err-Bits - 00008000

Other information provided at the top of the screen shows

L1 Cache - 8K 19706MB/s
L2 Cache - 128K 16812MB/s
Memory - 224M 789MB/s

I don't know if this is relevant but other posts on the forum suggested matching RAM and memory speeds, so I thought I'd record that too.
  Is this the information you wanted? If it is, what do I do to get my computer back to working correctly again?
Thanks,
Ravster.

Offline

#4 2007-01-22 10:30:40

KoS
Member
Registered: 2006-02-02
Posts: 35

Re: Multiple programs returning segmentation faults

ravster wrote:

Is this the information you wanted? If it is, what do I do to get my computer back to working correctly again?
Thanks,
Ravster.

Hi!

Memtest86+ showed that your RAM is bad. You need to change it. If it is still under warranty, than change it where you bought it, if not than it looks like you should buy a new one. There might be some solutions to disable damaged parts of the RAM (I can't recall where I read about it), but other parts may become damaged also sooner or later.
So I suggest a RAM change.

Offline

#5 2007-01-22 10:42:53

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Multiple programs returning segmentation faults

There's a BadRAM patch, which could allow you to use your defective RAM module. It's not included in any of the official kernels, however, you'd have to patch the kernel yourself.

Offline

Board footer

Powered by FluxBB