[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

man -> segfault



Hey


I'm getting SEGFAULT's using `man' sometimes. Not every manpage I try.

For example, `man man' works, so does `man 7 signal', but `man signal' gives
this when stracing it:

execve("/usr/bin/man", ["man", "signal"], [/* 35 vars */]) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40007000
mprotect(0x40000000, 20301, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8000000, 68846, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=7020, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
mmap(0, 7020, PROT_READ, MAP_SHARED, 3, 0) = 0x40008000
close(3)                                = 0
stat("/etc/ld.so.preload", 0xbffff960)  = -1 ENOENT (No such file or directory)
open("/usr/lib/libdb.so.1", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 61440, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000a000
mmap(0x4000a000, 55899, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x4000a000
mmap(0x40018000, 3304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x40018000
close(3)                                = 0
mprotect(0x4000a000, 55899, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libc.so.5", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 765952, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
mmap(0x40019000, 531571, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40019000
mmap(0x4009b000, 22276, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x81000) = 0x4009b000
mmap(0x400a1000, 205164, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400a1000
close(3)                                = 0
mprotect(0x40019000, 531571, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x40008000, 7020)                = 0
mprotect(0x8000000, 68846, PROT_READ|PROT_EXEC) = 0
mprotect(0x4000a000, 55899, PROT_READ|PROT_EXEC) = 0
mprotect(0x40019000, 531571, PROT_READ|PROT_EXEC) = 0
mprotect(0x40000000, 20301, PROT_READ|PROT_EXEC) = 0
personality(PER_LINUX)                  = 0
geteuid()                               = 6
getuid()                                = 0
brk(0x80558a4)                          = 0x80558a4
brk(0x8056000)                          = 0x8056000
stat("/etc/locale/C/man_db.cat", 0xbffff550) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/C/man_db.cat", 0xbffff550) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/man_db/C", 0xbffff550) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/C/man_db.cat", 0xbffff550) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/locale/C/man_db.cat", 0xbffff550) = -1 ENOENT (No such file or directory)
getuid()                                = 0
geteuid()                               = 6
setuid(0)                               = 0
stat("/etc/locale/C/libc.cat", 0xbffff4b4) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/C/libc.cat", 0xbffff4b4) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/libc/C", 0xbffff4b4) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/C/libc.cat", 0xbffff4b4) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/locale/C/libc.cat", 0xbffff4b4) = -1 ENOENT (No such file or directory)
open("/etc/manpath.config", O_RDONLY)   = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2522, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40008000
read(3, "# man_db.config\n#\n# This file "..., 4096) = 2522
stat("/usr/man/de_DE", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/man/it_IT", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/X11R6/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40008000, 4096)                = 0
stat("/usr/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("./man", 0xbffff8f0)               = -1 ENOENT (No such file or directory)
stat("/opt/bin/man", 0xbffff8f0)        = -1 ENOENT (No such file or directory)
stat("/usr/bin/X11/man", 0xbffff8f0)    = -1 ENOENT (No such file or directory)
stat("/usr/bin/X11/man", 0xbffff8f0)    = -1 ENOENT (No such file or directory)
stat("/home/system/remco/bin/man", 0xbffff8f0) = -1 ENOENT (No such file or directory)
stat("/root/bin/man", 0xbffff8f0)       = -1 ENOENT (No such file or directory)
stat("./man", 0xbffff8f0)               = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/man/C", 0xbffff928)          = -1 ENOENT (No such file or directory)
stat("/usr/local/man/C", 0xbffff928)    = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/C", 0xbffff928)    = -1 ENOENT (No such file or directory)
stat("/usr/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/X11R6/man", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/catman/index.bt", O_RDONLY)  = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=315392, ...}) = 0
read(3, "b1\5\0\3\0\0\0\0\20\0\0\0\0\0\0\0"..., 24) = 24
fstat(3, {st_mode=S_IFREG|0644, st_size=315392, ...}) = 0
brk(0x8057000)                          = 0x8057000
brk(0x8059000)                          = 0x8059000
lseek(3, 0, SEEK_SET)                   = 0
read(3, "b1\5\0\3\0\0\0\0\20\0\0\0\0\0\0\0"..., 4096) = 4096
flock(3, LOCK_SH|LOCK_NB)               = 0
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\1\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0"..., 4096) = 4096
brk(0x805b000)                          = 0x805b000
lseek(3, 8192, SEEK_SET)                = 8192
read(3, "\2\0\0\0\0\0\0\0$\0\0\0\2\0\0\0L"..., 4096) = 4096
lseek(3, 122880, SEEK_SET)              = 122880
read(3, "\36\0\0\0003\0\0\0H\0\0\0\2\0\0\0"..., 4096) = 4096
flock(3, LOCK_UN)                       = 0
close(3)                                = 0
open("/var/catman/local/index.bt", O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
read(3, "b1\5\0\3\0\0\0\0\20\0\0\0\0\0\0\0"..., 24) = 24
fstat(3, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
lseek(3, 0, SEEK_SET)                   = 0
read(3, "b1\5\0\3\0\0\0\0\20\0\0\0\0\0\0\0"..., 4096) = 4096
flock(3, LOCK_SH|LOCK_NB)               = 0
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\1\0\0\0\0\0\0\0\0\0\0\0\2\0\0\000"..., 4096) = 4096
flock(3, LOCK_UN)                       = 0
close(3)                                = 0
open("/var/catman/X11R6/index.bt", O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=65536, ...}) = 0
read(3, "b1\5\0\3\0\0\0\0\20\0\0\0\0\0\0\0"..., 24) = 24
fstat(3, {st_mode=S_IFREG|0644, st_size=65536, ...}) = 0
lseek(3, 0, SEEK_SET)                   = 0
read(3, "b1\5\0\3\0\0\0\0\20\0\0\0\0\0\0\0"..., 4096) = 4096
flock(3, LOCK_SH|LOCK_NB)               = 0
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\rUpdating index cache for path "..., 4096) = 4096
mmap(0, 1663074304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Out of memory)
brk(0x6b263000)                         = 0x805b000
mmap(0, 1663074304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Out of memory)
brk(0x6b263000)                         = 0x805b000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Anybody know why I'm getting those Out of Mem failures? I'm sure there is
enough memory (swap isn't even used at this point).

I think it's really strange.


By the way, I'm using Debian 1.3.1 with Linux-2.0.29-ISS.

thanks

Remco

-- 
// Remco van de Meent	
//   email: remco@oloon.student.utwente.nl
//   www: http://oloon.student.utwente.nl
//   " Never make any mistaeks. "


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: