You are not logged in.

#1 2010-04-10 01:24:18

youri
Member
From: southern ohio
Registered: 2009-05-22
Posts: 26

Things are randomly segfaulting and I can't figure out why! [solved]

Hi, recently I have been getting random segfaults and corruption.

For example, I can't uncompress files, bsdtar gives errors 9/10 times and I can't compile a program.

I get weird and random output.

Attempt 1:

  -> Extracting libarchive-2.8.3.tar.gz with bsdtar
bsdtar: Damaged tar archive
bsdtar: Retrying...
bsdtar: Damaged tar archive
bsdtar: Retrying...
bsdtar: Damaged tar archive
bsdtar: Retrying...
bsdtar: Damaged tar archive
bsdtar: Retrying...
bsdtar: Damaged tar archive

Attempt 2:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -march=athlon64 -O2 -pipe -fomit-frame-pointer -MT libarchive/archive_entry_copy_stat.lo -MD -MP -MF libarchive/.deps/archive_entry_copy_stat.Tpo -c libarchive/archive_entry_copy_stat.c  -fPIC -DPIC -o libarchive/.libs/archive_entry_copy_stat.o
In file included from libarchive/archive_entry_copy_stat.c:33:
libarchive/archive_entry.h:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
make[1]: *** [libarchive/archive_entry_copy_stat.lo] Error 1
make[1]: Leaving directory `/home/youri/abs/libarchive/src/libarchive-2.8.3'
make: *** [all] Error 2

Attempt 3:

do
    eval ac_val=\$$ac_var; case $ac_val in 
        *${as_nl}*)
            case $ac_var in 
                *_cv_*)
                    { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." 1>&5; $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." 1>&2; }
                ;;
            esac; case $ac_var in 
                _ | IFS | as_nl)

                ;;
                BASH_ARGV | BASH_SOURCE)
                    eval $ac_var=
                ;;
                *)
                    $as_unset $ac_var
                ;;
            esac
        ;;
    esac;
done; ( set ) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in 
    *${as_nl}ac_space=\ *)
        sed -n "s/'/'\\\\''/g;
      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    ;;
    *)
        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    ;;
esac | sort )
*** glibc detected *** /bin/sh: munmap_chunk(): invalid pointer: 0x00000000014c0000 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71906)[0x7fb5a7176906]
/bin/sh(delete_all_jobs+0xfb)[0x4385fb]
/bin/sh(without_job_control+0x24)[0x438694]
/bin/sh[0x42d2bf]
/bin/sh(execute_command_internal+0x16fc)[0x42a9fc]
/bin/sh[0x4290ee]
/bin/sh(execute_command_internal+0x140e)[0x42a70e]
/bin/sh(execute_command_internal+0x12e2)[0x42a5e2]
/bin/sh(execute_command+0x4e)[0x42aafe]
/bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
/bin/sh(execute_command+0x4e)[0x42aafe]
/bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
/bin/sh(execute_command+0x4e)[0x42aafe]
/bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
/bin/sh(execute_command+0x4e)[0x42aafe]
/bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
/bin/sh(execute_command+0x4e)[0x42aafe]
/bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
/bin/sh(execute_command_internal+0xb06)[0x429e06]
/bin/sh(parse_and_execute+0x1ca)[0x46568a]
/bin/sh(run_exit_trap+0x113)[0x44ab93]
/bin/sh(exit_shell+0x95)[0x416435]
/bin/sh(main+0xe74)[0x417d54]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fb5a7123b6d]
/bin/sh[0x415fb9]
======= Memory map: ========
00400000-004a6000 r-xp 00000000 08:03 8307                               /bin/bash
006a5000-006aa000 rw-p 000a5000 08:03 8307                               /bin/bash
006aa000-006b3000 rw-p 00000000 00:00 0 
01460000-0157c000 rw-p 00000000 00:00 0                                  [heap]
7fb5a6cbe000-7fb5a6cd4000 r-xp 00000000 08:03 3509                       /usr/lib/libgcc_s.so.1
7fb5a6cd4000-7fb5a6ed3000 ---p 00016000 08:03 3509                       /usr/lib/libgcc_s.so.1
7fb5a6ed3000-7fb5a6ed4000 rw-p 00015000 08:03 3509                       /usr/lib/libgcc_s.so.1
7fb5a6ef9000-7fb5a6f04000 r-xp 00000000 08:03 3121                       /lib/libnss_files-2.11.1.so
7fb5a6f04000-7fb5a7103000 ---p 0000b000 08:03 3121                       /lib/libnss_files-2.11.1.so
7fb5a7103000-7fb5a7104000 r--p 0000a000 08:03 3121                       /lib/libnss_files-2.11.1.so
7fb5a7104000-7fb5a7105000 rw-p 0000b000 08:03 3121                       /lib/libnss_files-2.11.1.so
7fb5a7105000-7fb5a7252000 r-xp 00000000 08:03 3118                       /lib/libc-2.11.1.so
7fb5a7252000-7fb5a7451000 ---p 0014d000 08:03 3118                       /lib/libc-2.11.1.so
7fb5a7451000-7fb5a7455000 r--p 0014c000 08:03 3118                       /lib/libc-2.11.1.so
7fb5a7455000-7fb5a7456000 rw-p 00150000 08:03 3118                       /lib/libc-2.11.1.so
7fb5a7456000-7fb5a745b000 rw-p 00000000 00:00 0 
7fb5a745b000-7fb5a745d000 r-xp 00000000 08:03 3067                       /lib/libdl-2.11.1.so
7fb5a745d000-7fb5a765d000 ---p 00002000 08:03 3067                       /lib/libdl-2.11.1.so
7fb5a765d000-7fb5a765e000 r--p 00002000 08:03 3067                       /lib/libdl-2.11.1.so
7fb5a765e000-7fb5a765f000 rw-p 00003000 08:03 3067                       /lib/libdl-2.11.1.so
7fb5a765f000-7fb5a76b5000 r-xp 00000000 08:03 5335                       /lib/libncursesw.so.5.7
7fb5a76b5000-7fb5a78b4000 ---p 00056000 08:03 5335                       /lib/libncursesw.so.5.7
7fb5a78b4000-7fb5a78b9000 rw-p 00055000 08:03 5335                       /lib/libncursesw.so.5.7
7fb5a78b9000-7fb5a78f3000 r-xp 00000000 08:03 2997                       /lib/libreadline.so.6.1
7fb5a78f3000-7fb5a7af3000 ---p 0003a000 08:03 2997                       /lib/libreadline.so.6.1
7fb5a7af3000-7fb5a7afb000 rw-p 0003a000 08:03 2997                       /lib/libreadline.so.6.1
7fb5a7afb000-7fb5a7afc000 rw-p 00000000 00:00 0 
7fb5a7afc000-7fb5a7b1a000 r-xp 00000000 08:03 3095                       /lib/ld-2.11.1.so
7fb5a7b3e000-7fb5a7cef000 r--p 00000000 08:03 12409                      /usr/lib/locale/locale-archive
7fb5a7cef000-7fb5a7cf3000 rw-p 00000000 00:00 0 
7fb5a7d16000-7fb5a7d19000 rw-p 00000000 00:00 0 
7fb5a7d19000-7fb5a7d1a000 r--p 0001d000 08:03 3095                       /lib/ld-2.11.1.so
7fb5a7d1a000-7fb5a7d1b000 rw-p 0001e000 08:03 3095                       /lib/ld-2.11.1.so
7fb5a7d1b000-7fb5a7d1c000 rw-p 00000000 00:00 0 
7fff4289f000-7fff428b4000 rw-p 00000000 00:00 0                          [stack]
7fff429de000-7fff429df000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Makefile:15: *** missing separator.  Stop.

Firefox crashes the worst, deluge does too!!!!

What's wrong!! Please help, I don't know how to fix this.

[youri@nemesis libarchive]$ uname -a
Linux nemesis 2.6.33-ARCH #1 SMP PREEMPT Sun Apr 4 10:27:30 CEST 2010 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux

Edit: Nevermind, bad ram! Bah!

Last edited by youri (2010-04-10 02:08:02)

Offline

Board footer

Powered by FluxBB