segfault

segfault

Post by darry dooma » Sun, 01 Dec 2002 06:49:09



Hi

i have problem with my linux, when i runing sms, pike or su i have
segmentation fault.
anybody know why? (glibc refreshed and still the same problem)

some help files:)

strace /usr/local/bin/sms
execve("/usr/local/bin/sms", ["/usr/local/bin/sms"], [/* 30 vars */]) = 0
brk(0)                                  = 0x8057fd8
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=15465, ...}) = 0
mmap(NULL, 15465, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
close(4)                                = 0
open("/usr/local/lib/libstdc++.so.3", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=2380721, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320V\2"..., 4096) =
4096
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40019000
mmap(NULL, 390880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001a000
mprotect(0x40067000, 75488, PROT_NONE)  = 0
mmap(0x40067000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x4c000) = 0x40067000
mmap(0x40079000, 1760, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40079000
close(4)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=195091, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200=\0"..., 4096) =
4096
mmap(NULL, 122632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4007a000
mprotect(0x40097000, 3848, PROT_NONE)   = 0
mmap(0x40097000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x1c000) = 0x40097000
close(4)                                = 0
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=860609, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\230\0"..., 4096) =
4096
mmap(NULL, 67196, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0x1000) = 0x40098000
mprotect(0x400a7000, 5756, PROT_NONE)   = 0
mmap(0x400a7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0xf000) = 0x400a7000
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=1286208, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0G\205\1"..., 4096) =
4096
mmap(NULL, 1025692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x400a9000
mprotect(0x4019c000, 30364, PROT_NONE)  = 0
mmap(0x4019c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0xf2000) = 0x4019c000
mmap(0x401a0000, 13980, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401a0000
close(4)                                = 0
mprotect(0x400a9000, 995328, PROT_READ|PROT_WRITE) = 0
mprotect(0x400a9000, 995328, PROT_READ|PROT_EXEC) = 0
mprotect(0x40098000, 61440, PROT_READ|PROT_WRITE) = 0
--- SIGSEGV (Naruszenie ochrony pamici) ---

strace /bin/su
execve("/bin/su", ["/bin/su"], [/* 30 vars */]) = 0
brk(0)                                  = 0x80551d4
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=15465, ...}) = 0
mmap(NULL, 15465, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
close(4)                                = 0
open("/lib/libshadow.so.0", O_RDONLY)   = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=49497, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200)\0"..., 4096) =
4096
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40019000
mmap(NULL, 93760, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001a000
mprotect(0x40022000, 60992, PROT_NONE)  = 0
mmap(0x40022000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x7000) = 0x40022000
mmap(0x40025000, 48704, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40025000
close(4)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=25818, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 4096)
= 4096
mmap(NULL, 183292, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40031000
mprotect(0x40036000, 162812, PROT_NONE) = 0
mmap(0x40036000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x4000) = 0x40036000
mmap(0x40037000, 158716, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40037000
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=1286208, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0G\205\1"..., 4096) =
4096
mmap(NULL, 1025692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4005e000
mprotect(0x40151000, 30364, PROT_NONE)  = 0
mmap(0x40151000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0xf2000) = 0x40151000
mmap(0x40155000, 13980, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40155000
close(4)                                = 0
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=860609, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\230\0"..., 4096) =
4096
mmap(NULL, 67196, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0x1000) = 0x40159000
mprotect(0x40168000, 5756, PROT_NONE)   = 0
mmap(0x40168000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0xf000) = 0x40168000
close(4)                                = 0
mprotect(0x40159000, 61440, PROT_READ|PROT_WRITE) = 0
--- SIGSEGV (Naruszenie ochrony pamici) ---
+++ killed by SIGSEGV +++

strace pike:

gettimeofday({1038606460, 855719}, NULL) = 0
gettimeofday({1038606460, 857548}, NULL) = 0
gettimeofday({1038606460, 859272}, NULL) = 0
gettimeofday({1038606460, 861002}, NULL) = 0
stat("/usr/local/pike/7.2.30/lib/modules/Gmp.so", {st_mode=S_IFREG|0755,
st_size=103830, ...}) = 0
gettimeofday({1038606460, 883963}, NULL) = 0
gettimeofday({1038606460, 885742}, NULL) = 0
gettimeofday({1038606460, 887468}, NULL) = 0
stat("/usr/local/pike/7.2.30/lib/modules/Gmp.so", {st_mode=S_IFREG|0755,
st_size=103830, ...}) = 0
open("/usr/local/pike/7.2.30/lib/modules/Gmp.so", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0755, st_size=103830, ...}) = 0
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\32"..., 4096)
= 4096
mmap(NULL, 43848, PROT_READ|PROT_EXEC, MAP_PRIVATE, 12, 0) = 0x402df000
mprotect(0x402e9000, 2888, PROT_NONE)   = 0
mmap(0x402e9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 12,
0x9000) = 0x402e9000
close(12)                               = 0
open("/usr/local/lib/libgmp.so.3", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0755, st_size=679460, ...}) = 0
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240X\0"..., 4096)
= 4096
mmap(NULL, 176976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 12, 0) = 0x402ea000
mprotect(0x40314000, 4944, PROT_NONE)   = 0
mmap(0x40314000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 12,
0x29000) = 0x40314000
close(12)                               = 0
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=860609, ...}) = 0
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\230\0"..., 4096)
= 4096
mmap(NULL, 67196, PROT_READ|PROT_EXEC, MAP_PRIVATE, 12, 0x1000) = 0x40316000
mprotect(0x40325000, 5756, PROT_NONE)   = 0
mmap(0x40325000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 12,
0xf000) = 0x40325000
close(12)                               = 0
mprotect(0x40316000, 61440, PROT_READ|PROT_WRITE) = 0
--- SIGSEGV (Naruszenie ochrony pamici) ---
+++ killed by SIGSEGV +++

--

Pozdrawiam
darry dooman
dar...@acidtechno.one.pl
GG:1797721
GSM:+48 606 74 83 65

 
 
 

1. XOSview produces segfaults :(

I hope there's no c.o.l.x.apps newsgroup where i should have sent this
question to ...

Everytime i start xosview, it stops with a segfault. This happens since i
moved to Kernel 2.0. It compiles pefect, but it doesn't run, even the binary
distribution won't run. xosview starts, appears about 1 second on the screen
and then reports an 'Segmentation fault' ...

I'm using x version 3.1.2 D and converted all the stuff like it was
mentioned in linux/Documentation/Changes ...

I hope, somebody could help me.

Tooster

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

2. Shutdown command

3. Segfaults in malloc()

4. "/dev/rStp0 is world writeable!"

5. Help debugging Apache 1.3.17 startup segfault (Slash)

6. Kernel 2.4.4 vs Promise EIDEMaxII

7. Segfaults on Server after long uptime using 2.2.x

8. Set up ftp server for FreeBSD Package Server...

9. NTeX under Linux---dvips segfaults, & ghostview not using right fonts

10. Help: acroread segfault on Linux 2.0.34 (redhat 5.1)

11. compile on one machine, segfaults when run on another

12. dvips segfaults with new kernel

13. CD-ROM causing segfaults?